root/orange-sky/trunk/style.css

Revision 332, 7.7 kB (checked in by Nao, 5 years ago)

modified style.css

Line 
1 /* 
2 Theme Name: OrangeSky 2.0
3 Theme URI: http://blog.detlog.org/orangesky/
4 Description: WordPress theme inspired by Alexi Murdoch's song "Orange Sky".
5 Version: 2.0
6 Author: Naoko McCracken
7 Author URI: http://blog.detlog.org/
8
9         This WordPress theme is released under GPL:
10         http://www.opensource.org/licenses/gpl-license.php
11
12         Thank you Michael Heilemann for creating the brilliant kubrick theme!
13         I had learned a lot from it in the process of creating this one.
14         
15         This updated version was released on January 17, 2006.
16 */
17
18 /* General Rules */
19 body,
20 p, ul, ol, li, form,
21 h1, h2, h3, h4, h5, h6 {
22         margin: 0;
23         padding: 0;
24         }
25
26 body {
27         font-size: 62.5%; /* Resets 1em to 10px */
28         font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
29         background: url(images/os_bg.jpg) repeat-x #CFE8E8;
30         color: #333;
31         text-align: center;
32         padding-bottom: 15px;
33         }
34
35 h1, h2, h3 {
36         font-family: georgia,'times new roman',times,serif;
37         }
38
39 h1 {
40         font-size: 2.8em;
41         text-align: left;
42         padding: 8px 20px 0 20px;
43         font-weight: normal;
44         }
45 h1, h1 a:link, h1 a:visited {
46         text-decoration: none;
47         color: #4D0000;
48         }
49
50 h1 a:hover, h1 a:active {
51         text-decoration: none;
52         color: #C30;
53         }
54
55 .description {
56         font-size: 1.2em;
57         text-align: left;
58         padding: 0 20px;
59         color: #C30;
60         }
61
62 h2 {
63         font-size: 1.3em;
64         }
65
66 h2.postdate {
67         font-size: 1em;
68         color: #666;
69         padding: 15px 0 0 0;
70         }
71
72 h2.posttitle {
73         margin: 3px 0 0 0;
74         }
75
76 h2.pagetitle {
77         font-size: 1.5em;
78         margin: 30px 0 0 0;
79         text-align: center;
80         color: #4D4D4D;
81         }
82
83 #sidebar h2 {
84         font-size: 1.2em;
85         color: #066;
86         margin: 5px 0 0;
87         }
88
89 h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
90         color: #066;
91         }
92 a, h2 a:hover, h3 a:hover {
93         color: #C30;
94         text-decoration: none;
95         }
96
97 h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
98         text-decoration: none;
99         }
100
101 h3 {
102         font-size: 1.3em;
103         margin: 30px 0 0;
104         }
105
106 /* End General Rules*/
107
108 /* Begin Layout */
109 #page {
110         margin: 20px auto;
111         width: 740px;
112         text-align: left;
113         background: url(images/os_main.jpg) repeat-y;
114         }
115
116 #main{
117         float: left;
118         width: 550px;
119         }
120
121 #content {
122         font-size: 1.2em;
123         float: left;
124         width: 510px;
125         margin-left: 20px;
126         display: inline;
127         }
128 /* Sliding Door technique by A List Apart */
129 #menu {
130         float: left;
131         width: 540px;
132         font: bold italic 1.2em/normal georgia,'times new roman',times,serif;
133         margin: 8px 0 0 10px;
134         }
135
136 #menu ul {
137         list-style: none;
138         }
139
140 #menu li {
141         float: left;
142         background: url(images/os_left.gif) no-repeat left top;
143         padding: 0 0 0 5px;
144         margin: 0 0 0 3px;
145         list-style: none;
146         }
147
148 #menu a {
149         float: left;
150         display: block;
151         background: url(images/os_right.gif) no-repeat right top;
152         padding: 4px 9px 3px 6px;
153         text-decoration: none;
154         font-weight: bold;
155         color: #E5A153;
156         }
157     /* Commented Backslash Hack
158          hides rule from IE5-Mac \*/
159 #menu a { float:none; }
160     /* End IE5-Mac hack */
161
162 #menu a:hover {
163         color:#E5D6B8;
164         }
165
166 #header {
167         height: 132px;
168         width: 550px;
169         float: left;
170         background: url(images/os_header.jpg) no-repeat 8px 0;
171         }
172
173 #sidebar {
174         padding: 30px 0;
175         margin: 0 0 0 550px;
176         }
177
178 #footer {
179         width: 550px;
180         clear: both;
181         }
182
183 #footer p {
184         padding: 5px 0 10px 0;
185         text-align: center;
186         }
187
188 .entry {
189         padding: 15px 0 10px 0;
190         line-height: 1.4;
191         }
192
193 .entry p {
194         padding: 0 0 1em 0;
195         }
196
197 .post {
198         padding: 0 0 25px 0;
199         clear: both;
200         }
201
202 .alt {
203         background-color: #FFF5E5;
204         padding: 10px;
205         }
206
207 .navigation {
208         display: block;
209         text-align: center;
210         margin: 10px;
211         }
212
213 #sidebar {
214         font: 1.2em 'Lucida Grande',verdana,arial,sans-serif;
215         background: url(images/os_sidebar.jpg) no-repeat #D0E8E8;
216         padding-bottom: 230px; /*adjust this number depending on your sidebar's minimum height */
217 }
218
219 /* Calendar */
220 #wp-calendar #prev a {
221         font-size: 9pt;
222         }
223
224 #wp-calendar a {
225         text-decoration: none;
226         }
227
228 #wp-calendar caption {
229         font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
230         text-align: center;
231         }
232
233 #wp-calendar th {
234         font-style: normal;
235         text-transform: capitalize;
236         }
237 /* End Calendar */
238
239 /* Begin Images */
240
241 img.centered {
242         display: block;
243         margin: 0 auto;
244         }
245        
246 img.floatright {
247         padding: 4px;
248         margin: 0 0 5px 10px;
249         display: inline;
250         float: right;
251         }
252
253 img.floatleft {
254         padding: 4px;
255         margin: 0 10px 5px 0;
256         display: inline;
257         float: left
258         }
259 /* End Images */
260
261 .alignright {
262         float: right;
263         }
264        
265 .alignleft {
266         float: left
267         }
268
269 /* Begin Lists */ 
270 .entry ul,
271 ul.commentdata,
272 ul.links {
273         margin-left: 0px;
274         padding: 0 0 1em 20px;
275         list-style: none;
276         }
277
278 ul.commentdata {
279         padding: 0;
280         }
281
282 .entry ul li,
283 ul.commentdata li,
284 ul.links ul li {
285         background: url(images/os_entryarrow.gif) 0 3px no-repeat;
286         padding: 0 0 0 14px;
287         margin: 0 0 2px 0;
288         list-style: none;
289         }
290
291 ul.links h2 {
292         padding: 10px 0 5px 0;
293         }
294  
295 .entry ol {
296         padding: 0 0 1em 40px;
297         }
298
299 .postmetadata ul, .postmetadata li {
300         display: inline;
301         list-style-type: none;
302         list-style-image: none;
303         font-family: georgia,'times new roman',times,serif;
304         }
305
306 #sidebar a, #sidebar a:link {
307         color: #066;
308         }
309
310 #sidebar a:visited {
311         color: #099;
312         }
313
314 #sidebar a:hover, #sidebar a:active {
315         color: #999;
316         }
317
318 #sidebar ul, #sidebar ul ol {
319         padding: 0 10px;
320         }
321
322 #sidebar ul li {
323         list-style: none;
324         margin-bottom: 15px;
325         }
326
327 #sidebar ul p, #sidebar ul select {
328         margin: 5px 0 8px 8px;
329         font-size: 1em;
330         }
331
332 #sidebar ul ul, #sidebar ul ol {
333         margin: 5px 0 0 5px;
334         }
335
336 ol li, #sidebar ul ol li {
337         list-style: decimal outside;
338         }
339
340 #sidebar ul ul li, #sidebar ul ol li {
341         margin: 2px 0 0;
342         background: url(images/os_sidearrow.gif) 0 3px no-repeat;
343         padding: 0 0 0 14px;
344         }
345
346 /* End Lists */
347
348 /* Begin Form */
349 #searchform {
350         text-align: center;
351         padding: 10px 0;
352         }
353
354 #sidebar #searchform #s {
355         width: 95px;
356         padding: 1px;
357         }
358
359 #sidebar #searchsubmit {
360         padding: 0;
361         }
362
363 .entry form {
364         text-align:center;
365         }
366
367 select {
368         width: 130px;
369         }
370
371 #commentform input {
372         width: 170px;
373         padding: 2px 0;
374         margin: 5px 5px 1px 0;
375         }
376
377 #commentform textarea {
378         width: 98%;
379         padding: 2px;
380         }
381
382 #commentform #submit {
383         margin: 0;
384         float: right;
385         }
386 /* End Form */
387
388
389 /* Begin Comments*/
390 .commentlist {
391         text-align: justify;
392         margin: 0;
393         padding: 0;
394         }
395
396 .commentlist li {
397         margin: 15px 0 3px;
398         padding: 5px 10px 3px;
399         list-style: none;
400         }
401
402 .commentlist cite {
403         font-weight: bold;
404         font-style: normal;
405         font-size: 1.1em;
406         }
407
408 .commentlist p {
409         line-height: 1.5;
410         padding-left: 20px;
411         margin: 5px 5px 5px 0;
412         }
413
414 #commentform p {
415         margin: 5px 0;
416         }
417
418 .nocomments {
419         text-align: center;
420         }
421
422 .commentmetadata {
423         display: block;
424         margin: 0 20px;
425         font-size: 0.9em;
426         }
427 /* End Comments */
428
429
430 /* Begin Calendar */
431 #wp-calendar {
432         empty-cells: show;
433         margin: 10px auto 0;
434         width: 155px;
435         }
436
437 #wp-calendar #next a {
438         padding-right: 10px;
439         text-align: right;
440         }
441
442 #wp-calendar #prev a {
443         padding-left: 10px;
444         text-align: left;
445         }
446
447 #wp-calendar a {
448         display: block;
449         }
450
451 #wp-calendar caption {
452         text-align: center;
453         width: 100%;
454         }
455
456 #wp-calendar td {
457         padding: 3px 0;
458         text-align: center;
459         }
460 /* End Calendar */
461
462 /* Begin Miscellaneous */
463 acronym, abbr {
464         cursor: help;
465         border-bottom: 1px dashed #999;
466         font-size: 0.9em;
467         }
468
469 code {
470         font: 1em 'courier new',courier,fixed,monospace;
471         padding: 0 0 1em 0;
472         }
473
474 small {
475         font-size: 0.9em;
476         line-height: 1.5;
477         }
478
479 dl { padding: 0 15px; }
480 dt { font-weight: bold; }
481 dd { padding: 2px 0 6px 0; }
482
483 dl.about_list { padding: 0; line-height: 1.4 }
484 dl.about_list  dt { padding: 0; }
485 dl.about_list  dd { position:relative; left: 5em; top:-1.3em; margin: 0 0 -1em 0; padding: 0}
486
487 blockquote {
488         margin: 0 30px 1em 10px;
489         padding: 1em 5px 0 15px;
490         border-left: 3px solid #C63;
491         background: #FFF;
492         }
493 blockquote cite {
494         margin: 5px 0 0;
495         display: block;
496         }
497
498 .centered {
499         text-align: center;
500         }
501
502 a img {
503         border: none;
504         }
505
506 small, #sidebar, .nocomments, .postmetadata, blockquote, strike, .commentdata {
507         color: #808080;
508         }
509
510 a:hover {
511         color: #066;
512         }
513
514 input.tbinput {
515         vertical-align: middle;
516         width: 385px;
517         color: #808080;
518         font-size: 11px;
519         border: 1px solid #CCC;
520         font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
521         }
522 /* End Miscellaneous */
Note: See TracBrowser for help on using the browser.