all repos — flounder @ a748ebeb6a8fdb2e3c36307af3144e5bd815b1a3

A small site builder for the Gemini protocol

Added dark mode css
alex wennerberg alex@alexwennerberg.com
Sun, 27 Dec 2020 12:33:22 -0800
commit

a748ebeb6a8fdb2e3c36307af3144e5bd815b1a3

parent

b78509c99c42f8e034d677322eb7ffa727ee7de1

1 files changed, 5 insertions(+), 0 deletions(-)

jump to
M templates/static/style.csstemplates/static/style.css

@@ -8,6 +8,11 @@ background-color: white;

line-height: 1.5; } +@media (prefers-color-scheme: dark) { + body, main { background: #1b262c; color: white; } + a, a:visited { color: #21e6c1 } +} + h1, h2, h3, h4, h5, h6{ margin-top:0; margin-bottom:.2em;