2 * $Id: phpwiki.css,v 1.8 2003-02-17 05:53:35 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 input.wikiaction, input.button {
117 text-decoration: none;
118 font-family: Arial, Helvetica, sans-serif;
119 /* don't wrap text buttons */
123 a.wikiaction, input.wikiaction, input.button { background-color: #ddd; }
125 .wikiunsafe { background-color: #fcc; }
127 a.wikiadmin, input.wikiadmin { background-color: #fdd; }
130 .wikiunknown, .named-wikiunknown {
134 /* QuestionMark #600 */
135 .wikiunknown a, .named-wikiunknown a {
137 background-color: #eee;
138 text-decoration: none;
145 text-decoration: underline;
148 h1 .backlinks { text-decoration: underline; }
150 /* Interwiki links */
151 .wikipage { font-weight: bold; }
152 .interwiki { text-decoration: none; }
153 .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
154 .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; }
160 h1, h2, h3, h4, h5, h6 { font-family: Arial, Helvetica, sans-serif; }
168 table, td { font-family: Arial, Helvetica, sans-serif; }
169 caption { font-family: Arial, Helvetica, sans-serif; }
172 .pagelist thead, .pagelist thead u { }
173 .pagelist tr.evenrow { background: #eee; }
174 .pagelist tr.oddrow { background: white; }
180 .toolbar, input.button, #signin { font-family: Arial, Helvetica, sans-serif; }
187 padding-right: 4em; /* wrap around logo */
188 padding-bottom: 1ex; /* space for h1 */
191 font-family: Arial, Helvetica, sans-serif;
197 /* Netscape 4 requires this 1px border.
198 Without it, the paper borders below cause
199 the white background to disappear. */
200 border: 1px black solid;
201 /* "paper" borders */
202 border-top: 1px #e8e6df solid;
203 border-left: 1px #e8e6df solid;
204 border-bottom: 1px #d2d2d2 solid;
205 border-right: 1px #b2b2b2 solid;
209 * Edit Page & View Source
212 /* Make the textarea the full page width */
215 margin-bottom: 0.5ex;
226 /* IncludePage plugin */
227 .transclusion-title {
231 text-decoration: underline;
232 margin-bottom: 0.25ex;
233 margin-right: 0.25em;
235 .transclusion, .wiki-edithelp {
239 border: 1px solid gray;
241 padding-right: 0.8em;
245 margin-right: 0.25em;
246 margin-bottom: 0.1ex;
250 border: medium solid #fff8dc; /* darker ivory */
252 padding-right: 0.5em;
254 padding-bottom: 0.75ex;
260 .wiki-edithelp .wiki {
264 font-family: Arial, Helvetica, sans-serif;
266 padding-right: 0.5em;
268 padding-bottom: 0.5ex;
277 border: 1px outset gray;
291 /* Month-name header */
292 table.cal-header { font-size: larger; }
293 table.cal-header tr, table.cal-header td { text-align: center; }
296 text-decoration: none;
299 /* Day-names header */
300 table.cal tbody tr .cal-dayname { }
304 text-decoration: underline;
307 /* Individual days */
308 a.cal-hide { text-decoration: none; }
312 table.cal td.cal-today {
314 border: 1px solid gray;
317 table.cal td.cal-today a.cal-hide { }
325 margin-bottom: 0.5ex;
327 /* Netscape 4 requires this 1px border.
328 Without it, the paper borders below cause
329 the white background to disappear. */
330 border: 1px #ccc solid;
332 border-top: 1px solid #494f5d;
333 border-left: 1px solid #494f5d;
334 border-bottom: 1px solid #c6d2de;
335 border-right: 1px solid #c6d2de;
338 padding-left: .125em;
339 padding-right: .125em;
341 /* "paper" borders */
342 /*border-top: 2px #d2d2d2 solid;
343 border-left: 2px #b2b2b2 solid;
344 border-bottom: 2px #e8e6df solid;
345 border-right: 2px #e8e6df solid;*/
346 /* padding-left: 0em;
347 padding-bottom: 0ex;*/
348 /* border-style: inset;*/
349 /*This breaks Netscape 4: (display does not go full width).
352 /* I'm not sure what the intent of this was, but it's
354 /* display: editarea; */
364 /* individual blocks */
370 /* entire difftextblock */
375 /* Netscape 4 requires this 1px border.
376 Without it, the paper borders below cause
377 the white background to disappear. */
378 border: 1px black solid;
379 /* "paper" borders */
380 border-top: 1px #e8e6df solid;
381 border-left: 1px #e8e6df solid;
382 border-bottom: 1px #d2d2d2 solid;
383 border-right: 1px #b2b2b2 solid;
388 /*This breaks Netscape 4: (display does not go full width).
393 /* + - line prefix */
396 font-family: monospace;
403 .diff del, .diff ins {
405 text-decoration: none;
408 /* blocks containing deleted or added words */
409 .diff .original, .diff .deleted,
410 .diff .final, .diff .added {
413 /* blocks containing deleted words */
414 .diff .original, .diff .deleted {
419 /* blocks containing added words */
420 .diff .final, .diff .added {
426 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
428 .diff del { background: #f99; }
430 .diff ins { background: #9f9; }
436 td.pageinfo { font-weight: bold; }
437 .pageinfo-minoredit, .pageinfo-authorid {
446 .printer { display: none; }
455 padding-right: 0.8em;
458 border: medium solid red;
465 text-decoration: underline;
467 .error { font-family: monospace; }
468 .error ul { font-family: monospace; }
474 font-family: monospace;
477 padding: 0.5ex 0.5em;
478 border: medium solid #fff8dc; /* darker ivory */
487 padding: 0.5ex 0.5em;
488 border: thin solid #aaaaaa;
491 /* Disabled Plugins */
498 .disabled-plugin .title {
500 background-color: inherit;
505 .disabled-plugin pre {
509 padding: 0.3ex 0.5em;
512 /* "(Redirected from ...)" message. */
525 * c-file-style: cc-mode