2 * $Id: phpwiki.css,v 1.46 2005-02-04 13:25:08 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;
242 /* Netscape 4 requires this 1px border.
243 Without it, the paper borders below cause
244 the white background to disappear. */
245 border: 1px black solid;
246 /* "paper" borders */
247 border-top: 1px #e8e6df solid;
248 border-left: 1px #e8e6df solid;
249 border-bottom: 1px #d2d2d2 solid;
250 border-right: 1px #b2b2b2 solid;
254 * Edit Page & View Source
257 /* Make the textarea the full page width */
260 margin-bottom: 0.5ex;
275 #toolbar { padding:0px; }
280 .search-context { background: white; }
286 /* IncludePage plugin */
287 .transclusion-title {
291 text-decoration: underline;
292 margin-bottom: 0.25ex;
293 margin-right: 0.25em;
295 .transclusion, .wiki-edithelp {
299 border: 1px solid gray;
301 padding-right: 0.8em;
305 margin-right: 0.25em;
306 margin-bottom: 0.1ex;
310 border: medium solid #fff8dc; /* darker ivory */
312 padding-right: 0.5em;
314 padding-bottom: 0.75ex;
320 .wiki-edithelp .wiki {
324 font-family: Arial, Helvetica, sans-serif;
326 padding-right: 0.5em;
328 padding-bottom: 0.5ex;
337 border: 1px outset gray;
351 /* Month-name header */
352 table.cal-header { font-size: larger; }
353 table.cal-header tr, table.cal-header td { text-align: center; }
356 text-decoration: none;
359 /* Day-names header */
360 table.cal tbody tr .cal-dayname { }
364 text-decoration: underline;
367 /* Individual days */
368 a.cal-hide { text-decoration: none; }
372 table.cal td.cal-today {
374 border: 1px solid gray;
377 table.cal td.cal-today a.cal-hide { }
385 margin-bottom: 0.5ex;
387 /* Netscape 4 requires this 1px border.
388 Without it, the paper borders below cause
389 the white background to disappear. */
390 border: 1px #ccc solid;
392 border-top: 1px solid #494f5d;
393 border-left: 1px solid #494f5d;
394 border-bottom: 1px solid #c6d2de;
395 border-right: 1px solid #c6d2de;
398 padding-left: .125em;
399 padding-right: .125em;
401 /* "paper" borders */
402 /*border-top: 2px #d2d2d2 solid;
403 border-left: 2px #b2b2b2 solid;
404 border-bottom: 2px #e8e6df solid;
405 border-right: 2px #e8e6df solid;*/
406 /* padding-left: 0em;
407 padding-bottom: 0ex;*/
408 /* border-style: inset;*/
409 /*This breaks Netscape 4: (display does not go full width).
412 /* I'm not sure what the intent of this was, but it's
414 /* display: editarea; */
424 /* individual blocks */
430 /* entire difftextblock */
435 /* Netscape 4 requires this 1px border.
436 Without it, the paper borders below cause
437 the white background to disappear. */
438 border: 1px black solid;
439 /* "paper" borders */
440 border-top: 1px #e8e6df solid;
441 border-left: 1px #e8e6df solid;
442 border-bottom: 1px #d2d2d2 solid;
443 border-right: 1px #b2b2b2 solid;
448 /*This breaks Netscape 4: (display does not go full width).
453 /* + - line prefix */
456 font-family: monospace;
463 .diff del, .diff ins {
465 text-decoration: none;
468 /* blocks containing deleted or added words */
469 .diff .original, .diff .deleted,
470 .diff .final, .diff .added {
473 /* blocks containing deleted words */
474 .diff .original, .diff .deleted {
479 /* blocks containing added words */
480 .diff .final, .diff .added {
486 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
488 .diff del { background: #f99; }
490 .diff ins { background: #9f9; }
496 td.pageinfo { font-weight: bold; }
497 .pageinfo-minoredit, .pageinfo-authorid {
506 .printer, .no-css { display: none; }
515 padding-right: 0.8em;
518 border: medium solid red;
525 text-decoration: underline;
527 .error { font-family: monospace; font-size: 120%; }
528 .error ul { font-family: monospace; }
534 font-family: monospace;
537 padding: 0.5ex 0.5em;
538 border: medium solid #fff8dc; /* darker ivory */
545 /* font-size: smaller; */
548 padding: 0.5ex 0.5em;
549 border: thin solid #aaaaaa;
555 /* Disabled Plugins */
562 .disabled-plugin .title {
564 background-color: inherit;
569 .disabled-plugin pre {
573 padding: 0.3ex 0.5em;
576 /* "(Redirected from ...)" message. */
586 * Vertical margins around block elements.
589 p { margin: 1em 0; } /* Normal ("loose") paragraphs */
590 li p, dd p, td p { margin: 1ex 0; } /* Paragraphs within lists are a little tighter. */
592 /* ul, ol, dl { margin: 0.2ex 0; } /* A little room around lists. */
593 /* li ul, li ol, li dl,
594 dd ul, dd ol, dd dl { margin: 0 0; } /* but not around sub-lists. */
596 /* Normal ("loose") list elements */
597 li.tightenable { margin: 1em 0; }
598 dt.tightenable { margin-top: 1em; }
599 dd.tightenable { margin-bottom: 1.5ex; }
607 li li.tightenable.top {
610 li.tightenable.bottom,
611 dd.tightenable.bottom {
612 margin-bottom: 0.2ex;
614 li li.tightenable.bottom {
621 .tightenable.bottom {
629 border-collapse: collapse;
630 border: 2px #444 solid;
633 border-top: 2px #444 solid;
634 border-bottom: 2px #444 solid;
638 .wiki-dl-table tr.tightenable.top {
639 border-top: 1px #444 solid;
641 .wiki-dl-table tr.tightenable.bottom {
642 border-bottom: 1px #444 solid;
646 padding: 0.25em 0.5em;
651 border-right: 1px #444 solid;
661 * "E-mail" style blockquote
663 blockquote.mail-style-quote {
664 border-left: medium #284 solid;
669 .mail-style-quote blockquote.mail-style-quote {
677 .floatleft { float: left; }
678 .floatright { float: right; }
681 /* border: thin black solid; */
687 padding: 0.5ex 0.5em;
689 div.wikiblog-header {
690 /* background-color: #ccf; */
692 div.wikiblog > div.wikiblog-footer {
693 /* background-color: #eee; */
694 padding: 0.2ex 0.5em;
696 h3.wikiblog-summary {
702 div.wikiblog.wikiblog-form {
703 /* background-color: #eee; */
706 table.wikiblog-form {
708 border-collapse: collapse;
711 .wikiblog-form caption {
712 /* background-color: #ccf; */
716 padding: 0.5ex 0.5em;
721 padding: 0 0 0.3em 0.5em;
724 padding: 0.25em 0.5em;
726 .wikiblog-form td.submit-button {
729 .wikiblog-form input[type=text],
730 .wikiblog-form textarea {
734 div.wikicomment div.wikicomment-footer {
735 padding: 0.2ex 0.5em;
737 div.wikicomment div.wikicomment-footer named-wiki {
740 table.interwiki-map {
744 text-decoration: underline;
748 .interwiki-map td.interwiki-url {
751 .interwiki-map th.interwiki-url {
756 background-color: #cdf;
758 margin: 2em auto 2em auto;
759 border: thin black solid;
762 .dialog h1, .dialog p, .dialog div {
767 margin: 0.5em 0 1em 0;
769 .dialog div.message {
770 background-color: white;
774 padding: 0.5em 0.5em;
777 margin: 1em 0 0.5em 0;
787 .gensmall{font-size:10px}
788 .genmed{font-size:11px}
789 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
790 /* Main table cell colours and backgrounds */
791 td.row1{background:#eaedf4;color:#000000}
792 td.row2{background:#d9e2ec;color:#000000}
793 td.row3{background:#cad9ea;color:#000000}
794 td.spacerow{background:#cad9ea;color:#000000}
796 /* This is the outline round the main forum tables */
797 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
800 .box { background:#ffffff; border: 1px solid #888888 }
801 .box-title { font-weight: normal; /*font-size: 11pt; */ background-color: #ccc; color: black; /*font-style: menu;*/ text-align: center; }
802 .box-data { width: 160px; font-size: 9pt; font-weight: normal; }
803 .box-data .wiki { font-weight: normal; }
804 td.sidebar { border-spacing: 0px; margin: 0ex;}
807 div.rss { margin: 1em; padding: 1em; font-size: 0.9em; background-color: #eeeeee; border: thin dashed #aaa; }
808 div.feed { color: #333; margin: -0.5em; margin-bottom: 0em; padding: 0.3em; font-weight: bold; background-color: #f2f2f2; font-size: 1.2em; }
809 div.itemdesc { padding-left: 1em; }
810 div.rssitem { border-top: thin dashed #aaa; }
814 border: 1px outset gray;
819 .sqlresult tr.evenrow { background: #eee; }
820 .sqlresult tr.oddrow { background: white; }
823 border: 1px solid gray;
831 vertical-align: middle;
838 * c-file-style: cc-mode