2 * $Id: phpwiki.css,v 1.43 2004-06-29 18:09:20 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, a.wikiaction:visited, input.wikiaction, input.button { background-color: #ddd; }
130 .wikiunsafe { background-color: #fcc; }
132 a.wikiadmin, a.wikiadmin:visited, 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; }
179 text-decoration: none;
183 .pagelist thead td u { text-decoration: none; }
184 .pagelist tr.evenrow { background: #eee; }
185 .pagelist tr.oddrow { background: white; }
187 background-color: ThreedLightShadow;
189 font-family: Tahoma, sans-serif, Arial, Helvetica;
192 /*font-style: menu;*/
196 padding: 5px 0px 5px 0px;
199 border-color: ThreedHighlight ThreedDarkShadow ThreedDarkShadow ThreedHighlight;
201 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
202 text-decoration: none;
205 /*font-style: menu;*/
206 font-family: Tahoma, sans-serif, Arial, Helvetica;
207 background-color: ThreedLightShadow;
215 .toolbar, input.button, #signin { font-family: Arial, Helvetica, sans-serif; }
225 .edit-toolbar img, .edit-toolbar input {
226 background-color: #fff;
227 border: 1px solid ButtonFace;
231 padding-right: 4em; /* wrap around logo */
232 padding-bottom: 1ex; /* space for h1 */
235 font-family: Arial, Helvetica, sans-serif;
241 /* Netscape 4 requires this 1px border.
242 Without it, the paper borders below cause
243 the white background to disappear. */
244 border: 1px black solid;
245 /* "paper" borders */
246 border-top: 1px #e8e6df solid;
247 border-left: 1px #e8e6df solid;
248 border-bottom: 1px #d2d2d2 solid;
249 border-right: 1px #b2b2b2 solid;
253 * Edit Page & View Source
256 /* Make the textarea the full page width */
259 margin-bottom: 0.5ex;
274 #toolbar { padding:0px; }
279 .search-context { background: white; }
285 /* IncludePage plugin */
286 .transclusion-title {
290 text-decoration: underline;
291 margin-bottom: 0.25ex;
292 margin-right: 0.25em;
294 .transclusion, .wiki-edithelp {
298 border: 1px solid gray;
300 padding-right: 0.8em;
304 margin-right: 0.25em;
305 margin-bottom: 0.1ex;
309 border: medium solid #fff8dc; /* darker ivory */
311 padding-right: 0.5em;
313 padding-bottom: 0.75ex;
319 .wiki-edithelp .wiki {
323 font-family: Arial, Helvetica, sans-serif;
325 padding-right: 0.5em;
327 padding-bottom: 0.5ex;
336 border: 1px outset gray;
350 /* Month-name header */
351 table.cal-header { font-size: larger; }
352 table.cal-header tr, table.cal-header td { text-align: center; }
355 text-decoration: none;
358 /* Day-names header */
359 table.cal tbody tr .cal-dayname { }
363 text-decoration: underline;
366 /* Individual days */
367 a.cal-hide { text-decoration: none; }
371 table.cal td.cal-today {
373 border: 1px solid gray;
376 table.cal td.cal-today a.cal-hide { }
384 margin-bottom: 0.5ex;
386 /* Netscape 4 requires this 1px border.
387 Without it, the paper borders below cause
388 the white background to disappear. */
389 border: 1px #ccc solid;
391 border-top: 1px solid #494f5d;
392 border-left: 1px solid #494f5d;
393 border-bottom: 1px solid #c6d2de;
394 border-right: 1px solid #c6d2de;
397 padding-left: .125em;
398 padding-right: .125em;
400 /* "paper" borders */
401 /*border-top: 2px #d2d2d2 solid;
402 border-left: 2px #b2b2b2 solid;
403 border-bottom: 2px #e8e6df solid;
404 border-right: 2px #e8e6df solid;*/
405 /* padding-left: 0em;
406 padding-bottom: 0ex;*/
407 /* border-style: inset;*/
408 /*This breaks Netscape 4: (display does not go full width).
411 /* I'm not sure what the intent of this was, but it's
413 /* display: editarea; */
423 /* individual blocks */
429 /* entire difftextblock */
434 /* Netscape 4 requires this 1px border.
435 Without it, the paper borders below cause
436 the white background to disappear. */
437 border: 1px black solid;
438 /* "paper" borders */
439 border-top: 1px #e8e6df solid;
440 border-left: 1px #e8e6df solid;
441 border-bottom: 1px #d2d2d2 solid;
442 border-right: 1px #b2b2b2 solid;
447 /*This breaks Netscape 4: (display does not go full width).
452 /* + - line prefix */
455 font-family: monospace;
462 .diff del, .diff ins {
464 text-decoration: none;
467 /* blocks containing deleted or added words */
468 .diff .original, .diff .deleted,
469 .diff .final, .diff .added {
472 /* blocks containing deleted words */
473 .diff .original, .diff .deleted {
478 /* blocks containing added words */
479 .diff .final, .diff .added {
485 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
487 .diff del { background: #f99; }
489 .diff ins { background: #9f9; }
495 td.pageinfo { font-weight: bold; }
496 .pageinfo-minoredit, .pageinfo-authorid {
505 .printer, .no-css { display: none; }
514 padding-right: 0.8em;
517 border: medium solid red;
524 text-decoration: underline;
526 .error { font-family: monospace; font-size: 120%; }
527 .error ul { font-family: monospace; }
533 font-family: monospace;
536 padding: 0.5ex 0.5em;
537 border: medium solid #fff8dc; /* darker ivory */
544 /* font-size: smaller; */
547 padding: 0.5ex 0.5em;
548 border: thin solid #aaaaaa;
554 /* Disabled Plugins */
561 .disabled-plugin .title {
563 background-color: inherit;
568 .disabled-plugin pre {
572 padding: 0.3ex 0.5em;
575 /* "(Redirected from ...)" message. */
585 * Vertical margins around block elements.
588 p { margin: 1em 0; } /* Normal ("loose") paragraphs */
589 li p, dd p, td p { margin: 1ex 0; } /* Paragraphs within lists are a little tighter. */
591 /* ul, ol, dl { margin: 0.2ex 0; } /* A little room around lists. */
592 /* li ul, li ol, li dl,
593 dd ul, dd ol, dd dl { margin: 0 0; } /* but not around sub-lists. */
595 /* Normal ("loose") list elements */
596 li.tightenable { margin: 1em 0; }
597 dt.tightenable { margin-top: 1em; }
598 dd.tightenable { margin-bottom: 1.5ex; }
606 li li.tightenable.top {
609 li.tightenable.bottom,
610 dd.tightenable.bottom {
611 margin-bottom: 0.2ex;
613 li li.tightenable.bottom {
620 .tightenable.bottom {
628 border-collapse: collapse;
629 border: 2px #444 solid;
632 border-top: 2px #444 solid;
633 border-bottom: 2px #444 solid;
637 .wiki-dl-table tr.tightenable.top {
638 border-top: 1px #444 solid;
640 .wiki-dl-table tr.tightenable.bottom {
641 border-bottom: 1px #444 solid;
645 padding: 0.25em 0.5em;
650 border-right: 1px #444 solid;
660 * "E-mail" style blockquote
662 blockquote.mail-style-quote {
663 border-left: medium #284 solid;
668 .mail-style-quote blockquote.mail-style-quote {
676 .floatleft { float: left; }
677 .floatright { float: right; }
680 border: thin black solid;
686 padding: 0.5ex 0.5em;
688 div.wikiblog-header {
689 background-color: #ccf;
691 div.wikiblog > div.wikiblog-footer {
692 background-color: #eee;
693 padding: 0.2ex 0.5em;
695 h3.wikiblog-summary {
701 div.wikiblog.wikiblog-form {
702 background-color: #eee;
705 table.wikiblog-form {
707 border-collapse: collapse;
710 .wikiblog-form caption {
711 background-color: #ccf;
715 padding: 0.5ex 0.5em;
720 padding: 0 0 0.3em 0.5em;
723 padding: 0.25em 0.5em;
725 .wikiblog-form td.submit-button {
728 .wikiblog-form input[type=text],
729 .wikiblog-form textarea {
733 div.wikicomment div.wikicomment-footer {
734 padding: 0.2ex 0.5em;
736 div.wikicomment div.wikicomment-footer named-wiki {
739 table.interwiki-map {
743 text-decoration: underline;
747 .interwiki-map td.interwiki-url {
750 .interwiki-map th.interwiki-url {
755 background-color: #cdf;
757 margin: 2em auto 2em auto;
758 border: thin black solid;
761 .dialog h1, .dialog p, .dialog div {
766 margin: 0.5em 0 1em 0;
768 .dialog div.message {
769 background-color: white;
773 padding: 0.5em 0.5em;
776 margin: 1em 0 0.5em 0;
786 .gensmall{font-size:10px}
787 .genmed{font-size:11px}
788 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
789 /* Main table cell colours and backgrounds */
790 td.row1{background:#eaedf4;color:#000000}
791 td.row2{background:#d9e2ec;color:#000000}
792 td.row3{background:#cad9ea;color:#000000}
793 td.spacerow{background:#cad9ea;color:#000000}
795 /* This is the outline round the main forum tables */
796 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
799 .box { background:#ffffff; border: 1px solid #888888 }
800 .box-title { font-weight: normal; /*font-size: 11pt; */ background-color: #ccc; color: black; /*font-style: menu;*/ text-align: center; }
801 .box-data { width: 160px; font-size: 9pt; font-weight: normal; }
802 .box-data .wiki { font-weight: normal; }
803 table.sidebar { border-spacing: 0px; margin: 0ex;}
806 div.rss { margin: 1em; padding: 1em; font-size: 0.9em; background-color: #eeeeee; border: thin dashed #aaa; }
807 div.feed { color: #333; margin: -0.5em; margin-bottom: 0em; padding: 0.3em; font-weight: bold; background-color: #f2f2f2; font-size: 1.2em; }
808 div.itemdesc { padding-left: 1em; }
809 div.rssitem { border-top: thin dashed #aaa; }
813 border: 1px outset gray;
818 .sqlresult tr.evenrow { background: #eee; }
819 .sqlresult tr.oddrow { background: white; }
822 border: 1px solid gray;
830 vertical-align: middle;
837 * c-file-style: cc-mode