2 * $Id: phpwiki.css,v 1.19 2004-03-10 15:38:49 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;
115 /* font-weight: bold; */
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;
232 /* IncludePage plugin */
233 .transclusion-title {
237 text-decoration: underline;
238 margin-bottom: 0.25ex;
239 margin-right: 0.25em;
241 .transclusion, .wiki-edithelp {
245 border: 1px solid gray;
247 padding-right: 0.8em;
251 margin-right: 0.25em;
252 margin-bottom: 0.1ex;
256 border: medium solid #fff8dc; /* darker ivory */
258 padding-right: 0.5em;
260 padding-bottom: 0.75ex;
266 .wiki-edithelp .wiki {
270 font-family: Arial, Helvetica, sans-serif;
272 padding-right: 0.5em;
274 padding-bottom: 0.5ex;
283 border: 1px outset gray;
297 /* Month-name header */
298 table.cal-header { font-size: larger; }
299 table.cal-header tr, table.cal-header td { text-align: center; }
302 text-decoration: none;
305 /* Day-names header */
306 table.cal tbody tr .cal-dayname { }
310 text-decoration: underline;
313 /* Individual days */
314 a.cal-hide { text-decoration: none; }
318 table.cal td.cal-today {
320 border: 1px solid gray;
323 table.cal td.cal-today a.cal-hide { }
331 margin-bottom: 0.5ex;
333 /* Netscape 4 requires this 1px border.
334 Without it, the paper borders below cause
335 the white background to disappear. */
336 border: 1px #ccc solid;
338 border-top: 1px solid #494f5d;
339 border-left: 1px solid #494f5d;
340 border-bottom: 1px solid #c6d2de;
341 border-right: 1px solid #c6d2de;
344 padding-left: .125em;
345 padding-right: .125em;
347 /* "paper" borders */
348 /*border-top: 2px #d2d2d2 solid;
349 border-left: 2px #b2b2b2 solid;
350 border-bottom: 2px #e8e6df solid;
351 border-right: 2px #e8e6df solid;*/
352 /* padding-left: 0em;
353 padding-bottom: 0ex;*/
354 /* border-style: inset;*/
355 /*This breaks Netscape 4: (display does not go full width).
358 /* I'm not sure what the intent of this was, but it's
360 /* display: editarea; */
370 /* individual blocks */
376 /* entire difftextblock */
381 /* Netscape 4 requires this 1px border.
382 Without it, the paper borders below cause
383 the white background to disappear. */
384 border: 1px black solid;
385 /* "paper" borders */
386 border-top: 1px #e8e6df solid;
387 border-left: 1px #e8e6df solid;
388 border-bottom: 1px #d2d2d2 solid;
389 border-right: 1px #b2b2b2 solid;
394 /*This breaks Netscape 4: (display does not go full width).
399 /* + - line prefix */
402 font-family: monospace;
409 .diff del, .diff ins {
411 text-decoration: none;
414 /* blocks containing deleted or added words */
415 .diff .original, .diff .deleted,
416 .diff .final, .diff .added {
419 /* blocks containing deleted words */
420 .diff .original, .diff .deleted {
425 /* blocks containing added words */
426 .diff .final, .diff .added {
432 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
434 .diff del { background: #f99; }
436 .diff ins { background: #9f9; }
442 td.pageinfo { font-weight: bold; }
443 .pageinfo-minoredit, .pageinfo-authorid {
452 .printer, .no-css { display: none; }
461 padding-right: 0.8em;
464 border: medium solid red;
471 text-decoration: underline;
473 .error { font-family: monospace; font-size: 120%; }
474 .error ul { font-family: monospace; }
480 font-family: monospace;
483 padding: 0.5ex 0.5em;
484 border: medium solid #fff8dc; /* darker ivory */
493 padding: 0.5ex 0.5em;
494 border: thin solid #aaaaaa;
497 /* Disabled Plugins */
504 .disabled-plugin .title {
506 background-color: inherit;
511 .disabled-plugin pre {
515 padding: 0.3ex 0.5em;
518 /* "(Redirected from ...)" message. */
528 * Vertical margins around block elements.
531 p { margin: 1em 0; } /* Normal ("loose") paragraphs */
532 li p, dd p, td p { margin: 1ex 0; } /* Paragraphs within lists are a little tighter. */
534 /* ul, ol, dl { margin: 0.2ex 0; } /* A little room around lists. */
535 /* li ul, li ol, li dl,
536 dd ul, dd ol, dd dl { margin: 0 0; } /* but not around sub-lists. */
538 /* Normal ("loose") list elements */
539 li.tightenable { margin: 1em 0; }
540 dt.tightenable { margin-top: 1em; }
541 dd.tightenable { margin-bottom: 1.5ex; }
549 li li.tightenable.top {
552 li.tightenable.bottom,
553 dd.tightenable.bottom {
554 margin-bottom: 0.2ex;
556 li li.tightenable.bottom {
563 .tightenable.bottom {
571 border-collapse: collapse;
572 border: 2px #444 solid;
575 border-top: 2px #444 solid;
576 border-bottom: 2px #444 solid;
580 .wiki-dl-table tr.tightenable.top {
581 border-top: 1px #444 solid;
583 .wiki-dl-table tr.tightenable.bottom {
584 border-bottom: 1px #444 solid;
588 padding: 0.25em 0.5em;
593 border-right: 1px #444 solid;
603 * "E-mail" style blockquote
605 blockquote.mail-style-quote {
606 border-left: medium #284 solid;
611 .mail-style-quote blockquote.mail-style-quote {
619 .floatleft { float: left; }
620 .floatright { float: right; }
623 border: thin black solid;
629 padding: 0.5ex 0.5em;
631 div.wikiblog-header {
632 background-color: #ccf;
634 div.wikiblog > div.wikiblog-footer {
635 background-color: #eee;
636 padding: 0.2ex 0.5em;
638 h3.wikiblog-summary {
644 div.wikiblog.wikiblog-form {
645 background-color: #eee;
648 table.wikiblog-form {
650 border-collapse: collapse;
653 .wikiblog-form caption {
654 background-color: #ccf;
658 padding: 0.5ex 0.5em;
663 padding: 0 0 0.3em 0.5em;
666 padding: 0.25em 0.5em;
668 .wikiblog-form td.submit-button {
671 .wikiblog-form input[type=text],
672 .wikiblog-form textarea {
677 table.interwiki-map {
681 text-decoration: underline;
685 .interwiki-map td.interwiki-url {
688 .interwiki-map th.interwiki-url {
693 background-color: #cdf;
695 margin: 2em auto 2em auto;
696 border: thin black solid;
699 .dialog h1, .dialog p, .dialog div {
704 margin: 0.5em 0 1em 0;
706 .dialog div.message {
707 background-color: white;
711 padding: 0.5em 0.5em;
714 margin: 1em 0 0.5em 0;
723 background-color: threedlightshadow;
731 border-color: threedhighlight threeddarkshadow threeddarkshadow threedhighlight;
733 a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
734 text-decoration: none;
738 font-family: Tahoma, sans-serif, Arial, Helvetica;
739 background-color: threedlightshadow;
744 .gensmall{font-size:10px}
745 .genmed{font-size:11px}
746 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
748 /* Main table cell colours and backgrounds */
749 td.row1{background:#eaedf4;color:#000000}
750 td.row2{background:#d9e2ec;color:#000000}
751 td.row3{background:#cad9ea;color:#000000}
752 td.spacerow{background:#cad9ea;color:#000000}
753 /* This is the outline round the main forum tables */
754 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
760 * c-file-style: cc-mode