diff options
Diffstat (limited to '')
-rw-r--r-- | assets/style.css | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/assets/style.css b/assets/style.css new file mode 100644 index 0000000..cc7b1d6 --- /dev/null +++ b/assets/style.css @@ -0,0 +1,35 @@ +html { + font-family: system-ui, sans-serif; + --bg: hsl(32, 98%, 92%); + --fg: #1E1F21; + --link-color: #24527d; + --text-decoration-color: #CCC; + color: var(--fg); + background-color: var(--bg); +} +@media(prefers-color-scheme:dark) { + html { + --bg: #1E1F21; + --fg: #EEEFF1; + --link-color: #5ca7ed; + --text-decoration-color: #474747; + } +} + +body { + margin: 0 auto; + padding: 1rem; +} + +body:not(.wide) { + max-width: 50rem; +} + +h1 { + text-align: center; +} + +a:link, a:visited { + text-decoration-color: var(--text-decoration-color); + color: var(--link-color); +} |