~emersion/gyosu

ref: a0632ccc8a732511be40505afd5993f096841a29 gyosu/template/head.html -rw-r--r-- 886 bytes
a0632cccSimon Ser template/unit: add table of contents a month ago
                                                                                
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>{{ .Title }}</title>
		<style>
			body {
				font-family: sans-serif;
			}
			main {
				padding: 0 5px;
				max-width: 800px;
				margin: 0 auto;
			}
			a {
				color: #00f;
			}
			section.func pre {
				white-space: pre-wrap;
				padding-left: 4ch;
				text-indent: -4ch;
			}
			.token-keyword {
				color: #008;
			}
			a.token-symbol {
				text-decoration: none;
				color: inherit;
			}
			a.token-symbol:hover {
				text-decoration: underline;
			}
			h3:target {
				background-color: #c9c9ff;
			}
			h3 a {
				visibility: hidden;
				text-decoration: none;
			}
			h3 a:hover{
				text-decoration: underline;
			}
			h3:hover a {
				visibility: visible;
			}
			details summary {
				cursor: pointer;
			}
		</style>
	</head>
	<body>