2 * $Id: phpwiki.css,v 1.52 2006-08-30 05:26:15 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 /* for the login template */
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; */
126 a.wikiaction, a.wikiadmin, a.wiki-rc-action, a.wikiunsafe,
127 input.wikiaction, input.button, input.wikiadmin {
128 text-decoration: none;
129 font-family: Arial, Helvetica, sans-serif;
130 /* don't wrap text buttons */
132 /*font-size: inherit; */
135 a.wikiaction, a.wikiaction:visited, input.wikiaction, input.button { background-color: #ddd; }
137 .wikiunsafe { background-color: #fcc; }
139 a.wikiadmin, a.wikiadmin:visited, input.wikiadmin { background-color: #fdd; }
142 .wikiunknown, .named-wikiunknown {
146 /* QuestionMark #600 */
147 .wikiunknown a, .named-wikiunknown a {
149 background-color: #eee;
150 text-decoration: none;
157 text-decoration: underline;
160 h1 .backlinks { text-decoration: underline; }
162 /* Interwiki links */
163 /* .wikipage { font-weight: bold; } */
164 .wikipage { font-weight: normal; }
165 .interwiki { text-decoration: none; }
166 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
167 .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; }
173 h1, h2, h3, h4, h5, h6 { font-family: Arial, Helvetica, sans-serif; }
175 h1 { margin: 0; font-size: 140% }
181 table, td { font-family: Arial, Helvetica, sans-serif; }
182 caption { font-family: Arial, Helvetica, sans-serif; }
186 text-decoration: none;
190 .pagelist thead td u { text-decoration: none; }
191 .pagelist tr.evenrow { background: #eee; }
192 .pagelist tr.oddrow { background: white; }
194 background-color: ThreedLightShadow;
196 font-family: Tahoma, sans-serif, Arial, Helvetica;
199 /*font-style: menu;*/
203 padding: 5px 0px 5px 0px;
206 border-color: ThreedHighlight ThreedDarkShadow ThreedDarkShadow ThreedHighlight;
208 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
209 text-decoration: none;
212 /*font-style: menu;*/
213 font-family: Tahoma, sans-serif, Arial, Helvetica;
214 background-color: ThreedLightShadow;
222 .toolbar, input.button, #signin { font-family: Arial, Helvetica, sans-serif; }
232 .edit-toolbar img, .edit-toolbar input {
233 background-color: #fff;
234 border: 1px solid ButtonFace;
238 padding-right: 4em; /* wrap around logo */
239 padding-bottom: 1ex; /* space for h1 */
242 font-family: Arial, Helvetica, sans-serif;
254 /* Netscape 4 requires this 1px border.
255 Without it, the paper borders below cause
256 the white background to disappear. */
257 border: 1px black solid;
258 /* "paper" borders */
259 border-top: 1px #e8e6df solid;
260 border-left: 1px #e8e6df solid;
261 border-bottom: 1px #d2d2d2 solid;
262 border-right: 1px #b2b2b2 solid;
266 * Edit Page & View Source
269 /* Make the textarea the full page width */
272 margin-bottom: 0.5ex;
287 #toolbar { padding:0px; }
292 .search-context { background: white; }
302 background-color: white;
303 border: 1px solid #d0d0d0;
308 background-color: #f08000;
311 background-color: #f0f0f0;
319 background-color: white;
330 list-style-image: none;
333 /* IncludePage plugin */
334 .transclusion-title {
338 text-decoration: underline;
339 margin-bottom: 0.25ex;
340 margin-right: 0.25em;
342 .transclusion, .wiki-edithelp {
346 border: 1px solid gray;
348 padding-right: 0.8em;
352 margin-right: 0.25em;
353 margin-bottom: 0.1ex;
357 border: medium solid #fff8dc; /* darker ivory */
359 padding-right: 0.5em;
361 padding-bottom: 0.75ex;
367 .wiki-edithelp .wiki {
371 font-family: Arial, Helvetica, sans-serif;
373 padding-right: 0.5em;
375 padding-bottom: 0.5ex;
384 border: 1px outset gray;
398 /* Month-name header */
399 table.cal-header { font-size: larger; }
400 table.cal-header tr, table.cal-header td { text-align: center; }
403 text-decoration: none;
406 /* Day-names header */
407 table.cal tbody tr .cal-dayname { }
411 text-decoration: underline;
414 /* Individual days */
415 a.cal-hide { text-decoration: none; }
419 table.cal td.cal-today {
421 border: 1px solid gray;
424 table.cal td.cal-today a.cal-hide { }
432 margin-bottom: 0.5ex;
434 /* Netscape 4 requires this 1px border.
435 Without it, the paper borders below cause
436 the white background to disappear. */
437 border: 1px #ccc solid;
439 border-top: 1px solid #494f5d;
440 border-left: 1px solid #494f5d;
441 border-bottom: 1px solid #c6d2de;
442 border-right: 1px solid #c6d2de;
445 padding-left: .125em;
446 padding-right: .125em;
448 /* "paper" borders */
449 /*border-top: 2px #d2d2d2 solid;
450 border-left: 2px #b2b2b2 solid;
451 border-bottom: 2px #e8e6df solid;
452 border-right: 2px #e8e6df solid;*/
453 /* padding-left: 0em;
454 padding-bottom: 0ex;*/
455 /* border-style: inset;*/
456 /*This breaks Netscape 4: (display does not go full width).
459 /* I'm not sure what the intent of this was, but it's
461 /* display: editarea; */
471 /* individual blocks */
477 /* entire difftextblock */
482 /* Netscape 4 requires this 1px border.
483 Without it, the paper borders below cause
484 the white background to disappear. */
485 border: 1px black solid;
486 /* "paper" borders */
487 border-top: 1px #e8e6df solid;
488 border-left: 1px #e8e6df solid;
489 border-bottom: 1px #d2d2d2 solid;
490 border-right: 1px #b2b2b2 solid;
495 /*This breaks Netscape 4: (display does not go full width).
500 /* + - line prefix */
503 font-family: monospace;
510 .diff del, .diff ins {
512 text-decoration: none;
515 /* blocks containing deleted or added words */
516 .diff .original, .diff .deleted,
517 .diff .final, .diff .added {
520 /* blocks containing deleted words */
521 .diff .original, .diff .deleted {
526 /* blocks containing added words */
527 .diff .final, .diff .added {
533 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
535 .diff del { background: #f99; }
537 .diff ins { background: #9f9; }
543 td.pageinfo { font-weight: bold; }
544 .pageinfo-minoredit, .pageinfo-authorid {
553 .printer, .no-css { display: none; }
562 padding-right: 0.8em;
565 border: medium solid red;
572 text-decoration: underline;
580 padding-right: 0.8em;
583 border: thin solid blue;
586 .error { font-family: monospace; font-size: 120%; }
587 .error ul { font-family: monospace; }
593 font-family: monospace;
596 padding: 0.5ex 0.5em;
597 border: medium solid #fff8dc; /* darker ivory */
604 /* font-size: smaller; */
607 padding: 0.5ex 0.5em;
608 border: thin solid #aaaaaa;
614 /* Disabled Plugins */
621 .disabled-plugin .title {
623 background-color: inherit;
628 .disabled-plugin pre {
632 padding: 0.3ex 0.5em;
635 /* "(Redirected from ...)" message. */
645 * Vertical margins around block elements.
648 p { margin: 1em 0; } /* Normal ("loose") paragraphs */
649 li p, dd p, td p { margin: 1ex 0; } /* Paragraphs within lists are a little tighter. */
651 /* ul, ol, dl { margin: 0.2ex 0; } /* A little room around lists. */
652 /* li ul, li ol, li dl,
653 dd ul, dd ol, dd dl { margin: 0 0; } /* but not around sub-lists. */
655 /* Normal ("loose") list elements */
656 li.tightenable { margin: 1em 0; }
657 dt.tightenable { margin-top: 1em; }
658 dd.tightenable { margin-bottom: 1.5ex; }
666 li li.tightenable.top {
669 li.tightenable.bottom,
670 dd.tightenable.bottom {
671 margin-bottom: 0.2ex;
673 li li.tightenable.bottom {
680 .tightenable.bottom {
688 border-collapse: collapse;
689 border: 2px #444 solid;
692 border-top: 2px #444 solid;
693 border-bottom: 2px #444 solid;
697 .wiki-dl-table tr.tightenable.top {
698 border-top: 1px #444 solid;
700 .wiki-dl-table tr.tightenable.bottom {
701 border-bottom: 1px #444 solid;
705 padding: 0.25em 0.5em;
710 border-right: 1px #444 solid;
720 * "E-mail" style blockquote
722 blockquote.mail-style-quote {
723 border-left: medium #284 solid;
728 .mail-style-quote blockquote.mail-style-quote {
736 .floatleft { float: left; }
737 .floatright { float: right; }
740 /* border: thin black solid; */
746 padding: 0.5ex 0.5em;
748 div.wikiblog-header {
749 /* background-color: #ccf; */
751 div.wikiblog > div.wikiblog-footer {
752 /* background-color: #eee; */
753 padding: 0.2ex 0.5em;
755 h3.wikiblog-summary {
761 div.wikiblog.wikiblog-form {
762 /* background-color: #eee; */
765 table.wikiblog-form {
767 border-collapse: collapse;
770 .wikiblog-form caption {
771 /* background-color: #ccf; */
775 padding: 0.5ex 0.5em;
780 padding: 0 0 0.3em 0.5em;
783 padding: 0.25em 0.5em;
785 .wikiblog-form td.submit-button {
788 .wikiblog-form input[type=text],
789 .wikiblog-form textarea {
793 div.wikicomment div.wikicomment-footer {
794 padding: 0.2ex 0.5em;
796 div.wikicomment div.wikicomment-footer named-wiki {
799 table.interwiki-map {
803 text-decoration: underline;
807 .interwiki-map td.interwiki-url {
810 .interwiki-map th.interwiki-url {
815 background-color: #cdf;
817 margin: 2em auto 2em auto;
818 border: thin black solid;
821 .dialog h1, .dialog p, .dialog div {
826 margin: 0.5em 0 1em 0;
828 .dialog div.message {
829 background-color: white;
833 padding: 0.5em 0.5em;
836 margin: 1em 0 0.5em 0;
846 .gensmall{font-size:10px}
847 .genmed{font-size:11px}
848 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
849 /* Main table cell colours and backgrounds */
850 td.row1{background:#eaedf4;color:#000000}
851 td.row2{background:#d9e2ec;color:#000000}
852 td.row3{background:#cad9ea;color:#000000}
853 td.spacerow{background:#cad9ea;color:#000000}
855 /* This is the outline round the main forum tables */
856 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
859 .box { background:#ffffff; border: 1px solid #888888 }
860 .box-title { font-weight: normal; /*font-size: 11pt; */ background-color: #ccc; color: black; /*font-style: menu;*/ text-align: center; }
861 .box-data { width: 160px; font-size: 9pt; font-weight: normal; }
862 .box-data .wiki { font-weight: normal; }
863 td.sidebar { border-spacing: 0px; margin: 0ex;}
866 div.rss { margin: 1em; padding: 1em; font-size: 0.9em; background-color: #eeeeee; border: thin dashed #aaa; }
867 div.feed { color: #333; margin: -0.5em; margin-bottom: 0em; padding: 0.3em; font-weight: bold; background-color: #f2f2f2; font-size: 1.2em; }
868 div.itemdesc { padding-left: 1em; }
869 div.rssitem { border-top: thin dashed #aaa; }
873 border: 1px outset gray;
878 .sqlresult tr.evenrow { background: #eee; }
879 .sqlresult tr.oddrow { background: white; }
882 border: 1px solid gray;
890 vertical-align: middle;
909 span.wikiwyg_control_link a {
915 border: 1px solid #D3D3D3;
919 vertical-align: bottom;
922 .wikiwyg_button:hover {
926 .wikiwyg_button:active {
932 border: 1px solid #D3D3D3;
935 vertical-align: bottom;
942 .wikiwyg_wysiwyg table {
943 border-collapse: collapse;
947 .wikiwyg_wysiwyg table td {
960 * c-file-style: cc-mode