2 * $Id: phpwiki.css,v 1.29 2004-04-14 10:51:02 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;
239 .search-context { background: white; }
245 /* IncludePage plugin */
246 .transclusion-title {
250 text-decoration: underline;
251 margin-bottom: 0.25ex;
252 margin-right: 0.25em;
254 .transclusion, .wiki-edithelp {
258 border: 1px solid gray;
260 padding-right: 0.8em;
264 margin-right: 0.25em;
265 margin-bottom: 0.1ex;
269 border: medium solid #fff8dc; /* darker ivory */
271 padding-right: 0.5em;
273 padding-bottom: 0.75ex;
279 .wiki-edithelp .wiki {
283 font-family: Arial, Helvetica, sans-serif;
285 padding-right: 0.5em;
287 padding-bottom: 0.5ex;
296 border: 1px outset gray;
310 /* Month-name header */
311 table.cal-header { font-size: larger; }
312 table.cal-header tr, table.cal-header td { text-align: center; }
315 text-decoration: none;
318 /* Day-names header */
319 table.cal tbody tr .cal-dayname { }
323 text-decoration: underline;
326 /* Individual days */
327 a.cal-hide { text-decoration: none; }
331 table.cal td.cal-today {
333 border: 1px solid gray;
336 table.cal td.cal-today a.cal-hide { }
344 margin-bottom: 0.5ex;
346 /* Netscape 4 requires this 1px border.
347 Without it, the paper borders below cause
348 the white background to disappear. */
349 border: 1px #ccc solid;
351 border-top: 1px solid #494f5d;
352 border-left: 1px solid #494f5d;
353 border-bottom: 1px solid #c6d2de;
354 border-right: 1px solid #c6d2de;
357 padding-left: .125em;
358 padding-right: .125em;
360 /* "paper" borders */
361 /*border-top: 2px #d2d2d2 solid;
362 border-left: 2px #b2b2b2 solid;
363 border-bottom: 2px #e8e6df solid;
364 border-right: 2px #e8e6df solid;*/
365 /* padding-left: 0em;
366 padding-bottom: 0ex;*/
367 /* border-style: inset;*/
368 /*This breaks Netscape 4: (display does not go full width).
371 /* I'm not sure what the intent of this was, but it's
373 /* display: editarea; */
383 /* individual blocks */
389 /* entire difftextblock */
394 /* Netscape 4 requires this 1px border.
395 Without it, the paper borders below cause
396 the white background to disappear. */
397 border: 1px black solid;
398 /* "paper" borders */
399 border-top: 1px #e8e6df solid;
400 border-left: 1px #e8e6df solid;
401 border-bottom: 1px #d2d2d2 solid;
402 border-right: 1px #b2b2b2 solid;
407 /*This breaks Netscape 4: (display does not go full width).
412 /* + - line prefix */
415 font-family: monospace;
422 .diff del, .diff ins {
424 text-decoration: none;
427 /* blocks containing deleted or added words */
428 .diff .original, .diff .deleted,
429 .diff .final, .diff .added {
432 /* blocks containing deleted words */
433 .diff .original, .diff .deleted {
438 /* blocks containing added words */
439 .diff .final, .diff .added {
445 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
447 .diff del { background: #f99; }
449 .diff ins { background: #9f9; }
455 td.pageinfo { font-weight: bold; }
456 .pageinfo-minoredit, .pageinfo-authorid {
465 .printer, .no-css { display: none; }
474 padding-right: 0.8em;
477 border: medium solid red;
484 text-decoration: underline;
486 .error { font-family: monospace; font-size: 120%; }
487 .error ul { font-family: monospace; }
493 font-family: monospace;
496 padding: 0.5ex 0.5em;
497 border: medium solid #fff8dc; /* darker ivory */
504 /* font-size: smaller; */
505 font-style: italic; */
507 padding: 0.5ex 0.5em;
508 border: thin solid #aaaaaa;
514 /* Disabled Plugins */
521 .disabled-plugin .title {
523 background-color: inherit;
528 .disabled-plugin pre {
532 padding: 0.3ex 0.5em;
535 /* "(Redirected from ...)" message. */
545 * Vertical margins around block elements.
548 p { margin: 1em 0; } /* Normal ("loose") paragraphs */
549 li p, dd p, td p { margin: 1ex 0; } /* Paragraphs within lists are a little tighter. */
551 /* ul, ol, dl { margin: 0.2ex 0; } /* A little room around lists. */
552 /* li ul, li ol, li dl,
553 dd ul, dd ol, dd dl { margin: 0 0; } /* but not around sub-lists. */
555 /* Normal ("loose") list elements */
556 li.tightenable { margin: 1em 0; }
557 dt.tightenable { margin-top: 1em; }
558 dd.tightenable { margin-bottom: 1.5ex; }
566 li li.tightenable.top {
569 li.tightenable.bottom,
570 dd.tightenable.bottom {
571 margin-bottom: 0.2ex;
573 li li.tightenable.bottom {
580 .tightenable.bottom {
588 border-collapse: collapse;
589 border: 2px #444 solid;
592 border-top: 2px #444 solid;
593 border-bottom: 2px #444 solid;
597 .wiki-dl-table tr.tightenable.top {
598 border-top: 1px #444 solid;
600 .wiki-dl-table tr.tightenable.bottom {
601 border-bottom: 1px #444 solid;
605 padding: 0.25em 0.5em;
610 border-right: 1px #444 solid;
620 * "E-mail" style blockquote
622 blockquote.mail-style-quote {
623 border-left: medium #284 solid;
628 .mail-style-quote blockquote.mail-style-quote {
636 .floatleft { float: left; }
637 .floatright { float: right; }
640 border: thin black solid;
646 padding: 0.5ex 0.5em;
648 div.wikiblog-header {
649 background-color: #ccf;
651 div.wikiblog > div.wikiblog-footer {
652 background-color: #eee;
653 padding: 0.2ex 0.5em;
655 h3.wikiblog-summary {
661 div.wikiblog.wikiblog-form {
662 background-color: #eee;
665 table.wikiblog-form {
667 border-collapse: collapse;
670 .wikiblog-form caption {
671 background-color: #ccf;
675 padding: 0.5ex 0.5em;
680 padding: 0 0 0.3em 0.5em;
683 padding: 0.25em 0.5em;
685 .wikiblog-form td.submit-button {
688 .wikiblog-form input[type=text],
689 .wikiblog-form textarea {
693 div.wikicomment div.wikicomment-footer {
694 padding: 0.2ex 0.5em;
696 div.wikicomment div.wikicomment-footer named-wiki {
699 table.interwiki-map {
703 text-decoration: underline;
707 .interwiki-map td.interwiki-url {
710 .interwiki-map th.interwiki-url {
715 background-color: #cdf;
717 margin: 2em auto 2em auto;
718 border: thin black solid;
721 .dialog h1, .dialog p, .dialog div {
726 margin: 0.5em 0 1em 0;
728 .dialog div.message {
729 background-color: white;
733 padding: 0.5em 0.5em;
736 margin: 1em 0 0.5em 0;
745 background-color: threedlightshadow;
753 border-color: threedhighlight threeddarkshadow threeddarkshadow threedhighlight;
755 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
756 text-decoration: none;
760 font-family: Tahoma, sans-serif, Arial, Helvetica;
761 background-color: threedlightshadow;
766 .gensmall{font-size:10px}
767 .genmed{font-size:11px}
768 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
769 /* Main table cell colours and backgrounds */
770 td.row1{background:#eaedf4;color:#000000}
771 td.row2{background:#d9e2ec;color:#000000}
772 td.row3{background:#cad9ea;color:#000000}
773 td.spacerow{background:#cad9ea;color:#000000}
775 /* This is the outline round the main forum tables */
776 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
779 .box { background:#ffffff; border: 1px solid #888888 }
780 .box-title { font-weight: bold; font-size: 11pt; background-color: #cdcdcd; color: black; font-style: menu; }
781 .box-data { width: 160px; font-size: 9pt; font-weight: normal; }
782 .box-data .wiki { font-weight: normal; }
783 table.sidebar { border-spacing: 0px; margin: 0ex;}
786 div.rss { margin: 1em; padding: 1em; font-size: 0.9em; background-color: #eeeeee; border: thin dashed #aaa; }
787 div.feed { color: #333; margin: -0.5em; margin-bottom: 0em; padding: 0.3em; font-weight: bold; background-color: #f2f2f2; font-size: 1.2em; }
788 div.itemdesc { padding-left: 1em; }
789 div.rssitem { border-top: thin dashed #aaa; }
795 * c-file-style: cc-mode