2 * $Id: phpwiki.css,v 1.6 2003-02-15 03:13:58 dairiki 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);
34 /* Allow the caption to extend to the full page width
35 Mac ie5.1 ignores this*/
44 /* ivory #ffe #fffff0*/
46 font-family: Arial, Helvetica, sans-serif;
50 div.wikitext hr { height: 1px; }
52 div.wikitext pre { font-family: monospace; }
58 /* Main wiki text box */
63 /* Netscape 4 requires this 1px border.
64 Without it, the paper borders below cause
65 the white background to disappear. */
66 border: 1px black solid;
68 border-top: 1px #e8e6df solid;
69 border-left: 1px #e8e6df solid;
70 border-bottom: 1px #d2d2d2 solid;
71 border-right: 1px #b2b2b2 solid;
75 padding-bottom: 0.5ex;
76 /*This breaks Netscape 4: (display does not go full width).
81 .interwiki-map thead td { text-decoration: underline; }
83 /* Mozilla RecentChanges Sidebar */
88 body.sidebar div.wikitext {
91 body.sidebar div.wikitext ul { padding-left: 1em; }
92 body.sidebar h2 { margin-top: 0; }
98 * The div inside the wikiadmin upload form does not
99 * have a class yet, so it must be referenced indirectly
101 div.wikiaction { background-color: #eee; }
102 /* div.wikiadmin { background-color: #fee; } */
103 form.wikiadmin div { background-color: #fee; }
110 text-decoration: none;
115 a.wikiaction, a.wikiadmin, a.wiki-rc-action, a.wikiunsafe {
116 text-decoration: none;
117 font-family: Arial, Helvetica, sans-serif;
118 /* don't wrap text buttons */
122 a.wikiaction, input.wikiaction, input.button { background-color: #ddd; }
124 .wikiunsafe { background-color: #fcc; }
126 a.wikiadmin, input.wikiadmin { background-color: #fdd; }
129 .wikiunknown, .named-wikiunknown {
133 /* QuestionMark #600 */
134 .wikiunknown a, .named-wikiunknown a {
136 background-color: #eee;
137 text-decoration: none;
144 text-decoration: underline;
147 h1 .backlinks { text-decoration: underline; }
149 /* Interwiki links */
150 .wikipage { font-weight: bold; }
151 .interwiki { text-decoration: none; }
152 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
153 .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; }
159 h1, h2, h3, h4, h5, h6 { font-family: Arial, Helvetica, sans-serif; }
167 table, td { font-family: Arial, Helvetica, sans-serif; }
168 caption { font-family: Arial, Helvetica, sans-serif; }
171 .pagelist thead, .pagelist thead u { }
172 .pagelist tr.evenrow { background: #eee; }
173 .pagelist tr.oddrow { background: white; }
179 .toolbar, input.button, #signin { font-family: Arial, Helvetica, sans-serif; }
186 padding-right: 4em; /* wrap around logo */
187 padding-bottom: 1ex; /* space for h1 */
190 font-family: Arial, Helvetica, sans-serif;
196 /* Netscape 4 requires this 1px border.
197 Without it, the paper borders below cause
198 the white background to disappear. */
199 border: 1px black solid;
200 /* "paper" borders */
201 border-top: 1px #e8e6df solid;
202 border-left: 1px #e8e6df solid;
203 border-bottom: 1px #d2d2d2 solid;
204 border-right: 1px #b2b2b2 solid;
208 * Edit Page & View Source
211 /* Make the textarea the full page width */
214 margin-bottom: 0.5ex;
225 /* IncludePage plugin */
226 .transclusion-title {
230 text-decoration: underline;
231 margin-bottom: 0.25ex;
232 margin-right: 0.25em;
234 .transclusion, .wiki-edithelp {
238 border: 1px solid gray;
240 padding-right: 0.8em;
244 margin-right: 0.25em;
245 margin-bottom: 0.1ex;
249 border: medium solid #fff8dc; /* darker ivory */
251 padding-right: 0.5em;
253 padding-bottom: 0.75ex;
259 .wiki-edithelp .wiki {
263 font-family: Arial, Helvetica, sans-serif;
265 padding-right: 0.5em;
267 padding-bottom: 0.5ex;
276 border: 1px outset gray;
290 /* Month-name header */
291 table.cal-header { font-size: larger; }
292 table.cal-header tr, table.cal-header td { text-align: center; }
295 text-decoration: none;
298 /* Day-names header */
299 table.cal tbody tr .cal-dayname { }
303 text-decoration: underline;
306 /* Individual days */
307 a.cal-hide { text-decoration: none; }
311 table.cal td.cal-today {
313 border: 1px solid gray;
316 table.cal td.cal-today a.cal-hide { }
324 margin-bottom: 0.5ex;
326 /* Netscape 4 requires this 1px border.
327 Without it, the paper borders below cause
328 the white background to disappear. */
329 border: 1px #ccc solid;
331 border-top: 1px solid #494f5d;
332 border-left: 1px solid #494f5d;
333 border-bottom: 1px solid #c6d2de;
334 border-right: 1px solid #c6d2de;
337 padding-left: .125em;
338 padding-right: .125em;
340 /* "paper" borders */
341 /*border-top: 2px #d2d2d2 solid;
342 border-left: 2px #b2b2b2 solid;
343 border-bottom: 2px #e8e6df solid;
344 border-right: 2px #e8e6df solid;*/
345 /* padding-left: 0em;
346 padding-bottom: 0ex;*/
347 /* border-style: inset;*/
348 /*This breaks Netscape 4: (display does not go full width).
351 /* I'm not sure what the intent of this was, but it's
353 /* display: editarea; */
363 /* individual blocks */
369 /* entire difftextblock */
374 /* Netscape 4 requires this 1px border.
375 Without it, the paper borders below cause
376 the white background to disappear. */
377 border: 1px black solid;
378 /* "paper" borders */
379 border-top: 1px #e8e6df solid;
380 border-left: 1px #e8e6df solid;
381 border-bottom: 1px #d2d2d2 solid;
382 border-right: 1px #b2b2b2 solid;
387 /*This breaks Netscape 4: (display does not go full width).
392 /* + - line prefix */
395 font-family: monospace;
402 .diff del, .diff ins {
404 text-decoration: none;
407 /* blocks containing deleted or added words */
408 .diff .original, .diff .deleted,
409 .diff .final, .diff .added {
412 /* blocks containing deleted words */
413 .diff .original, .diff .deleted {
418 /* blocks containing added words */
419 .diff .final, .diff .added {
425 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
427 .diff del { background: #f99; }
429 .diff ins { background: #9f9; }
435 td.pageinfo { font-weight: bold; }
436 .pageinfo-minoredit, .pageinfo-authorid {
445 .printer { display: none; }
454 padding-right: 0.8em;
457 border: medium solid red;
464 text-decoration: underline;
466 .error { font-family: monospace; }
467 .error ul { font-family: monospace; }
473 font-family: monospace;
476 padding: 0.5ex 0.5em;
477 border: medium solid #fff8dc; /* darker ivory */
486 padding: 0.5ex 0.5em;
487 border: thin solid #aaaaaa;
495 * c-file-style: cc-mode