2 * $Id: phpwiki.css,v 1.47 2005-02-11 14:49:29 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;
242 /* Netscape 4 requires this 1px border.
243 Without it, the paper borders below cause
244 the white background to disappear. */
245 border: 1px black solid;
246 /* "paper" borders */
247 border-top: 1px #e8e6df solid;
248 border-left: 1px #e8e6df solid;
249 border-bottom: 1px #d2d2d2 solid;
250 border-right: 1px #b2b2b2 solid;
254 * Edit Page & View Source
257 /* Make the textarea the full page width */
260 margin-bottom: 0.5ex;
275 #toolbar { padding:0px; }
280 .search-context { background: white; }
290 background-color: white;
291 border: 1px solid #d0d0d0;
296 background-color: #f08000;
299 background-color: #f0f0f0;
307 background-color: white;
318 list-style-image: none;
321 /* IncludePage plugin */
322 .transclusion-title {
326 text-decoration: underline;
327 margin-bottom: 0.25ex;
328 margin-right: 0.25em;
330 .transclusion, .wiki-edithelp {
334 border: 1px solid gray;
336 padding-right: 0.8em;
340 margin-right: 0.25em;
341 margin-bottom: 0.1ex;
345 border: medium solid #fff8dc; /* darker ivory */
347 padding-right: 0.5em;
349 padding-bottom: 0.75ex;
355 .wiki-edithelp .wiki {
359 font-family: Arial, Helvetica, sans-serif;
361 padding-right: 0.5em;
363 padding-bottom: 0.5ex;
372 border: 1px outset gray;
386 /* Month-name header */
387 table.cal-header { font-size: larger; }
388 table.cal-header tr, table.cal-header td { text-align: center; }
391 text-decoration: none;
394 /* Day-names header */
395 table.cal tbody tr .cal-dayname { }
399 text-decoration: underline;
402 /* Individual days */
403 a.cal-hide { text-decoration: none; }
407 table.cal td.cal-today {
409 border: 1px solid gray;
412 table.cal td.cal-today a.cal-hide { }
420 margin-bottom: 0.5ex;
422 /* Netscape 4 requires this 1px border.
423 Without it, the paper borders below cause
424 the white background to disappear. */
425 border: 1px #ccc solid;
427 border-top: 1px solid #494f5d;
428 border-left: 1px solid #494f5d;
429 border-bottom: 1px solid #c6d2de;
430 border-right: 1px solid #c6d2de;
433 padding-left: .125em;
434 padding-right: .125em;
436 /* "paper" borders */
437 /*border-top: 2px #d2d2d2 solid;
438 border-left: 2px #b2b2b2 solid;
439 border-bottom: 2px #e8e6df solid;
440 border-right: 2px #e8e6df solid;*/
441 /* padding-left: 0em;
442 padding-bottom: 0ex;*/
443 /* border-style: inset;*/
444 /*This breaks Netscape 4: (display does not go full width).
447 /* I'm not sure what the intent of this was, but it's
449 /* display: editarea; */
459 /* individual blocks */
465 /* entire difftextblock */
470 /* Netscape 4 requires this 1px border.
471 Without it, the paper borders below cause
472 the white background to disappear. */
473 border: 1px black solid;
474 /* "paper" borders */
475 border-top: 1px #e8e6df solid;
476 border-left: 1px #e8e6df solid;
477 border-bottom: 1px #d2d2d2 solid;
478 border-right: 1px #b2b2b2 solid;
483 /*This breaks Netscape 4: (display does not go full width).
488 /* + - line prefix */
491 font-family: monospace;
498 .diff del, .diff ins {
500 text-decoration: none;
503 /* blocks containing deleted or added words */
504 .diff .original, .diff .deleted,
505 .diff .final, .diff .added {
508 /* blocks containing deleted words */
509 .diff .original, .diff .deleted {
514 /* blocks containing added words */
515 .diff .final, .diff .added {
521 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
523 .diff del { background: #f99; }
525 .diff ins { background: #9f9; }
531 td.pageinfo { font-weight: bold; }
532 .pageinfo-minoredit, .pageinfo-authorid {
541 .printer, .no-css { display: none; }
550 padding-right: 0.8em;
553 border: medium solid red;
560 text-decoration: underline;
562 .error { font-family: monospace; font-size: 120%; }
563 .error ul { font-family: monospace; }
569 font-family: monospace;
572 padding: 0.5ex 0.5em;
573 border: medium solid #fff8dc; /* darker ivory */
580 /* font-size: smaller; */
583 padding: 0.5ex 0.5em;
584 border: thin solid #aaaaaa;
590 /* Disabled Plugins */
597 .disabled-plugin .title {
599 background-color: inherit;
604 .disabled-plugin pre {
608 padding: 0.3ex 0.5em;
611 /* "(Redirected from ...)" message. */
621 * Vertical margins around block elements.
624 p { margin: 1em 0; } /* Normal ("loose") paragraphs */
625 li p, dd p, td p { margin: 1ex 0; } /* Paragraphs within lists are a little tighter. */
627 /* ul, ol, dl { margin: 0.2ex 0; } /* A little room around lists. */
628 /* li ul, li ol, li dl,
629 dd ul, dd ol, dd dl { margin: 0 0; } /* but not around sub-lists. */
631 /* Normal ("loose") list elements */
632 li.tightenable { margin: 1em 0; }
633 dt.tightenable { margin-top: 1em; }
634 dd.tightenable { margin-bottom: 1.5ex; }
642 li li.tightenable.top {
645 li.tightenable.bottom,
646 dd.tightenable.bottom {
647 margin-bottom: 0.2ex;
649 li li.tightenable.bottom {
656 .tightenable.bottom {
664 border-collapse: collapse;
665 border: 2px #444 solid;
668 border-top: 2px #444 solid;
669 border-bottom: 2px #444 solid;
673 .wiki-dl-table tr.tightenable.top {
674 border-top: 1px #444 solid;
676 .wiki-dl-table tr.tightenable.bottom {
677 border-bottom: 1px #444 solid;
681 padding: 0.25em 0.5em;
686 border-right: 1px #444 solid;
696 * "E-mail" style blockquote
698 blockquote.mail-style-quote {
699 border-left: medium #284 solid;
704 .mail-style-quote blockquote.mail-style-quote {
712 .floatleft { float: left; }
713 .floatright { float: right; }
716 /* border: thin black solid; */
722 padding: 0.5ex 0.5em;
724 div.wikiblog-header {
725 /* background-color: #ccf; */
727 div.wikiblog > div.wikiblog-footer {
728 /* background-color: #eee; */
729 padding: 0.2ex 0.5em;
731 h3.wikiblog-summary {
737 div.wikiblog.wikiblog-form {
738 /* background-color: #eee; */
741 table.wikiblog-form {
743 border-collapse: collapse;
746 .wikiblog-form caption {
747 /* background-color: #ccf; */
751 padding: 0.5ex 0.5em;
756 padding: 0 0 0.3em 0.5em;
759 padding: 0.25em 0.5em;
761 .wikiblog-form td.submit-button {
764 .wikiblog-form input[type=text],
765 .wikiblog-form textarea {
769 div.wikicomment div.wikicomment-footer {
770 padding: 0.2ex 0.5em;
772 div.wikicomment div.wikicomment-footer named-wiki {
775 table.interwiki-map {
779 text-decoration: underline;
783 .interwiki-map td.interwiki-url {
786 .interwiki-map th.interwiki-url {
791 background-color: #cdf;
793 margin: 2em auto 2em auto;
794 border: thin black solid;
797 .dialog h1, .dialog p, .dialog div {
802 margin: 0.5em 0 1em 0;
804 .dialog div.message {
805 background-color: white;
809 padding: 0.5em 0.5em;
812 margin: 1em 0 0.5em 0;
822 .gensmall{font-size:10px}
823 .genmed{font-size:11px}
824 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
825 /* Main table cell colours and backgrounds */
826 td.row1{background:#eaedf4;color:#000000}
827 td.row2{background:#d9e2ec;color:#000000}
828 td.row3{background:#cad9ea;color:#000000}
829 td.spacerow{background:#cad9ea;color:#000000}
831 /* This is the outline round the main forum tables */
832 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
835 .box { background:#ffffff; border: 1px solid #888888 }
836 .box-title { font-weight: normal; /*font-size: 11pt; */ background-color: #ccc; color: black; /*font-style: menu;*/ text-align: center; }
837 .box-data { width: 160px; font-size: 9pt; font-weight: normal; }
838 .box-data .wiki { font-weight: normal; }
839 td.sidebar { border-spacing: 0px; margin: 0ex;}
842 div.rss { margin: 1em; padding: 1em; font-size: 0.9em; background-color: #eeeeee; border: thin dashed #aaa; }
843 div.feed { color: #333; margin: -0.5em; margin-bottom: 0em; padding: 0.3em; font-weight: bold; background-color: #f2f2f2; font-size: 1.2em; }
844 div.itemdesc { padding-left: 1em; }
845 div.rssitem { border-top: thin dashed #aaa; }
849 border: 1px outset gray;
854 .sqlresult tr.evenrow { background: #eee; }
855 .sqlresult tr.oddrow { background: white; }
858 border: 1px solid gray;
866 vertical-align: middle;
873 * c-file-style: cc-mode