flounder

A simple gemini site builder
Log | Files | Refs | README | LICENSE

commit 9a91d2d93c2c4af24cd432509f21837568fba7a1
parent 3ec267fae76b5f2ad46f32d84fa27ee67dc2673b
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Thu,  7 Jan 2021 10:41:36 -0800

move media queries to end?

Diffstat:
Mtemplates/static/style.css | 45+++++++++++++++++++++++----------------------
1 file changed, 23 insertions(+), 22 deletions(-)

diff --git a/templates/static/style.css b/templates/static/style.css @@ -12,28 +12,6 @@ a:visited { color:blue } -@media (prefers-color-scheme: dark) { - body, main { background: #1b262c; color: white; } - a { color: #21e6c1 } - a:visited { color: #21e6c1 } - input[type="text"], input[type="password"], textarea { - color: white; - background-color: #121212; - } - blockquote { - background-color: #121212; - border-left: .5em solid black; - } -} -@media only screen and (max-width: 600px) { - body { - font-size: 16px - } - input[type="text"], input[type="password"], textarea { - font-size: 1rem; - } -} - h1, h2, h3, h4, h5, h6{ margin-top:0; margin-bottom:.2em; @@ -154,3 +132,26 @@ blockquote { margin-top: 0px; padding: .5em 10px; } + +@media (prefers-color-scheme: dark) { + body, main { background: #1b262c; color: white; } + a { color: #21e6c1 } + a:visited { color: #21e6c1 } + input[type="text"], input[type="password"], textarea { + color: white; + background-color: #121212; + } + blockquote { + background-color: #121212; + border-left: .5em solid black; + } +} + +@media only screen and (max-width: 600px) { + body { + font-size: 16px + } + input[type="text"], input[type="password"], textarea { + font-size: 1rem; + } +}