2 * $Id: phpwiki.css,v 1.22 2004-03-24 19:40:34 rurban 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;
49 font-size: 85%; /* The default is too large. But enlarge monospace below */
53 div.wikitext hr { height: 1px; }
55 div.wikitext pre { font-family: monospace; }
61 /* Main wiki text box */
66 /* Netscape 4 requires this 1px border.
67 Without it, the paper borders below cause
68 the white background to disappear. */
69 border: 1px black solid;
71 border-top: 1px #e8e6df solid;
72 border-left: 1px #e8e6df solid;
73 border-bottom: 1px #d2d2d2 solid;
74 border-right: 1px #b2b2b2 solid;
78 padding-bottom: 0.5ex;
79 /*This breaks Netscape 4: (display does not go full width).
84 /* .interwiki-map thead td { text-decoration: underline; } */
86 /* Mozilla RecentChanges Sidebar */
91 body.sidebar div.wikitext {
94 body.sidebar div.wikitext ul { padding-left: 1em; }
95 body.sidebar h2 { margin-top: 0; }
101 * The div inside the wikiadmin upload form does not
102 * have a class yet, so it must be referenced indirectly
104 div.wikiaction { background-color: #eee; }
105 /* div.wikiadmin { background-color: #fee; } */
106 form.wikiadmin div { background-color: #fee; }
113 text-decoration: none;
114 /* font-weight: normal; */
119 a.wikiaction, a.wikiadmin, a.wiki-rc-action, a.wikiunsafe,
120 input.wikiaction, input.button, input.wikiadmin {
121 text-decoration: none;
122 font-family: Arial, Helvetica, sans-serif;
123 /* don't wrap text buttons */
125 /*font-size: inherit; */
128 a.wikiaction, input.wikiaction, input.button { background-color: #ddd; }
130 .wikiunsafe { background-color: #fcc; }
132 a.wikiadmin, input.wikiadmin { background-color: #fdd; }
135 .wikiunknown, .named-wikiunknown {
139 /* QuestionMark #600 */
140 .wikiunknown a, .named-wikiunknown a {
142 background-color: #eee;
143 text-decoration: none;
150 text-decoration: underline;
153 h1 .backlinks { text-decoration: underline; }
155 /* Interwiki links */
156 /* .wikipage { font-weight: bold; } */
157 .wikipage { font-weight: normal; }
158 .interwiki { text-decoration: none; }
159 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
160 .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; }
166 h1, h2, h3, h4, h5, h6 { font-family: Arial, Helvetica, sans-serif; }
168 h1 { margin: 0; font-size: 140% }
174 table, td { font-family: Arial, Helvetica, sans-serif; }
175 caption { font-family: Arial, Helvetica, sans-serif; }
178 .pagelist thead, .pagelist thead u { }
179 .pagelist tr.evenrow { background: #eee; }
180 .pagelist tr.oddrow { background: white; }
186 .toolbar, input.button, #signin { font-family: Arial, Helvetica, sans-serif; }
193 padding-right: 4em; /* wrap around logo */
194 padding-bottom: 1ex; /* space for h1 */
197 font-family: Arial, Helvetica, sans-serif;
203 /* Netscape 4 requires this 1px border.
204 Without it, the paper borders below cause
205 the white background to disappear. */
206 border: 1px black solid;
207 /* "paper" borders */
208 border-top: 1px #e8e6df solid;
209 border-left: 1px #e8e6df solid;
210 border-bottom: 1px #d2d2d2 solid;
211 border-right: 1px #b2b2b2 solid;
215 * Edit Page & View Source
218 /* Make the textarea the full page width */
221 margin-bottom: 0.5ex;
237 /* IncludePage plugin */
238 .transclusion-title {
242 text-decoration: underline;
243 margin-bottom: 0.25ex;
244 margin-right: 0.25em;
246 .transclusion, .wiki-edithelp {
250 border: 1px solid gray;
252 padding-right: 0.8em;
256 margin-right: 0.25em;
257 margin-bottom: 0.1ex;
261 border: medium solid #fff8dc; /* darker ivory */
263 padding-right: 0.5em;
265 padding-bottom: 0.75ex;
271 .wiki-edithelp .wiki {
275 font-family: Arial, Helvetica, sans-serif;
277 padding-right: 0.5em;
279 padding-bottom: 0.5ex;
288 border: 1px outset gray;
302 /* Month-name header */
303 table.cal-header { font-size: larger; }
304 table.cal-header tr, table.cal-header td { text-align: center; }
307 text-decoration: none;
310 /* Day-names header */
311 table.cal tbody tr .cal-dayname { }
315 text-decoration: underline;
318 /* Individual days */
319 a.cal-hide { text-decoration: none; }
323 table.cal td.cal-today {
325 border: 1px solid gray;
328 table.cal td.cal-today a.cal-hide { }
336 margin-bottom: 0.5ex;
338 /* Netscape 4 requires this 1px border.
339 Without it, the paper borders below cause
340 the white background to disappear. */
341 border: 1px #ccc solid;
343 border-top: 1px solid #494f5d;
344 border-left: 1px solid #494f5d;
345 border-bottom: 1px solid #c6d2de;
346 border-right: 1px solid #c6d2de;
349 padding-left: .125em;
350 padding-right: .125em;
352 /* "paper" borders */
353 /*border-top: 2px #d2d2d2 solid;
354 border-left: 2px #b2b2b2 solid;
355 border-bottom: 2px #e8e6df solid;
356 border-right: 2px #e8e6df solid;*/
357 /* padding-left: 0em;
358 padding-bottom: 0ex;*/
359 /* border-style: inset;*/
360 /*This breaks Netscape 4: (display does not go full width).
363 /* I'm not sure what the intent of this was, but it's
365 /* display: editarea; */
375 /* individual blocks */
381 /* entire difftextblock */
386 /* Netscape 4 requires this 1px border.
387 Without it, the paper borders below cause
388 the white background to disappear. */
389 border: 1px black solid;
390 /* "paper" borders */
391 border-top: 1px #e8e6df solid;
392 border-left: 1px #e8e6df solid;
393 border-bottom: 1px #d2d2d2 solid;
394 border-right: 1px #b2b2b2 solid;
399 /*This breaks Netscape 4: (display does not go full width).
404 /* + - line prefix */
407 font-family: monospace;
414 .diff del, .diff ins {
416 text-decoration: none;
419 /* blocks containing deleted or added words */
420 .diff .original, .diff .deleted,
421 .diff .final, .diff .added {
424 /* blocks containing deleted words */
425 .diff .original, .diff .deleted {
430 /* blocks containing added words */
431 .diff .final, .diff .added {
437 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
439 .diff del { background: #f99; }
441 .diff ins { background: #9f9; }
447 td.pageinfo { font-weight: bold; }
448 .pageinfo-minoredit, .pageinfo-authorid {
457 .printer, .no-css { display: none; }
466 padding-right: 0.8em;
469 border: medium solid red;
476 text-decoration: underline;
478 .error { font-family: monospace; font-size: 120%; }
479 .error ul { font-family: monospace; }
485 font-family: monospace;
488 padding: 0.5ex 0.5em;
489 border: medium solid #fff8dc; /* darker ivory */
498 padding: 0.5ex 0.5em;
499 border: thin solid #aaaaaa;
502 /* Disabled Plugins */
509 .disabled-plugin .title {
511 background-color: inherit;
516 .disabled-plugin pre {
520 padding: 0.3ex 0.5em;
523 /* "(Redirected from ...)" message. */
533 * Vertical margins around block elements.
536 p { margin: 1em 0; } /* Normal ("loose") paragraphs */
537 li p, dd p, td p { margin: 1ex 0; } /* Paragraphs within lists are a little tighter. */
539 /* ul, ol, dl { margin: 0.2ex 0; } /* A little room around lists. */
540 /* li ul, li ol, li dl,
541 dd ul, dd ol, dd dl { margin: 0 0; } /* but not around sub-lists. */
543 /* Normal ("loose") list elements */
544 li.tightenable { margin: 1em 0; }
545 dt.tightenable { margin-top: 1em; }
546 dd.tightenable { margin-bottom: 1.5ex; }
554 li li.tightenable.top {
557 li.tightenable.bottom,
558 dd.tightenable.bottom {
559 margin-bottom: 0.2ex;
561 li li.tightenable.bottom {
568 .tightenable.bottom {
576 border-collapse: collapse;
577 border: 2px #444 solid;
580 border-top: 2px #444 solid;
581 border-bottom: 2px #444 solid;
585 .wiki-dl-table tr.tightenable.top {
586 border-top: 1px #444 solid;
588 .wiki-dl-table tr.tightenable.bottom {
589 border-bottom: 1px #444 solid;
593 padding: 0.25em 0.5em;
598 border-right: 1px #444 solid;
608 * "E-mail" style blockquote
610 blockquote.mail-style-quote {
611 border-left: medium #284 solid;
616 .mail-style-quote blockquote.mail-style-quote {
624 .floatleft { float: left; }
625 .floatright { float: right; }
628 border: thin black solid;
634 padding: 0.5ex 0.5em;
636 div.wikiblog-header {
637 background-color: #ccf;
639 div.wikiblog > div.wikiblog-footer {
640 background-color: #eee;
641 padding: 0.2ex 0.5em;
643 h3.wikiblog-summary {
649 div.wikiblog.wikiblog-form {
650 background-color: #eee;
653 table.wikiblog-form {
655 border-collapse: collapse;
658 .wikiblog-form caption {
659 background-color: #ccf;
663 padding: 0.5ex 0.5em;
668 padding: 0 0 0.3em 0.5em;
671 padding: 0.25em 0.5em;
673 .wikiblog-form td.submit-button {
676 .wikiblog-form input[type=text],
677 .wikiblog-form textarea {
681 div.wikicomment div.wikicomment-footer {
682 padding: 0.2ex 0.5em;
684 div.wikicomment div.wikicomment-footer named-wiki {
687 table.interwiki-map {
691 text-decoration: underline;
695 .interwiki-map td.interwiki-url {
698 .interwiki-map th.interwiki-url {
703 background-color: #cdf;
705 margin: 2em auto 2em auto;
706 border: thin black solid;
709 .dialog h1, .dialog p, .dialog div {
714 margin: 0.5em 0 1em 0;
716 .dialog div.message {
717 background-color: white;
721 padding: 0.5em 0.5em;
724 margin: 1em 0 0.5em 0;
733 background-color: threedlightshadow;
741 border-color: threedhighlight threeddarkshadow threeddarkshadow threedhighlight;
743 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
744 text-decoration: none;
748 font-family: Tahoma, sans-serif, Arial, Helvetica;
749 background-color: threedlightshadow;
754 .gensmall{font-size:10px}
755 .genmed{font-size:11px}
756 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
758 /* Main table cell colours and backgrounds */
759 td.row1{background:#eaedf4;color:#000000}
760 td.row2{background:#d9e2ec;color:#000000}
761 td.row3{background:#cad9ea;color:#000000}
762 td.spacerow{background:#cad9ea;color:#000000}
763 /* This is the outline round the main forum tables */
764 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
770 * c-file-style: cc-mode