summaryrefslogtreecommitdiff
path: root/html/style/main.css
blob: 77043957a6ecc7c3c6da340bf9374db3aca29a06 (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
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;
}

/* * * 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: 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;
}

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;
}