2 ** MediaWiki 'monobook' style sheet for CSS2-capable browsers.
3 ** Copyright Gabriel Wicke - http://wikidev.net/
4 ** License: GPL (http://www.gnu.org/copyleft/gpl.html)
6 ** Loosely based on http://www.positioniseverything.net/ordered-floats.html by Big John
7 ** and the Plone 2.0 styles, see http://plone.org/ (Alexander Limi, Joe Geldart & Tom Croucher,
8 ** Michael Zeltner and Geir Bækholt)
9 ** All you guys rock :)
10 ** Added phpwiki integration: Reini Urban, based on the phpwiki.css
17 margin: 0 0 .6em -12.2em;
22 margin: 2.9em 0 0 12.2em;
23 padding: 0 1em 1.5em 1em;
26 border: 1px solid #aaa;
39 /* the left column width is specified in class .portlet */
42 ** We take advantage of keyword scaling- browsers won't go below 9px
43 ** More at http://www.w3.org/2003/07/30-font-size
44 ** http://style.cleverchimp.com/font_size_intervals/altintervals.html
48 font: small sans-serif;
49 background: #f9f9f9 url("images/headbg.jpg") 0 0 no-repeat;
55 /* scale back up to a sane default */
73 text-decoration: none;
77 a:visited { color: #5a3696; }
78 a:active { color: #faa700; }
79 a:hover { text-decoration: underline; }
80 a.stub { color: #772233; }
81 a.new, #p-personal a.new {
84 a.new:visited, #p-personal a.new:visited {
90 vertical-align: middle;
93 margin: .4em 0 .5em 0;
103 background-color: #aaa;
105 margin: .2em 0 .2em 0;
108 h1, h2, h3, h4, h5, h6 {
112 font-family: Tahoma, sans-serif;
115 padding-bottom: 0.17em;
116 border-bottom: 1px solid #aaa;
118 h1 { font-size: 188%; }
119 h2 { font-size: 150%; }
120 h3 { font-size: 132%; }
121 h4 { font-size: 116%; }
122 h5 { font-size: 100%; }
123 h6 { font-size: 80%; }
130 list-style-type: square;
131 margin: 0.3em 0 0 1.5em;
133 list-style-image: url("images/bullet.png");
137 margin: 0.3em 0 0 3.2em;
139 list-style-image: none;
141 li { margin-bottom: 0.1em; }
157 border: 1px solid #2f6fab;
159 padding: 0 1em 1em 1em;
163 /*background: white;*/
177 input.historysubmit {
178 padding: 0 0.3em 0.3em 0.3em !important;
181 height: 1.7em !important;
187 abbr, acronym, .explain {
188 border-bottom: 1px dotted black;
194 font-family: Times, "Times New Roman", serif;
199 font-family: Times, "Times New Roman", serif;
203 background-color: #f9f9f9;
207 border: 1px dashed #2f6fab;
209 background-color: #f9f9f9;
214 ** the main content area
217 #siteSub { display: none; }
224 margin: 0 0 1.4em 1em;
228 span.subpages { display: block; }
230 /* Some space under the headers in the content area */
231 #bodyContent h1, #bodyContent h2 {
234 #bodyContent h3, #bodyContent h4, #bodyContent h5 {
237 .firstHeading { margin-bottom:0.1em; }
239 /* user notification thing */
241 background-color: #ffce7b;
242 border: 1px solid #ffa500;
247 vertical-align: middle;
262 .errorbox, .successbox {
272 background-color: #fff2f2;
276 background-color: #dfd;
278 .errorbox h2, .successbox h2 {
287 border: 1px solid #aaa;
288 background-color: #f9f9f9;
293 /* currently unused, intended to be used by a metadata box
294 in the bottom-right corner of the content area */
295 .documentDescription {
296 /* The summary text describing the document */
319 /* small for tables and similar */
333 border: 1px solid #aaa;
334 background-color: #f9f9f9;
361 list-style-type: none;
362 list-style-image: none;
373 list-style-type: square;
374 list-style-image: url("images/bullet.png");
389 border: 1px solid #aaa;
390 background-color: #f9f9f9;
401 div.floatright, table.floatright {
405 margin: 0 0 .5em .5em;
408 border: .5em solid white;
409 border-width: .5em 0 .8em 1.4em;
412 div.floatright p { font-style: italic; }
413 div.floatleft, table.floatleft {
416 margin: 0 .5em .5em 0;
419 margin: .3em .5em .5em 0;
420 border: .5em solid white;
421 border-width: .5em 1.4em .8em 0;
424 div.floatleft p { font-style: italic; }
433 border: 1px solid #ccc;
434 padding: 3px !important;
435 background-color: #f9f9f9;
440 div.thumb div a img {
441 border: 1px solid #ccc;
443 div.thumb div div.thumbcaption {
447 padding: .3em 0 .1em 0;
451 border: none !important;
452 background: none !important;
454 div.magnify a, div.magnify img {
456 border: none !important;
457 background: none !important;
462 border-width: .5em 0 .8em 1.4em;
467 border-width: .5em 1.4em .8em 0;
475 vertical-align: middle;
482 ** classes for special content elements like town boxes
483 ** intended to be referenced directly from the wiki src
489 /* table standards */
498 border: 1px solid #aaa;
499 background-color: #f9f9f9;
508 border: 1px solid gray;
524 margin: .1em 0 0 1.1em;
525 background-color: #f3f3f3;
537 /* Page history styling */
538 /* the auto-generated edit comments */
542 #pagehistory span.user {
546 #pagehistory span.minor {
550 border: 1px solid white;
552 #pagehistory li.selected {
553 background-color: #f9f9f9;
554 border: 1px dashed #aaa;
558 ** Diff rendering (unused)
560 table.diff, td.diff-otitle, td.diff-ntitle {
561 background-color: white;
567 td.diff-deletedline {
586 margin-bottom: 0.5ex;
588 /* Netscape 4 requires this 1px border.
589 Without it, the paper borders below cause
590 the white background to disappear. */
591 border: 1px #ccc solid;
593 border-top: 1px solid #494f5d;
594 border-left: 1px solid #494f5d;
595 border-bottom: 1px solid #c6d2de;
596 border-right: 1px solid #c6d2de;
599 padding-left: .125em;
600 padding-right: .125em;
602 /* "paper" borders */
603 /*border-top: 2px #d2d2d2 solid;
604 border-left: 2px #b2b2b2 solid;
605 border-bottom: 2px #e8e6df solid;
606 border-right: 2px #e8e6df solid;*/
607 /* padding-left: 0em;
608 padding-bottom: 0ex;*/
609 /* border-style: inset;*/
610 /*This breaks Netscape 4: (display does not go full width).
613 /* I'm not sure what the intent of this was, but it's
615 /* display: editarea; */
625 /* individual blocks */
631 /* entire difftextblock */
636 /* Netscape 4 requires this 1px border.
637 Without it, the paper borders below cause
638 the white background to disappear. */
639 border: 1px black solid;
640 /* "paper" borders */
641 border-top: 1px #e8e6df solid;
642 border-left: 1px #e8e6df solid;
643 border-bottom: 1px #d2d2d2 solid;
644 border-right: 1px #b2b2b2 solid;
649 /*This breaks Netscape 4: (display does not go full width).
654 /* + - line prefix */
657 font-family: monospace;
664 .diff del, .diff ins {
666 text-decoration: none;
669 /* blocks containing deleted or added words */
670 .diff .original, .diff .deleted,
671 .diff .final, .diff .added {
674 /* blocks containing deleted words */
675 .diff .original, .diff .deleted {
680 /* blocks containing added words */
681 .diff .final, .diff .added {
687 /* These don't work in NS4 -- it completely ignores <del> and <ins>. */
689 .diff del { background: #f99; }
691 .diff ins { background: #9f9; }
696 td.pageinfo { font-weight: bold; }
697 .pageinfo-minoredit, .pageinfo-authorid {
706 border: 1px outset gray;
720 /* Month-name header */
721 table.cal-header { font-size: larger; }
722 table.cal-header tr, table.cal-header td { text-align: center; }
725 text-decoration: none;
728 /* Day-names header */
729 table.cal tbody tr .cal-dayname { }
733 text-decoration: underline;
736 /* Individual days */
737 a.cal-hide { text-decoration: none; }
741 table.cal td.cal-today {
743 border: 1px solid gray;
746 table.cal td.cal-today a.cal-hide { }
749 ** keep the whitespace in front of the ^=, hides rule from konqueror
750 ** this is css3, the validator doesn't like it when validating as css2
752 #bodyContent a.external,
753 #bodyContent a[href ^="gopher://"] {
754 background: url("images/url.png") center right no-repeat;
757 #bodyContent a[href ^="https://"],
759 background: url("images/lock_icon.png") center right no-repeat;
762 #bodyContent a[href ^="mailto:"],
764 background: url("images/mail_icon.png") center right no-repeat;
767 #bodyContent a[href ^="news://"] {
768 background: url("images/news_icon.png") center right no-repeat;
771 #bodyContent a[href ^="ftp://"],
773 background: url("images/file_icon.png") center right no-repeat;
776 #bodyContent a[href ^="irc://"],
778 background: url("images/discussionitem_icon.png") center right no-repeat;
781 /* disable interwiki styling */
782 #bodyContent a.extiw,
783 #bodyContent a.extiw:active {
788 #bodyContent a.external {
791 /* this can be used in the content area to switch off
792 special external link styling */
793 #bodyContent .plainlinks a {
794 background: none !important;
795 padding: 0 !important;
798 ** Structural Elements
802 ** general portlet styles (elements in the quickbar)
818 background: transparent;
819 padding: 0em 1em 0em 0.5em;
820 text-transform: lowercase;
829 border: 1px solid #2f6fab;
830 border-style: solid solid none solid;
831 padding: 0em 1em 0em 1em;
832 text-transform: lowercase;
841 background-color: white;
843 border-collapse: collapse;
844 border: 1px solid #aaa;
845 padding: 0 .8em .3em .5em;
856 list-style-type: square;
857 list-style-image: url("images/bullet.png");
868 * Optionally at the right also an image
873 position: absolute; /*needed to use z-index */
888 background-repeat: no-repeat;
889 background-position: 35% 50% !important;
890 text-decoration: none;
892 /* At the right we put a small "wiki star" */
900 background: url("images/wiki_stamp.png") left no-repeat;
901 background-repeat: no-repeat;
906 ** the navigation portlet
913 #p-navigation .pBody {
921 #p-navigation li.active a, #p-navigation li.active a:hover {
922 text-decoration: none;
937 padding: 0 0.4em !important;
940 background-color: White;
941 border: 1px solid #2f6fab;
949 #livesearch, #p-search input.dropdown {
956 padding: .5em .4em .4em .4em;
961 ** the personal toolbar
982 #p-personal .portlet,
991 /* this is the ul contained in the portlet */
996 padding: 0em 2em 0 3em;
999 /*text-transform: lowercase;*/
1016 text-decoration: none;
1018 padding-bottom: 0.2em;
1021 #p-personal li a:hover {
1022 background-color: white;
1023 padding-bottom: .2em;
1024 text-decoration: none;
1026 #p-personal li.active a:hover {
1027 background-color: transparent;
1029 /* the icon in front of the user name, single quotes
1030 in bg url to hide it from iemac */
1034 /*background: url('images/wikiuser.png') top left bottom no-repeat;*/
1035 background: url('images/wikiuser.png') left no-repeat;
1036 background-repeat: no-repeat;
1038 text-transform: none;
1040 #p-personal a.new { color:#ba0000; }
1043 ** the page-related actions- page/talk, edit etc
1056 border-collapse: collapse;
1061 #p-cactions .hiddenStructure {
1069 border: 1px solid #aaa;
1070 border-bottom: none;
1071 padding: 0 0 .1em 0;
1076 #p-cactions li.selected {
1077 border-color: #fabd23;
1078 padding: 0 0 0.2em 0;
1081 background-color: #fbfbfb;
1084 padding: 0 .8em .3em;
1085 text-decoration: none;
1086 /*text-transform: lowercase;*/
1091 #p-cactions li.selected a {
1093 background-color: #fff;
1094 padding: 0 1em .2em !important;
1096 #p-cactions .new a {
1099 #p-cactions li a:hover {
1101 text-decoration: none;
1102 background-color: #fff;
1107 #p-cactions li.istalk {
1110 #p-cactions li.istalk a {
1111 padding-right: .5em;
1113 #p-cactions #ca-addsection a {
1115 padding-right: .4em;
1117 /* offsets to distinguish the tab groups */
1119 margin-right: 1.6em;
1121 li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
1126 ** the remaining portlets
1138 background-color: white;
1139 border-top: 1px solid #fabd23;
1140 border-bottom: 1px solid #fabd23;
1141 margin: .6em 0 1em 0;
1142 border-left: 1px solid #fabd23;
1143 margin-left: 13.6em;
1144 padding: .4em 0 1.2em 0;
1152 /* hide from incapable browsers */
1153 head:first-child+body #footer li { white-space: nowrap; }
1154 #f-poweredbyico, #f-copyrightico {
1156 /*vertical-align: middle;*/
1159 top: -31px; /* Bump it up just a tad */
1171 margin: 1em 1em 1em 1em;
1174 #preftoc li { border: 1px solid White; }
1175 #preftoc li.selected {
1176 background-color:#f9f9f9;
1177 border:1px dashed #aaaaaa;
1189 div.prefsectiontip {
1193 fieldset.operaprefsection { margin-left: 15em }
1196 ** IE/Mac fixes, hope to find a validating way to move this
1197 ** to a separate stylesheet. This would work but doesn't validate:
1198 ** @import("IEMacFixes.css");
1201 /* tabs: border on the a, not the div */
1202 * > html #p-cactions li { border:none; }
1203 * > html #p-cactions li a {
1204 border: 1px solid #aaa;
1205 border-bottom: none;
1207 * > html #p-cactions li.selected a { border-color: #fabd23; }
1208 /* footer icons need a fixed width */
1209 * > html #f-poweredbyico,
1210 * > html #f-copyrightico { width: 88px; }
1211 * > html #bodyContent,
1212 * > html #bodyContent pre {
1215 padding-bottom: 25px;
1219 /* float/negative margin brokenness */
1220 * html #footer {margin-top: 0;}
1221 * html #column-content {
1225 * html div.editsection { font-size: smaller; }
1226 #pagehistory li.selected { position: relative; }
1228 /* Mac IE 5.0 fix; floated content turns invisible */
1229 * > html #column-content {
1232 * > html #column-one {
1238 margin-left: 13.2em;
1250 background-color: #ffa;
1256 span.newpage, span.minor, span.searchmatch, span.bot {
1267 .sharedUploadNotice {
1271 span.updatedmarker {
1273 background-color: #0f0;
1275 span.newpageletter {
1278 background-color: yellow;
1280 span.minoreditletter {
1282 background-color: #c5ffe6;
1286 border: 1px solid #ccc;
1289 background-color: white;
1293 vertical-align: top;
1297 vertical-align: top;
1298 background-color: #f9f9f9;
1299 border: solid 2px white;
1302 table.gallery td.galleryheader {
1312 div.gallerybox div.thumb {
1314 border: 1px solid #ccc;
1334 border-bottom: 1px solid #aaa;
1335 padding-bottom: 1em;
1345 border: 1px solid gray;
1346 background-color: #ffffff;
1353 .editExternallyHelp {
1358 li span.deleted, span.history-deleted {
1359 text-decoration: line-through;
1369 /* Classes for EXIF data display */
1373 margin-bottom: 0.5em;
1377 table.mw_metadata caption {
1381 table.mw_metadata th {
1382 font-weight: normal;
1385 table.mw_metadata td {
1391 border-collapse: collapse;
1394 table.mw_metadata td, table.mw_metadata th {
1396 border: 1px solid #aaaaaa;
1397 padding-left: 0.1em;
1398 padding-right: 0.1em;
1401 table.mw_metadata th {
1402 background-color: #f9f9f9;
1405 table.mw_metadata td {
1406 background-color: #fcfcfc;
1409 table.collapsed tr.collapsable {
1417 border: 1px solid #aaaaaa;
1418 background-color: #f9f9f9;
1421 margin-bottom: 0.5em;
1428 list-style-type: none;
1433 input#wpSave, input#wpDiff {
1434 margin-right: 0.33em;
1437 #editform .editOptions {
1445 /* Classes for article validation */
1447 table.revisionform_default {
1448 border: 1px solid #000000;
1451 table.revisionform_focus {
1452 border: 1px solid #000000;
1453 background-color:#00BBFF;
1456 tr.revision_tr_default {
1457 background-color:#EEEEEE;
1460 tr.revision_tr_first {
1461 background-color:#DDDDDD;
1470 border: solid 1px #bbbbff;
1471 background-color: #eeeeff;
1476 /* Allmessages table */
1478 #allmessagestable th {
1479 background-color: #b2b2ff;
1482 #allmessagestable tr.orig {
1483 background-color: #ffe2e2;
1486 #allmessagestable tr.new {
1487 background-color: #e2ffe2;
1490 #allmessagestable tr.def {
1491 background-color: #f0f0ff;
1497 border: 1px solid #ccc;
1503 div#searchTargetContainer {
1513 background: #F0F0F0;
1514 border: solid 1px blue;
1517 div#searchTarget ul li {
1521 div#searchTarget ul li:before {
1523 content: "\00BB \0020";
1526 div.multipageimagenavbox {
1527 border: solid 1px silver;
1530 -moz-border-radius: 6px;
1531 background: #f0f0f0;
1534 div.multipageimagenavbox div.thumb {
1540 div.multipageimagenavbox hr {
1544 table.multipageimage td {
1549 Table pager (e.g. Special:Imagelist)
1550 - remove underlines from the navigation link
1552 - set the borders to outsets (similar to Special:Allmessages)
1553 - remove line wrapping for all td and th, set background color
1554 - restore line wrapping for the last two table cells (description and size)
1556 .TablePager_nav a { text-decoration: none; }
1557 .TablePager { border-collapse: collapse; }
1558 .TablePager, .TablePager td, .TablePager th {
1559 border: 0.15em solid #777777;
1560 padding: 0 0.15em 0 0.15em;
1562 .TablePager th { background-color: #eeeeff }
1563 .TablePager td { background-color: #ffffff }
1564 .TablePager tr:hover td { background-color: #eeeeff }
1566 .imagelist td, .imagelist th { white-space: nowrap }
1567 .imagelist .TablePager_col_links { background-color: #eeeeff }
1568 .imagelist .TablePager_col_img_description { white-space: normal }
1569 .imagelist th.TablePager_sort { background-color: #ccccff }
1575 .pagelist thead td {
1576 background: #e8e8e8;
1577 text-decoration: none;
1581 .pagelist thead td u { text-decoration: none; }
1582 .pagelist tr.evenrow { background: #eee; }
1583 .pagelist tr.oddrow { background: white; }
1585 background-color: ThreedLightShadow;
1587 font-family: Tahoma, sans-serif, Arial, Helvetica;
1589 font-weight: normal;
1590 /*font-style: menu;*/
1591 white-space: nowrap;
1594 padding: 5px 0px 5px 0px;
1596 border-style: solid;
1597 border-color: ThreedHighlight ThreedDarkShadow ThreedDarkShadow ThreedHighlight;
1599 input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
1600 text-decoration: none;
1602 font-weight: normal;
1603 /*font-style: menu;*/
1604 font-family: Tahoma, sans-serif, Arial, Helvetica;
1605 background-color: ThreedLightShadow;
1609 .wikipaging { font-size: 80% }
1610 .wikipaging-disabled { color: #999 }
1612 /* <?plugin RawHtml <div class="boxright"> </div> */
1619 border: thin solid #888888;
1629 padding-left: 0.8em;
1630 padding-right: 0.8em;
1633 border: medium solid red;
1640 text-decoration: underline;
1647 padding-left: 0.8em;
1648 padding-right: 0.8em;
1651 border: thin solid blue;
1654 .error { font-family: monospace; font-size: 120%; }
1655 .error ul { font-family: monospace; }
1661 font-family: monospace;
1664 padding: 0.5ex 0.5em;
1665 border: medium solid #fff8dc; /* darker ivory */
1670 background: #eeeeee;
1671 /* font-size: smaller; */
1674 padding: 0.5ex 0.5em;
1675 border: thin solid #aaaaaa;
1680 /* Disabled Plugins */
1687 .disabled-plugin .title {
1689 background-color: inherit;
1694 .disabled-plugin pre {
1698 padding: 0.3ex 0.5em;
1701 /* "(Redirected from ...)" message. */
1704 font-style: oblique;
1705 font-weight: normal;
1708 .search-context { background: white; font-style: oblique; }
1711 font-weight: normal;