2 * $Id: phpwiki.css,v 1.59 2007-01-25 07:42:50 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; } */
93 /* Mozilla RecentChanges Sidebar */
98 body.sidebar div.wikitext {
101 body.sidebar div.wikitext ul { padding-left: 1em; }
102 body.sidebar h2 { margin-top: 0; }
108 * The div inside the wikiadmin upload form does not
109 * have a class yet, so it must be referenced indirectly
111 div.wikiaction { background-color: #eee; }
112 /* div.wikiadmin { background-color: #fee; } */
113 form.wikiadmin div { background-color: #fee; }
114 form.wikiformrich { background-color: #eee; }
120 text-decoration: none;
121 /* font-weight: normal; */
124 .wiki relation, .named-wiki relation, .wiki attribute, .named-wiki attribute {
126 /* font-weight: normal; */
130 span.relation-symbol {
132 font-family: monospace;
133 letter-spacing: 0.1em;
137 a.wikiaction, a.wikiadmin, a.wiki-rc-action, a.wikiunsafe,
138 input.wikiaction, input.button, input.wikiadmin {
139 text-decoration: none;
140 font-family: Arial, Helvetica, sans-serif;
141 /* don't wrap text buttons */
143 /* font-size: inherit; */
146 a.wikiaction, a.wikiaction:visited, input.wikiaction, input.button {
147 background-color: #ddd;
150 .wikiunsafe { background-color: #fcc; }
152 a.wikiadmin, a.wikiadmin:visited, input.wikiadmin {
153 background-color: #fdd;
157 .wikiunknown, .named-wikiunknown {
162 /* QuestionMark #600 */
163 .wikiunknown a, .named-wikiunknown a {
165 background-color: #eee;
166 text-decoration: none;
173 text-decoration: underline;
176 h1 .backlinks { text-decoration: underline; }
178 /* Interwiki links */
179 /* .wikipage { font-weight: bold; } */
180 .wikipage { font-weight: normal; }
181 .interwiki { text-decoration: none; }
182 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
183 .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; }
189 h1, h2, h3, h4, h5, h6 { font-family: Arial, Helvetica, sans-serif; }
191 h1 { margin: 0; font-size: 140% }
197 table, td { font-family: Arial, Helvetica, sans-serif; }
198 caption { font-family: Arial, Helvetica, sans-serif; }
202 text-decoration: none;
206 .pagelist thead td u { text-decoration: none; }
207 .pagelist tr.evenrow { background: #eee; }
208 .pagelist tr.oddrow { background: white; }
210 background-color: ThreedLightShadow;
212 font-family: Tahoma, sans-serif, Arial, Helvetica;
215 /*font-style: menu;*/
219 padding: 5px 0px 5px 0px;
222 border-color: ThreedHighlight ThreedDarkShadow ThreedDarkShadow ThreedHighlight;
224 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
225 text-decoration: none;
228 /*font-style: menu;*/
229 font-family: Tahoma, sans-serif, Arial, Helvetica;
230 background-color: ThreedLightShadow;
238 .toolbar, input.button, #signin { font-family: Arial, Helvetica, sans-serif; }
248 .edit-toolbar img, .edit-toolbar input {
249 background-color: #fff;
250 border: 1px solid ButtonFace;
254 padding-right: 4em; /* wrap around logo */
255 padding-bottom: 1ex; /* space for h1 */
258 font-family: Arial, Helvetica, sans-serif;
270 /* Netscape 4 requires this 1px border.
271 Without it, the paper borders below cause
272 the white background to disappear. */
273 border: 1px black solid;
274 /* "paper" borders */
275 border-top: 1px #e8e6df solid;
276 border-left: 1px #e8e6df solid;
277 border-bottom: 1px #d2d2d2 solid;
278 border-right: 1px #b2b2b2 solid;
282 * Edit Page & View Source
285 /* Make the textarea the full page width */
288 margin-bottom: 0.5ex;
303 #toolbar { padding:0px; }
308 #searchholder { display: inline; }
313 .search-context { background: white; font-style: oblique; }
323 background-color: white;
324 border: 1px solid #d0d0d0;
329 background-color: #f08000;
332 background-color: #f0f0f0;
340 background-color: white;
351 list-style-image: none;
354 /* IncludePage plugin */
355 .transclusion-title {
359 text-decoration: underline;
360 margin-bottom: 0.25ex;
361 margin-right: 0.25em;
363 .transclusion, .wiki-edithelp {
367 border: 1px solid gray;
369 padding-right: 0.8em;
373 margin-right: 0.25em;
374 margin-bottom: 0.1ex;
378 border: medium solid #fff8dc; /* darker ivory */
380 padding-right: 0.5em;
382 padding-bottom: 0.75ex;
388 .wiki-edithelp .wiki {
392 font-family: Arial, Helvetica, sans-serif;
394 padding-right: 0.5em;
396 padding-bottom: 0.5ex;
405 border: 1px outset gray;
419 /* Month-name header */
420 table.cal-header { font-size: larger; }
421 table.cal-header tr, table.cal-header td { text-align: center; }
424 text-decoration: none;
427 /* Day-names header */
428 table.cal tbody tr .cal-dayname { }
432 text-decoration: underline;
435 /* Individual days */
436 a.cal-hide { text-decoration: none; }
440 table.cal td.cal-today {
442 border: 1px solid gray;
445 table.cal td.cal-today a.cal-hide { }
453 margin-bottom: 0.5ex;
455 /* Netscape 4 requires this 1px border.
456 Without it, the paper borders below cause
457 the white background to disappear. */
458 border: 1px #ccc solid;
460 border-top: 1px solid #494f5d;
461 border-left: 1px solid #494f5d;
462 border-bottom: 1px solid #c6d2de;
463 border-right: 1px solid #c6d2de;
466 padding-left: .125em;
467 padding-right: .125em;
469 /* "paper" borders */
470 /*border-top: 2px #d2d2d2 solid;
471 border-left: 2px #b2b2b2 solid;
472 border-bottom: 2px #e8e6df solid;
473 border-right: 2px #e8e6df solid;*/
474 /* padding-left: 0em;
475 padding-bottom: 0ex;*/
476 /* border-style: inset;*/
477 /*This breaks Netscape 4: (display does not go full width).
480 /* I'm not sure what the intent of this was, but it's
482 /* display: editarea; */
492 /* individual blocks */
498 /* entire difftextblock */
503 /* Netscape 4 requires this 1px border.
504 Without it, the paper borders below cause
505 the white background to disappear. */
506 border: 1px black solid;
507 /* "paper" borders */
508 border-top: 1px #e8e6df solid;
509 border-left: 1px #e8e6df solid;
510 border-bottom: 1px #d2d2d2 solid;
511 border-right: 1px #b2b2b2 solid;
516 /*This breaks Netscape 4: (display does not go full width).
521 /* + - line prefix */
524 font-family: monospace;
531 .diff del, .diff ins {
533 text-decoration: none;
536 /* blocks containing deleted or added words */
537 .diff .original, .diff .deleted,
538 .diff .final, .diff .added {
541 /* blocks containing deleted words */
542 .diff .original, .diff .deleted {
547 /* blocks containing added words */
548 .diff .final, .diff .added {
554 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
556 .diff del { background: #f99; }
558 .diff ins { background: #9f9; }
564 td.pageinfo { font-weight: bold; }
565 .pageinfo-minoredit, .pageinfo-authorid {
574 .printer, .no-css { display: none; }
583 padding-right: 0.8em;
586 border: medium solid red;
593 text-decoration: underline;
601 padding-right: 0.8em;
604 border: thin solid blue;
607 .error { font-family: monospace; font-size: 120%; }
608 .error ul { font-family: monospace; }
614 font-family: monospace;
617 padding: 0.5ex 0.5em;
618 border: medium solid #fff8dc; /* darker ivory */
625 /* font-size: smaller; */
628 padding: 0.5ex 0.5em;
629 border: thin solid #aaaaaa;
635 /* Disabled Plugins */
642 .disabled-plugin .title {
644 background-color: inherit;
649 .disabled-plugin pre {
653 padding: 0.3ex 0.5em;
656 /* "(Redirected from ...)" message. */
666 * Vertical margins around block elements.
669 p { margin: 1em 0; } /* Normal ("loose") paragraphs */
670 li p, dd p, td p { margin: 1ex 0; } /* Paragraphs within lists are a little tighter. */
672 /* ul, ol, dl { margin: 0.2ex 0; } /* A little room around lists. */
673 /* li ul, li ol, li dl,
674 dd ul, dd ol, dd dl { margin: 0 0; } /* but not around sub-lists. */
676 /* Normal ("loose") list elements */
677 li.tightenable { margin: 1em 0; }
678 dt.tightenable { margin-top: 1em; }
679 dd.tightenable { margin-bottom: 1.5ex; }
687 li li.tightenable.top {
690 li.tightenable.bottom,
691 dd.tightenable.bottom {
692 margin-bottom: 0.2ex;
694 li li.tightenable.bottom {
701 .tightenable.bottom {
709 border-collapse: collapse;
710 border: 2px #444 solid;
713 border-top: 2px #444 solid;
714 border-bottom: 2px #444 solid;
718 .wiki-dl-table tr.tightenable.top {
719 border-top: 1px #444 solid;
721 .wiki-dl-table tr.tightenable.bottom {
722 border-bottom: 1px #444 solid;
726 padding: 0.25em 0.5em;
731 border-right: 1px #444 solid;
741 * "E-mail" style blockquote
743 blockquote.mail-style-quote {
744 border-left: medium #284 solid;
749 .mail-style-quote blockquote.mail-style-quote {
757 .floatleft { float: left; }
758 .floatright { float: right; }
761 /* border: thin black solid; */
767 padding: 0.5ex 0.5em;
769 div.wikiblog-header {
770 /* background-color: #ccf; */
772 div.wikiblog > div.wikiblog-footer {
773 /* background-color: #eee; */
774 padding: 0.2ex 0.5em;
776 h3.wikiblog-summary {
782 div.wikiblog.wikiblog-form {
783 /* background-color: #eee; */
786 table.wikiblog-form {
788 border-collapse: collapse;
791 .wikiblog-form caption {
792 /* background-color: #ccf; */
796 padding: 0.5ex 0.5em;
801 padding: 0 0 0.3em 0.5em;
804 padding: 0.25em 0.5em;
806 .wikiblog-form td.submit-button {
809 .wikiblog-form input[type=text],
810 .wikiblog-form textarea {
814 div.wikicomment div.wikicomment-footer {
815 padding: 0.2ex 0.5em;
817 div.wikicomment div.wikicomment-footer named-wiki {
820 table.interwiki-map {
824 text-decoration: underline;
828 .interwiki-map td.interwiki-url {
831 .interwiki-map th.interwiki-url {
836 background-color: #cdf;
838 margin: 2em auto 2em auto;
839 border: thin black solid;
842 .dialog h1, .dialog p, .dialog div {
847 margin: 0.5em 0 1em 0;
849 .dialog div.message {
850 background-color: white;
854 padding: 0.5em 0.5em;
857 margin: 1em 0 0.5em 0;
867 .gensmall{font-size:10px}
868 .genmed{font-size:11px}
869 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
870 /* Main table cell colours and backgrounds */
871 td.row1{background:#eaedf4;color:#000000}
872 td.row2{background:#d9e2ec;color:#000000}
873 td.row3{background:#cad9ea;color:#000000}
874 td.spacerow{background:#cad9ea;color:#000000}
876 /* This is the outline round the main forum tables */
877 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
880 .box { background:#ffffff; border: 1px solid silver }
881 .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;}
882 .box-data { width: 160px; font-size: 9pt; font-weight: normal; border: none; }
883 .box-data .wiki { font-weight: normal; }
884 td.sidebar { border-spacing: 0px; margin: 0ex;}
886 /* plugin BoxRight */
892 border: thin solid #888888;
897 div.rss { margin: 1em; padding: 1em; font-size: 0.9em; background-color: #eeeeee; border: thin dashed #aaa; }
898 div.feed { color: #333; margin: -0.5em; margin-bottom: 0em; padding: 0.3em; font-weight: bold; background-color: #f2f2f2; font-size: 1.2em; }
899 div.itemdesc { padding-left: 1em; }
900 div.rssitem { border-top: thin dashed #aaa; }
904 border: 1px outset gray;
909 .sqlresult tr.evenrow { background: #eee; }
910 .sqlresult tr.oddrow { background: white; }
913 border: 1px solid gray;
921 vertical-align: middle;
940 span.wikiwyg_control_link a {
946 border: 1px solid #D3D3D3;
950 vertical-align: bottom;
953 .wikiwyg_button:hover {
957 .wikiwyg_button:active {
963 border: 1px solid #D3D3D3;
966 vertical-align: bottom;
973 .wikiwyg_wysiwyg table {
974 border-collapse: collapse;
978 .wikiwyg_wysiwyg table td {
991 * c-file-style: cc-mode