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
133
134
135
136
137
138
139
140
141
142
143
144
145
|
body, p, tr, td, h1, h2, h3, h4, h5, h6, #menu ul, #menu li {
margin: 0;
padding: 0;
text-indent: 0;
}
html { background: #ccc; }
body { background: transparent; }
#page {
width: 60em;
background: #fff;
color: #000;
margin: 2em auto 0 auto;
}
#top {
}
#langselect {
display: none; /* not implemented yet */
text-align: right;
font: 100% sans-serif;
padding: 0.5em;
margin-bottom: -2em;
}
#langselect span, #langselect a {
padding: 0.5em;
}
#langselect a { text-decoration: none; color: #000; }
#langselect a:hover, #langselect a:focus { text-decoration: underline; }
#top h1 {
font: 200% sans-serif;
text-align: center;
padding: 1em;
color: #999;
}
#menu {
}
#menu li {
list-style-type: none;
display: inline;
}
#menu ul, #menu li a {
background: #666;
color: #fff;
font: 110% sans-serif;
font-weight: bold;
}
#menu li a {
display: inline;
display: inline-block;
padding: 1em;
text-decoration: none;
}
#menu li a:hover, #menu li a:focus {
background: #999;
}
#content {
padding: 1em;
padding-bottom: 3em;
font-family: sans-serif;
}
#content img {
display: block;
border: none;
margin: 0 auto;
max-width: 100%;
}
#content h1 { margin-top: 1em; }
#content h2 { margin-top: 0.8em; }
#content h3, #content h4 { margin-top: 0.7em; }
#content p { margin-bottom: 0.7em; }
#page {
position: relative;
}
#footer {
display: block;
position: absolute;
bottom: 1em;
left: 1em;
right: 1em;
line-height: 1em;
text-align: center;
color: #999;
font: 100% sans-serif;
}
@media(max-width: 61em) {
#page {
width: auto;
margin: 0;
}
}
@media(max-width: 50em) {
#top h1 {
padding: 0.75em;
}
#menu {
text-align: left !important;
}
#menu li {
display: inline-block;
width: 49%;
}
#menu li a {
display: inline-block;
width: 100%;
text-align: center;
}
#langselect, #langselect span, #langselect a {
padding-top: 1em;
padding-bottom: 1em;
}
}
@media(max-width: 30em) {
#top h1 {
padding: 0.4em;
}
#langselect { text-align: center; margin-bottom: -1.5em; }
#menu li {
display: block;
width: 65%; /* right side can be used for scrolling */
}
#menu li a {
text-align: left;
}
}
@media(max-width: 12em) {
#top h1 {
padding: 0.25em;
}
#menu li {
width: 100%;
}
#menu li a {
font-size: 100%;
padding: 1em 0.5em;
}
}
@media(max-height: 30em) {
#top h1 { padding: 0.25em; }
#menu li a { font-size: 100%; padding: 1em 0.5em; }
}
@media(max-height: 20em) {
#top h1, #menu ul { font-size: 100%; }
}
|