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