remove obsolete ol class=form for editpage and editcomment
[ikiwiki] / 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 pre {
126         overflow: auto;
127 }
128
129 div.recentchanges {
130         border-style: solid;
131         border-width: 1px;
132         overflow: auto;
133         width: auto;
134         clear: none;
135         background: #eee;
136         color: black !important;
137 }
138 .recentchanges .metadata {
139         padding: 0px 0.5em;
140 }
141 .recentchanges .changelog {
142         font-style: italic;
143         clear: both;
144         display: block;
145         padding: 1px 2px;
146         background: white !important;
147         color: black !important;
148 }
149 .recentchanges .desc {
150         display: none;
151 }
152 .recentchanges .diff {
153         display: none;
154 }
155 .recentchanges .committer {
156         float: left;
157         margin: 0;
158         width: 40%;
159 }
160 .recentchanges .committype {
161         float: left;
162         margin: 0;
163         width: 5%;
164         font-size: small;
165 }
166 .recentchanges .changedate {
167         float: left;
168         margin: 0;
169         width: 35%;
170         font-size: small;
171 }
172 .recentchanges .pagelinks {
173         float: right;
174         margin: 0;
175         width: 60%;
176 }
177
178 #blogform {
179         padding: 10px 10px;
180         border: 1px solid #aaa;
181         background: #eee;
182         color: black !important;
183         width: auto;
184         overflow: auto;
185 }
186
187 .inlinepage {
188         padding: 10px 10px;
189         border: 1px solid #aaa;
190         overflow: auto;
191 }
192
193 .pagedate,
194 .pagelicense,
195 .pagecopyright {
196         font-style: italic;
197         display: block;
198         margin-top: 1em;
199 }
200
201 .error {
202         color: #C00;
203 }
204
205 .sidebar {
206         width: 20ex;
207         float: right;
208         margin-left: 4px;
209         margin-bottom: 4px;
210         margin-top: -1px;
211         padding: 0ex 2ex;
212         background: white;
213         border: 1px solid black;
214         color: black !important;
215 }
216
217 hr.poll {
218         height: 10pt;
219         color: white !important;
220         background: #eee;
221         border: 2px solid black;
222 }
223 div.poll {
224         margin-top: 1ex;
225         margin-bottom: 1ex;
226         padding: 1ex 1ex;
227         border: 1px solid #aaa;
228 }
229
230 span.color {
231         padding: 2px;
232 }
233
234 .comment-header,
235 .microblog-header {
236         font-style: italic;
237         margin-top: .3em;
238 }
239 .comment .author,
240 .microblog .author {
241         font-weight: bold;
242 }
243 .comment-subject {
244         font-weight: bold;
245 }
246 .comment {
247         border: 1px solid #aaa;
248         padding: 3px;
249 }
250
251 div.progress {
252         margin-top: 1ex;
253         margin-bottom: 1ex;
254         border: 1px solid #888;
255         width: 400px;
256         background: #eee;
257         color: black !important;
258         padding: 1px;
259 }
260 div.progress-done {
261         background: #ea6 !important;
262         color: black !important;
263         text-align: center;
264         padding: 1px;
265 }
266
267 /* things to hide in printouts */
268 @media print {
269         .actions { display: none; }
270         .tags { display: none; }
271         .feedbutton { display: none; }
272         #searchform { display: none; }
273         #blogform { display: none; }
274         #backlinks { display: none; }
275 }
276
277 /* infobox template */
278 .infobox {
279         float: right;
280         margin-left: 2ex;
281         margin-top: 1ex;
282         margin-bottom: 1ex;
283         padding: 1ex 1ex;
284         border: 1px solid #aaa;
285         background: white;
286         color: black !important;
287 }
288
289 /* notebox template */
290 .notebox {
291         float: right;
292         margin-left: 2ex;
293         margin-top: 1ex;
294         margin-bottom: 1ex;
295         padding: 1ex 1ex;
296         border: 1px solid #aaa;
297         width: 25%;
298         background: white;
299         color: black !important;
300 }
301
302 /* popup template and backlinks hiding */
303 .popup {
304         border-bottom: 1px dotted #366;
305         color: #366;
306 }
307 .popup .balloon,
308 .popup .paren,
309 .popup .expand {
310         display: none;
311 }
312 .popup:hover .balloon,
313 .popup:focus .balloon {
314         position: absolute;
315         display: inline;
316         margin: 1em 0 0 -2em;
317         padding: 0.625em;
318         border: 2px solid;
319         background-color: #dee;
320         color: black;
321 }
322
323 /* form styling */
324 fieldset {
325         margin: 1ex 0;
326         border: 1px solid black;
327 }
328 legend {
329         padding: 0 1ex;
330 }
331 .fb_submit {
332         float: left;
333         margin: 2px 0;
334 }
335 label.block {    
336         display: block;   
337 }
338 label.inline {    
339         display: inline;
340 }
341 input#openid_identifier {
342         background: url(wikiicons/openidlogin-bg.gif) no-repeat;
343         background-color: #fff;
344         background-position: 0 50%;
345         color: #000;
346         padding-left: 18px;
347 }
348 input#searchbox {
349         background: url(wikiicons/search-bg.gif) no-repeat;
350         background-color: #fff;
351         background-position: 100% 50%;
352         color: #000;
353         padding-right: 16px;
354 }
355 /* invalid form fields */
356 .fb_invalid {
357         color: red;
358         background: white !important;
359 }
360 /* required form fields */
361 .fb_required {
362         font-weight: bold;
363 }
364
365 /* highlight plugin */
366 pre.hl { color:#000000; background-color:#ffffff; }
367 .hl.num { color:#2928ff; }
368 .hl.esc { color:#ff00ff; }
369 .hl.str { color:#ff0000; }
370 .hl.dstr { color:#818100; }
371 .hl.slc { color:#838183; font-style:italic; }
372 .hl.com { color:#838183; font-style:italic; }
373 .hl.dir { color:#008200; }
374 .hl.sym { color:#000000; }
375 .hl.line { color:#555555; }
376 .hl.mark { background-color:#ffffbb; }
377 .hl.kwa { color:#000000; font-weight:bold; }
378 .hl.kwb { color:#830000; }
379 .hl.kwc { color:#000000; font-weight:bold; }
380 .hl.kwd { color:#010181; }
381
382 /* calendar plugin */
383 .month-calendar-day-this-day,
384 .year-calendar-this-month {
385         background-color: #eee;
386 }
387 .month-calendar-day-head,
388 .month-calendar-day-nolink,
389 .month-calendar-day-link,
390 .month-calendar-day-this-day,
391 .month-calendar-day-future {
392         text-align: right;
393 }
394 .month-calendar-arrow A:link,
395 .year-calendar-arrow A:link,
396 .month-calendar-arrow A:visited,
397 .year-calendar-arrow A:visited {
398         text-decoration: none;
399         font-weight: normal;
400         font-size: 150%;
401 }
402
403 /* outlines */
404 li.L1 { list-style: upper-roman; }
405 li.L2 { list-style: decimal; }
406 li.L3 { list-style: lower-alpha; }
407 li.L4 { list-style: disc; }
408 li.L5 { list-style: square; }
409 li.L6 { list-style: circle; }
410 li.L7 { list-style: lower-roman; }
411 li.L8 { list-style: upper-alpha; }
412
413 /* tag cloud */
414 .pagecloud {
415         float: right;
416         width: 30%;
417         text-align: center;
418         padding: 10px 10px;
419         border: 1px solid #aaa;
420         background: #eee;
421         color: black !important;
422 }
423 .smallestPC { font-size: 70%; }
424 .smallPC { font-size: 85%; }
425 .normalPC { font-size: 100%; }
426 .bigPC { font-size: 115%; }
427 .biggestPC { font-size: 130%; }
428
429 /* orange feed button */
430 .feedbutton {
431         background: #ff6600;
432         color: white !important;
433         border-left: 1px solid #cc9966;
434         border-top: 1px solid #ccaa99;
435         border-right: 1px solid #993300;
436         border-bottom: 1px solid #331100;
437         padding: 0px 0.5em 0px 0.5em;
438         font-family: sans-serif;
439         font-weight: bold;
440         font-size: small;
441         text-decoration: none;
442         margin-top: 1em;
443 }
444 .feedbutton:hover {
445         color: white !important;
446         background: #ff9900;
447 }
448
449 /* openid selector */
450 #openid_choice {
451         display: none;
452 }
453 #openid_input_area {
454         clear: both;
455         padding: 10px;
456 }
457 #openid_btns, #openid_btns br {
458         clear: both;
459 }
460 #openid_highlight {
461         background-color: black;
462         float: left;
463 }
464 .openid_large_btn {
465         padding: 1em 1.5em;
466         border: 1px solid #DDD;
467         margin: 3px;
468         float: left;
469 }
470 .openid_small_btn {
471         padding: 4px 4px;
472         border: 1px solid #DDD;
473         margin: 3px;
474         float: left;
475 }
476 a.openid_large_btn:focus {
477         outline: none;
478 }
479 a.openid_large_btn:focus {
480         -moz-outline-style: none;
481 }
482 .openid_selected {
483         border: 4px solid #DDD;
484 }