site

bvnf.space sources
Log | Files | Refs

commit 68e831973c7e497526745404093a31bf2f74b1f3
parent f4e930354b2bef5358dad170a3da97e8f4d50a28
Author: aabacchus <ben@bvnf.space>
Date:   Fri, 24 Sep 2021 00:31:45 +0100

style: add dark color scheme, slight emphasis on <code>

Diffstat:
Mstyle.css | 20++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/style.css b/style.css @@ -5,9 +5,13 @@ body { margin: 1em auto; max-width: 800px; color: #444; - background: #eeeeee; + background: #eee; +} +code { + font-family: monospace; + background: #ddd; + padding: 0.5px; } -code { font-family: monospace } table { width: 100%; } @@ -15,3 +19,15 @@ table { .index-post, .index-date { padding-top: 20px; } +@media(prefers-color-scheme: dark) { + body { + background: #292929; + color: #fff; + } + a { + color: #6cf; + } + code { + background: #444; + } +}