2 $Id: MacOSX.css,v 1.38 2004-05-13 11:55:19 rurban 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 */
359 .diff .block tt.prefix {
361 font-family: monospace;
368 .diff ins { font-weight: bolder; }
369 .diff ins { text-decoration: none; }
371 /* blocks containing deleted or added words */
378 /* blocks containing deleted words */
379 .diff .original:first-child,
380 .diff .deleted:first-child {
381 border-top: 2px solid #f99; /* fcc */
386 border-left: 2px solid #f99; /* fcc */
387 border-right: 2px solid #f99; /* fcc */
389 .diff .original:last-child,
390 .diff .deleted:last-child {
391 border-bottom: 2px solid #f99; /* fcc */
393 /* blocks containing added words */
394 .diff .final:first-child,
395 .diff .added:first-child {
396 border-top: 2px solid #9f9; /* cfc */
401 border-left: 2px solid #9f9; /* cfc */
402 border-right: 2px solid #9f9; /* cfc */
404 .diff .final:last-child,
405 .diff .added:last-child {
406 border-bottom: 2px solid #9f9; /* cfc */
408 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
410 .diff del { background: #fcc; } /* f99 */
412 .diff ins { background: #cfc; } /* 9f9 */
418 .pagelist tr.evenrow { background: #f8f8f8; }
419 .pagelist tr.oddrow { background: #eee; }
422 text-decoration: none;
426 .pagelist thead td u { text-decoration: none; }
427 /* Yellow highlight for every td of mouseover'd tr in pagelist tbody
428 ie mac ignores all these */
429 /*.pagelist tbody tr:hover>td { background: #ffff99; }*/
430 .pagelist tbody tr:hover>td {
431 border: solid #ffff99 2px;
433 /* some browsers give wacky expanding :hover cells,
434 use transparent border here instead of padding change */
435 .pagelist tbody tr>td {
436 border: solid transparent 2px;
439 background-color: threedlightshadow;
442 /*font-style: menu;*/
451 border-color: threedhighlight threeddarkshadow threeddarkshadow threedhighlight;
453 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
454 text-decoration: none;
457 /*font-style: menu;*/
458 font-family: Tahoma, sans-serif, Arial, Helvetica;
459 background-color: threedlightshadow;
466 .search-context { background: white; }
479 /* dotted underline each dt. use display:table to shrink width */
483 vertical-align: baseline;
485 margin-bottom: 0.25ex;
486 padding-left: 0.25ex;
487 padding-right: 0.25ex;
488 border-bottom-style: dotted;
489 border-bottom-width: 2pt;
490 border-bottom-color: #9999cc;
492 /* No underlines for wiki-links in dt,
493 we already have dotted underline */
494 dt a.wiki, dt a.named-wiki {
495 text-decoration: none;
497 /* No top margin for first dt */
501 /* underline each dd.
502 use display:table to shrink width */
504 /* overflows wide text beyond containing dl */
505 /* in most browsers :( Would have been nice */
506 /* display: table; */
509 margin-bottom: 0.5ex;
510 padding-left: 0.125em;
511 padding-bottom: 0.5ex;
512 padding-right: 0.125em;
513 border-bottom-style: solid;
514 border-bottom-width: thin;
515 border-bottom-color: #9999cc;
521 background-color: #fcfcfc;
530 padding-bottom: 0.25em;
531 padding-right: 0.5em;
537 background: #fafafa url("images/bgpaper8.png");
539 /* Indented wrap past diff buttons in RecentChanges */
540 ul li.rc-major, ul li.rc-minor {
548 * Vertical margins around block elements.
550 p { margin: 1em 0; } /* Normal ("loose") paragraphs */
551 li p, dd p, td p { margin: 1ex 0; } /* Paragraphs within lists are a little tighter. */
553 /* ul, ol, dl { margin: 0.2ex 0; } /* A little room around lists. */
554 /* li ul, li ol, li dl,
555 dd ul, dd ol, dd dl { margin: 0 0; } /* but not around sub-lists. */
557 /* Normal ("loose") list elements */
558 li.tightenable { margin: 1em 0; }
559 dt.tightenable { margin-top: 1em; }
560 dd.tightenable { margin-bottom: 1.5ex; }
567 li li.tightenable.top {
570 li.tightenable.bottom,
571 dd.tightenable.bottom {
572 margin-bottom: 0.2ex;
574 li li.tightenable.bottom {
581 .tightenable.bottom {
590 * c-file-style: cc-mode