calendar styling
[ikiwiki.git] / doc / style.css
1 /* ikiwiki style sheet */
2
3 /* Note that instead of modifying this style sheet, you can instead edit
4  * local.css and use it to override or change settings in this one.
5  */
6
7 /* html5 compat */
8 article,
9 header,
10 footer,
11 nav {
12         display: block;
13 }
14
15 .header {
16         margin: 0;
17         font-size: 22px;
18         font-weight: bold;
19         line-height: 1em;
20         display: block;
21 }
22
23 .inlineheader .author {
24         margin: 0;
25         font-size: 18px;
26         font-weight: bold;
27         display: block;
28 }
29
30 .actions ul {
31         margin: 0;
32         padding: 6px .4em;
33         height: 1em;
34         list-style-type: none;
35 }
36 .actions li {
37         display: inline;
38         padding: .2em;
39 }
40 .pageheader .actions ul {
41         border-bottom: 1px solid #000;
42 }
43
44 .inlinepage .actions ul {
45         border-bottom: 0;
46 }
47
48 #otherlanguages ul {
49         margin: 0;
50         padding: 6px;
51         list-style-type: none;
52 }
53 #otherlanguages li {
54         display: inline;
55         padding: .2em .4em;
56 }
57 .pageheader #otherlanguages {
58         border-bottom: 1px solid #000;
59 }
60
61 .inlinecontent {
62         margin-top: .4em;
63 }
64
65 .pagefooter {
66         clear: both;
67 }
68 .inlinefooter {
69         clear: both;
70 }
71
72 #pageinfo {
73         margin: 1em 0;
74         border-top: 1px solid #000;
75 }
76
77 .tags {
78         margin-top: 1em;
79 }
80
81 .inlinepage .tags {
82         display: inline;
83 }
84
85 .mapparent {
86         text-decoration: none;
87 }
88
89 .img caption {
90         font-size: 80%;
91         caption-side: bottom;
92         text-align: center;
93 }
94
95 .align-left {
96         float:left;
97 }
98
99 .align-right {
100         float:right;
101 }
102
103 #backlinks {
104         margin-top: 1em;
105 }
106
107 #searchform {
108         display: inline;
109         float: right;
110 }
111
112 #editcontent {
113         width: 98%;
114 }
115
116 .editcontentdiv {
117         width: auto;
118         overflow: auto;
119 }
120
121 img {
122         border-style: none;
123 }
124
125 div.recentchanges {
126         border-style: solid;
127         border-width: 1px;
128         overflow: auto;
129         width: auto;
130         clear: none;
131         background: #eee;
132         color: black !important;
133 }
134 .recentchanges .metadata {
135         padding: 0px 0.5em;
136 }
137 .recentchanges .changelog {
138         font-style: italic;
139         clear: both;
140         display: block;
141         padding: 1px 2px;
142         background: white !important;
143         color: black !important;
144 }
145 .recentchanges .desc {
146         display: none;
147 }
148 .recentchanges .diff {
149         display: none;
150 }
151 .recentchanges .committer {
152         float: left;
153         margin: 0;
154         width: 40%;
155 }
156 .recentchanges .committype {
157         float: left;
158         margin: 0;
159         width: 5%;
160         font-size: small;
161 }
162 .recentchanges .changedate {
163         float: left;
164         margin: 0;
165         width: 35%;
166         font-size: small;
167 }
168 .recentchanges .pagelinks {
169         float: right;
170         margin: 0;
171         width: 60%;
172 }
173
174 #blogform {
175         padding: 10px 10px;
176         border: 1px solid #aaa;
177         background: #eee;
178         color: black !important;
179         width: auto;
180         overflow: auto;
181 }
182
183 .inlinepage {
184         padding: 10px 10px;
185         border: 1px solid #aaa;
186         overflow: auto;
187 }
188
189 .pagedate,
190 .pagelicense,
191 .pagecopyright {
192         font-style: italic;
193         display: block;
194         margin-top: 1em;
195 }
196
197 .error {
198         color: #C00;
199 }
200
201 .sidebar {
202         width: 20ex;
203         float: right;
204         margin-left: 4px;
205         margin-bottom: 4px;
206         margin-top: -1px;
207         padding: 0ex 2ex;
208         background: white;
209         border: 1px solid black;
210         color: black !important;
211 }
212
213 hr.poll {
214         height: 10pt;
215         color: white !important;
216         background: #eee;
217         border: 2px solid black;
218 }
219 div.poll {
220         margin-top: 1ex;
221         margin-bottom: 1ex;
222         padding: 1ex 1ex;
223         border: 1px solid #aaa;
224 }
225
226 span.color {
227         padding: 2px;
228 }
229
230 .comment-header,
231 .microblog-header {
232         font-style: italic;
233         margin-top: .3em;
234 }
235 .comment .author,
236 .microblog .author {
237         font-weight: bold;
238 }
239 .comment-subject {
240         font-weight: bold;
241 }
242 .comment {
243         border: 1px solid #aaa;
244         padding: 3px;
245 }
246
247 div.progress {
248         margin-top: 1ex;
249         margin-bottom: 1ex;
250         border: 1px solid #888;
251         width: 400px;
252         background: #eee;
253         color: black !important;
254         padding: 1px;
255 }
256 div.progress-done {
257         background: #ea6 !important;
258         color: black !important;
259         text-align: center;
260         padding: 1px;
261 }
262
263 /* things to hide in printouts */
264 @media print {
265         .actions { display: none; }
266         .tags { display: none; }
267         .feedbutton { display: none; }
268         #searchform { display: none; }
269         #blogform { display: none; }
270         #backlinks { display: none; }
271 }
272
273 /* infobox template */
274 .infobox {
275         float: right;
276         margin-left: 2ex;
277         margin-top: 1ex;
278         margin-bottom: 1ex;
279         padding: 1ex 1ex;
280         border: 1px solid #aaa;
281         background: white;
282         color: black !important;
283 }
284
285 /* notebox template */
286 .notebox {
287         float: right;
288         margin-left: 2ex;
289         margin-top: 1ex;
290         margin-bottom: 1ex;
291         padding: 1ex 1ex;
292         border: 1px solid #aaa;
293         width: 25%;
294         background: white;
295         color: black !important;
296 }
297
298 /* popup template and backlinks hiding */
299 .popup {
300         border-bottom: 1px dotted #366;
301         color: #366;
302 }
303 .popup .balloon,
304 .popup .paren,
305 .popup .expand {
306         display: none;
307 }
308 .popup:hover .balloon,
309 .popup:focus .balloon {
310         position: absolute;
311         display: inline;
312         margin: 1em 0 0 -2em;
313         padding: 0.625em;
314         border: 2px solid;
315         background-color: #dee;
316         color: black;
317 }
318
319 /* form styling */
320 fieldset {
321         margin: 1ex 0;
322         border: 1px solid black;
323 }
324 legend {
325         padding: 0 1ex;
326 }
327 .fb_submit {
328         float: left;
329         margin: 2px 0;
330 }
331 label.block {    
332         display: block;   
333 }
334 label.inline {    
335         display: inline;
336 }
337 ol.form {
338         list-style: none;
339         padding: 0;
340 }
341 li.form {
342         padding-bottom: 1em;
343 }
344 input#openid_identifier {
345         background: url(wikiicons/openidlogin-bg.gif) no-repeat;
346         background-color: #fff;
347         background-position: 0 50%;
348         color: #000;
349         padding-left: 18px;
350 }
351 input#searchbox {
352         background: url(wikiicons/search-bg.gif) no-repeat;
353         background-color: #fff;
354         background-position: 100% 50%;
355         color: #000;
356         padding-right: 16px;
357 }
358 /* invalid form fields */
359 .fb_invalid {
360         color: red;
361         background: white !important;
362 }
363 /* required form fields */
364 .fb_required {
365         font-weight: bold;
366 }
367
368 /* highlight plugin */
369 pre.hl { color:#000000; background-color:#ffffff; }
370 .hl.num { color:#2928ff; }
371 .hl.esc { color:#ff00ff; }
372 .hl.str { color:#ff0000; }
373 .hl.dstr { color:#818100; }
374 .hl.slc { color:#838183; font-style:italic; }
375 .hl.com { color:#838183; font-style:italic; }
376 .hl.dir { color:#008200; }
377 .hl.sym { color:#000000; }
378 .hl.line { color:#555555; }
379 .hl.mark { background-color:#ffffbb; }
380 .hl.kwa { color:#000000; font-weight:bold; }
381 .hl.kwb { color:#830000; }
382 .hl.kwc { color:#000000; font-weight:bold; }
383 .hl.kwd { color:#010181; }
384
385 /* calendar plugin */
386 .month-calendar-day-this-day,
387 .year-calendar-this-month {
388         background-color: #eee;
389 }
390 .month-calendar-day-head,
391 .month-calendar-day-nolink,
392 .month-calendar-day-link,
393 .month-calendar-day-this-day,
394 .month-calendar-day-future {
395         text-align: right;
396 }
397 .month-calendar-arrow A:link,
398 .year-calendar-arrow A:link,
399 .month-calendar-arrow A:visited,
400 .year-calendar-arrow A:visited {
401         text-decoration: none;
402         font-weight: normal;
403         font-size: 150%;
404 }
405
406 /* outlines */
407 li.L1 { list-style: upper-roman; }
408 li.L2 { list-style: decimal; }
409 li.L3 { list-style: lower-alpha; }
410 li.L4 { list-style: disc; }
411 li.L5 { list-style: square; }
412 li.L6 { list-style: circle; }
413 li.L7 { list-style: lower-roman; }
414 li.L8 { list-style: upper-alpha; }
415
416 /* tag cloud */
417 .pagecloud {
418         float: right;
419         width: 30%;
420         text-align: center;
421         padding: 10px 10px;
422         border: 1px solid #aaa;
423         background: #eee;
424         color: black !important;
425 }
426 .smallestPC { font-size: 70%; }
427 .smallPC { font-size: 85%; }
428 .normalPC { font-size: 100%; }
429 .bigPC { font-size: 115%; }
430 .biggestPC { font-size: 130%; }
431
432 /* orange feed button */
433 .feedbutton {
434         background: #ff6600;
435         color: white !important;
436         border-left: 1px solid #cc9966;
437         border-top: 1px solid #ccaa99;
438         border-right: 1px solid #993300;
439         border-bottom: 1px solid #331100;
440         padding: 0px 0.5em 0px 0.5em;
441         font-family: sans-serif;
442         font-weight: bold;
443         font-size: small;
444         text-decoration: none;
445         margin-top: 1em;
446 }
447 .feedbutton:hover {
448         color: white !important;
449         background: #ff9900;
450 }
451
452 /* openid selector */
453 #openid_choice {
454         display: none;
455 }
456 #openid_input_area {
457         clear: both;
458         padding: 10px;
459 }
460 #openid_btns, #openid_btns br {
461         clear: both;
462 }
463 #openid_highlight {
464         background-color: black;
465         float: left;
466 }
467 .openid_large_btn {
468         padding: 1em 1.5em;
469         border: 1px solid #DDD;
470         margin: 3px;
471         float: left;
472 }
473 .openid_small_btn {
474         padding: 4px 4px;
475         border: 1px solid #DDD;
476         margin: 3px;
477         float: left;
478 }
479 a.openid_large_btn:focus {
480         outline: none;
481 }
482 a.openid_large_btn:focus {
483         -moz-outline-style: none;
484 }
485 .openid_selected {
486         border: 4px solid #DDD;
487 }