2 * $Id: phpwiki.css,v 1.34 2004-05-13 11:55: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;
190 /*font-style: menu;*/
196 border-color: threedhighlight threeddarkshadow threeddarkshadow threedhighlight;
198 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
199 text-decoration: none;
202 /*font-style: menu;*/
203 font-family: Tahoma, sans-serif, Arial, Helvetica;
204 background-color: threedlightshadow;
212 .toolbar, input.button, #signin { font-family: Arial, Helvetica, sans-serif; }
219 padding-right: 4em; /* wrap around logo */
220 padding-bottom: 1ex; /* space for h1 */
223 font-family: Arial, Helvetica, sans-serif;
229 /* Netscape 4 requires this 1px border.
230 Without it, the paper borders below cause
231 the white background to disappear. */
232 border: 1px black solid;
233 /* "paper" borders */
234 border-top: 1px #e8e6df solid;
235 border-left: 1px #e8e6df solid;
236 border-bottom: 1px #d2d2d2 solid;
237 border-right: 1px #b2b2b2 solid;
241 * Edit Page & View Source
244 /* Make the textarea the full page width */
247 margin-bottom: 0.5ex;
265 .search-context { background: white; }
271 /* IncludePage plugin */
272 .transclusion-title {
276 text-decoration: underline;
277 margin-bottom: 0.25ex;
278 margin-right: 0.25em;
280 .transclusion, .wiki-edithelp {
284 border: 1px solid gray;
286 padding-right: 0.8em;
290 margin-right: 0.25em;
291 margin-bottom: 0.1ex;
295 border: medium solid #fff8dc; /* darker ivory */
297 padding-right: 0.5em;
299 padding-bottom: 0.75ex;
305 .wiki-edithelp .wiki {
309 font-family: Arial, Helvetica, sans-serif;
311 padding-right: 0.5em;
313 padding-bottom: 0.5ex;
322 border: 1px outset gray;
336 /* Month-name header */
337 table.cal-header { font-size: larger; }
338 table.cal-header tr, table.cal-header td { text-align: center; }
341 text-decoration: none;
344 /* Day-names header */
345 table.cal tbody tr .cal-dayname { }
349 text-decoration: underline;
352 /* Individual days */
353 a.cal-hide { text-decoration: none; }
357 table.cal td.cal-today {
359 border: 1px solid gray;
362 table.cal td.cal-today a.cal-hide { }
370 margin-bottom: 0.5ex;
372 /* Netscape 4 requires this 1px border.
373 Without it, the paper borders below cause
374 the white background to disappear. */
375 border: 1px #ccc solid;
377 border-top: 1px solid #494f5d;
378 border-left: 1px solid #494f5d;
379 border-bottom: 1px solid #c6d2de;
380 border-right: 1px solid #c6d2de;
383 padding-left: .125em;
384 padding-right: .125em;
386 /* "paper" borders */
387 /*border-top: 2px #d2d2d2 solid;
388 border-left: 2px #b2b2b2 solid;
389 border-bottom: 2px #e8e6df solid;
390 border-right: 2px #e8e6df solid;*/
391 /* padding-left: 0em;
392 padding-bottom: 0ex;*/
393 /* border-style: inset;*/
394 /*This breaks Netscape 4: (display does not go full width).
397 /* I'm not sure what the intent of this was, but it's
399 /* display: editarea; */
409 /* individual blocks */
415 /* entire difftextblock */
420 /* Netscape 4 requires this 1px border.
421 Without it, the paper borders below cause
422 the white background to disappear. */
423 border: 1px black solid;
424 /* "paper" borders */
425 border-top: 1px #e8e6df solid;
426 border-left: 1px #e8e6df solid;
427 border-bottom: 1px #d2d2d2 solid;
428 border-right: 1px #b2b2b2 solid;
433 /*This breaks Netscape 4: (display does not go full width).
438 /* + - line prefix */
441 font-family: monospace;
448 .diff del, .diff ins {
450 text-decoration: none;
453 /* blocks containing deleted or added words */
454 .diff .original, .diff .deleted,
455 .diff .final, .diff .added {
458 /* blocks containing deleted words */
459 .diff .original, .diff .deleted {
464 /* blocks containing added words */
465 .diff .final, .diff .added {
471 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
473 .diff del { background: #f99; }
475 .diff ins { background: #9f9; }
481 td.pageinfo { font-weight: bold; }
482 .pageinfo-minoredit, .pageinfo-authorid {
491 .printer, .no-css { display: none; }
500 padding-right: 0.8em;
503 border: medium solid red;
510 text-decoration: underline;
512 .error { font-family: monospace; font-size: 120%; }
513 .error ul { font-family: monospace; }
519 font-family: monospace;
522 padding: 0.5ex 0.5em;
523 border: medium solid #fff8dc; /* darker ivory */
530 /* font-size: smaller; */
533 padding: 0.5ex 0.5em;
534 border: thin solid #aaaaaa;
540 /* Disabled Plugins */
547 .disabled-plugin .title {
549 background-color: inherit;
554 .disabled-plugin pre {
558 padding: 0.3ex 0.5em;
561 /* "(Redirected from ...)" message. */
571 * Vertical margins around block elements.
574 p { margin: 1em 0; } /* Normal ("loose") paragraphs */
575 li p, dd p, td p { margin: 1ex 0; } /* Paragraphs within lists are a little tighter. */
577 /* ul, ol, dl { margin: 0.2ex 0; } /* A little room around lists. */
578 /* li ul, li ol, li dl,
579 dd ul, dd ol, dd dl { margin: 0 0; } /* but not around sub-lists. */
581 /* Normal ("loose") list elements */
582 li.tightenable { margin: 1em 0; }
583 dt.tightenable { margin-top: 1em; }
584 dd.tightenable { margin-bottom: 1.5ex; }
592 li li.tightenable.top {
595 li.tightenable.bottom,
596 dd.tightenable.bottom {
597 margin-bottom: 0.2ex;
599 li li.tightenable.bottom {
606 .tightenable.bottom {
614 border-collapse: collapse;
615 border: 2px #444 solid;
618 border-top: 2px #444 solid;
619 border-bottom: 2px #444 solid;
623 .wiki-dl-table tr.tightenable.top {
624 border-top: 1px #444 solid;
626 .wiki-dl-table tr.tightenable.bottom {
627 border-bottom: 1px #444 solid;
631 padding: 0.25em 0.5em;
636 border-right: 1px #444 solid;
646 * "E-mail" style blockquote
648 blockquote.mail-style-quote {
649 border-left: medium #284 solid;
654 .mail-style-quote blockquote.mail-style-quote {
662 .floatleft { float: left; }
663 .floatright { float: right; }
666 border: thin black solid;
672 padding: 0.5ex 0.5em;
674 div.wikiblog-header {
675 background-color: #ccf;
677 div.wikiblog > div.wikiblog-footer {
678 background-color: #eee;
679 padding: 0.2ex 0.5em;
681 h3.wikiblog-summary {
687 div.wikiblog.wikiblog-form {
688 background-color: #eee;
691 table.wikiblog-form {
693 border-collapse: collapse;
696 .wikiblog-form caption {
697 background-color: #ccf;
701 padding: 0.5ex 0.5em;
706 padding: 0 0 0.3em 0.5em;
709 padding: 0.25em 0.5em;
711 .wikiblog-form td.submit-button {
714 .wikiblog-form input[type=text],
715 .wikiblog-form textarea {
719 div.wikicomment div.wikicomment-footer {
720 padding: 0.2ex 0.5em;
722 div.wikicomment div.wikicomment-footer named-wiki {
725 table.interwiki-map {
729 text-decoration: underline;
733 .interwiki-map td.interwiki-url {
736 .interwiki-map th.interwiki-url {
741 background-color: #cdf;
743 margin: 2em auto 2em auto;
744 border: thin black solid;
747 .dialog h1, .dialog p, .dialog div {
752 margin: 0.5em 0 1em 0;
754 .dialog div.message {
755 background-color: white;
759 padding: 0.5em 0.5em;
762 margin: 1em 0 0.5em 0;
772 .gensmall{font-size:10px}
773 .genmed{font-size:11px}
774 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
775 /* Main table cell colours and backgrounds */
776 td.row1{background:#eaedf4;color:#000000}
777 td.row2{background:#d9e2ec;color:#000000}
778 td.row3{background:#cad9ea;color:#000000}
779 td.spacerow{background:#cad9ea;color:#000000}
781 /* This is the outline round the main forum tables */
782 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
785 .box { background:#ffffff; border: 1px solid #888888 }
786 .box-title { font-weight: bold; font-size: 11pt; background-color: #cdcdcd; color: black; /*font-style: menu;*/ }
787 .box-data { width: 160px; font-size: 9pt; font-weight: normal; }
788 .box-data .wiki { font-weight: normal; }
789 table.sidebar { border-spacing: 0px; margin: 0ex;}
792 div.rss { margin: 1em; padding: 1em; font-size: 0.9em; background-color: #eeeeee; border: thin dashed #aaa; }
793 div.feed { color: #333; margin: -0.5em; margin-bottom: 0em; padding: 0.3em; font-weight: bold; background-color: #f2f2f2; font-size: 1.2em; }
794 div.itemdesc { padding-left: 1em; }
795 div.rssitem { border-top: thin dashed #aaa; }
799 border: 1px outset gray;
804 .sqlresult tr.evenrow { background: #eee; }
805 .sqlresult tr.oddrow { background: white; }
808 border: 1px solid gray;
816 * c-file-style: cc-mode