2 $Id: MacOSX.css,v 1.35 2003-11-30 19:35:09 carstenklapp Exp $
6 div.wikitext - the transformed wiki page text.
8 a.wiki - link to page in wiki.
9 a.named-wiki - a named link to page in wiki (from e.g. [name|WikiPage]).
10 a.interwiki - link to page in another wiki
11 span.wikipage - page name within interwiki link.
12 a.named-interwiki - link to page in another wiki
13 a.url - link to external URL from wiki page.
14 a.named-url - link to external URL from wiki page.
16 .wikiunknown a, .wikiunknown u
17 .named-wikiunknown a, .named-wikiunknown u
25 TODO: Get rid of tables in wikiaction forms.
28 /* NS4 doesn't grok @import. This allows us to put things which
29 * break NS4 in another file. */
30 @import url(MacOSX-heavy.css);
32 body { background: #fafafa url("images/bgpaper8.png"); }
33 body.edit { background: #fafafa url("images/bggranular.png"); }
37 /* Ensure identical vertical alignment for adjacent form buttons,
38 whether image based (Theme buttons) or not */
41 input[type=image] { vertical-align: middle }
44 * NS4, defaults from body don't always propagate correctly.
47 h1, h2, h3, .toolbar, td { font-family: "Lucida Grande", Helvetica, Arial, sans-serif; }
49 input.button { font-family: "Lucida Grande", Helvetica, Arial, sans-serif; }
54 .wikitext pre { font-family: Monaco, monospace; }
60 border-top: 1px solid #7c7c7c;
61 border-left: 1px solid #c3c3c3;
62 border-bottom: 1px solid #dddddd;
63 border-right: 1px solid #c3c3c3;
66 /* Add space between the input field and following buttons, but not after the last button. */
67 div.wikiaction input[type=text],
68 div.wikiadmin input[type=text],
69 form.wikiadmin input[type=file] {
81 border: 1px solid black;
83 border-top: 1px solid #7c7c7c;
84 border-left: 1px solid #c3c3c3;
85 border-bottom: 1px solid #dddddd;
86 border-right: 1px solid #c3c3c3;
90 padding-bottom: 0.5em;
92 /* This breaks Netscape 4: (display does not go full width).
98 input.wikitext { margin:0px; }
101 padding: 0.4ex 0.3ex;
104 div.toolbar { margin: 1ex 0ex; }
110 .interwiki-map thead td {
115 .interwiki-map thead td:first-child { text-decoration: underline; }
116 .interwiki-moniker { background: #eee; }
117 .interwiki-url { background: #f8f8f8; }
120 /* Mozilla RecentChanges Sidebar */
125 body.sidebar div.wikitext {
128 body.sidebar div.wikitext ul { padding-left: 1em; }
129 body.sidebar h2 { margin-top: 0; }
134 border: 1px solid gray;
136 padding-right: 0.8em;
146 text-decoration: underline;
147 font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
149 margin-bottom: 0.5ex;
153 font-family: Monaco, monospace;
159 font-family: Monaco, monospace;
165 font-family: monospace;
168 padding: 0.5ex 0.5em;
169 border: 1px solid #eee;
174 * Style for <hr>s in wiki markup.
183 a.wiki { text-decoration: none; }
184 .wiki, .named-wiki { font-weight: bold; color:#1d42be; } /*blue*/
185 /* This is obscene in NS4
186 b .wiki, STRONG .wiki { font-size: larger; }
190 .wikiunknown a, .named-wikiunknown a, .wikiunknown U { text-decoration: none; }
192 .wikiunknown, .named-wikiunknown {color: #555; }
194 /* Interwiki links */
195 a.interwiki { text-decoration: none; }
196 .wikipage { font-weight: bold; }
199 i .interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; }
201 .interwiki .wikipage,
202 i .interwiki, em .interwiki { font-style: normal; }
205 * wikiaction, wikiadmin, wikiunsafe:
207 a.wikiaction, a.wikiadmin { text-decoration: none; }
210 * No border on external link icons.
212 img.linkicon, img.rssicon { border: 0px; }
213 img.rssicon { vertical-align: middle; }
214 /* This screws up NS4, moved to phpwiki-heavy.css
215 img.linkicon { vertical-align: middle; }
217 img.wiki-button { vertical-align: middle; }
219 a.wikiaction { border: 0; }
222 a.backlinks { color: #006; }
224 /* Make the textarea on the edit page full width */
225 textarea.wikiedit { width: 100%; margin-top: 1ex; }
227 p.editdate { font-size: smaller; margin-bottom: 0; font-family: "Lucida Grande", Helvetica, Arial, sans-serif; }
229 /* Calendar plugin */
231 a.cal-arrow { text-decoration: none; }
232 .cal-arrow { font-weight: bold; }
235 text-decoration: none;
239 /*border: 1px solid black;
241 border-top: 1px solid #7c7c7c;
242 border-left: 1px solid #c3c3c3;
243 border-bottom: 1px solid #dddddd;
244 border-right: 1px solid #c3c3c3;
245 background: #bebebe;*/
250 border: 1px solid black;
252 border-top: 1px solid #7c7c7c;
253 border-left: 1px solid #c3c3c3;
254 border-bottom: 1px solid #dddddd;
255 border-right: 1px solid #c3c3c3;
257 table.cal-header td {
262 table.cal td.cal-dayname { background: #e8e8e8; }
263 table.cal td.cal-today {
266 border: 1px solid black;
268 border-top: 1px solid #7c7c7c;
269 border-left: 1px solid #c3c3c3;
270 border-bottom: 1px solid #dddddd;
271 border-right: 1px solid #c3c3c3;
274 /* IncludePage plugin */
275 .transclusion-title {
276 font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
277 /* font-style: oblique; */
278 font-size: smaller; /* 0.75em; */
279 text-decoration: underline;
284 /* background: #fff url("images/bgpaper8.png"); */
285 /* background: white; */
288 border: 1px solid black;
290 border-top: 1px solid #7c7c7c;
291 border-left: 1px solid #c3c3c3;
292 border-bottom: 1px solid #dddddd;
293 border-right: 1px solid #c3c3c3;
296 padding-right: 0.8em;
302 /* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */
303 div.wiki-edithelp .transclusion {
306 padding: 0.5ex 0.5em;
309 div.wiki-edithelp .transclusion p { margin: 0; }
311 /* background: #fff url("images/bgpaper8.png"); */
314 border: 1px solid black;
316 border-top: 1px solid #7c7c7c;
317 border-left: 1px solid #c3c3c3;
318 border-bottom: 1px solid #dddddd;
319 border-right: 1px solid #c3c3c3;
325 background: #fff url("images/bggranular.png");
326 border: solid 1px #d8d8d8;
329 .printer { display: none; }
339 border: 1px solid black;
341 border-top: 1px solid #7c7c7c;
342 border-left: 1px solid #c3c3c3;
343 border-bottom: 1px solid #dddddd;
344 border-right: 1px solid #c3c3c3;
352 /* individual blocks */
358 /* + - line prefix */
361 font-family: monospace;
368 .diff del, .diff ins {
370 text-decoration: none;
373 /* blocks containing deleted or added words */
374 .diff .original, .diff .deleted,
375 .diff .final, .diff .added {
378 /* blocks containing deleted words */
379 .diff .original, .diff .deleted {
381 border: 2px solid #f99; /* fcc */
383 /* blocks containing added words */
384 .diff .final, .diff .added {
386 border: 2px solid #9f9; /* cfc */
389 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
391 .diff del { background: #fcc; } /* f99 */
393 .diff ins { background: #cfc; } /* 9f9 */
399 .pagelist tr.evenrow { background: #f8f8f8; }
400 .pagelist tr.oddrow { background: #eee; }
403 text-decoration: none;
407 .pagelist thead td u { text-decoration: none; }
408 /* Yellow highlight for every td of mouseover'd tr in pagelist tbody */
409 .pagelist tbody tr:hover>td { background: #ffff99; }
415 .search-context { background: white; }
426 /* position: relative; */
430 padding-left: 0.75em;
431 padding-right: 0.75em;
436 /* dotted underline each dt. use display:table to shrink width */
440 vertical-align: baseline;
442 margin-bottom: 0.25ex;
443 padding-left: 0.25ex;
444 padding-right: 0.25ex;
445 border-bottom-style: dotted;
446 border-bottom-width: 2pt;
447 border-bottom-color: #9999cc;
449 /* No underlines for wiki-links in dt,
450 we already have dotted underline */
451 dt a.wiki, dt a.named-wiki {
452 text-decoration: none;
454 /* No top margin for first dt */
458 /* underline each dd.
459 use display:table to shrink width */
461 /* overflows wide text beyond containing dl */
462 /* in most browsers :( Would have been nice */
463 /* display: table; */
466 margin-bottom: 0.5ex;
467 padding-left: 0.125em;
468 padding-bottom: 0.5ex;
469 padding-right: 0.125em;
470 border-bottom-style: solid;
471 border-bottom-width: thin;
472 border-bottom-color: #9999cc;
478 background-color: #fcfcfc;
487 padding-bottom: 0.25em;
488 padding-right: 0.5em;
494 background: #fafafa url("images/bgpaper8.png");
496 /* Indented wrap past diff buttons in RecentChanges */
497 ul li.rc-major, ul li.rc-minor {
505 * Vertical margins around block elements.
507 p { margin: 1em 0; } /* Normal ("loose") paragraphs */
508 li p, dd p, td p { margin: 1ex 0; } /* Paragraphs within lists are a little tighter. */
510 /* ul, ol, dl { margin: 0.2ex 0; } /* A little room around lists. */
511 /* li ul, li ol, li dl,
512 dd ul, dd ol, dd dl { margin: 0 0; } /* but not around sub-lists. */
514 /* Normal ("loose") list elements */
515 li.tightenable { margin: 1em 0; }
516 dt.tightenable { margin-top: 1em; }
517 dd.tightenable { margin-bottom: 1.5ex; }
524 li li.tightenable.top {
527 li.tightenable.bottom,
528 dd.tightenable.bottom {
529 margin-bottom: 0.2ex;
531 li li.tightenable.bottom {
538 .tightenable.bottom {
547 * c-file-style: cc-mode