aboutsummaryrefslogtreecommitdiff
path: root/static/stylesheet.css
diff options
context:
space:
mode:
Diffstat (limited to 'static/stylesheet.css')
-rw-r--r--static/stylesheet.css31
1 files changed, 19 insertions, 12 deletions
diff --git a/static/stylesheet.css b/static/stylesheet.css
index df916fb..80240d8 100644
--- a/static/stylesheet.css
+++ b/static/stylesheet.css
@@ -1,11 +1,16 @@
+*
+{
+ color-scheme: light dark;
+}
+
body
{
- background-color: white;
- color: black;
max-width: 80ch;
margin: auto;
- font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', sans-serif;
+ font-family: serif;
font-size: 1.2em;
+ overflow: hidden;
+ padding: 0 1em;
}
nav { text-align: center; }
@@ -16,7 +21,7 @@ hr
border-bottom: 1px dashed;
}
-img
+article img
{
display: block;
margin: auto;
@@ -24,13 +29,15 @@ img
margin-bottom: 1em;
}
-@media (prefers-color-scheme: dark)
+footer
{
- body
- {
- background-color: #1e1f21;
- color: #eeeff1;
- }
- :link { color: #bad7ff; }
- :visited { color: #f6baff; }
+ text-align: center;
+ font-size: 0.9em;
}
+
+pre
+{
+ overflow: scroll;
+}
+
+a { text-decoration: none; }