2 * $Id: phpwiki.css,v 1.10 2003-02-18 02:49:20 dairiki Exp $
4 * This incarnation of this stylesheet is a complete rewrite from the
7 * Mozilla's "DOM Inspector" Sidebar was an invaluable troubleshooting
8 * tool for mapping the more complex CSS node selectors, such as those
9 * used to reference the various CalendarPlugin elements.
13 * NS4 doesn't grok @import. This allows us to put things which
14 * break NS4 in another file.
16 @import url(phpwiki-heavy.css);
36 /* Allow the caption to extend to the full page width
37 Mac ie5.1 ignores this*/
46 /* ivory #ffe #fffff0*/
48 font-family: Arial, Helvetica, sans-serif;
52 div.wikitext hr { height: 1px; }
54 div.wikitext pre { font-family: monospace; }
60 /* Main wiki text box */
65 /* Netscape 4 requires this 1px border.
66 Without it, the paper borders below cause
67 the white background to disappear. */
68 border: 1px black solid;
70 border-top: 1px #e8e6df solid;
71 border-left: 1px #e8e6df solid;
72 border-bottom: 1px #d2d2d2 solid;
73 border-right: 1px #b2b2b2 solid;
77 padding-bottom: 0.5ex;
78 /*This breaks Netscape 4: (display does not go full width).
83 .interwiki-map thead td { text-decoration: underline; }
85 /* Mozilla RecentChanges Sidebar */
90 body.sidebar div.wikitext {
93 body.sidebar div.wikitext ul { padding-left: 1em; }
94 body.sidebar h2 { margin-top: 0; }
100 * The div inside the wikiadmin upload form does not
101 * have a class yet, so it must be referenced indirectly
103 div.wikiaction { background-color: #eee; }
104 /* div.wikiadmin { background-color: #fee; } */
105 form.wikiadmin div { background-color: #fee; }
112 text-decoration: none;
117 a.wikiaction, a.wikiadmin, a.wiki-rc-action, a.wikiunsafe,
118 input.wikiaction, input.button {
119 text-decoration: none;
120 font-family: Arial, Helvetica, sans-serif;
121 /* don't wrap text buttons */
125 a.wikiaction, input.wikiaction, input.button { background-color: #ddd; }
127 .wikiunsafe { background-color: #fcc; }
129 a.wikiadmin, input.wikiadmin { background-color: #fdd; }
132 .wikiunknown, .named-wikiunknown {
136 /* QuestionMark #600 */
137 .wikiunknown a, .named-wikiunknown a {
139 background-color: #eee;
140 text-decoration: none;
147 text-decoration: underline;
150 h1 .backlinks { text-decoration: underline; }
152 /* Interwiki links */
153 .wikipage { font-weight: bold; }
154 .interwiki { text-decoration: none; }
155 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
156 .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; }
162 h1, h2, h3, h4, h5, h6 { font-family: Arial, Helvetica, sans-serif; }
170 table, td { font-family: Arial, Helvetica, sans-serif; }
171 caption { font-family: Arial, Helvetica, sans-serif; }
174 .pagelist thead, .pagelist thead u { }
175 .pagelist tr.evenrow { background: #eee; }
176 .pagelist tr.oddrow { background: white; }
182 .toolbar, input.button, #signin { font-family: Arial, Helvetica, sans-serif; }
189 padding-right: 4em; /* wrap around logo */
190 padding-bottom: 1ex; /* space for h1 */
193 font-family: Arial, Helvetica, sans-serif;
199 /* Netscape 4 requires this 1px border.
200 Without it, the paper borders below cause
201 the white background to disappear. */
202 border: 1px black solid;
203 /* "paper" borders */
204 border-top: 1px #e8e6df solid;
205 border-left: 1px #e8e6df solid;
206 border-bottom: 1px #d2d2d2 solid;
207 border-right: 1px #b2b2b2 solid;
211 * Edit Page & View Source
214 /* Make the textarea the full page width */
217 margin-bottom: 0.5ex;
228 /* IncludePage plugin */
229 .transclusion-title {
233 text-decoration: underline;
234 margin-bottom: 0.25ex;
235 margin-right: 0.25em;
237 .transclusion, .wiki-edithelp {
241 border: 1px solid gray;
243 padding-right: 0.8em;
247 margin-right: 0.25em;
248 margin-bottom: 0.1ex;
252 border: medium solid #fff8dc; /* darker ivory */
254 padding-right: 0.5em;
256 padding-bottom: 0.75ex;
262 .wiki-edithelp .wiki {
266 font-family: Arial, Helvetica, sans-serif;
268 padding-right: 0.5em;
270 padding-bottom: 0.5ex;
279 border: 1px outset gray;
293 /* Month-name header */
294 table.cal-header { font-size: larger; }
295 table.cal-header tr, table.cal-header td { text-align: center; }
298 text-decoration: none;
301 /* Day-names header */
302 table.cal tbody tr .cal-dayname { }
306 text-decoration: underline;
309 /* Individual days */
310 a.cal-hide { text-decoration: none; }
314 table.cal td.cal-today {
316 border: 1px solid gray;
319 table.cal td.cal-today a.cal-hide { }
327 margin-bottom: 0.5ex;
329 /* Netscape 4 requires this 1px border.
330 Without it, the paper borders below cause
331 the white background to disappear. */
332 border: 1px #ccc solid;
334 border-top: 1px solid #494f5d;
335 border-left: 1px solid #494f5d;
336 border-bottom: 1px solid #c6d2de;
337 border-right: 1px solid #c6d2de;
340 padding-left: .125em;
341 padding-right: .125em;
343 /* "paper" borders */
344 /*border-top: 2px #d2d2d2 solid;
345 border-left: 2px #b2b2b2 solid;
346 border-bottom: 2px #e8e6df solid;
347 border-right: 2px #e8e6df solid;*/
348 /* padding-left: 0em;
349 padding-bottom: 0ex;*/
350 /* border-style: inset;*/
351 /*This breaks Netscape 4: (display does not go full width).
354 /* I'm not sure what the intent of this was, but it's
356 /* display: editarea; */
366 /* individual blocks */
372 /* entire difftextblock */
377 /* Netscape 4 requires this 1px border.
378 Without it, the paper borders below cause
379 the white background to disappear. */
380 border: 1px black solid;
381 /* "paper" borders */
382 border-top: 1px #e8e6df solid;
383 border-left: 1px #e8e6df solid;
384 border-bottom: 1px #d2d2d2 solid;
385 border-right: 1px #b2b2b2 solid;
390 /*This breaks Netscape 4: (display does not go full width).
395 /* + - line prefix */
398 font-family: monospace;
405 .diff del, .diff ins {
407 text-decoration: none;
410 /* blocks containing deleted or added words */
411 .diff .original, .diff .deleted,
412 .diff .final, .diff .added {
415 /* blocks containing deleted words */
416 .diff .original, .diff .deleted {
421 /* blocks containing added words */
422 .diff .final, .diff .added {
428 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
430 .diff del { background: #f99; }
432 .diff ins { background: #9f9; }
438 td.pageinfo { font-weight: bold; }
439 .pageinfo-minoredit, .pageinfo-authorid {
448 .printer { display: none; }
457 padding-right: 0.8em;
460 border: medium solid red;
467 text-decoration: underline;
469 .error { font-family: monospace; }
470 .error ul { font-family: monospace; }
476 font-family: monospace;
479 padding: 0.5ex 0.5em;
480 border: medium solid #fff8dc; /* darker ivory */
489 padding: 0.5ex 0.5em;
490 border: thin solid #aaaaaa;
493 /* Disabled Plugins */
500 .disabled-plugin .title {
502 background-color: inherit;
507 .disabled-plugin pre {
511 padding: 0.3ex 0.5em;
514 /* "(Redirected from ...)" message. */
524 * Vertical margins around block elements.
527 p { margin: 2ex 0; } /* Normal ("loose") paragraphs */
528 li p, dd p, td p { margin: 1ex 0; } /* Paragraphs within lists are a little tighter. */
530 ul, ol, dl { margin: 0.2ex 0; } /* A little room around lists. */
532 dd ul, dd ol, dd dl { margin: 0 0; } /* but not around sub-lists. */
534 /* Normal ("loose") list elements */
535 li { margin: 1.5ex 0; }
536 dt { margin-top: 1.5ex; }
537 dd { margin-bottom: 1.5ex; }
540 li.tight-top, dt.tight-top, dd.tight-top {
546 li.tight-bottom, dd.tight-bottom {
547 margin-bottom: 0.2ex;
565 border-collapse: collapse;
566 border: 2px #444 solid;
569 border-top: 2px #444 solid;
570 border-bottom: 2px #444 solid;
574 .wiki-dl-table tr.tight-top {
575 border-top: 1px #444 solid;
577 .wiki-dl-table tr.tight-bottom {
578 border-bottom: 1px #444 solid;
580 .wiki-dl-table th, .wiki-dl-table td {
581 padding: 0.1ex 0.5em;
586 border-right: 1px #444 solid;
596 * "E-mail" style blockquote
598 blockquote.mail-style-quote {
599 border-left: medium #284 solid;
604 .mail-style-quote blockquote.mail-style-quote {
612 * c-file-style: cc-mode