2 * $Id: phpwiki.css,v 1.57 2007-01-20 18:20:42 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; }
120 text-decoration: none;
121 /* font-weight: normal; */
124 .wiki relation, .named-wiki relation, .wiki attribute, .named-wiki attribute {
126 /* font-weight: normal; */
131 a.wikiaction, a.wikiadmin, a.wiki-rc-action, a.wikiunsafe,
132 input.wikiaction, input.button, input.wikiadmin {
133 text-decoration: none;
134 font-family: Arial, Helvetica, sans-serif;
135 /* don't wrap text buttons */
137 /*font-size: inherit; */
140 a.wikiaction, a.wikiaction:visited, input.wikiaction, input.button { background-color: #ddd; }
142 .wikiunsafe { background-color: #fcc; }
144 a.wikiadmin, a.wikiadmin:visited, input.wikiadmin { background-color: #fdd; }
147 .wikiunknown, .named-wikiunknown {
151 /* QuestionMark #600 */
152 .wikiunknown a, .named-wikiunknown a {
154 background-color: #eee;
155 text-decoration: none;
162 text-decoration: underline;
165 h1 .backlinks { text-decoration: underline; }
167 /* Interwiki links */
168 /* .wikipage { font-weight: bold; } */
169 .wikipage { font-weight: normal; }
170 .interwiki { text-decoration: none; }
171 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
172 .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; }
178 h1, h2, h3, h4, h5, h6 { font-family: Arial, Helvetica, sans-serif; }
180 h1 { margin: 0; font-size: 140% }
186 table, td { font-family: Arial, Helvetica, sans-serif; }
187 caption { font-family: Arial, Helvetica, sans-serif; }
191 text-decoration: none;
195 .pagelist thead td u { text-decoration: none; }
196 .pagelist tr.evenrow { background: #eee; }
197 .pagelist tr.oddrow { background: white; }
199 background-color: ThreedLightShadow;
201 font-family: Tahoma, sans-serif, Arial, Helvetica;
204 /*font-style: menu;*/
208 padding: 5px 0px 5px 0px;
211 border-color: ThreedHighlight ThreedDarkShadow ThreedDarkShadow ThreedHighlight;
213 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
214 text-decoration: none;
217 /*font-style: menu;*/
218 font-family: Tahoma, sans-serif, Arial, Helvetica;
219 background-color: ThreedLightShadow;
227 .toolbar, input.button, #signin { font-family: Arial, Helvetica, sans-serif; }
237 .edit-toolbar img, .edit-toolbar input {
238 background-color: #fff;
239 border: 1px solid ButtonFace;
243 padding-right: 4em; /* wrap around logo */
244 padding-bottom: 1ex; /* space for h1 */
247 font-family: Arial, Helvetica, sans-serif;
259 /* Netscape 4 requires this 1px border.
260 Without it, the paper borders below cause
261 the white background to disappear. */
262 border: 1px black solid;
263 /* "paper" borders */
264 border-top: 1px #e8e6df solid;
265 border-left: 1px #e8e6df solid;
266 border-bottom: 1px #d2d2d2 solid;
267 border-right: 1px #b2b2b2 solid;
271 * Edit Page & View Source
274 /* Make the textarea the full page width */
277 margin-bottom: 0.5ex;
292 #toolbar { padding:0px; }
297 .search-context { background: white; font-style: oblique; }
307 background-color: white;
308 border: 1px solid #d0d0d0;
313 background-color: #f08000;
316 background-color: #f0f0f0;
324 background-color: white;
335 list-style-image: none;
338 /* IncludePage plugin */
339 .transclusion-title {
343 text-decoration: underline;
344 margin-bottom: 0.25ex;
345 margin-right: 0.25em;
347 .transclusion, .wiki-edithelp {
351 border: 1px solid gray;
353 padding-right: 0.8em;
357 margin-right: 0.25em;
358 margin-bottom: 0.1ex;
362 border: medium solid #fff8dc; /* darker ivory */
364 padding-right: 0.5em;
366 padding-bottom: 0.75ex;
372 .wiki-edithelp .wiki {
376 font-family: Arial, Helvetica, sans-serif;
378 padding-right: 0.5em;
380 padding-bottom: 0.5ex;
389 border: 1px outset gray;
403 /* Month-name header */
404 table.cal-header { font-size: larger; }
405 table.cal-header tr, table.cal-header td { text-align: center; }
408 text-decoration: none;
411 /* Day-names header */
412 table.cal tbody tr .cal-dayname { }
416 text-decoration: underline;
419 /* Individual days */
420 a.cal-hide { text-decoration: none; }
424 table.cal td.cal-today {
426 border: 1px solid gray;
429 table.cal td.cal-today a.cal-hide { }
437 margin-bottom: 0.5ex;
439 /* Netscape 4 requires this 1px border.
440 Without it, the paper borders below cause
441 the white background to disappear. */
442 border: 1px #ccc solid;
444 border-top: 1px solid #494f5d;
445 border-left: 1px solid #494f5d;
446 border-bottom: 1px solid #c6d2de;
447 border-right: 1px solid #c6d2de;
450 padding-left: .125em;
451 padding-right: .125em;
453 /* "paper" borders */
454 /*border-top: 2px #d2d2d2 solid;
455 border-left: 2px #b2b2b2 solid;
456 border-bottom: 2px #e8e6df solid;
457 border-right: 2px #e8e6df solid;*/
458 /* padding-left: 0em;
459 padding-bottom: 0ex;*/
460 /* border-style: inset;*/
461 /*This breaks Netscape 4: (display does not go full width).
464 /* I'm not sure what the intent of this was, but it's
466 /* display: editarea; */
476 /* individual blocks */
482 /* entire difftextblock */
487 /* Netscape 4 requires this 1px border.
488 Without it, the paper borders below cause
489 the white background to disappear. */
490 border: 1px black solid;
491 /* "paper" borders */
492 border-top: 1px #e8e6df solid;
493 border-left: 1px #e8e6df solid;
494 border-bottom: 1px #d2d2d2 solid;
495 border-right: 1px #b2b2b2 solid;
500 /*This breaks Netscape 4: (display does not go full width).
505 /* + - line prefix */
508 font-family: monospace;
515 .diff del, .diff ins {
517 text-decoration: none;
520 /* blocks containing deleted or added words */
521 .diff .original, .diff .deleted,
522 .diff .final, .diff .added {
525 /* blocks containing deleted words */
526 .diff .original, .diff .deleted {
531 /* blocks containing added words */
532 .diff .final, .diff .added {
538 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
540 .diff del { background: #f99; }
542 .diff ins { background: #9f9; }
548 td.pageinfo { font-weight: bold; }
549 .pageinfo-minoredit, .pageinfo-authorid {
558 .printer, .no-css { display: none; }
567 padding-right: 0.8em;
570 border: medium solid red;
577 text-decoration: underline;
585 padding-right: 0.8em;
588 border: thin solid blue;
591 .error { font-family: monospace; font-size: 120%; }
592 .error ul { font-family: monospace; }
598 font-family: monospace;
601 padding: 0.5ex 0.5em;
602 border: medium solid #fff8dc; /* darker ivory */
609 /* font-size: smaller; */
612 padding: 0.5ex 0.5em;
613 border: thin solid #aaaaaa;
619 /* Disabled Plugins */
626 .disabled-plugin .title {
628 background-color: inherit;
633 .disabled-plugin pre {
637 padding: 0.3ex 0.5em;
640 /* "(Redirected from ...)" message. */
650 * Vertical margins around block elements.
653 p { margin: 1em 0; } /* Normal ("loose") paragraphs */
654 li p, dd p, td p { margin: 1ex 0; } /* Paragraphs within lists are a little tighter. */
656 /* ul, ol, dl { margin: 0.2ex 0; } /* A little room around lists. */
657 /* li ul, li ol, li dl,
658 dd ul, dd ol, dd dl { margin: 0 0; } /* but not around sub-lists. */
660 /* Normal ("loose") list elements */
661 li.tightenable { margin: 1em 0; }
662 dt.tightenable { margin-top: 1em; }
663 dd.tightenable { margin-bottom: 1.5ex; }
671 li li.tightenable.top {
674 li.tightenable.bottom,
675 dd.tightenable.bottom {
676 margin-bottom: 0.2ex;
678 li li.tightenable.bottom {
685 .tightenable.bottom {
693 border-collapse: collapse;
694 border: 2px #444 solid;
697 border-top: 2px #444 solid;
698 border-bottom: 2px #444 solid;
702 .wiki-dl-table tr.tightenable.top {
703 border-top: 1px #444 solid;
705 .wiki-dl-table tr.tightenable.bottom {
706 border-bottom: 1px #444 solid;
710 padding: 0.25em 0.5em;
715 border-right: 1px #444 solid;
725 * "E-mail" style blockquote
727 blockquote.mail-style-quote {
728 border-left: medium #284 solid;
733 .mail-style-quote blockquote.mail-style-quote {
741 .floatleft { float: left; }
742 .floatright { float: right; }
745 /* border: thin black solid; */
751 padding: 0.5ex 0.5em;
753 div.wikiblog-header {
754 /* background-color: #ccf; */
756 div.wikiblog > div.wikiblog-footer {
757 /* background-color: #eee; */
758 padding: 0.2ex 0.5em;
760 h3.wikiblog-summary {
766 div.wikiblog.wikiblog-form {
767 /* background-color: #eee; */
770 table.wikiblog-form {
772 border-collapse: collapse;
775 .wikiblog-form caption {
776 /* background-color: #ccf; */
780 padding: 0.5ex 0.5em;
785 padding: 0 0 0.3em 0.5em;
788 padding: 0.25em 0.5em;
790 .wikiblog-form td.submit-button {
793 .wikiblog-form input[type=text],
794 .wikiblog-form textarea {
798 div.wikicomment div.wikicomment-footer {
799 padding: 0.2ex 0.5em;
801 div.wikicomment div.wikicomment-footer named-wiki {
804 table.interwiki-map {
808 text-decoration: underline;
812 .interwiki-map td.interwiki-url {
815 .interwiki-map th.interwiki-url {
820 background-color: #cdf;
822 margin: 2em auto 2em auto;
823 border: thin black solid;
826 .dialog h1, .dialog p, .dialog div {
831 margin: 0.5em 0 1em 0;
833 .dialog div.message {
834 background-color: white;
838 padding: 0.5em 0.5em;
841 margin: 1em 0 0.5em 0;
851 .gensmall{font-size:10px}
852 .genmed{font-size:11px}
853 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
854 /* Main table cell colours and backgrounds */
855 td.row1{background:#eaedf4;color:#000000}
856 td.row2{background:#d9e2ec;color:#000000}
857 td.row3{background:#cad9ea;color:#000000}
858 td.spacerow{background:#cad9ea;color:#000000}
860 /* This is the outline round the main forum tables */
861 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
864 .box { background:#ffffff; border: 1px solid silver }
865 .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;}
866 .box-data { width: 160px; font-size: 9pt; font-weight: normal; border: none; }
867 .box-data .wiki { font-weight: normal; }
868 td.sidebar { border-spacing: 0px; margin: 0ex;}
870 /* plugin BoxRight */
876 border: thin solid #888888;
881 div.rss { margin: 1em; padding: 1em; font-size: 0.9em; background-color: #eeeeee; border: thin dashed #aaa; }
882 div.feed { color: #333; margin: -0.5em; margin-bottom: 0em; padding: 0.3em; font-weight: bold; background-color: #f2f2f2; font-size: 1.2em; }
883 div.itemdesc { padding-left: 1em; }
884 div.rssitem { border-top: thin dashed #aaa; }
888 border: 1px outset gray;
893 .sqlresult tr.evenrow { background: #eee; }
894 .sqlresult tr.oddrow { background: white; }
897 border: 1px solid gray;
905 vertical-align: middle;
924 span.wikiwyg_control_link a {
930 border: 1px solid #D3D3D3;
934 vertical-align: bottom;
937 .wikiwyg_button:hover {
941 .wikiwyg_button:active {
947 border: 1px solid #D3D3D3;
950 vertical-align: bottom;
957 .wikiwyg_wysiwyg table {
958 border-collapse: collapse;
962 .wikiwyg_wysiwyg table td {
975 * c-file-style: cc-mode