]> Pileus Git - ~andy/aweather-web/blob - data/global.css
Update icons and misc formatting
[~andy/aweather-web] / data / global.css
1 /* Clear defaults */
2 * {
3         margin: 0;
4         padding: 0;
5         outline: 0;
6 }
7
8 h1, h2, h3, h4, h5, h6 {
9         font-weight: normal;
10 }
11
12 a {
13         color: black;
14         text-decoration: none;
15 }
16
17 a img {
18         border: none;
19 }
20
21 ul {
22         display: block;
23 }
24
25 /* Global styles */
26 .content h1, h2 {
27         margin-top:    1.5em;
28         margin-bottom: 0.3em;
29 }
30 h3, h4, h5, h6 {
31         margin-top: 0.8em;
32         margin-bottom: 0.1em;
33 }
34 .quote {
35         font-style: italic;
36         font-family: serif;
37 }
38 .quote:before {
39         font-weight: bold;
40         content: '“';
41 }
42 .quote:after {
43         font-weight: bold;
44         content: '”';
45 }
46 ul {
47         padding-left: 30px;
48 }
49 span.code {
50         font-family: monospace;
51         font-size: larger;
52 }
53 div.code {
54         font-family: monospace;
55         background-color: #666;
56         border: solid 1px #222;
57         padding: 2px 6px 2px 6px;
58         margin-bottom: 5px;
59         color: white;
60         font-weight: bold;
61         font-size: larger;
62 }
63
64 dt {
65         font-weight: bold;
66 }
67
68 dd {
69         margin-left: 10px;
70 }
71
72 .col {
73         float: left;
74         margin:  -10px 30px 0px 20px;
75 }
76
77 /* Layout */
78 body {
79         background-image: url('../images/main-bg.png');
80         background-repeat: repeat-x;
81         background-color: white;
82         margin-left: auto;
83         margin-right: auto;
84         font-family: 'DejaVu Sans Condensed', Arial, sans-serif;
85         font-size:   0.8em;
86         line-height: 1.5em;
87         width: 850px;
88         /* width: 80%; */
89 }
90
91 /* Header stuff */
92 .top {
93         height: 75px;
94         margin-top: 20px;
95         border-collapse: collapse;
96         position: relative;
97 }
98
99 .top * {
100         float: left;
101 }
102
103 .logo {
104         z-index: 1;
105         margin-right: 10px;
106 }
107
108 .title, .title a {
109         font-size: 22pt;
110         font-weight: bold;
111         font-style: italic;
112         color: #222;
113 }
114
115 .nav {
116         position: absolute;
117         top: 42px;
118         left: 135px;
119         right: 0px;
120         z-index: 1;
121         height: 36px;
122         margin: 0 0px 0 30px;
123         padding: 0 15px 0 15px;
124         border-radius: 8px;
125         -moz-border-radius: 8px;
126         background-image: url("../images/nav-bg.png");
127         box-shadow: 0px 2px 2px #a0a0ff;
128 }
129
130 .nav .sep {
131         width: 0px;
132         height: 36px;
133         border-left:  solid 1px #222;
134         border-right: solid 1px #777;
135         margin: 0 10px 0 10px;
136 }
137
138 .nav a {
139         display: block;
140         margin: 5px 7px 5px 7px;
141         padding: 2px;
142         font-size: 12pt;
143         font-weight: normal;
144         color: #f4f4f4;
145         border: solid 1px transparent;
146         border-radius: 4px;
147         -moz-border-radius: 4px;
148 }
149
150 .nav a:hover {
151         text-decoration: underline;
152 }
153
154 .nav a.cur {
155         background-color: #666;
156         border: solid 1px #888;
157         text-decoration: none;
158 }
159
160 /* Content */
161 .content {
162         background-color: white;
163         color: black;
164         margin-top: 20px;
165         padding:    24px;
166         padding-bottom: 36px;
167         border:     solid 1px #bce;
168         border-top: solid 1px #abd;
169         border-radius: 8px;
170         -moz-border-radius: 8px;
171 }
172
173 .content hr {
174         margin: 25px 0 25px 0;
175 }
176
177 .content a {
178         text-decoration: underline;
179 }
180
181 .msg {
182         color: red;
183         clear: both;
184         position: relative;
185         top: -10px;
186         font-weight: bold;
187         font-style: italic;
188         text-align: center;
189 }
190
191 /* Footer */
192 .footer, .footer * {
193         text-align: center;
194         font-size: 8pt;
195         margin-top: 5px;
196         margin-bottom: 15px;
197         color: #444;
198 }
199 .footer a {
200         text-decoration: underline;
201 }
202
203 /***********************
204  * Page specific stuff *
205  ***********************/
206 /* Index page */
207 .buttons {
208         margin-left: 25px;
209 }
210
211 .buttons > * {
212         margin-bottom: 10px;
213 }
214
215 .download, a.download {
216         position: relative;
217         display: block;
218         z-index: 1;
219         height: 62px;
220         width: 150px;
221         color: #eee;
222         font-size: 11pt;
223         text-decoration: none;
224         padding: 8px 25px 8px 25px;
225         margin-bottom: 10px;
226         background-image: url("../images/dl-bg.png");
227         border-radius: 10px;
228         -moz-border-radius: 10px;
229         box-shadow: 0px 2px 2px rgba(0,0,0,0.30);
230 }
231
232 .download > * {
233         display: block;
234 }
235
236 .download:first-line {
237         color: #fff;
238         font-size: 1.3em;
239         font-weight: bold;
240         line-height: 1.9em;
241         text-shadow: 1px 1px 1px #666;
242 }
243
244 .download img {
245         position: absolute;
246         top:   10px;
247         right: 10px;
248 }
249
250 .screen {
251         float: right;
252         margin-left:  25px;
253         margin-right: 25px;
254 }
255
256 /* Screenshots */
257 .gallery {
258         padding: 0px; /* override ul */
259         margin: 20px;
260         font-size: larger;
261 }
262 .gallery > * {
263         list-style: none;
264         text-align: center;
265         left:   0;
266         float:  left;
267         width:  320px;
268         height: 350px;
269         margin: 15px;
270         padding-left:  15px;
271         padding-right: 15px;
272 }
273 .gallery a {
274         display: block;
275 }
276 .gallery img {
277         box-shadow: 0px 2px 6px #888;
278         margin-bottom: 4px;
279         float: none;
280         margin-left:   0px;
281 }
282
283 /* News */
284 .news {
285         margin-top: 20px;
286 }
287 .news dt {
288         clear: both;
289 }
290 .news dd {
291         margin-bottom: 15px;
292 }
293 .note { 
294         font-style: italic;
295         text-align: center;
296 }
297
298 /* Downloads */
299 li.linux, li.windows, li.macos {
300         list-style-type: none;
301         background-repeat: no-repeat;
302         padding-left: 50px;
303         margin: 10px 10px 20px 0;
304         clear: both;
305 }
306 li.linux {
307         background-image: url("../images/os-linux.png");
308 }
309 li.windows {
310         background-image: url("../images/os-windows.png");
311 }
312 li.macos {
313         background-image: url("../images/os-macos.png");
314 }
315 dl.inline dt {
316         display: block;
317         float: left;
318         clear: both;
319         font-weight: bold;
320         width: 8em;
321 }
322 dl.inline dt:after {
323         content: ":";
324 }
325 dl.inline .hidden {
326         display: none;
327 }
328 h1 + .note,
329 h2 + .note,
330 .note.left {
331         text-align: left;
332         margin-bottom: 10px;
333 }
334 dl.small dt {
335         width: 4em;
336 }
337
338 /* Asciidoc */
339 .asciidoc p {
340         margin-top: 0.7em;
341 }
342 .asciidoc li p,
343 .asciidoc td p {
344         margin-top: 0em;
345 }
346 .asciidoc .hdlist table {
347         padding-left: 1em;
348 }