]> Pileus Git - ~andy/aweather-web/blob - data/global.css
Update linux download links
[~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: 80px;
94         margin-top: 15px;
95         border-collapse: collapse;
96         position: relative;
97 }
98
99 .top * {
100         float: left;
101 }
102
103 .logo {
104         width: 130px;
105         z-index: 1;
106 }
107
108 .title {
109         font-size: 22pt;
110         font-weight: bold;
111         font-style: italic;
112         color: #222;
113 }
114
115 .nav {
116         position: absolute;
117         top: 45px;
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 {
216         position: relative;
217         display: block;
218         z-index: 1;
219         height: 62px;
220         width: 150px;
221         color: white;
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         font-weight: bold;
238         font-style: italic;
239         line-height: 2em;
240 }
241
242 .download img {
243         position: absolute;
244         top:   10px;
245         right: 10px;
246 }
247
248 .screen {
249         float: right;
250         margin-left:  25px;
251         margin-right: 25px;
252 }
253
254 /* Screenshots */
255 .gallery {
256         padding: 0px; /* override ul */
257         margin: 20px;
258         font-size: larger;
259 }
260 .gallery > * {
261         list-style: none;
262         text-align: center;
263         left:   0;
264         float:  left;
265         width:  320px;
266         height: 350px;
267         margin: 15px;
268         padding-left:  15px;
269         padding-right: 15px;
270 }
271 .gallery a {
272         display: block;
273 }
274 .gallery img {
275         box-shadow: 0px 2px 6px #888;
276         margin-bottom: 4px;
277         float: none;
278         margin-left:   0px;
279 }
280
281 /* News */
282 .news {
283         margin-top: 20px;
284 }
285 .news dt {
286         clear: both;
287 }
288 .news dd {
289         margin-bottom: 15px;
290 }
291 .note { 
292         font-style: italic;
293         text-align: center;
294 }
295
296 /* Downloads */
297 li.linux, li.windows, li.macos {
298         list-style-type: none;
299         background-repeat: no-repeat;
300         padding-left: 50px;
301         margin: 10px 10px 20px 0;
302         clear: both;
303 }
304 li.linux {
305         background-image: url("../images/os-linux.png");
306 }
307 li.windows {
308         background-image: url("../images/os-windows.png");
309 }
310 li.macos {
311         background-image: url("../images/os-macos.png");
312 }
313 dl.inline dt {
314         display: block;
315         float: left;
316         clear: both;
317         font-weight: bold;
318         width: 8em;
319 }
320 dl.inline dt:after {
321         content: ":";
322 }
323 dl.inline .hidden {
324         display: none;
325 }
326 h1 + .note,
327 h2 + .note,
328 .note.left {
329         text-align: left;
330         margin-bottom: 10px;
331 }
332 dl.small dt {
333         width: 4em;
334 }
335
336 /* Asciidoc */
337 .asciidoc p {
338         margin-top: 0.7em;
339 }
340 .asciidoc li p,
341 .asciidoc td p {
342         margin-top: 0em;
343 }
344 .asciidoc .hdlist table {
345         padding-left: 1em;
346 }