summaryrefslogtreecommitdiff
path: root/template/style.html
blob: 01d4a37172e3ba18cf166832b553ef69feea81b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>