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 :)
15 margin: 0 0 .6em -12.2em;
19 margin: 2.8em 0 0 12.2em;
20 padding: 0 1em 1em 1em;
30 border: 1px solid #aaa;
34 /* the left column width is specified in class .portlet */
37 ** We take advantage of keyword scaling- browsers won't go below 9px
38 ** More at http://www.w3.org/2003/07/30-font-size
39 ** http://style.cleverchimp.com/font_size_intervals/altintervals.html
43 font: x-small sans-serif;
44 background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;
50 /* scale back up to a sane default */
66 /* we don't want the bottom borders of <h2>s to be visible through
68 background-color: white;
71 /* but keep table layouts in forms clean... */
75 text-decoration: none;
86 text-decoration: underline;
91 a.new, #p-personal a.new {
94 a.new:visited, #p-personal a.new:visited {
100 vertical-align: middle;
103 margin: .4em 0 .5em 0;
113 background-color: #aaa;
115 margin: .2em 0 .2em 0;
118 h1, h2, h3, h4, h5, h6 {
124 padding-bottom: .17em;
125 border-bottom: 1px solid #aaa;
127 h1 { font-size: 188%; }
128 h1 .editsection { font-size: 53%; }
129 h2 { font-size: 150%; }
130 h2 .editsection { font-size: 67%; }
135 h3 { font-size: 132%; }
136 h3 .editsection { font-size: 76%; font-weight: normal; }
137 h4 { font-size: 116%; }
138 h4 .editsection { font-size: 86%; font-weight: normal; }
139 h5 { font-size: 100%; }
140 h5 .editsection { font-weight: normal; }
141 h6 { font-size: 80%; }
142 h6 .editsection { font-size: 125%; font-weight: normal; }
146 list-style-type: square;
147 margin: .3em 0 0 1.5em;
149 list-style-image: url(bullet.gif);
153 margin: .3em 0 0 3.2em;
155 list-style-image: none;
175 border: 1px solid #2f6fab;
182 padding: 0 0.5em 0.5em;
198 input.historysubmit {
199 padding: 0 .3em .3em .3em !important;
202 height: 1.7em !important;
208 abbr, acronym, .explain {
209 border-bottom: 1px dotted black;
215 font-family: Times, "Times New Roman", serif;
220 font-family: Times, "Times New Roman", serif;
224 background-color: #f9f9f9;
228 border: 1px dashed #2f6fab;
230 background-color: #f9f9f9;
235 ** the main content area
245 #contentSub, #contentSub2 {
248 margin: 0 0 1.4em 1em;
256 /* Some space under the headers in the content area */
257 #bodyContent h1, #bodyContent h2 {
260 #bodyContent h3, #bodyContent h4, #bodyContent h5 {
265 /* These two rules hack around bug 2013 (fix for more limited bug 11325).
266 When bug 2013 is fixed properly, they should be removed. */
271 /* user notification thing */
273 background-color: #ffce7b;
274 border: 1px solid #ffa500;
279 vertical-align: middle;
298 .errorbox, .successbox {
308 background-color: #fff2f2;
312 background-color: #dfd;
314 .errorbox h2, .successbox h2 {
323 border: 1px solid #aaa;
324 background-color: #f9f9f9;
329 /* currently unused, intended to be used by a metadata box
330 in the bottom-right corner of the content area */
331 .documentDescription {
332 /* The summary text describing the document */
355 /* small for tables and similar */
370 border: 1px solid #aaa;
371 background-color: #f9f9f9;
391 list-style-type: none;
392 list-style-image: none;
413 div.floatright, table.floatright {
417 margin: 0 0 .5em .5em;
420 border: .5em solid white;
421 border-width: .5em 0 .8em 1.4em;
424 div.floatright p { font-style: italic; }
425 div.floatleft, table.floatleft {
429 margin: 0 .5em .5em 0;
432 margin: .3em .5em .5em 0;
433 border: .5em solid white;
434 border-width: .5em 1.4em .8em 0;
437 div.floatleft p { font-style: italic; }
446 border: 1px solid #ccc;
447 padding: 3px !important;
448 background-color: #f9f9f9;
454 border: 1px solid #ccc;
460 padding: 3px !important;
465 border: none !important;
466 background: none !important;
468 div.magnify a, div.magnify img {
470 border: none !important;
471 background: none !important;
476 border-width: .5em 0 .8em 1.4em;
482 border-width: .5em 1.4em .8em 0;
485 border: 1px solid #dddddd;
492 ** classes for special content elements like town boxes
493 ** intended to be referenced directly from the wiki src
499 /* table standards */
508 border: 1px solid #aaa;
509 background-color: #f9f9f9;
524 ** keep the whitespace in front of the ^=, hides rule from konqueror
525 ** this is css3, the validator doesn't like it when validating as css2
527 #bodyContent a.external,
528 #bodyContent a[href ^="gopher://"] {
529 background: url(external.png) center right no-repeat;
532 #bodyContent a[href ^="https://"],
534 background: url(lock_icon.gif) center right no-repeat;
537 #bodyContent a[href ^="mailto:"],
539 background: url(mail_icon.gif) center right no-repeat;
542 #bodyContent a[href ^="news://"] {
543 background: url(news_icon.png) center right no-repeat;
546 #bodyContent a[href ^="ftp://"],
548 background: url(file_icon.gif) center right no-repeat;
551 #bodyContent a[href ^="irc://"],
552 #bodyContent a.extiw[href ^="irc://"],
554 background: url(discussionitem_icon.gif) center right no-repeat;
557 #bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
558 #bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"],
559 #bodyContent a.external[href $=".midi"], #bodyContent a.external[href $=".MIDI"],
560 #bodyContent a.external[href $=".mp3"], #bodyContent a.external[href $=".MP3"],
561 #bodyContent a.external[href $=".wav"], #bodyContent a.external[href $=".WAV"],
562 #bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
564 background: url("audio.png") center right no-repeat;
567 #bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
568 #bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"],
569 #bodyContent a.external[href $=".mpeg"], #bodyContent a.external[href $=".MPEG"],
570 #bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
572 background: url("video.png") center right no-repeat;
575 #bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
576 #bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"],
577 #bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"],
579 background: url("document.png") center right no-repeat;
583 /* disable interwiki styling */
584 #bodyContent a.extiw,
585 #bodyContent a.extiw:active {
590 #bodyContent a.external {
593 /* this can be used in the content area to switch off
594 special external link styling */
595 #bodyContent .plainlinks a {
596 background: none !important;
597 padding: 0 !important;
600 ** Structural Elements
604 ** general portlet styles (elements in the quickbar)
620 background: transparent;
621 padding: 0 1em 0 .5em;
624 text-transform: lowercase;
631 border: 1px solid #2f6fab;
632 border-style: solid solid none solid;
633 padding: 0 1em 0 1em;
634 text-transform: lowercase;
643 background-color: white;
645 border-collapse: collapse;
646 border: 1px solid #aaa;
647 padding: 0 .8em .3em .5em;
658 list-style-type: square;
659 list-style-image: url(bullet.gif);
674 position: absolute; /*needed to use z-index */
688 background-repeat: no-repeat;
689 background-position: 35% 50% !important;
690 text-decoration: none;
715 padding: .5em .4em .4em .4em;
720 ** the personal toolbar
741 #p-personal .portlet,
750 /* this is the ul contained in the portlet */
755 padding: 0 2em 0 3em;
774 text-decoration: none;
776 padding-bottom: .2em;
779 #p-personal li a:hover {
780 background-color: white;
781 padding-bottom: .2em;
782 text-decoration: none;
784 #p-personal li.active a:hover {
785 background-color: transparent;
787 /* the icon in front of the user name, single quotes
788 in bg url to hide it from iemac */
792 background: url(user.gif) top left no-repeat;
794 text-transform: none;
797 text-transform: lowercase;
799 #p-personal li.active {
803 ** the page-related actions- page/talk, edit etc
815 border-collapse: collapse;
825 border: 1px solid #aaa;
832 #p-cactions li.selected {
833 border-color: #fabd23;
838 background-color: #fbfbfb;
841 padding: 0 .8em .3em;
845 text-decoration: none;
847 #p-cactions li.selected a {
849 padding: 0 1em .2em!important;
850 background-color: white;
855 #p-cactions li a:hover {
857 text-decoration: none;
858 background-color: white;
863 #p-cactions li.istalk {
866 #p-cactions li.istalk a {
869 #p-cactions #ca-addsection a {
873 /* offsets to distinguish the tab groups */
877 li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
882 background-color: transparent;
884 border-collapse: inherit;
888 #p-cactions .hiddenStructure {
892 text-transform: lowercase;
900 /* TODO: #t-iscite is only used by the Cite extension, come up with some
901 * system which allows extensions to add to this file on the fly
903 #t-ispermalink, #t-iscite {
910 background-color: white;
911 border-top: 1px solid #fabd23;
912 border-bottom: 1px solid #fabd23;
913 margin: .6em 0 1em 0;
914 padding: .4em 0 1.2em 0;
922 #f-poweredbyico, #f-copyrightico {
925 top: -2px; /* Bump it up just a tad */
944 background-color: #f0f0f0;
948 margin: 1px -2px 1px 2px;
950 padding: 2px 0 3px 0;
951 border: 1px solid #fff;
952 border-right-color: #716f64;
956 list-style-type: none;
957 list-style-image: none;
960 #preftoc li.selected {
962 background-color: #f9f9f9;
963 border: 1px solid #aaa;
970 #preftoc > li.selected {
979 text-decoration: none;
981 #preftoc li.selected a {
983 text-decoration: none;
991 border: 1px solid #aaa;
994 background-color: #F9F9F9;
1001 .prefsection fieldset {
1002 border: 1px solid #aaa;
1006 .prefsection legend {
1009 .prefsection table, .prefsection legend {
1010 background-color: #F9F9F9;
1015 div.prefsectiontip {
1023 padding-right: .3em;
1026 .preferences-login {
1028 margin-bottom: 1.5em;
1036 div#userloginForm form,
1037 div#userlogin form#userlogin2 {
1038 margin: 0 3em 1em 0;
1039 border: 1px solid #aaa;
1042 background-color: #f9f9f9;
1045 .rtl div#userloginForm form,
1046 .rtl div#userlogin form#userlogin2 {
1050 div#userloginForm table,
1051 div#userlogin form#userlogin2 table {
1052 background-color: #f9f9f9;
1055 div#userloginForm h2,
1056 div#userlogin form#userlogin2 h2 {
1060 div#userlogin .captcha,
1061 div#userloginForm .captcha {
1062 border: 1px solid #bbb;
1064 background-color: white;
1067 #loginend, #signupend {
1071 #userloginprompt, #languagelinks {
1081 #userlogin .loginText, #userlogin .loginPassword {
1085 #userloginlink a, #wpLoginattempt, #wpCreateaccount {
1090 ** IE/Mac fixes, hope to find a validating way to move this
1091 ** to a separate stylesheet. This would work but doesn't validate:
1092 ** @import("IEMacFixes.css");
1094 /* tabs: border on the a, not the div */
1095 * > html #p-cactions li { border: none; }
1096 * > html #p-cactions li a {
1097 border: 1px solid #aaa;
1098 border-bottom: none;
1100 * > html #p-cactions li.selected a { border-color: #fabd23; }
1101 /* footer icons need a fixed width */
1102 * > html #f-poweredbyico,
1103 * > html #f-copyrightico { width: 88px; }
1104 * > html #bodyContent,
1105 * > html #bodyContent pre {
1108 padding-bottom: 25px;
1112 /* float/negative margin brokenness */
1113 * html #footer {margin-top: 0;}
1114 * html #column-content {
1118 * html div.editsection { font-size: smaller; }
1119 #pagehistory li.selected { position: relative; }
1121 /* Mac IE 5.0 fix; floated content turns invisible */
1122 * > html #column-content {
1125 * > html #column-one {
1131 margin-left: 13.2em;
1143 background-color: #ffa;
1150 span.newpage, span.minor, span.bot {
1158 .sharedUploadNotice {
1162 span.updatedmarker {
1164 background-color: #0f0;
1168 border: 1px solid #ccc;
1171 background-color: white;
1175 vertical-align: top;
1179 vertical-align: top;
1180 background-color: #f9f9f9;
1181 border: solid 2px white;
1183 /* Keep this temporarily so that cached pages will display right */
1184 table.gallery td.galleryheader {
1188 table.gallery caption {
1196 div.gallerybox div.thumb {
1198 border: 1px solid #ccc;
1219 border-bottom: 1px solid #aaa;
1220 padding-bottom: 1em;
1230 border: 1px solid gray;
1231 background-color: #ffffff;
1238 .editExternallyHelp {
1248 /* Classes for EXIF data display */
1252 margin-bottom: 0.5em;
1256 table.mw_metadata caption {
1260 table.mw_metadata th {
1261 font-weight: normal;
1264 table.mw_metadata td {
1270 border-collapse: collapse;
1273 table.mw_metadata td, table.mw_metadata th {
1275 border: 1px solid #aaaaaa;
1276 padding-left: 0.1em;
1277 padding-right: 0.1em;
1280 table.mw_metadata th {
1281 background-color: #f9f9f9;
1284 table.mw_metadata td {
1285 background-color: #fcfcfc;
1288 table.collapsed tr.collapsable {
1296 border: 1px solid #aaaaaa;
1297 background-color: #f9f9f9;
1300 margin-bottom: 0.5em;
1307 list-style-type: none;
1316 input#wpSave, input#wpDiff {
1317 margin-right: 0.33em;
1324 /* Classes for article validation */
1326 table.revisionform_default {
1327 border: 1px solid #000000;
1330 table.revisionform_focus {
1331 border: 1px solid #000000;
1332 background-color:#00BBFF;
1335 tr.revision_tr_default {
1336 background-color:#EEEEEE;
1339 tr.revision_tr_first {
1340 background-color:#DDDDDD;
1349 border: solid 1px #bbbbff;
1350 background-color: #eeeeff;
1355 /* Allmessages table */
1357 #allmessagestable th {
1358 background-color: #b2b2ff;
1361 #allmessagestable tr.orig {
1362 background-color: #ffe2e2;
1365 #allmessagestable tr.new {
1366 background-color: #e2ffe2;
1369 #allmessagestable tr.def {
1370 background-color: #f0f0ff;
1376 border: 1px solid #ccc;
1382 div#searchTargetContainer {
1392 background: #F0F0F0;
1393 border: solid 1px blue;
1396 div#searchTarget ul li {
1400 div#searchTarget ul li:before {
1402 content: "\00BB \0020";
1405 div#searchTargetHide {
1407 border:solid 1px black;
1416 div.multipageimagenavbox {
1417 border: solid 1px silver;
1420 background: #f0f0f0;
1423 div.multipageimagenavbox div.thumb {
1429 div.multipageimagenavbox hr {
1433 table.multipageimage td {
1437 /** Special:Version */
1439 table#sv-ext, table#sv-hooks, table#sv-software {
1444 #sv-ext td, #sv-hooks td, #sv-software td,
1445 #sv-ext th, #sv-hooks th, #sv-software th {
1446 border: 1px solid #A0A0A0;
1447 padding: 0 0.15em 0 0.15em;
1449 #sv-ext th, #sv-hooks th, #sv-software th {
1450 background-color: #F0F0F0;
1452 padding: 0 0.15em 0 0.15em;
1458 tr.sv-space td { display: none; }
1461 Table pager (e.g. Special:Imagelist)
1462 - remove underlines from the navigation link
1464 - set the borders to outsets (similar to Special:Allmessages)
1465 - remove line wrapping for all td and th, set background color
1466 - restore line wrapping for the last two table cells (description and size)
1468 .TablePager { min-width: 80%; }
1469 .TablePager_nav a { text-decoration: none; }
1470 .TablePager { border-collapse: collapse; }
1471 .TablePager, .TablePager td, .TablePager th {
1472 border: 1px solid #aaaaaa;
1473 padding: 0 0.15em 0 0.15em;
1475 .TablePager th { background-color: #eeeeff }
1476 .TablePager td { background-color: #ffffff }
1477 .TablePager tr:hover td { background-color: #eeeeff }
1479 .imagelist td, .imagelist th { white-space: nowrap }
1480 .imagelist .TablePager_col_links { background-color: #eeeeff }
1481 .imagelist .TablePager_col_img_description { white-space: normal }
1482 .imagelist th.TablePager_sort { background-color: #ccccff }
1484 .templatesUsed { margin-top: 1.5em; }
1486 .mw-summary-preview {
1490 /* Friendlier slave lag warnings */
1491 div.mw-lag-warn-normal,
1492 div.mw-lag-warn-high {
1497 div.mw-lag-warn-normal {
1498 border: 1px solid #FFCC66;
1499 background-color: #FFFFCC;
1501 div.mw-lag-warn-high {
1503 border: 2px solid #FF0033;
1504 background-color: #FFCCCC;
1507 .MediaTransformError {
1508 background-color: #ccc;
1511 .MediaTransformError td {
1513 vertical-align: middle;
1517 /** Special:Search stuff */
1518 div#mw-search-interwiki-caption {
1524 .mw-search-interwiki-project {
1527 padding-left: 0.2em;
1528 padding-right: 0.15em;
1529 padding-bottom: 0.2em;
1530 padding-top: 0.15em;
1531 background: #cae8ff;
1534 /* God-damned hack for the crappy layout */