summaryrefslogtreecommitdiff
path: root/static/css/dark.css
diff options
context:
space:
mode:
Diffstat (limited to 'static/css/dark.css')
-rw-r--r--static/css/dark.css8
1 files changed, 7 insertions, 1 deletions
diff --git a/static/css/dark.css b/static/css/dark.css
index 1cb3028..31b025a 100644
--- a/static/css/dark.css
+++ b/static/css/dark.css
@@ -26,6 +26,8 @@
--switch-ol: var(--color4);
--switch-moon: var(--color3);
--switch-sun: var(--color13);
+
+ --code-border: var(--fg);
}
/* general */
@@ -66,6 +68,11 @@ main {
background: linear-gradient(var(--bg) 0.5em, 1em, var(--body-bg) 1.5em calc(100% - 1.5em), calc(100% - 1em), var(--bg) calc(100% - 0.5em));
}
+pre, code {
+ border-radius: 5px;
+ border: 1px solid var(--code-border);
+}
+
/* nav bar */
body > header {
background: linear-gradient(var(--body-bg) calc(100% - 1.5em), calc(100% - 1em), var(--bg) calc(100% - 0.5em));
@@ -129,4 +136,3 @@ div.gallery:hover {
.switch input:focus + .slider {
box-shadow: 0 0 0.1em var(--switch-ol);
}
-