2 * $Id: phpwiki.css,v 1.61 2007-07-15 17:40:13 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 */
65 background-color: white;
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 /* for the login template */
88 /*background: #dddddd;*/
91 /* .interwiki-map thead td { text-decoration: underline; } */
104 /* Mozilla RecentChanges Sidebar */
109 body.sidebar div.wikitext {
112 body.sidebar div.wikitext ul { padding-left: 1em; }
113 body.sidebar h2 { margin-top: 0; }
119 * The div inside the wikiadmin upload form does not
120 * have a class yet, so it must be referenced indirectly
122 div.wikiaction { background-color: #eee; }
123 /* div.wikiadmin { background-color: #fee; } */
124 form.wikiadmin div { background-color: #fee; }
125 form.wikiformrich { background-color: #eee; }
131 text-decoration: none;
132 /* font-weight: normal; */
135 .wiki relation, .named-wiki relation, .wiki attribute, .named-wiki attribute {
137 /* font-weight: normal; */
141 span.relation-symbol {
143 font-family: monospace;
144 letter-spacing: 0.1em;
148 a.wikiaction, a.wikiadmin, a.wiki-rc-action, a.wikiunsafe,
149 input.wikiaction, input.button, input.wikiadmin {
150 text-decoration: none;
151 font-family: Arial, Helvetica, sans-serif;
152 /* don't wrap text buttons */
154 /* font-size: inherit; */
157 a.wikiaction, a.wikiaction:visited, input.wikiaction, input.button {
158 background-color: #ddd;
161 .wikiunsafe { background-color: #fcc; }
163 a.wikiadmin, a.wikiadmin:visited, input.wikiadmin {
164 background-color: #fdd;
168 .wikiunknown, .named-wikiunknown {
173 /* QuestionMark #600 */
174 .wikiunknown a, .named-wikiunknown a {
176 background-color: #eee;
177 text-decoration: none;
184 text-decoration: underline;
187 h1 .backlinks { text-decoration: underline; }
189 /* Interwiki links */
190 /* .wikipage { font-weight: bold; } */
191 .wikipage { font-weight: normal; }
192 .interwiki { text-decoration: none; }
193 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
194 .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; }
197 a.wikibutton, a.wikibutton:visited, input.wikibutton {
198 background-color: none;
204 h1, h2, h3, h4, h5, h6 { font-family: Arial, Helvetica, sans-serif; }
206 h1 { margin: 0; font-size: 140% }
212 table, td { font-family: Arial, Helvetica, sans-serif; }
213 caption { font-family: Arial, Helvetica, sans-serif; }
217 text-decoration: none;
221 .pagelist thead td u { text-decoration: none; }
222 .pagelist tr.evenrow { background: #eee; }
223 .pagelist tr.oddrow { background: white; }
225 background-color: ThreedLightShadow;
227 font-family: Tahoma, sans-serif, Arial, Helvetica;
230 /*font-style: menu;*/
234 padding: 5px 0px 5px 0px;
237 border-color: ThreedHighlight ThreedDarkShadow ThreedDarkShadow ThreedHighlight;
239 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
240 text-decoration: none;
243 /*font-style: menu;*/
244 font-family: Tahoma, sans-serif, Arial, Helvetica;
245 background-color: ThreedLightShadow;
253 .toolbar, input.button, #signin { font-family: Arial, Helvetica, sans-serif; }
263 .edit-toolbar img, .edit-toolbar input {
264 background-color: #fff;
265 border: 1px solid ButtonFace;
269 padding-right: 4em; /* wrap around logo */
270 padding-bottom: 1ex; /* space for h1 */
273 font-family: Arial, Helvetica, sans-serif;
285 /* Netscape 4 requires this 1px border.
286 Without it, the paper borders below cause
287 the white background to disappear. */
288 border: 1px black solid;
289 /* "paper" borders */
290 border-top: 1px #e8e6df solid;
291 border-left: 1px #e8e6df solid;
292 border-bottom: 1px #d2d2d2 solid;
293 border-right: 1px #b2b2b2 solid;
297 * Edit Page & View Source
300 /* Make the textarea the full page width */
303 margin-bottom: 0.5ex;
318 #toolbar { padding:0px; }
323 #searchholder { display: inline; }
328 .search-context { background: white; font-style: oblique; }
338 background-color: white;
339 border: 1px solid #d0d0d0;
344 background-color: #f08000;
347 background-color: #f0f0f0;
355 background-color: white;
366 list-style-image: none;
369 /* IncludePage plugin */
370 .transclusion-title {
374 text-decoration: underline;
375 margin-bottom: 0.25ex;
376 margin-right: 0.25em;
378 .transclusion, .wiki-edithelp {
382 border: 1px solid gray;
384 padding-right: 0.8em;
388 margin-right: 0.25em;
389 margin-bottom: 0.1ex;
393 border: medium solid #fff8dc; /* darker ivory */
395 padding-right: 0.5em;
397 padding-bottom: 0.75ex;
403 .wiki-edithelp .wiki {
407 font-family: Arial, Helvetica, sans-serif;
409 padding-right: 0.5em;
411 padding-bottom: 0.5ex;
420 border: 1px outset gray;
434 /* Month-name header */
435 table.cal-header { font-size: larger; }
436 table.cal-header tr, table.cal-header td { text-align: center; }
439 text-decoration: none;
442 /* Day-names header */
443 table.cal tbody tr .cal-dayname { }
447 text-decoration: underline;
450 /* Individual days */
451 a.cal-hide { text-decoration: none; }
455 table.cal td.cal-today {
457 border: 1px solid gray;
460 table.cal td.cal-today a.cal-hide { }
468 margin-bottom: 0.5ex;
470 /* Netscape 4 requires this 1px border.
471 Without it, the paper borders below cause
472 the white background to disappear. */
473 border: 1px #ccc solid;
475 border-top: 1px solid #494f5d;
476 border-left: 1px solid #494f5d;
477 border-bottom: 1px solid #c6d2de;
478 border-right: 1px solid #c6d2de;
481 padding-left: .125em;
482 padding-right: .125em;
484 /* "paper" borders */
485 /*border-top: 2px #d2d2d2 solid;
486 border-left: 2px #b2b2b2 solid;
487 border-bottom: 2px #e8e6df solid;
488 border-right: 2px #e8e6df solid;*/
489 /* padding-left: 0em;
490 padding-bottom: 0ex;*/
491 /* border-style: inset;*/
492 /*This breaks Netscape 4: (display does not go full width).
495 /* I'm not sure what the intent of this was, but it's
497 /* display: editarea; */
507 /* individual blocks */
513 /* entire difftextblock */
518 /* Netscape 4 requires this 1px border.
519 Without it, the paper borders below cause
520 the white background to disappear. */
521 border: 1px black solid;
522 /* "paper" borders */
523 border-top: 1px #e8e6df solid;
524 border-left: 1px #e8e6df solid;
525 border-bottom: 1px #d2d2d2 solid;
526 border-right: 1px #b2b2b2 solid;
531 /*This breaks Netscape 4: (display does not go full width).
536 /* + - line prefix */
539 font-family: monospace;
546 .diff del, .diff ins {
548 text-decoration: none;
551 /* blocks containing deleted or added words */
552 .diff .original, .diff .deleted,
553 .diff .final, .diff .added {
556 /* blocks containing deleted words */
557 .diff .original, .diff .deleted {
562 /* blocks containing added words */
563 .diff .final, .diff .added {
569 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
571 .diff del { background: #f99; }
573 .diff ins { background: #9f9; }
579 td.pageinfo { font-weight: bold; }
580 .pageinfo-minoredit, .pageinfo-authorid {
589 .printer, .no-css { display: none; }
598 padding-right: 0.8em;
601 border: medium solid red;
608 text-decoration: underline;
616 padding-right: 0.8em;
619 border: thin solid blue;
622 .error { font-family: monospace; font-size: 120%; }
623 .error ul { font-family: monospace; }
629 font-family: monospace;
632 padding: 0.5ex 0.5em;
633 border: medium solid #fff8dc; /* darker ivory */
640 /* font-size: smaller; */
643 padding: 0.5ex 0.5em;
644 border: thin solid #aaaaaa;
650 /* Disabled Plugins */
657 .disabled-plugin .title {
659 background-color: inherit;
664 .disabled-plugin pre {
668 padding: 0.3ex 0.5em;
671 /* "(Redirected from ...)" message. */
681 * Vertical margins around block elements.
684 p { margin: 1em 0; } /* Normal ("loose") paragraphs */
685 li p, dd p, td p { margin: 1ex 0; } /* Paragraphs within lists are a little tighter. */
687 /* ul, ol, dl { margin: 0.2ex 0; } /* A little room around lists. */
688 /* li ul, li ol, li dl,
689 dd ul, dd ol, dd dl { margin: 0 0; } /* but not around sub-lists. */
691 /* Normal ("loose") list elements */
692 li.tightenable { margin: 1em 0; }
693 dt.tightenable { margin-top: 1em; }
694 dd.tightenable { margin-bottom: 1.5ex; }
702 li li.tightenable.top {
705 li.tightenable.bottom,
706 dd.tightenable.bottom {
707 margin-bottom: 0.2ex;
709 li li.tightenable.bottom {
716 .tightenable.bottom {
724 border-collapse: collapse;
725 border: 2px #444 solid;
728 border-top: 2px #444 solid;
729 border-bottom: 2px #444 solid;
733 .wiki-dl-table tr.tightenable.top {
734 border-top: 1px #444 solid;
736 .wiki-dl-table tr.tightenable.bottom {
737 border-bottom: 1px #444 solid;
741 padding: 0.25em 0.5em;
746 border-right: 1px #444 solid;
756 * "E-mail" style blockquote
758 blockquote.mail-style-quote {
759 border-left: medium #284 solid;
764 .mail-style-quote blockquote.mail-style-quote {
772 .floatleft { float: left; }
773 .floatright { float: right; }
776 /* border: thin black solid; */
782 padding: 0.5ex 0.5em;
784 div.wikiblog-header {
785 /* background-color: #ccf; */
787 div.wikiblog > div.wikiblog-footer {
788 /* background-color: #eee; */
789 padding: 0.2ex 0.5em;
791 h3.wikiblog-summary {
797 div.wikiblog.wikiblog-form {
798 /* background-color: #eee; */
801 table.wikiblog-form {
803 border-collapse: collapse;
806 .wikiblog-form caption {
807 /* background-color: #ccf; */
811 padding: 0.5ex 0.5em;
816 padding: 0 0 0.3em 0.5em;
819 padding: 0.25em 0.5em;
821 .wikiblog-form td.submit-button {
824 .wikiblog-form input[type=text],
825 .wikiblog-form textarea {
829 div.wikicomment div.wikicomment-footer {
830 padding: 0.2ex 0.5em;
832 div.wikicomment div.wikicomment-footer named-wiki {
835 table.interwiki-map {
839 text-decoration: underline;
843 .interwiki-map td.interwiki-url {
846 .interwiki-map th.interwiki-url {
851 background-color: #cdf;
853 margin: 2em auto 2em auto;
854 border: thin black solid;
857 .dialog h1, .dialog p, .dialog div {
862 margin: 0.5em 0 1em 0;
864 .dialog div.message {
865 background-color: white;
869 padding: 0.5em 0.5em;
872 margin: 1em 0 0.5em 0;
882 .gensmall{font-size:10px}
883 .genmed{font-size:11px}
884 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
885 /* Main table cell colours and backgrounds */
886 td.row1{background:#eaedf4;color:#000000}
887 td.row2{background:#d9e2ec;color:#000000}
888 td.row3{background:#cad9ea;color:#000000}
889 td.spacerow{background:#cad9ea;color:#000000}
891 /* This is the outline round the main forum tables */
892 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
895 .box { background:#ffffff; border: 1px solid silver }
896 .box-title { font-family: Tahoma; font-weight: normal; /*font-size: 11pt; */ background-color: #ccc; color: black; /*font-style: menu;*/ text-align: center; border: none; padding: 2px 0 2px 0;}
897 .box-data { width: 160px; font-size: 9pt; font-weight: normal; border: none; }
898 .box-data .wiki { font-weight: normal; }
899 td.sidebar { border-spacing: 0px; margin: 0ex;}
901 /* plugin BoxRight */
907 border: thin solid #888888;
912 div.rss { margin: 1em; padding: 1em; font-size: 0.9em; background-color: #eeeeee; border: thin dashed #aaa; }
913 div.feed { color: #333; margin: -0.5em; margin-bottom: 0em; padding: 0.3em; font-weight: bold; background-color: #f2f2f2; font-size: 1.2em; }
914 div.itemdesc { padding-left: 1em; }
915 div.rssitem { border-top: thin dashed #aaa; }
919 border: 1px outset gray;
924 .sqlresult tr.evenrow { background: #eee; }
925 .sqlresult tr.oddrow { background: white; }
928 border: 1px solid gray;
936 vertical-align: middle;
955 span.wikiwyg_control_link a {
961 border: 1px solid #D3D3D3;
965 vertical-align: bottom;
968 .wikiwyg_button:hover {
972 .wikiwyg_button:active {
978 border: 1px solid #D3D3D3;
981 vertical-align: bottom;
988 .wikiwyg_wysiwyg table {
989 border-collapse: collapse;
993 .wikiwyg_wysiwyg table td {
1006 * c-file-style: cc-mode