summaryrefslogtreecommitdiffstatshomepage
path: root/sass/style.sass
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sass/style.sass8
1 files changed, 5 insertions, 3 deletions
diff --git a/sass/style.sass b/sass/style.sass
index 3340245..e38ef55 100644
--- a/sass/style.sass
+++ b/sass/style.sass
@@ -25,6 +25,8 @@
--border-color-dark: darkgrey
--border-color-pre: #e0e0c3
+ --border-radius: 4px
+
@media (prefers-color-scheme: dark)
\:root
--fg-color: #f0f0f0
@@ -86,7 +88,7 @@ pre
color: var(--fg-color-pre)
background-color: var(--bg-color-pre)
border: 1px solid var(--border-color-pre)
- border-radius: 4px
+ border-radius: var(--border-radius)
padding: .5em
overflow: auto
@@ -188,7 +190,7 @@ article > section.post
color: var(--fg-href-visited)
img
- border-radius: 8px
+ border-radius: var(--border-radius)
max-width: 100%
article.single h2.title
@@ -221,7 +223,7 @@ aside.gutter
img.avatar
width: 100%
- border-radius: 4px
+ border-radius: var(--border-radius)
border: 1px solid var(--border-color-light)
article > header > div.banner