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