all repos — flounder @ 9a91d2d93c2c4af24cd432509f21837568fba7a1

A small site builder for the Gemini protocol

move media queries to end?
alex wennerberg alex@alexwennerberg.com
Thu, 07 Jan 2021 10:41:36 -0800
commit

9a91d2d93c2c4af24cd432509f21837568fba7a1

parent

3ec267fae76b5f2ad46f32d84fa27ee67dc2673b

1 files changed, 23 insertions(+), 22 deletions(-)

jump to
M templates/static/style.csstemplates/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 @@ margin-bottom: 0px;

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; + } +}