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;
518 border: 1px solid gray
;
534 margin: .1em 0 0 1.1em;
535 background-color: #f3f3f3;
548 ** keep the whitespace in front of the ^=, hides rule from konqueror
549 ** this is css3, the validator doesn't like it when validating as css2
551 #bodyContent a
.external
,
552 #bodyContent a
[href ^
="gopher://"] {
553 background: url
(external.png) center right no-repeat
;
556 #bodyContent a
[href ^
="https://"],
558 background: url
(lock_icon.gif) center right no-repeat
;
561 #bodyContent a
[href ^
="mailto:"],
563 background: url
(mail_icon.gif) center right no-repeat
;
566 #bodyContent a
[href ^
="news://"] {
567 background: url
(news_icon.png) center right no-repeat
;
570 #bodyContent a
[href ^
="ftp://"],
572 background: url
(file_icon.gif) center right no-repeat
;
575 #bodyContent a
[href ^
="irc://"],
576 #bodyContent a
.extiw
[href ^
="irc://"],
578 background: url
(discussionitem_icon.gif) center right no-repeat
;
581 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
582 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
583 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
584 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
585 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
586 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
588 background: url
("audio.png") center right no-repeat
;
591 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
592 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
593 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
594 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
596 background: url
("video.png") center right no-repeat
;
599 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
600 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
601 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
603 background: url
("document.png") center right no-repeat
;
607 .rtl #bodyContent a
.external
,
608 .rtl #bodyContent a[href ^="gopher://"] {
609 background: url
(external.png) center left no-repeat
;
613 .rtl #bodyContent a
[href ^
="https://"],
615 background: url
(lock_icon.gif) center left no-repeat
;
619 .rtl #bodyContent a
[href ^
="mailto:"],
621 background: url
(mail_icon.gif) center left no-repeat
;
625 .rtl #bodyContent a[href ^="news://"] {
626 background: url
(news_icon.png) center left no-repeat
;
630 .rtl #bodyContent a
[href ^
="ftp://"],
632 background: url
(file_icon.gif) center left no-repeat
;
636 .rtl #bodyContent a
[href ^
="irc://"],
638 background: url
(discussionitem_icon.gif) center left no-repeat
;
642 .rtl #bodyContent a
.external
[href $
=".ogg"], .rtl #bodyContent a
.external
[href $
=".OGG"],
643 .rtl #bodyContent a
.external
[href $
=".mid"], .rtl #bodyContent a
.external
[href $
=".MID"],
644 .rtl #bodyContent a
.external
[href $
=".midi"], .rtl #bodyContent a
.external
[href $
=".MIDI"],
645 .rtl #bodyContent a
.external
[href $
=".mp3"], .rtl #bodyContent a
.external
[href $
=".MP3"],
646 .rtl #bodyContent a
.external
[href $
=".wav"], .rtl #bodyContent a
.external
[href $
=".WAV"],
647 .rtl #bodyContent a
.external
[href $
=".wma"], .rtl #bodyContent a
.external
[href $
=".WMA"],
649 background: url
("audio.png") center left no-repeat
;
653 .rtl #bodyContent a
.external
[href $
=".ogm"], .rtl #bodyContent a
.external
[href $
=".OGM"],
654 .rtl #bodyContent a
.external
[href $
=".avi"], .rtl #bodyContent a
.external
[href $
=".AVI"],
655 .rtl #bodyContent a
.external
[href $
=".mpeg"], .rtl #bodyContent a
.external
[href $
=".MPEG"],
656 .rtl #bodyContent a
.external
[href $
=".mpg"], .rtl #bodyContent a
.external
[href $
=".MPG"],
658 background: url
("video.png") center left no-repeat
;
662 .rtl #bodyContent a
.external
[href $
=".pdf"], .rtl #bodyContent a
.external
[href $
=".PDF"],
663 .rtl #bodyContent a
.external
[href
*=".pdf#"], .rtl #bodyContent a
.external
[href
*=".PDF#"],
664 .rtl #bodyContent a
.external
[href
*=".pdf?"], .rtl #bodyContent a
.external
[href
*=".PDF?"],
666 background: url
("document.png") center left no-repeat
;
671 /* disable interwiki styling */
672 #bodyContent a
.extiw
,
673 #bodyContent a
.extiw:active
{
678 #bodyContent a
.external
{
681 /* this can be used in the content area to switch off
682 special external link styling */
683 #bodyContent .plainlinks a
{
684 background: none
!important
;
685 padding: 0 !important
;
688 ** Structural Elements
692 ** general portlet styles (elements in the quickbar)
708 background: transparent
;
709 padding: 0 1em 0 .5em;
712 text-transform: lowercase
;
719 border: 1px solid
#2f6fab;
720 border-style: solid solid none solid
;
721 padding: 0 1em 0 1em;
722 text-transform: lowercase
;
731 background-color: white
;
733 border-collapse: collapse
;
734 border: 1px solid
#aaa;
735 padding: 0 .8em .3em .5em;
746 list-style-type: square
;
747 list-style-image: url
(bullet.gif);
762 position: absolute
; /*needed to use z-index */
776 background-repeat: no-repeat
;
777 background-position: 35% 50% !important
;
778 text-decoration: none
;
803 padding: .5em .4em .4em .4em;
808 ** the personal toolbar
829 #p-personal .portlet
,
838 /* this is the ul contained in the portlet */
843 padding: 0 2em 0 3em;
862 text-decoration: none
;
864 padding-bottom: .2em;
867 #p-personal li
a:hover
{
868 background-color: white
;
869 padding-bottom: .2em;
870 text-decoration: none
;
872 #p-personal li
.active
a:hover
{
873 background-color: transparent
;
875 /* the icon in front of the user name, single quotes
876 in bg url to hide it from iemac */
880 background: url
(user.gif) top left no-repeat
;
882 text-transform: none
;
885 text-transform: lowercase
;
887 #p-personal li
.active
{
891 ** the page-related actions- page/talk, edit etc
903 border-collapse: collapse
;
913 border: 1px solid
#aaa;
920 #p-cactions li
.selected
{
921 border-color: #fabd23;
926 background-color: #fbfbfb;
929 padding: 0 .8em .3em;
933 text-decoration: none
;
935 #p-cactions li
.selected a
{
937 padding: 0 1em .2em!important
;
938 background-color: white
;
943 #p-cactions li
a:hover
{
945 text-decoration: none
;
946 background-color: white
;
951 #p-cactions li
.istalk
{
954 #p-cactions li
.istalk a
{
957 #p-cactions #ca-addsection a
{
961 /* offsets to distinguish the tab groups */
965 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
970 background-color: transparent
;
972 border-collapse: inherit
;
976 #p-cactions .hiddenStructure
{
980 text-transform: lowercase
;
984 ** the remaining portlets
992 /* TODO: #t-iscite is only used by the Cite extension, come up with some
993 * system which allows extensions to add to this file on the fly
995 #t-ispermalink, #t-iscite
{
1002 background-color: white
;
1003 border-top: 1px solid
#fabd23;
1004 border-bottom: 1px solid
#fabd23;
1005 margin: .6em 0 1em 0;
1006 padding: .4em 0 1.2em 0;
1014 #f-poweredbyico, #f-copyrightico
{
1017 top: -2px; /* Bump it up just a tad */
1036 background-color: #f0f0f0;
1040 margin: 1px -2px 1px 2px;
1042 padding: 2px 0 3px 0;
1043 border: 1px solid
#fff;
1044 border-right-color: #716f64;
1047 white-space: nowrap
;
1048 list-style-type: none
;
1049 list-style-image: none
;
1052 #preftoc li
.selected
{
1054 background-color: #f9f9f9;
1055 border: 1px solid
#aaa;
1056 border-bottom: none
;
1062 #preftoc > li
.selected
{
1071 text-decoration: none
;
1073 #preftoc li
.selected a
{
1075 text-decoration: none
;
1083 border: 1px solid
#aaa;
1086 background-color: #F9F9F9;
1093 .prefsection fieldset {
1094 border: 1px solid
#aaa;
1098 .prefsection legend {
1101 .prefsection table, .prefsection legend {
1102 background-color: #F9F9F9;
1107 div
.prefsectiontip
{
1115 padding-right: .3em;
1118 .preferences-login {
1120 margin-bottom: 1.5em;
1128 div#userloginForm form
,
1129 div#userlogin form#userlogin2
{
1130 margin: 0 3em 1em 0;
1131 border: 1px solid
#aaa;
1134 background-color: #f9f9f9;
1138 div#userloginForm table
,
1139 div#userlogin form#userlogin2 table
{
1140 background-color: #f9f9f9;
1143 div#userloginForm h2
,
1144 div#userlogin form#userlogin2 h2
{
1148 div#userlogin
.captcha
,
1149 div#userloginForm
.captcha
{
1150 border: 1px solid
#bbb;
1152 background-color: white
;
1156 #userloginprompt, #languagelinks
{
1166 #userlogin .loginText
, #userlogin
.loginPassword
{
1170 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1175 ** IE/Mac fixes, hope to find a validating way to move this
1176 ** to a separate stylesheet. This would work but doesn't validate:
1177 ** @import("IEMacFixes.css");
1179 /* tabs: border on the a, not the div */
1180 * > html #p-cactions li
{ border: none
; }
1181 * > html #p-cactions li a
{
1182 border: 1px solid
#aaa;
1183 border-bottom: none
;
1185 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1186 /* footer icons need a fixed width */
1187 * > html #f-poweredbyico
,
1188 * > html #f-copyrightico
{ width: 88px; }
1189 * > html #bodyContent
,
1190 * > html #bodyContent pre
{
1193 padding-bottom: 25px;
1197 /* float/negative margin brokenness */
1198 * html #footer
{margin-top: 0;}
1199 * html #column-content
{
1203 * html div
.editsection
{ font-size: smaller
; }
1204 #pagehistory li
.selected
{ position: relative
; }
1206 /* Mac IE 5.0 fix; floated content turns invisible */
1207 * > html #column-content
{
1210 * > html #column-one
{
1216 margin-left: 13.2em;
1228 background-color: #ffa;
1235 span
.newpage
, span
.minor
, span
.bot
{
1243 .sharedUploadNotice {
1247 span
.updatedmarker
{
1249 background-color: #0f0;
1253 border: 1px solid
#ccc;
1256 background-color: white
;
1260 vertical-align: top
;
1264 vertical-align: top
;
1265 background-color: #f9f9f9;
1266 border: solid
2px white
;
1268 /* Keep this temporarily so that cached pages will display right */
1269 table
.gallery td
.galleryheader
{
1273 table
.gallery caption
{
1281 div
.gallerybox div
.thumb
{
1283 border: 1px solid
#ccc;
1304 border-bottom: 1px solid
#aaa;
1305 padding-bottom: 1em;
1315 border: 1px solid gray
;
1316 background-color: #ffffff;
1323 .editExternallyHelp {
1333 /* Classes for EXIF data display */
1337 margin-bottom: 0.5em;
1341 table
.mw_metadata caption
{
1345 table
.mw_metadata th
{
1346 font-weight: normal
;
1349 table
.mw_metadata td
{
1355 border-collapse: collapse
;
1358 table
.mw_metadata td
, table
.mw_metadata th
{
1360 border: 1px solid
#aaaaaa;
1361 padding-left: 0.1em;
1362 padding-right: 0.1em;
1365 table
.mw_metadata th
{
1366 background-color: #f9f9f9;
1369 table
.mw_metadata td
{
1370 background-color: #fcfcfc;
1373 table
.collapsed tr
.collapsable
{
1381 border: 1px solid
#aaaaaa;
1382 background-color: #f9f9f9;
1385 margin-bottom: 0.5em;
1392 list-style-type: none
;
1401 input#wpSave
, input#wpDiff
{
1402 margin-right: 0.33em;
1405 #editform .editOptions
{
1413 /* Classes for article validation */
1415 table
.revisionform_default
{
1416 border: 1px solid
#000000;
1419 table
.revisionform_focus
{
1420 border: 1px solid
#000000;
1421 background-color:#00BBFF;
1424 tr
.revision_tr_default
{
1425 background-color:#EEEEEE;
1428 tr
.revision_tr_first
{
1429 background-color:#DDDDDD;
1438 border: solid
1px #bbbbff;
1439 background-color: #eeeeff;
1444 /* Allmessages table */
1446 #allmessagestable th
{
1447 background-color: #b2b2ff;
1450 #allmessagestable tr
.orig
{
1451 background-color: #ffe2e2;
1454 #allmessagestable tr
.new
{
1455 background-color: #e2ffe2;
1458 #allmessagestable tr
.def
{
1459 background-color: #f0f0ff;
1465 border: 1px solid
#ccc;
1471 div#searchTargetContainer
{
1481 background: #F0F0F0;
1482 border: solid
1px blue
;
1485 div#searchTarget ul li
{
1489 div#searchTarget ul
li:before
{
1491 content: "\00BB \0020";
1494 div#searchTargetHide
{
1496 border:solid
1px black
;
1501 div
.multipageimagenavbox
{
1502 border: solid
1px silver
;
1505 -moz-border-radius: 6px;
1506 background: #f0f0f0;
1509 div
.multipageimagenavbox div
.thumb
{
1515 div
.multipageimagenavbox hr
{
1519 table
.multipageimage td
{
1523 /** Special:Version */
1525 table#sv-ext
, table#sv-hooks
, table#sv-software
{
1530 #sv-ext td
, #sv-hooks td
, #sv-software td
,
1531 #sv-ext th
, #sv-hooks th
, #sv-software th
{
1532 border: 1px solid
#A0A0A0;
1533 padding: 0 0.15em 0 0.15em;
1535 #sv-ext th
, #sv-hooks th
, #sv-software th
{
1536 background-color: #F0F0F0;
1538 padding: 0 0.15em 0 0.15em;
1544 tr
.sv-space td
{ display: none
; }
1547 Table pager (e.g. Special:Imagelist)
1548 - remove underlines from the navigation link
1550 - set the borders to outsets (similar to Special:Allmessages)
1551 - remove line wrapping for all td and th, set background color
1552 - restore line wrapping for the last two table cells (description and size)
1554 .TablePager_nav a { text-decoration: none
; }
1555 .TablePager { border-collapse: collapse
; }
1556 .TablePager, .TablePager td, .TablePager th {
1557 border: 1px solid
#aaaaaa;
1558 padding: 0 0.15em 0 0.15em;
1560 .TablePager th { background-color: #eeeeff }
1561 .TablePager td { background-color: #ffffff }
1562 .TablePager tr:hover td { background-color: #eeeeff }
1564 .imagelist td, .imagelist th { white-space: nowrap
}
1565 .imagelist .TablePager_col_links { background-color: #eeeeff }
1566 .imagelist .TablePager_col_img_description { white-space: normal
}
1567 .imagelist th.TablePager_sort { background-color: #ccccff }
1569 .templatesUsed { margin-top: 1.5em; }
1571 .mw-summary-preview {
1575 /* Friendlier slave lag warnings */
1576 div
.mw-lag-warn-normal
,
1577 div
.mw-lag-warn-high
{
1582 div
.mw-lag-warn-normal
{
1583 border: 1px solid
#FFCC66;
1584 background-color: #FFFFCC;
1586 div
.mw-lag-warn-high
{
1588 border: 2px solid
#FF0033;
1589 background-color: #FFCCCC;
1592 /* Recreating-deleted-page/reupload file warning and log entries */
1593 div#mw-upload-deleted-warn
,
1594 div#mw-recreate-deleted-warn
{
1597 border: 2px solid
#2F6FAB;
1599 div#mw-upload-deleted-warn ul li
,
1600 div#mw-recreate-deleted-warn ul li
{
1603 .MediaTransformError {
1604 background-color: #ccc;
1607 .MediaTransformError td {
1609 vertical-align: middle
;
1613 /** Special:Search stuff */
1614 div#mw-search-interwiki-caption
{
1620 .mw-search-interwiki-project {
1623 padding-left: 0.2em;
1624 padding-right: 0.15em;
1625 padding-bottom: 0.2em;
1626 padding-top: 0.15em;
1627 background: #cae8ff;
1635 /* God-damned hack for the crappy layout */