From 12c55f378a64b51d283afbc59e9197d914479bc6 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Sat, 5 Oct 2024 12:58:10 +0200 Subject: sass: Standardize border-radius Give the page a more consistent design by standardizing the normal border radius to be 4px. --- sass/style.sass | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sass') 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 -- cgit v1.2.3-2-gb3c3