]> sipb.mit.edu Git - ikiwiki.git/blob - doc/style.css
response
[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         text-align: left;
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 }