summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorWolfgang Müller2024-10-05 12:58:10 +0200
committerWolfgang Müller2024-10-05 14:25:41 +0200
commit12c55f378a64b51d283afbc59e9197d914479bc6 (patch)
tree6898c9809b8ecb557a9382da2e69314bedd97383
parent51e12be4ba9525406d994272b27fdefeb079cc43 (diff)
downloadzunzuncito-12c55f378a64b51d283afbc59e9197d914479bc6.tar.gz
sass: Standardize border-radius
Give the page a more consistent design by standardizing the normal border radius to be 4px.
-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