summaryrefslogtreecommitdiff
path: root/template/header.html
blob: 8a88647b5949c9ea7771bea843fb02f51e6bd778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>$title</title>
<style>
	@media (prefers-color-scheme: dark){
		body {color:#fff;background:#000}
		a:link {color:#9cf}
		a:hover, a:visited:hover {color:#cef}
		a:visited {color:#c9f}
	}
	body{
		margin:1em auto;
		max-width:40em;
		padding:0 .62em;
		font:1.2em/1.62 sans-serif;
	}
	h1,h2,h3{line-height:1.2}
	footer{text-align:center}
	pre,blockquote{overflow-x:auto}
	p{text-align:justify}
	@media print{
		body{max-width:none;font-size:1em}
		.noprint{display:none}
	}
	article > p > a > img{max-width:100%;height:auto;display:block;margin-left:auto;margin-right:auto}
</style>