2 * $Id: phpwiki.css,v 1.49 2005-04-11 19:41:23 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;
247 /* Netscape 4 requires this 1px border.
248 Without it, the paper borders below cause
249 the white background to disappear. */
250 border: 1px black solid;
251 /* "paper" borders */
252 border-top: 1px #e8e6df solid;
253 border-left: 1px #e8e6df solid;
254 border-bottom: 1px #d2d2d2 solid;
255 border-right: 1px #b2b2b2 solid;
259 * Edit Page & View Source
262 /* Make the textarea the full page width */
265 margin-bottom: 0.5ex;
280 #toolbar { padding:0px; }
285 .search-context { background: white; }
295 background-color: white;
296 border: 1px solid #d0d0d0;
301 background-color: #f08000;
304 background-color: #f0f0f0;
312 background-color: white;
323 list-style-image: none;
326 /* IncludePage plugin */
327 .transclusion-title {
331 text-decoration: underline;
332 margin-bottom: 0.25ex;
333 margin-right: 0.25em;
335 .transclusion, .wiki-edithelp {
339 border: 1px solid gray;
341 padding-right: 0.8em;
345 margin-right: 0.25em;
346 margin-bottom: 0.1ex;
350 border: medium solid #fff8dc; /* darker ivory */
352 padding-right: 0.5em;
354 padding-bottom: 0.75ex;
360 .wiki-edithelp .wiki {
364 font-family: Arial, Helvetica, sans-serif;
366 padding-right: 0.5em;
368 padding-bottom: 0.5ex;
377 border: 1px outset gray;
391 /* Month-name header */
392 table.cal-header { font-size: larger; }
393 table.cal-header tr, table.cal-header td { text-align: center; }
396 text-decoration: none;
399 /* Day-names header */
400 table.cal tbody tr .cal-dayname { }
404 text-decoration: underline;
407 /* Individual days */
408 a.cal-hide { text-decoration: none; }
412 table.cal td.cal-today {
414 border: 1px solid gray;
417 table.cal td.cal-today a.cal-hide { }
425 margin-bottom: 0.5ex;
427 /* Netscape 4 requires this 1px border.
428 Without it, the paper borders below cause
429 the white background to disappear. */
430 border: 1px #ccc solid;
432 border-top: 1px solid #494f5d;
433 border-left: 1px solid #494f5d;
434 border-bottom: 1px solid #c6d2de;
435 border-right: 1px solid #c6d2de;
438 padding-left: .125em;
439 padding-right: .125em;
441 /* "paper" borders */
442 /*border-top: 2px #d2d2d2 solid;
443 border-left: 2px #b2b2b2 solid;
444 border-bottom: 2px #e8e6df solid;
445 border-right: 2px #e8e6df solid;*/
446 /* padding-left: 0em;
447 padding-bottom: 0ex;*/
448 /* border-style: inset;*/
449 /*This breaks Netscape 4: (display does not go full width).
452 /* I'm not sure what the intent of this was, but it's
454 /* display: editarea; */
464 /* individual blocks */
470 /* entire difftextblock */
475 /* Netscape 4 requires this 1px border.
476 Without it, the paper borders below cause
477 the white background to disappear. */
478 border: 1px black solid;
479 /* "paper" borders */
480 border-top: 1px #e8e6df solid;
481 border-left: 1px #e8e6df solid;
482 border-bottom: 1px #d2d2d2 solid;
483 border-right: 1px #b2b2b2 solid;
488 /*This breaks Netscape 4: (display does not go full width).
493 /* + - line prefix */
496 font-family: monospace;
503 .diff del, .diff ins {
505 text-decoration: none;
508 /* blocks containing deleted or added words */
509 .diff .original, .diff .deleted,
510 .diff .final, .diff .added {
513 /* blocks containing deleted words */
514 .diff .original, .diff .deleted {
519 /* blocks containing added words */
520 .diff .final, .diff .added {
526 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
528 .diff del { background: #f99; }
530 .diff ins { background: #9f9; }
536 td.pageinfo { font-weight: bold; }
537 .pageinfo-minoredit, .pageinfo-authorid {
546 .printer, .no-css { display: none; }
555 padding-right: 0.8em;
558 border: medium solid red;
565 text-decoration: underline;
573 padding-right: 0.8em;
576 border: thin solid blue;
579 .error { font-family: monospace; font-size: 120%; }
580 .error ul { font-family: monospace; }
586 font-family: monospace;
589 padding: 0.5ex 0.5em;
590 border: medium solid #fff8dc; /* darker ivory */
597 /* font-size: smaller; */
600 padding: 0.5ex 0.5em;
601 border: thin solid #aaaaaa;
607 /* Disabled Plugins */
614 .disabled-plugin .title {
616 background-color: inherit;
621 .disabled-plugin pre {
625 padding: 0.3ex 0.5em;
628 /* "(Redirected from ...)" message. */
638 * Vertical margins around block elements.
641 p { margin: 1em 0; } /* Normal ("loose") paragraphs */
642 li p, dd p, td p { margin: 1ex 0; } /* Paragraphs within lists are a little tighter. */
644 /* ul, ol, dl { margin: 0.2ex 0; } /* A little room around lists. */
645 /* li ul, li ol, li dl,
646 dd ul, dd ol, dd dl { margin: 0 0; } /* but not around sub-lists. */
648 /* Normal ("loose") list elements */
649 li.tightenable { margin: 1em 0; }
650 dt.tightenable { margin-top: 1em; }
651 dd.tightenable { margin-bottom: 1.5ex; }
659 li li.tightenable.top {
662 li.tightenable.bottom,
663 dd.tightenable.bottom {
664 margin-bottom: 0.2ex;
666 li li.tightenable.bottom {
673 .tightenable.bottom {
681 border-collapse: collapse;
682 border: 2px #444 solid;
685 border-top: 2px #444 solid;
686 border-bottom: 2px #444 solid;
690 .wiki-dl-table tr.tightenable.top {
691 border-top: 1px #444 solid;
693 .wiki-dl-table tr.tightenable.bottom {
694 border-bottom: 1px #444 solid;
698 padding: 0.25em 0.5em;
703 border-right: 1px #444 solid;
713 * "E-mail" style blockquote
715 blockquote.mail-style-quote {
716 border-left: medium #284 solid;
721 .mail-style-quote blockquote.mail-style-quote {
729 .floatleft { float: left; }
730 .floatright { float: right; }
733 /* border: thin black solid; */
739 padding: 0.5ex 0.5em;
741 div.wikiblog-header {
742 /* background-color: #ccf; */
744 div.wikiblog > div.wikiblog-footer {
745 /* background-color: #eee; */
746 padding: 0.2ex 0.5em;
748 h3.wikiblog-summary {
754 div.wikiblog.wikiblog-form {
755 /* background-color: #eee; */
758 table.wikiblog-form {
760 border-collapse: collapse;
763 .wikiblog-form caption {
764 /* background-color: #ccf; */
768 padding: 0.5ex 0.5em;
773 padding: 0 0 0.3em 0.5em;
776 padding: 0.25em 0.5em;
778 .wikiblog-form td.submit-button {
781 .wikiblog-form input[type=text],
782 .wikiblog-form textarea {
786 div.wikicomment div.wikicomment-footer {
787 padding: 0.2ex 0.5em;
789 div.wikicomment div.wikicomment-footer named-wiki {
792 table.interwiki-map {
796 text-decoration: underline;
800 .interwiki-map td.interwiki-url {
803 .interwiki-map th.interwiki-url {
808 background-color: #cdf;
810 margin: 2em auto 2em auto;
811 border: thin black solid;
814 .dialog h1, .dialog p, .dialog div {
819 margin: 0.5em 0 1em 0;
821 .dialog div.message {
822 background-color: white;
826 padding: 0.5em 0.5em;
829 margin: 1em 0 0.5em 0;
839 .gensmall{font-size:10px}
840 .genmed{font-size:11px}
841 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
842 /* Main table cell colours and backgrounds */
843 td.row1{background:#eaedf4;color:#000000}
844 td.row2{background:#d9e2ec;color:#000000}
845 td.row3{background:#cad9ea;color:#000000}
846 td.spacerow{background:#cad9ea;color:#000000}
848 /* This is the outline round the main forum tables */
849 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
852 .box { background:#ffffff; border: 1px solid #888888 }
853 .box-title { font-weight: normal; /*font-size: 11pt; */ background-color: #ccc; color: black; /*font-style: menu;*/ text-align: center; }
854 .box-data { width: 160px; font-size: 9pt; font-weight: normal; }
855 .box-data .wiki { font-weight: normal; }
856 td.sidebar { border-spacing: 0px; margin: 0ex;}
859 div.rss { margin: 1em; padding: 1em; font-size: 0.9em; background-color: #eeeeee; border: thin dashed #aaa; }
860 div.feed { color: #333; margin: -0.5em; margin-bottom: 0em; padding: 0.3em; font-weight: bold; background-color: #f2f2f2; font-size: 1.2em; }
861 div.itemdesc { padding-left: 1em; }
862 div.rssitem { border-top: thin dashed #aaa; }
866 border: 1px outset gray;
871 .sqlresult tr.evenrow { background: #eee; }
872 .sqlresult tr.oddrow { background: white; }
875 border: 1px solid gray;
883 vertical-align: middle;
890 * c-file-style: cc-mode