2 * $Id: phpwiki.css,v 1.17 2004-02-26 21:09:46 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).
85 /* Mozilla RecentChanges Sidebar */
90 body.sidebar div.wikitext {
93 body.sidebar div.wikitext ul { padding-left: 1em; }
94 body.sidebar h2 { margin-top: 0; }
100 * The div inside the wikiadmin upload form does not
101 * have a class yet, so it must be referenced indirectly
103 div.wikiaction { background-color: #eee; }
104 /* div.wikiadmin { background-color: #fee; } */
105 form.wikiadmin div { background-color: #fee; }
112 text-decoration: none;
114 /* font-weight: bold; */
118 a.wikiaction, a.wikiadmin, a.wiki-rc-action, a.wikiunsafe,
119 input.wikiaction, input.button, input.wikiadmin {
120 text-decoration: none;
121 font-family: Arial, Helvetica, sans-serif;
122 /* don't wrap text buttons */
124 /*font-size: inherit; */
127 a.wikiaction, input.wikiaction, input.button { background-color: #ddd; }
129 .wikiunsafe { background-color: #fcc; }
131 a.wikiadmin, input.wikiadmin { background-color: #fdd; }
134 .wikiunknown, .named-wikiunknown {
138 /* QuestionMark #600 */
139 .wikiunknown a, .named-wikiunknown a {
141 background-color: #eee;
142 text-decoration: none;
149 text-decoration: underline;
152 h1 .backlinks { text-decoration: underline; }
154 /* Interwiki links */
155 /* .wikipage { font-weight: bold; } */
156 .wikipage { font-weight: normal; }
157 .interwiki { text-decoration: none; }
158 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
159 .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; }
165 h1, h2, h3, h4, h5, h6 { font-family: Arial, Helvetica, sans-serif; }
167 h1 { margin: 0; font-size: 140% }
173 table, td { font-family: Arial, Helvetica, sans-serif; }
174 caption { font-family: Arial, Helvetica, sans-serif; }
177 .pagelist thead, .pagelist thead u { }
178 .pagelist tr.evenrow { background: #eee; }
179 .pagelist tr.oddrow { background: white; }
185 .toolbar, input.button, #signin { font-family: Arial, Helvetica, sans-serif; }
192 padding-right: 4em; /* wrap around logo */
193 padding-bottom: 1ex; /* space for h1 */
196 font-family: Arial, Helvetica, sans-serif;
202 /* Netscape 4 requires this 1px border.
203 Without it, the paper borders below cause
204 the white background to disappear. */
205 border: 1px black solid;
206 /* "paper" borders */
207 border-top: 1px #e8e6df solid;
208 border-left: 1px #e8e6df solid;
209 border-bottom: 1px #d2d2d2 solid;
210 border-right: 1px #b2b2b2 solid;
214 * Edit Page & View Source
217 /* Make the textarea the full page width */
220 margin-bottom: 0.5ex;
231 /* IncludePage plugin */
232 .transclusion-title {
236 text-decoration: underline;
237 margin-bottom: 0.25ex;
238 margin-right: 0.25em;
240 .transclusion, .wiki-edithelp {
244 border: 1px solid gray;
246 padding-right: 0.8em;
250 margin-right: 0.25em;
251 margin-bottom: 0.1ex;
255 border: medium solid #fff8dc; /* darker ivory */
257 padding-right: 0.5em;
259 padding-bottom: 0.75ex;
265 .wiki-edithelp .wiki {
269 font-family: Arial, Helvetica, sans-serif;
271 padding-right: 0.5em;
273 padding-bottom: 0.5ex;
282 border: 1px outset gray;
296 /* Month-name header */
297 table.cal-header { font-size: larger; }
298 table.cal-header tr, table.cal-header td { text-align: center; }
301 text-decoration: none;
304 /* Day-names header */
305 table.cal tbody tr .cal-dayname { }
309 text-decoration: underline;
312 /* Individual days */
313 a.cal-hide { text-decoration: none; }
317 table.cal td.cal-today {
319 border: 1px solid gray;
322 table.cal td.cal-today a.cal-hide { }
330 margin-bottom: 0.5ex;
332 /* Netscape 4 requires this 1px border.
333 Without it, the paper borders below cause
334 the white background to disappear. */
335 border: 1px #ccc solid;
337 border-top: 1px solid #494f5d;
338 border-left: 1px solid #494f5d;
339 border-bottom: 1px solid #c6d2de;
340 border-right: 1px solid #c6d2de;
343 padding-left: .125em;
344 padding-right: .125em;
346 /* "paper" borders */
347 /*border-top: 2px #d2d2d2 solid;
348 border-left: 2px #b2b2b2 solid;
349 border-bottom: 2px #e8e6df solid;
350 border-right: 2px #e8e6df solid;*/
351 /* padding-left: 0em;
352 padding-bottom: 0ex;*/
353 /* border-style: inset;*/
354 /*This breaks Netscape 4: (display does not go full width).
357 /* I'm not sure what the intent of this was, but it's
359 /* display: editarea; */
369 /* individual blocks */
375 /* entire difftextblock */
380 /* Netscape 4 requires this 1px border.
381 Without it, the paper borders below cause
382 the white background to disappear. */
383 border: 1px black solid;
384 /* "paper" borders */
385 border-top: 1px #e8e6df solid;
386 border-left: 1px #e8e6df solid;
387 border-bottom: 1px #d2d2d2 solid;
388 border-right: 1px #b2b2b2 solid;
393 /*This breaks Netscape 4: (display does not go full width).
398 /* + - line prefix */
401 font-family: monospace;
408 .diff del, .diff ins {
410 text-decoration: none;
413 /* blocks containing deleted or added words */
414 .diff .original, .diff .deleted,
415 .diff .final, .diff .added {
418 /* blocks containing deleted words */
419 .diff .original, .diff .deleted {
424 /* blocks containing added words */
425 .diff .final, .diff .added {
431 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
433 .diff del { background: #f99; }
435 .diff ins { background: #9f9; }
441 td.pageinfo { font-weight: bold; }
442 .pageinfo-minoredit, .pageinfo-authorid {
451 .printer, .no-css { display: none; }
460 padding-right: 0.8em;
463 border: medium solid red;
470 text-decoration: underline;
472 .error { font-family: monospace; font-size: 120%; }
473 .error ul { font-family: monospace; }
479 font-family: monospace;
482 padding: 0.5ex 0.5em;
483 border: medium solid #fff8dc; /* darker ivory */
492 padding: 0.5ex 0.5em;
493 border: thin solid #aaaaaa;
496 /* Disabled Plugins */
503 .disabled-plugin .title {
505 background-color: inherit;
510 .disabled-plugin pre {
514 padding: 0.3ex 0.5em;
517 /* "(Redirected from ...)" message. */
527 * Vertical margins around block elements.
530 p { margin: 1em 0; } /* Normal ("loose") paragraphs */
531 li p, dd p, td p { margin: 1ex 0; } /* Paragraphs within lists are a little tighter. */
533 /* ul, ol, dl { margin: 0.2ex 0; } /* A little room around lists. */
534 /* li ul, li ol, li dl,
535 dd ul, dd ol, dd dl { margin: 0 0; } /* but not around sub-lists. */
537 /* Normal ("loose") list elements */
538 li.tightenable { margin: 1em 0; }
539 dt.tightenable { margin-top: 1em; }
540 dd.tightenable { margin-bottom: 1.5ex; }
548 li li.tightenable.top {
551 li.tightenable.bottom,
552 dd.tightenable.bottom {
553 margin-bottom: 0.2ex;
555 li li.tightenable.bottom {
562 .tightenable.bottom {
570 border-collapse: collapse;
571 border: 2px #444 solid;
574 border-top: 2px #444 solid;
575 border-bottom: 2px #444 solid;
579 .wiki-dl-table tr.tightenable.top {
580 border-top: 1px #444 solid;
582 .wiki-dl-table tr.tightenable.bottom {
583 border-bottom: 1px #444 solid;
587 padding: 0.25em 0.5em;
592 border-right: 1px #444 solid;
602 * "E-mail" style blockquote
604 blockquote.mail-style-quote {
605 border-left: medium #284 solid;
610 .mail-style-quote blockquote.mail-style-quote {
618 .floatleft { float: left; }
619 .floatright { float: right; }
622 border: thin black solid;
628 padding: 0.5ex 0.5em;
630 div.wikiblog-header {
631 background-color: #ccf;
633 div.wikiblog > div.wikiblog-footer {
634 background-color: #eee;
635 padding: 0.2ex 0.5em;
637 h3.wikiblog-summary {
643 div.wikiblog.wikiblog-form {
644 background-color: #eee;
647 table.wikiblog-form {
649 border-collapse: collapse;
652 .wikiblog-form caption {
653 background-color: #ccf;
657 padding: 0.5ex 0.5em;
662 padding: 0 0 0.3em 0.5em;
665 padding: 0.25em 0.5em;
667 .wikiblog-form td.submit-button {
670 .wikiblog-form input[type=text],
671 .wikiblog-form textarea {
676 table.interwiki-map {
680 text-decoration: underline;
684 .interwiki-map td.interwiki-url {
687 .interwiki-map th.interwiki-url {
692 background-color: #cdf;
694 margin: 2em auto 2em auto;
695 border: thin black solid;
698 .dialog h1, .dialog p, .dialog div {
703 margin: 0.5em 0 1em 0;
705 .dialog div.message {
706 background-color: white;
710 padding: 0.5em 0.5em;
713 margin: 1em 0 0.5em 0;
722 background-color: threedlightshadow;
728 border: thin black solid;
730 a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
731 text-decoration: none;
734 background-color: threedlightshadow;
739 .gensmall{font-size:10px}
740 .genmed{font-size:11px}
741 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
743 /* Main table cell colours and backgrounds */
744 td.row1{background:#eaedf4;color:#000000}
745 td.row2{background:#d9e2ec;color:#000000}
746 td.row3{background:#cad9ea;color:#000000}
747 td.spacerow{background:#cad9ea;color:#000000}
748 /* This is the outline round the main forum tables */
749 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
755 * c-file-style: cc-mode