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 :)
13 * Stylesheet for screen/projection. All rules not marked media-specific are
14 * shared with handheld.css and should be updated in tandem. The rules can't
15 * be in the same file because old browsers like IE5 won't obey @media rules.
17 * Rules that are screen/projection-specific are marked with commented-out
18 * @media rules and indentation.
21 /* @media screen, projection { */
25 margin: 0 0 .6em -13.2em;
29 margin: 2.8em 0 0 13.2em;
30 padding: 0 1em 1.5em 1em;
41 border: 1px solid #aaa;
45 /* the left column width is specified in class .portlet */
48 ** We take advantage of keyword scaling- browsers won't go below 9px
49 ** More at http://www.w3.org/2003/07/30-font-size
50 ** http://style.cleverchimp.com/font_size_intervals/altintervals.html
54 font: x-small sans-serif;
61 /* scale back up to a sane default */
77 /* we don't want the bottom borders of <h2>s to be visible through
79 background-color: white;
82 text-decoration: none;
93 text-decoration: underline;
98 a.new, #p-personal a.new {
101 a.new:visited, #p-personal a.new:visited {
107 vertical-align: middle;
109 /* @media screen, projection { */
111 margin: .4em 0 .5em 0;
122 background-color: #aaa;
124 margin: .2em 0 .2em 0;
127 h1, h2, h3, h4, h5, h6 {
133 padding-bottom: .17em;
134 border-bottom: 1px solid #aaa;
136 h1 { font-size: 188%; }
137 h1 .editsection { font-size: 53%; }
138 h2 { font-size: 150%; }
139 h2 .editsection { font-size: 67%; }
144 h3 { font-size: 132%; }
145 h3 .editsection { font-size: 76%; font-weight: normal; }
146 h4 { font-size: 116%; }
147 h4 .editsection { font-size: 86%; font-weight: normal; }
148 h5 { font-size: 100%; }
149 h5 .editsection { font-weight: normal; }
150 h6 { font-size: 80%; }
151 h6 .editsection { font-size: 125%; font-weight: normal; }
160 list-style-type: square;
161 margin: .3em 0 0 1.5em;
163 list-style-image: url(bullet.gif);
167 margin: .3em 0 0 3.2em;
169 list-style-image: none;
189 border: 1px solid #2f6fab;
208 input.historysubmit {
209 padding: 0 .3em .3em .3em !important;
212 height: 1.7em !important;
218 abbr, acronym, .explain {
219 border-bottom: 1px dotted black;
225 font-family: Times, "Times New Roman", serif;
230 font-family: Times, "Times New Roman", serif;
234 background-color: #f9f9f9;
238 border: 1px dashed #2f6fab;
240 background-color: #f9f9f9;
245 ** the main content area
248 /* @media screen, projection { */
257 #contentSub, #contentSub2 {
260 margin: 0 0 1.4em 1em;
268 /* Some space under the headers in the content area */
269 #bodyContent h1, #bodyContent h2 {
272 #bodyContent h3, #bodyContent h4, #bodyContent h5 {
279 /* user notification thing */
281 background-color: #ffce7b;
282 border: 1px solid #ffa500;
287 vertical-align: middle;
302 .errorbox, .successbox {
312 background-color: #fff2f2;
316 background-color: #dfd;
318 .errorbox h2, .successbox h2 {
327 border: 1px solid #aaa;
328 background-color: #f9f9f9;
333 /* currently unused, intended to be used by a metadata box
334 in the bottom-right corner of the content area */
335 .documentDescription {
336 /* The summary text describing the document */
359 /* small for tables and similar */
374 border: 1px solid #aaa;
375 background-color: #f9f9f9;
395 list-style-type: none;
396 list-style-image: none;
417 div.floatright, table.floatright {
421 margin: 0 0 .5em .5em;
424 border: .5em solid white;
425 border-width: .5em 0 .8em 1.4em;
428 div.floatright p { font-style: italic; }
429 div.floatleft, table.floatleft {
433 margin: 0 .5em .5em 0;
436 margin: .3em .5em .5em 0;
437 border: .5em solid white;
438 border-width: .5em 1.4em .8em 0;
441 div.floatleft p { font-style: italic; }
450 border: 1px solid #ccc;
451 padding: 3px !important;
452 background-color: #f9f9f9;
458 border: 1px solid #ccc;
464 padding: 3px !important;
469 border: none !important;
470 background: none !important;
472 div.magnify a, div.magnify img {
474 border: none !important;
475 background: none !important;
480 border-width: .5em 0 .8em 1.4em;
486 border-width: .5em 1.4em .8em 0;
494 vertical-align: middle;
500 /* Have a checkered background on images on the description pages and in galleries
501 to make transparency visible
503 #file img, .gallerybox .thumb img {
504 background: url(Checker-16x16.png) repeat;
509 ** classes for special content elements like town boxes
510 ** intended to be referenced directly from the wiki src
516 /* table standards */
525 border: 1px solid #aaa;
526 background-color: #f9f9f9;
535 border: 1px solid gray;
551 margin: .1em 0 0 1.1em;
552 background-color: #f3f3f3;
564 /* Page history styling */
565 /* the auto-generated edit comments */
569 #pagehistory span.user {
573 #pagehistory span.minor {
577 border: 1px solid white;
579 #pagehistory li.selected {
580 background-color: #f9f9f9;
581 border: 1px dashed #aaa;
587 table.diff, td.diff-otitle, td.diff-ntitle {
588 background-color: white;
594 td.diff-deletedline {
605 text-decoration: none;
609 ** keep the whitespace in front of the ^=, hides rule from konqueror
610 ** this is css3, the validator doesn't like it when validating as css2
612 #bodyContent a.external,
613 #bodyContent a[href ^="gopher://"] {
614 background: url(external.png) center right no-repeat;
617 #bodyContent a[href ^="https://"],
619 background: url(lock_icon.gif) center right no-repeat;
622 #bodyContent a[href ^="mailto:"],
624 background: url(mail_icon.gif) center right no-repeat;
627 #bodyContent a[href ^="news://"] {
628 background: url(news_icon.png) center right no-repeat;
631 #bodyContent a[href ^="ftp://"],
633 background: url(file_icon.gif) center right no-repeat;
636 #bodyContent a[href ^="irc://"],
638 background: url(discussionitem_icon.gif) center right no-repeat;
641 #bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
642 #bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"],
643 #bodyContent a.external[href $=".midi"], #bodyContent a.external[href $=".MIDI"],
644 #bodyContent a.external[href $=".mp3"], #bodyContent a.external[href $=".MP3"],
645 #bodyContent a.external[href $=".wav"], #bodyContent a.external[href $=".WAV"],
646 #bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
648 background: url("audio.png") center right no-repeat;
651 #bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
652 #bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"],
653 #bodyContent a.external[href $=".mpeg"], #bodyContent a.external[href $=".MPEG"],
654 #bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
656 background: url("video.png") center right no-repeat;
659 #bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
660 #bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"],
661 #bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"],
663 background: url("document.png") center right no-repeat;
667 /* disable interwiki styling */
668 #bodyContent a.extiw,
669 #bodyContent a.extiw:active {
674 #bodyContent a.external {
677 /* this can be used in the content area to switch off
678 special external link styling */
679 #bodyContent .plainlinks a {
680 background: none !important;
681 padding: 0 !important;
684 ** Structural Elements
688 ** general portlet styles (elements in the quickbar)
704 background: transparent;
705 padding: 0 1em 0 .5em;
708 text-transform: lowercase;
715 border: 1px solid #2f6fab;
716 border-style: solid solid none solid;
717 padding: 0 1em 0 1em;
718 text-transform: lowercase;
727 background-color: white;
729 border-collapse: collapse;
730 border: 1px solid #aaa;
731 padding: 0 .8em .3em .5em;
742 list-style-type: square;
743 list-style-image: url(bullet.gif);
755 /* @media screen, projection { */
759 position: absolute; /*needed to use z-index */
773 background-repeat: no-repeat;
774 background-position: 35% 50% !important;
775 text-decoration: none;
780 ** the navigation portlet
783 /* @media screen, projection { */
784 #p-navigation, #p-support, #p-community, #p-wiki, #p-tb {
788 #p-navigation a, #p-support a, #p-community a, #p-wiki a, #p-tb a {
791 #p-navigation li.active a, #p-navigation li.active a:hover,
792 #p-support li.active a, #p-support li.active a:hover,
793 #p-community li.active a, #p-community li.active a:hover,
794 #p-wiki li.active a, #p-wiki li.active a:hover
795 #p-tb li.active a, #p-tb li.active a:hover
801 #p-navigation .pBody, #p-support .pBody, #p-community .pBody, #p-wiki .pBody,
807 #p-navigation li.active a, #p-navigation li.active a:hover,
808 #p-support li.active a, #p-support li.active a:hover,
809 #p-community li.active a, #p-community li.active a:hover
810 #p-wiki li.active a, #p-wiki li.active a:hover
811 #p-tb li.active a, #p-tb li.active a:hover
813 text-decoration: none;
818 ** the advertisement portlet
821 /* @media screen, projection { */
826 #p-advertisement .pBody>div {
832 #p-advertisement li.active a, #p-advertisement li.active a:hover {
837 #p-advertisement .pBody {
841 #p-advertisement li.active a, #p-advertisement li.active a:hover {
842 text-decoration: none;
850 /* @media screen, projection { */
871 padding: .5em .4em .4em .4em;
876 ** the personal toolbar
878 /* @media screen, projection { */
898 #p-personal .portlet,
907 /* this is the ul contained in the portlet */
912 padding: 0 2em 0 3em;
931 text-decoration: none;
933 padding-bottom: .2em;
936 #p-personal li a:hover {
937 background-color: none;
938 padding-bottom: .2em;
939 text-decoration: none;
941 #p-personal li.active a:hover {
942 background-color: transparent;
944 /* the icon in front of the user name, single quotes
945 in bg url to hide it from iemac */
949 background: url(user.gif) top left no-repeat;
951 text-transform: none;
955 text-transform: lowercase;
957 #p-personal li.active {
961 ** the page-related actions- page/talk, edit etc
963 /* @media screen, projection { */
974 border-collapse: collapse;
984 border: 1px solid #aaa;
991 #p-cactions li.selected {
992 border-color: #fabd23;
997 background-color: #fbfbfb;
1000 padding: 0 .8em .3em;
1004 text-decoration: none;
1006 #p-cactions li.selected a {
1008 padding: 0 1em .2em!important;
1009 background-color: white;
1011 #p-cactions .new a {
1014 #p-cactions li a:hover {
1016 text-decoration: none;
1017 background-color: white;
1022 #p-cactions li.istalk {
1025 #p-cactions li.istalk a {
1026 padding-right: .5em;
1028 #p-cactions #ca-addsection a {
1030 padding-right: .4em;
1032 /* offsets to distinguish the tab groups */
1034 margin-right: 1.6em;
1036 li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
1039 #p-cactions .pBody {
1041 background-color: transparent;
1043 border-collapse: inherit;
1048 #p-cactions .hiddenStructure {
1052 text-transform: lowercase;
1056 ** the remaining portlets
1058 /* @media screen, projection { */
1066 /* TODO: #t-iscite is only used by the Cite extension, come up with some
1067 * system which allows extensions to add to this file on the fly
1069 #t-ispermalink, #t-iscite {
1076 background-color: white;
1077 border-top: 1px solid #fabd23;
1078 border-bottom: 1px solid #fabd23;
1079 margin: .6em 0 1em 0;
1080 padding: .4em 0 1.2em 0;
1088 #f-poweredbyico, #f-copyrightico {
1091 top: -2px; /* Bump it up just a tad */
1110 background-color: #f0f0f0;
1113 /* @media screen, projection { */
1115 margin: 1px -2px 1px 2px;
1117 padding: 2px 0 3px 0;
1118 border: 1px solid #fff;
1119 border-right-color: #716f64;
1122 white-space: nowrap;
1123 list-style-type: none;
1124 list-style-image: none;
1128 #preftoc li.selected {
1130 background-color: #f9f9f9;
1131 border: 1px solid #aaa;
1132 border-bottom: none;
1138 #preftoc > li.selected {
1147 text-decoration: none;
1149 #preftoc li.selected a {
1151 text-decoration: none;
1159 border: 1px solid #aaa;
1162 background-color: #F9F9F9;
1169 .prefsection fieldset {
1170 border: 1px solid #aaa;
1174 .prefsection legend {
1177 .prefsection table, .prefsection legend {
1178 background-color: #F9F9F9;
1180 /* @media screen, projection { */
1185 div.prefsectiontip {
1188 background-color: #FFC1C1;
1195 padding-right: .3em;
1198 .preferences-login {
1200 margin-bottom: 1.5em;
1208 div#userloginForm form,
1209 div#userlogin form#userlogin2 {
1210 margin: 0 3em 1em 0;
1211 border: 1px solid #aaa;
1214 background-color: #f9f9f9;
1218 div#userloginForm table,
1219 div#userlogin form#userlogin2 table {
1220 background-color: #f9f9f9;
1223 div#userloginForm h2,
1224 div#userlogin form#userlogin2 h2 {
1228 div#userlogin .captcha {
1229 border: 1px solid #bbb;
1232 background-color: white;
1236 #userloginprompt, #languagelinks {
1246 #userlogin .loginText, #userlogin .loginPassword {
1250 #userloginlink a, #wpLoginattempt, #wpCreateaccount {
1254 /* @media screen, projection { */
1256 ** IE/Mac fixes, hope to find a validating way to move this
1257 ** to a separate stylesheet. This would work but doesn't validate:
1258 ** @import("IEMacFixes.css");
1260 /* tabs: border on the a, not the div */
1261 * > html #p-cactions li { border: none; }
1262 * > html #p-cactions li a {
1263 border: 1px solid #aaa;
1264 border-bottom: none;
1266 * > html #p-cactions li.selected a { border-color: #fabd23; }
1267 /* footer icons need a fixed width */
1268 * > html #f-poweredbyico,
1269 * > html #f-copyrightico { width: 88px; }
1270 * > html #bodyContent,
1271 * > html #bodyContent pre {
1274 padding-bottom: 25px;
1279 /* float/negative margin brokenness */
1280 * html #footer {margin-top: 0;}
1281 * html #column-content {
1285 * html div.editsection { font-size: smaller; }
1286 #pagehistory li.selected { position: relative; }
1288 /* Mac IE 5.0 fix; floated content turns invisible */
1289 * > html #column-content {
1292 * > html #column-one {
1298 margin-left: 13.2em;
1310 background-color: #ffa;
1316 span.newpage, span.minor, span.searchmatch, span.bot {
1327 .sharedUploadNotice {
1331 span.updatedmarker {
1333 background-color: #0f0;
1337 border: 1px solid #ccc;
1340 background-color: white;
1344 vertical-align: top;
1348 vertical-align: top;
1349 background-color: #f9f9f9;
1350 border: solid 2px white;
1352 /* Keep this temporarily so that cached pages will display right */
1353 table.gallery td.galleryheader {
1357 table.gallery caption {
1365 div.gallerybox div.thumb {
1367 border: 1px solid #ccc;
1387 border-bottom: 1px solid #aaa;
1388 padding-bottom: 1em;
1398 border: 1px solid gray;
1399 background-color: #ffffff;
1406 .editExternallyHelp {
1411 li span.deleted, span.history-deleted {
1412 text-decoration: line-through;
1422 /* Classes for EXIF data display */
1426 margin-bottom: 0.5em;
1430 table.mw_metadata caption {
1434 table.mw_metadata th {
1435 font-weight: normal;
1438 table.mw_metadata td {
1444 border-collapse: collapse;
1447 table.mw_metadata td, table.mw_metadata th {
1449 border: 1px solid #aaaaaa;
1450 padding-left: 0.1em;
1451 padding-right: 0.1em;
1454 table.mw_metadata th {
1455 background-color: #f9f9f9;
1458 table.mw_metadata td {
1459 background-color: #fcfcfc;
1462 table.collapsed tr.collapsable {
1470 border: 1px solid #aaaaaa;
1471 background-color: #f9f9f9;
1474 margin-bottom: 0.5em;
1481 list-style-type: none;
1490 input#wpSave, input#wpDiff {
1491 margin-right: 0.33em;
1494 #editform .editOptions {
1502 /* Classes for article validation */
1504 table.revisionform_default {
1505 border: 1px solid #000000;
1508 table.revisionform_focus {
1509 border: 1px solid #000000;
1510 background-color:#00BBFF;
1513 tr.revision_tr_default {
1514 background-color:#EEEEEE;
1517 tr.revision_tr_first {
1518 background-color:#DDDDDD;
1527 border: solid 1px #bbbbff;
1528 background-color: #eeeeff;
1533 /* Allmessages table */
1535 #allmessagestable th {
1536 background-color: #b2b2ff;
1539 #allmessagestable tr.orig {
1540 background-color: #ffe2e2;
1543 #allmessagestable tr.new {
1544 background-color: #e2ffe2;
1547 #allmessagestable tr.def {
1548 background-color: #f0f0ff;
1554 border: 1px solid #ccc;
1560 div#searchTargetContainer {
1570 background: #F0F0F0;
1571 border: solid 1px blue;
1574 div#searchTarget ul li {
1578 div#searchTarget ul li:before {
1580 content: "\00BB \0020";
1583 div.multipageimagenavbox {
1584 border: solid 1px silver;
1587 -moz-border-radius: 6px;
1588 background: #f0f0f0;
1591 div.multipageimagenavbox div.thumb {
1597 div.multipageimagenavbox hr {
1601 table.multipageimage td {
1605 /** Special:Version */
1607 table#sv-ext, table#sv-hooks {
1612 #sv-ext td, #sv-hooks td,
1613 #sv-ext th, #sv-hooks th {
1614 border: 1px solid #A0A0A0;
1615 padding: 0 0.15em 0 0.15em;
1617 #sv-ext th, #sv-hooks th {
1618 background-color: #F0F0F0;
1620 padding: 0 0.15em 0 0.15em;
1626 tr.sv-space td { display: none; }
1629 Table pager (e.g. Special:Imagelist)
1630 - remove underlines from the navigation link
1632 - set the borders to outsets (similar to Special:Allmessages)
1633 - remove line wrapping for all td and th, set background color
1634 - restore line wrapping for the last two table cells (description and size)
1636 .TablePager_nav a { text-decoration: none; }
1637 .TablePager { border-collapse: collapse; }
1638 .TablePager, .TablePager td, .TablePager th {
1639 border: 1px solid #aaaaaa;
1640 padding: 0 0.15em 0 0.15em;
1642 .TablePager th { background-color: #eeeeff }
1643 .TablePager td { background-color: #ffffff }
1644 .TablePager tr:hover td { background-color: #eeeeff }
1646 .imagelist td, .imagelist th { white-space: nowrap }
1647 .imagelist .TablePager_col_links { background-color: #eeeeff }
1648 .imagelist .TablePager_col_img_description { white-space: normal }
1649 .imagelist th.TablePager_sort { background-color: #ccccff }
1651 .templatesUsed { margin-top: 1.5em; }
1653 .mw-summary-preview {
1657 /* Convenience links on Special:Ipblocklist */
1658 p.mw-ipb-conveniencelinks {
1664 * Here is some stuff that's ACTUALLY COMMON TO ALL SKINS.
1665 * When the day comes, it can be moved to a *real* common.css.
1667 .mw-plusminus-null { color: #aaa; }
1668 .texvc { direction: ltr; unicode-bidi: embed; }
1669 /* Stop floats from intruding into edit area in previews */
1670 #toolbar, #wpTextbox1 { clear: both; }
1672 .MediaTransformError {
1673 background-color: #ccc;
1676 .MediaTransformError td {
1678 vertical-align: middle;