]> sipb.mit.edu Git - ikiwiki.git/blob - doc/style.css
Merge branch 'fancypodcast' of github.com:schmonz/ikiwiki into fancypodcast
[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: 140%;
18         font-weight: bold;
19         line-height: 1em;
20         display: block;
21 }
22
23 .inlineheader .author {
24         margin: 0;
25         font-size: 112%;
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 .inlineenclosure {
63         margin-top: .4em;
64 }
65
66 .pagefooter,
67 .inlinefooter,
68 .comments {
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 img.img {
96         margin: 0.5ex;
97 }
98
99 .align-left {
100         float:left;
101 }
102
103 .align-right {
104         float:right;
105 }
106
107 #backlinks {
108         margin-top: 1em;
109 }
110
111 #searchform {
112         display: inline;
113         float: right;
114 }
115
116 #editcontent {
117         width: 98%;
118 }
119
120 .editcontentdiv {
121         width: auto;
122         overflow: auto;
123 }
124
125 img {
126         border-style: none;
127 }
128
129 pre {
130         overflow: auto;
131 }
132
133 div.recentchanges {
134         border-style: solid;
135         border-width: 1px;
136         overflow: auto;
137         width: auto;
138         clear: none;
139         background: #eee;
140         color: black !important;
141 }
142 .recentchanges .metadata {
143         padding: 0px 0.5em;
144 }
145 .recentchanges .changelog {
146         font-style: italic;
147         clear: both;
148         display: block;
149         padding: 1px 2px;
150         background: white !important;
151         color: black !important;
152 }
153 .recentchanges .desc {
154         display: none;
155 }
156 .recentchanges .diff {
157         display: none;
158 }
159 .recentchanges .committer {
160         float: left;
161         margin: 0;
162         width: 40%;
163 }
164 .recentchanges .committype {
165         float: left;
166         margin: 0;
167         width: 5%;
168         font-size: small;
169 }
170 .recentchanges .changedate {
171         float: left;
172         margin: 0;
173         width: 35%;
174         font-size: small;
175 }
176 .recentchanges .pagelinks,
177 .recentchanges .revert {
178         float: right;
179         margin: 0;
180         width: 60%;
181 }
182
183 .blogform, #blogform {
184         padding: 10px 10px;
185         border: 1px solid #aaa;
186         background: #eee;
187         color: black !important;
188         width: auto;
189         overflow: auto;
190 }
191
192 .inlinepage {
193         padding: 10px 10px;
194         border: 1px solid #aaa;
195         overflow: auto;
196 }
197
198 .pagedate,
199 .pagelicense,
200 .pagecopyright {
201         font-style: italic;
202         display: block;
203         margin-top: 1em;
204 }
205
206 .archivepagedate {
207         font-style: italic;
208 }
209 .archivepage {
210         margin-bottom: 1em;
211 }
212
213 .error {
214         color: #C00;
215 }
216
217 .sidebar {
218         width: 20ex;
219         float: right;
220         margin-left: 4px;
221         margin-bottom: 4px;
222         margin-top: -1px;
223         padding: 0ex 2ex;
224         background: white;
225         border: 1px solid black;
226         color: black !important;
227 }
228
229 hr.poll {
230         height: 10pt;
231         color: white !important;
232         background: #eee;
233         border: 2px solid black;
234 }
235 div.poll {
236         margin-top: 1ex;
237         margin-bottom: 1ex;
238         padding: 1ex 1ex;
239         border: 1px solid #aaa;
240 }
241
242 span.color {
243         padding: 2px;
244 }
245
246 .comment-header,
247 .microblog-header {
248         font-style: italic;
249         margin-top: .3em;
250 }
251 .comment .author,
252 .microblog .author {
253         font-weight: bold;
254 }
255 .comment-subject {
256         font-weight: bold;
257 }
258 .comment-avatar {
259         float: right;
260 }
261 .comment {
262         border: 1px solid #aaa;
263         padding: 3px;
264 }
265
266 div.progress {
267         margin-top: 1ex;
268         margin-bottom: 1ex;
269         border: 1px solid #888;
270         width: 400px;
271         background: #eee;
272         color: black !important;
273         padding: 1px;
274 }
275 div.progress-done {
276         background: #ea6 !important;
277         color: black !important;
278         text-align: center;
279         padding: 1px;
280 }
281
282 /* things to hide in printouts */
283 @media print {
284         .actions { display: none; }
285         .tags { display: none; }
286         .trails { display: none; }
287         .feedbutton { display: none; }
288         #searchform { display: none; }
289         .blogform, #blogform { display: none; }
290         #backlinks { display: none; }
291 }
292
293 /* infobox template */
294 .infobox {
295         float: right;
296         margin-left: 2ex;
297         margin-top: 1ex;
298         margin-bottom: 1ex;
299         padding: 1ex 1ex;
300         border: 1px solid #aaa;
301         background: white;
302         color: black !important;
303 }
304
305 /* notebox template */
306 .notebox {
307         float: right;
308         margin-left: 2ex;
309         margin-top: 1ex;
310         margin-bottom: 1ex;
311         padding: 1ex 1ex;
312         border: 1px solid #aaa;
313         width: 25%;
314         background: white;
315         color: black !important;
316 }
317
318 /* popup template and backlinks hiding */
319 .popup {
320         border-bottom: 1px dotted #366;
321         color: #366;
322 }
323 .popup .balloon,
324 .popup .paren,
325 .popup .expand {
326         display: none;
327 }
328 .popup:hover .balloon,
329 .popup:focus .balloon {
330         position: absolute;
331         display: inline;
332         margin: 1em 0 0 -2em;
333         padding: 0.625em;
334         border: 2px solid;
335         background-color: #dee;
336         color: black;
337 }
338
339 /* form styling */
340 fieldset {
341         margin: 1ex 0;
342         border: 1px solid black;
343 }
344 legend {
345         padding: 0 1ex;
346 }
347 .fb_submit {
348         float: left;
349         margin: 2px 0;
350 }
351 label.block {    
352         display: block;   
353 }
354 label.inline {    
355         display: inline;
356 }
357 input#openid_identifier {
358         background: url(wikiicons/openidlogin-bg.gif) no-repeat;
359         background-color: #fff;
360         background-position: 0 50%;
361         color: #000;
362         padding-left: 18px;
363 }
364 input#searchbox {
365         background: url(wikiicons/search-bg.gif) no-repeat;
366         background-color: #fff;
367         background-position: 100% 50%;
368         color: #000;
369         padding-right: 16px;
370 }
371 /* invalid form fields */
372 .fb_invalid {
373         color: red;
374         background: white !important;
375 }
376 /* required form fields */
377 .fb_required {
378         font-weight: bold;
379 }
380
381 /* highlight plugin */
382 pre.hl { color:#000000; background-color:#ffffff; }
383 .hl.num { color:#2928ff; }
384 .hl.esc { color:#ff00ff; }
385 .hl.str { color:#ff0000; }
386 .hl.dstr { color:#818100; }
387 .hl.slc { color:#838183; font-style:italic; }
388 .hl.com { color:#838183; font-style:italic; }
389 .hl.dir { color:#008200; }
390 .hl.sym { color:#000000; }
391 .hl.line { color:#555555; }
392 .hl.mark { background-color:#ffffbb; }
393 .hl.kwa { color:#000000; font-weight:bold; }
394 .hl.kwb { color:#830000; }
395 .hl.kwc { color:#000000; font-weight:bold; }
396 .hl.kwd { color:#010181; }
397
398 /* calendar plugin */
399 .month-calendar-day-this-day,
400 .year-calendar-this-month {
401         background-color: #eee;
402 }
403 .month-calendar-day-head,
404 .month-calendar-day-nolink,
405 .month-calendar-day-link,
406 .month-calendar-day-this-day,
407 .month-calendar-day-future {
408         text-align: right;
409 }
410 .month-calendar-arrow A:link,
411 .year-calendar-arrow A:link,
412 .month-calendar-arrow A:visited,
413 .year-calendar-arrow A:visited {
414         text-decoration: none;
415         font-weight: normal;
416         font-size: 150%;
417 }
418
419 /* outlines */
420 li.L1 { list-style: upper-roman; }
421 li.L2 { list-style: decimal; }
422 li.L3 { list-style: lower-alpha; }
423 li.L4 { list-style: disc; }
424 li.L5 { list-style: square; }
425 li.L6 { list-style: circle; }
426 li.L7 { list-style: lower-roman; }
427 li.L8 { list-style: upper-alpha; }
428
429 /* tag cloud */
430 .pagecloud {
431         float: right;
432         width: 30%;
433         text-align: center;
434         padding: 10px 10px;
435         border: 1px solid #aaa;
436         background: #eee;
437         color: black !important;
438 }
439 .smallestPC { font-size: 70%; }
440 .smallPC { font-size: 85%; }
441 .normalPC { font-size: 100%; }
442 .bigPC { font-size: 115%; }
443 .biggestPC { font-size: 130%; }
444
445 /* orange feed button */
446 .feedbutton {
447         background: #ff6600;
448         color: white !important;
449         border-left: 1px solid #cc9966;
450         border-top: 1px solid #ccaa99;
451         border-right: 1px solid #993300;
452         border-bottom: 1px solid #331100;
453         padding: 0px 0.5em 0px 0.5em;
454         font-family: sans-serif;
455         font-weight: bold;
456         font-size: small;
457         text-decoration: none;
458         margin-top: 1em;
459 }
460 .feedbutton:hover {
461         color: white !important;
462         background: #ff9900;
463 }
464
465 .FlattrButton {
466         display: none;
467 }
468
469 /* openid selector */
470 #openid_choice {
471         display: none;
472 }
473 #openid_input_area {
474         clear: both;
475         padding: 10px;
476 }
477 #openid_btns, #openid_btns br {
478         clear: both;
479 }
480 #openid_highlight {
481         background-color: black;
482         float: left;
483 }
484 .openid_large_btn {
485         padding: 1em 1.5em;
486         border: 1px solid #DDD;
487         margin: 3px;
488         float: left;
489 }
490 .openid_small_btn {
491         padding: 4px 4px;
492         border: 1px solid #DDD;
493         margin: 3px;
494         float: left;
495 }
496 a.openid_large_btn:focus {
497         outline: none;
498 }
499 a.openid_large_btn:focus {
500         outline-style: none;
501 }
502 .openid_selected {
503         border: 4px solid #DDD;
504 }
505
506 .fileupload-content .ui-progressbar {
507         width: 200px;
508         height: 20px;
509 }
510 .fileupload-content .ui-progressbar-value {
511         background: url(ikiwiki/images/pbar-ani.gif);
512 }
513
514 .trails {
515         margin-top: 1em;
516         margin-bottom: 1em;
517 }
518 .trail {
519         display: block;
520         clear: both;
521         position: relative;
522 }
523
524 .trailprev {
525         display: block;
526         text-align: left;
527         position: absolute;
528         top: 0%;
529         left: 3%;
530         width: 30%;
531 }
532
533 .trailup {
534         display: block;
535         text-align: center;
536         margin-left: 35%;
537         margin-right: 35%;
538 }
539
540 .trailnext {
541         display: block;
542         text-align: right;
543         position: absolute;
544         top: 0%;
545         width: 30%;
546         right: 3%;
547 }
548
549 .trailsep {
550         display: none;
551 }