2 * $Id: phpwiki.css,v 1.37 2004-06-01 15:23:10 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; }
222 background-color: #fff;
227 padding-right: 4em; /* wrap around logo */
228 padding-bottom: 1ex; /* space for h1 */
231 font-family: Arial, Helvetica, sans-serif;
237 /* Netscape 4 requires this 1px border.
238 Without it, the paper borders below cause
239 the white background to disappear. */
240 border: 1px black solid;
241 /* "paper" borders */
242 border-top: 1px #e8e6df solid;
243 border-left: 1px #e8e6df solid;
244 border-bottom: 1px #d2d2d2 solid;
245 border-right: 1px #b2b2b2 solid;
249 * Edit Page & View Source
252 /* Make the textarea the full page width */
255 margin-bottom: 0.5ex;
270 #toolbar { padding:0px; }
275 .search-context { background: white; }
281 /* IncludePage plugin */
282 .transclusion-title {
286 text-decoration: underline;
287 margin-bottom: 0.25ex;
288 margin-right: 0.25em;
290 .transclusion, .wiki-edithelp {
294 border: 1px solid gray;
296 padding-right: 0.8em;
300 margin-right: 0.25em;
301 margin-bottom: 0.1ex;
305 border: medium solid #fff8dc; /* darker ivory */
307 padding-right: 0.5em;
309 padding-bottom: 0.75ex;
315 .wiki-edithelp .wiki {
319 font-family: Arial, Helvetica, sans-serif;
321 padding-right: 0.5em;
323 padding-bottom: 0.5ex;
332 border: 1px outset gray;
346 /* Month-name header */
347 table.cal-header { font-size: larger; }
348 table.cal-header tr, table.cal-header td { text-align: center; }
351 text-decoration: none;
354 /* Day-names header */
355 table.cal tbody tr .cal-dayname { }
359 text-decoration: underline;
362 /* Individual days */
363 a.cal-hide { text-decoration: none; }
367 table.cal td.cal-today {
369 border: 1px solid gray;
372 table.cal td.cal-today a.cal-hide { }
380 margin-bottom: 0.5ex;
382 /* Netscape 4 requires this 1px border.
383 Without it, the paper borders below cause
384 the white background to disappear. */
385 border: 1px #ccc solid;
387 border-top: 1px solid #494f5d;
388 border-left: 1px solid #494f5d;
389 border-bottom: 1px solid #c6d2de;
390 border-right: 1px solid #c6d2de;
393 padding-left: .125em;
394 padding-right: .125em;
396 /* "paper" borders */
397 /*border-top: 2px #d2d2d2 solid;
398 border-left: 2px #b2b2b2 solid;
399 border-bottom: 2px #e8e6df solid;
400 border-right: 2px #e8e6df solid;*/
401 /* padding-left: 0em;
402 padding-bottom: 0ex;*/
403 /* border-style: inset;*/
404 /*This breaks Netscape 4: (display does not go full width).
407 /* I'm not sure what the intent of this was, but it's
409 /* display: editarea; */
419 /* individual blocks */
425 /* entire difftextblock */
430 /* Netscape 4 requires this 1px border.
431 Without it, the paper borders below cause
432 the white background to disappear. */
433 border: 1px black solid;
434 /* "paper" borders */
435 border-top: 1px #e8e6df solid;
436 border-left: 1px #e8e6df solid;
437 border-bottom: 1px #d2d2d2 solid;
438 border-right: 1px #b2b2b2 solid;
443 /*This breaks Netscape 4: (display does not go full width).
448 /* + - line prefix */
451 font-family: monospace;
458 .diff del, .diff ins {
460 text-decoration: none;
463 /* blocks containing deleted or added words */
464 .diff .original, .diff .deleted,
465 .diff .final, .diff .added {
468 /* blocks containing deleted words */
469 .diff .original, .diff .deleted {
474 /* blocks containing added words */
475 .diff .final, .diff .added {
481 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
483 .diff del { background: #f99; }
485 .diff ins { background: #9f9; }
491 td.pageinfo { font-weight: bold; }
492 .pageinfo-minoredit, .pageinfo-authorid {
501 .printer, .no-css { display: none; }
510 padding-right: 0.8em;
513 border: medium solid red;
520 text-decoration: underline;
522 .error { font-family: monospace; font-size: 120%; }
523 .error ul { font-family: monospace; }
529 font-family: monospace;
532 padding: 0.5ex 0.5em;
533 border: medium solid #fff8dc; /* darker ivory */
540 /* font-size: smaller; */
543 padding: 0.5ex 0.5em;
544 border: thin solid #aaaaaa;
550 /* Disabled Plugins */
557 .disabled-plugin .title {
559 background-color: inherit;
564 .disabled-plugin pre {
568 padding: 0.3ex 0.5em;
571 /* "(Redirected from ...)" message. */
581 * Vertical margins around block elements.
584 p { margin: 1em 0; } /* Normal ("loose") paragraphs */
585 li p, dd p, td p { margin: 1ex 0; } /* Paragraphs within lists are a little tighter. */
587 /* ul, ol, dl { margin: 0.2ex 0; } /* A little room around lists. */
588 /* li ul, li ol, li dl,
589 dd ul, dd ol, dd dl { margin: 0 0; } /* but not around sub-lists. */
591 /* Normal ("loose") list elements */
592 li.tightenable { margin: 1em 0; }
593 dt.tightenable { margin-top: 1em; }
594 dd.tightenable { margin-bottom: 1.5ex; }
602 li li.tightenable.top {
605 li.tightenable.bottom,
606 dd.tightenable.bottom {
607 margin-bottom: 0.2ex;
609 li li.tightenable.bottom {
616 .tightenable.bottom {
624 border-collapse: collapse;
625 border: 2px #444 solid;
628 border-top: 2px #444 solid;
629 border-bottom: 2px #444 solid;
633 .wiki-dl-table tr.tightenable.top {
634 border-top: 1px #444 solid;
636 .wiki-dl-table tr.tightenable.bottom {
637 border-bottom: 1px #444 solid;
641 padding: 0.25em 0.5em;
646 border-right: 1px #444 solid;
656 * "E-mail" style blockquote
658 blockquote.mail-style-quote {
659 border-left: medium #284 solid;
664 .mail-style-quote blockquote.mail-style-quote {
672 .floatleft { float: left; }
673 .floatright { float: right; }
676 border: thin black solid;
682 padding: 0.5ex 0.5em;
684 div.wikiblog-header {
685 background-color: #ccf;
687 div.wikiblog > div.wikiblog-footer {
688 background-color: #eee;
689 padding: 0.2ex 0.5em;
691 h3.wikiblog-summary {
697 div.wikiblog.wikiblog-form {
698 background-color: #eee;
701 table.wikiblog-form {
703 border-collapse: collapse;
706 .wikiblog-form caption {
707 background-color: #ccf;
711 padding: 0.5ex 0.5em;
716 padding: 0 0 0.3em 0.5em;
719 padding: 0.25em 0.5em;
721 .wikiblog-form td.submit-button {
724 .wikiblog-form input[type=text],
725 .wikiblog-form textarea {
729 div.wikicomment div.wikicomment-footer {
730 padding: 0.2ex 0.5em;
732 div.wikicomment div.wikicomment-footer named-wiki {
735 table.interwiki-map {
739 text-decoration: underline;
743 .interwiki-map td.interwiki-url {
746 .interwiki-map th.interwiki-url {
751 background-color: #cdf;
753 margin: 2em auto 2em auto;
754 border: thin black solid;
757 .dialog h1, .dialog p, .dialog div {
762 margin: 0.5em 0 1em 0;
764 .dialog div.message {
765 background-color: white;
769 padding: 0.5em 0.5em;
772 margin: 1em 0 0.5em 0;
782 .gensmall{font-size:10px}
783 .genmed{font-size:11px}
784 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
785 /* Main table cell colours and backgrounds */
786 td.row1{background:#eaedf4;color:#000000}
787 td.row2{background:#d9e2ec;color:#000000}
788 td.row3{background:#cad9ea;color:#000000}
789 td.spacerow{background:#cad9ea;color:#000000}
791 /* This is the outline round the main forum tables */
792 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
795 .box { background:#ffffff; border: 1px solid #888888 }
796 .box-title { font-weight: bold; font-size: 11pt; background-color: #cdcdcd; color: black; /*font-style: menu;*/ }
797 .box-data { width: 160px; font-size: 9pt; font-weight: normal; }
798 .box-data .wiki { font-weight: normal; }
799 table.sidebar { border-spacing: 0px; margin: 0ex;}
802 div.rss { margin: 1em; padding: 1em; font-size: 0.9em; background-color: #eeeeee; border: thin dashed #aaa; }
803 div.feed { color: #333; margin: -0.5em; margin-bottom: 0em; padding: 0.3em; font-weight: bold; background-color: #f2f2f2; font-size: 1.2em; }
804 div.itemdesc { padding-left: 1em; }
805 div.rssitem { border-top: thin dashed #aaa; }
809 border: 1px outset gray;
814 .sqlresult tr.evenrow { background: #eee; }
815 .sqlresult tr.oddrow { background: white; }
818 border: 1px solid gray;
826 * c-file-style: cc-mode