summaryrefslogtreecommitdiff
path: root/html/style/main.css
blob: d277de15e2f6677f55157abe759d1af6a2503269 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
@font-face {
	/*
	 * Define "DejaVuSansMono" font face to use local version if the user already has it, or provide the .ttf if
	 * they don't.
	 *
	 * Source tarballs and associated files for the DejaVu font available from https://spragg-ssl.co.uk/src
	 *
	 * More information available from https://spragg-ssl.co.uk/about
	 */
	font-family: "DejaVuSansMono";
	src: local("DejaVu Sans Mono"),
		url("/style/DejaVuSansMono.ttf") format("truetype");
}

html {
	background-color: #f0fff0;
	background-image: url('/style/grid.png');
	font-family: sans-serif;
	color: #404040;
}

body {
	margin: 0;
}

a,
a:hover,
a:visited {
	color: inherit;
}

.hidden {
	display: none;
}

/* * * Header * * */
body > header {
	padding-top: 1px; /* Don't allow child element top margins to extend out of the header element */
	background-color: #000000;
	background-image: url('/style/grid.png');
	color: #00c000;
}

h1 {
	font-family: "DejaVuSansMono", monospace;
	/*font-variant: small-caps;*/
	text-align: center;
	text-shadow: 0 0 0.2em #00c000;
}

nav {
	background-color: #00c000;
	color: #000000;
}

nav ul {
	max-width: 80em;
	margin: 0 auto 0;
}

nav ul li {
	display: inline-block;
	padding: 0.2em 1em;
	border-right: 1px #000000 solid;
}

nav ul li:first-child {
	border-left: 1px #000000 solid;
}

nav ul li.selected {
	color: #ffffff;
}

nav a,
nav a:visited {
	text-decoration: none;
}

nav a:hover {
	text-decoration: underline;
}


/* * * Main * * */

main {
	max-width: 80em;
	margin: 0 auto 0;
	padding: 2em;
	background-color: #ffffff;
}

h2 {
	margin-bottom: 0;
}

h2 img {
	display: inline-block;
	vertical-align: middle;
}

img.inline-icon {
	display: inline-block;
	vertical-align: middle;
	height: 32px;
	width: auto;
}

.commit li {
	font-family: monospace;
}

p {
	margin-top: 0.5em;
}

/* * * Footer * * */

footer {
	max-width: 80em;
	margin: 0 auto 0;
	padding: 2em;
	background-color: #ffffff;
}

footer p {
	font-size: 70%;
	text-align: center;
}