summaryrefslogtreecommitdiff
path: root/template/style.html
diff options
context:
space:
mode:
Diffstat (limited to 'template/style.html')
-rw-r--r--template/style.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/template/style.html b/template/style.html
new file mode 100644
index 0000000..01d4a37
--- /dev/null
+++ b/template/style.html
@@ -0,0 +1,16 @@
+<style>
+body { max-width: 45em; margin: 40px auto; padding: 0 10px; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; color: #444 }
+h1, h2, h3 { line-height:1.2 }
+header { display: flex; justify-content: space-between; }
+header > nav > a { margin-left: 1em; }
+pre { font-size: 80%; overflow-x: scroll; }
+img { display: block; margin: auto; max-width: 100%; }
+#logo { font-family: Georgia, serif; font-weight: bold; }
+{{ light_style }}
+@media (prefers-color-scheme: dark) {
+body { color: #c9d1d9; background: #0d1117 }
+a:link { color:#58a6ff }
+a:visited { color: #8e96f0 }
+{{ dark_style }}
+}
+</style> \ No newline at end of file