2 * $Id: phpwiki.css,v 1.16 2004-02-26 01:34:35 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;
117 a.wikiaction, a.wikiadmin, a.wiki-rc-action, a.wikiunsafe,
118 input.wikiaction, input.button, input.wikiadmin {
119 text-decoration: none;
120 font-family: Arial, Helvetica, sans-serif;
121 /* don't wrap text buttons */
123 /*font-size: inherit; */
126 a.wikiaction, input.wikiaction, input.button { background-color: #ddd; }
128 .wikiunsafe { background-color: #fcc; }
130 a.wikiadmin, input.wikiadmin { background-color: #fdd; }
133 .wikiunknown, .named-wikiunknown {
137 /* QuestionMark #600 */
138 .wikiunknown a, .named-wikiunknown a {
140 background-color: #eee;
141 text-decoration: none;
148 text-decoration: underline;
151 h1 .backlinks { text-decoration: underline; }
153 /* Interwiki links */
154 .wikipage { font-weight: bold; }
155 .interwiki { text-decoration: none; }
156 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
157 .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; }
163 h1, h2, h3, h4, h5, h6 { font-family: Arial, Helvetica, sans-serif; }
171 table, td { font-family: Arial, Helvetica, sans-serif; }
172 caption { font-family: Arial, Helvetica, sans-serif; }
175 .pagelist thead, .pagelist thead u { }
176 .pagelist tr.evenrow { background: #eee; }
177 .pagelist tr.oddrow { background: white; }
183 .toolbar, input.button, #signin { font-family: Arial, Helvetica, sans-serif; }
190 padding-right: 4em; /* wrap around logo */
191 padding-bottom: 1ex; /* space for h1 */
194 font-family: Arial, Helvetica, sans-serif;
200 /* Netscape 4 requires this 1px border.
201 Without it, the paper borders below cause
202 the white background to disappear. */
203 border: 1px black solid;
204 /* "paper" borders */
205 border-top: 1px #e8e6df solid;
206 border-left: 1px #e8e6df solid;
207 border-bottom: 1px #d2d2d2 solid;
208 border-right: 1px #b2b2b2 solid;
212 * Edit Page & View Source
215 /* Make the textarea the full page width */
218 margin-bottom: 0.5ex;
229 /* IncludePage plugin */
230 .transclusion-title {
234 text-decoration: underline;
235 margin-bottom: 0.25ex;
236 margin-right: 0.25em;
238 .transclusion, .wiki-edithelp {
242 border: 1px solid gray;
244 padding-right: 0.8em;
248 margin-right: 0.25em;
249 margin-bottom: 0.1ex;
253 border: medium solid #fff8dc; /* darker ivory */
255 padding-right: 0.5em;
257 padding-bottom: 0.75ex;
263 .wiki-edithelp .wiki {
267 font-family: Arial, Helvetica, sans-serif;
269 padding-right: 0.5em;
271 padding-bottom: 0.5ex;
280 border: 1px outset gray;
294 /* Month-name header */
295 table.cal-header { font-size: larger; }
296 table.cal-header tr, table.cal-header td { text-align: center; }
299 text-decoration: none;
302 /* Day-names header */
303 table.cal tbody tr .cal-dayname { }
307 text-decoration: underline;
310 /* Individual days */
311 a.cal-hide { text-decoration: none; }
315 table.cal td.cal-today {
317 border: 1px solid gray;
320 table.cal td.cal-today a.cal-hide { }
328 margin-bottom: 0.5ex;
330 /* Netscape 4 requires this 1px border.
331 Without it, the paper borders below cause
332 the white background to disappear. */
333 border: 1px #ccc solid;
335 border-top: 1px solid #494f5d;
336 border-left: 1px solid #494f5d;
337 border-bottom: 1px solid #c6d2de;
338 border-right: 1px solid #c6d2de;
341 padding-left: .125em;
342 padding-right: .125em;
344 /* "paper" borders */
345 /*border-top: 2px #d2d2d2 solid;
346 border-left: 2px #b2b2b2 solid;
347 border-bottom: 2px #e8e6df solid;
348 border-right: 2px #e8e6df solid;*/
349 /* padding-left: 0em;
350 padding-bottom: 0ex;*/
351 /* border-style: inset;*/
352 /*This breaks Netscape 4: (display does not go full width).
355 /* I'm not sure what the intent of this was, but it's
357 /* display: editarea; */
367 /* individual blocks */
373 /* entire difftextblock */
378 /* Netscape 4 requires this 1px border.
379 Without it, the paper borders below cause
380 the white background to disappear. */
381 border: 1px black solid;
382 /* "paper" borders */
383 border-top: 1px #e8e6df solid;
384 border-left: 1px #e8e6df solid;
385 border-bottom: 1px #d2d2d2 solid;
386 border-right: 1px #b2b2b2 solid;
391 /*This breaks Netscape 4: (display does not go full width).
396 /* + - line prefix */
399 font-family: monospace;
406 .diff del, .diff ins {
408 text-decoration: none;
411 /* blocks containing deleted or added words */
412 .diff .original, .diff .deleted,
413 .diff .final, .diff .added {
416 /* blocks containing deleted words */
417 .diff .original, .diff .deleted {
422 /* blocks containing added words */
423 .diff .final, .diff .added {
429 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
431 .diff del { background: #f99; }
433 .diff ins { background: #9f9; }
439 td.pageinfo { font-weight: bold; }
440 .pageinfo-minoredit, .pageinfo-authorid {
449 .printer, .no-css { display: none; }
458 padding-right: 0.8em;
461 border: medium solid red;
468 text-decoration: underline;
470 .error { font-family: monospace; font-size: 120%; }
471 .error ul { font-family: monospace; }
477 font-family: monospace;
480 padding: 0.5ex 0.5em;
481 border: medium solid #fff8dc; /* darker ivory */
490 padding: 0.5ex 0.5em;
491 border: thin solid #aaaaaa;
494 /* Disabled Plugins */
501 .disabled-plugin .title {
503 background-color: inherit;
508 .disabled-plugin pre {
512 padding: 0.3ex 0.5em;
515 /* "(Redirected from ...)" message. */
525 * Vertical margins around block elements.
528 p { margin: 1em 0; } /* Normal ("loose") paragraphs */
529 li p, dd p, td p { margin: 1ex 0; } /* Paragraphs within lists are a little tighter. */
531 /* ul, ol, dl { margin: 0.2ex 0; } /* A little room around lists. */
532 /* li ul, li ol, li dl,
533 dd ul, dd ol, dd dl { margin: 0 0; } /* but not around sub-lists. */
535 /* Normal ("loose") list elements */
536 li.tightenable { margin: 1em 0; }
537 dt.tightenable { margin-top: 1em; }
538 dd.tightenable { margin-bottom: 1.5ex; }
546 li li.tightenable.top {
549 li.tightenable.bottom,
550 dd.tightenable.bottom {
551 margin-bottom: 0.2ex;
553 li li.tightenable.bottom {
560 .tightenable.bottom {
568 border-collapse: collapse;
569 border: 2px #444 solid;
572 border-top: 2px #444 solid;
573 border-bottom: 2px #444 solid;
577 .wiki-dl-table tr.tightenable.top {
578 border-top: 1px #444 solid;
580 .wiki-dl-table tr.tightenable.bottom {
581 border-bottom: 1px #444 solid;
585 padding: 0.25em 0.5em;
590 border-right: 1px #444 solid;
600 * "E-mail" style blockquote
602 blockquote.mail-style-quote {
603 border-left: medium #284 solid;
608 .mail-style-quote blockquote.mail-style-quote {
616 .floatleft { float: left; }
617 .floatright { float: right; }
620 border: thin black solid;
626 padding: 0.5ex 0.5em;
628 div.wikiblog-header {
629 background-color: #ccf;
631 div.wikiblog > div.wikiblog-footer {
632 background-color: #eee;
633 padding: 0.2ex 0.5em;
635 h3.wikiblog-summary {
641 div.wikiblog.wikiblog-form {
642 background-color: #eee;
645 table.wikiblog-form {
647 border-collapse: collapse;
650 .wikiblog-form caption {
651 background-color: #ccf;
655 padding: 0.5ex 0.5em;
660 padding: 0 0 0.3em 0.5em;
663 padding: 0.25em 0.5em;
665 .wikiblog-form td.submit-button {
668 .wikiblog-form input[type=text],
669 .wikiblog-form textarea {
674 table.interwiki-map {
678 text-decoration: underline;
682 .interwiki-map td.interwiki-url {
685 .interwiki-map th.interwiki-url {
690 background-color: #cdf;
692 margin: 2em auto 2em auto;
693 border: thin black solid;
696 .dialog h1, .dialog p, .dialog div {
701 margin: 0.5em 0 1em 0;
703 .dialog div.message {
704 background-color: white;
708 padding: 0.5em 0.5em;
711 margin: 1em 0 0.5em 0;
720 background-color: threedlightshadow;
726 border: thin black solid;
728 a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
729 text-decoration: none;
732 background-color: threedlightshadow;
737 .gensmall{font-size:10px}
738 .genmed{font-size:11px}
739 td.cat{font-weight:bold;letter-spacing:1px;color:#000000;background: url(./images/cellpic1.png);height:27px}
741 /* Main table cell colours and backgrounds */
742 td.row1{background:#eaedf4;color:#000000}
743 td.row2{background:#d9e2ec;color:#000000}
744 td.row3{background:#cad9ea;color:#000000}
745 td.spacerow{background:#cad9ea;color:#000000}
746 /* This is the outline round the main forum tables */
747 .forumline{background:#ffffff;color:#000000;border:1px solid #006699}
753 * c-file-style: cc-mode