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
;
608 .rtl #bodyContent a.external {
609 background-position: left
;
612 /* correction for ltr wikis */
613 .ltr #bodyContent a.external {
617 /* disable interwiki styling */
618 #bodyContent a
.extiw
,
619 #bodyContent a
.extiw:active
{
624 #bodyContent a
.external
{
627 /* this can be used in the content area to switch off
628 special external link styling */
629 #bodyContent .plainlinks a
{
630 background: none
!important
;
631 padding: 0 !important
;
634 ** Structural Elements
638 ** general portlet styles (elements in the quickbar)
654 background: transparent
;
655 padding: 0 1em 0 .5em;
658 text-transform: lowercase
;
665 border: 1px solid
#2f6fab;
666 border-style: solid solid none solid
;
667 padding: 0 1em 0 1em;
668 text-transform: lowercase
;
677 background-color: white
;
679 border-collapse: collapse
;
680 border: 1px solid
#aaa;
681 padding: 0 .8em .3em .5em;
692 list-style-type: square
;
693 list-style-image: url
(bullet.gif);
708 position: absolute
; /*needed to use z-index */
722 background-repeat: no-repeat
;
723 background-position: 35% 50% !important
;
724 text-decoration: none
;
749 padding: .5em .4em .4em .4em;
754 ** the personal toolbar
775 #p-personal .portlet
,
784 /* this is the ul contained in the portlet */
789 padding: 0 2em 0 3em;
808 text-decoration: none
;
810 padding-bottom: .2em;
813 #p-personal li
a:hover
{
814 background-color: white
;
815 padding-bottom: .2em;
816 text-decoration: none
;
818 #p-personal li
.active
a:hover
{
819 background-color: transparent
;
821 /* the icon in front of the user name, single quotes
822 in bg url to hide it from iemac */
826 background: url
(user.gif) top left no-repeat
;
828 text-transform: none
;
831 text-transform: lowercase
;
833 #p-personal li
.active
{
837 ** the page-related actions- page/talk, edit etc
849 border-collapse: collapse
;
859 border: 1px solid
#aaa;
866 #p-cactions li
.selected
{
867 border-color: #fabd23;
872 background-color: #fbfbfb;
875 padding: 0 .8em .3em;
879 text-decoration: none
;
881 #p-cactions li
.selected a
{
883 padding: 0 1em .2em!important
;
884 background-color: white
;
889 #p-cactions li
a:hover
{
891 text-decoration: none
;
892 background-color: white
;
897 #p-cactions li
.istalk
{
900 #p-cactions li
.istalk a
{
903 #p-cactions #ca-addsection a
{
907 /* offsets to distinguish the tab groups */
911 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
916 background-color: transparent
;
918 border-collapse: inherit
;
922 #p-cactions .hiddenStructure
{
926 text-transform: lowercase
;
930 ** the remaining portlets
938 /* TODO: #t-iscite is only used by the Cite extension, come up with some
939 * system which allows extensions to add to this file on the fly
941 #t-ispermalink, #t-iscite
{
948 background-color: white
;
949 border-top: 1px solid
#fabd23;
950 border-bottom: 1px solid
#fabd23;
951 margin: .6em 0 1em 0;
952 padding: .4em 0 1.2em 0;
960 #f-poweredbyico, #f-copyrightico
{
963 top: -2px; /* Bump it up just a tad */
982 background-color: #f0f0f0;
986 margin: 1px -2px 1px 2px;
988 padding: 2px 0 3px 0;
989 border: 1px solid
#fff;
990 border-right-color: #716f64;
994 list-style-type: none
;
995 list-style-image: none
;
998 #preftoc li
.selected
{
1000 background-color: #f9f9f9;
1001 border: 1px solid
#aaa;
1002 border-bottom: none
;
1008 #preftoc > li
.selected
{
1017 text-decoration: none
;
1019 #preftoc li
.selected a
{
1021 text-decoration: none
;
1029 border: 1px solid
#aaa;
1032 background-color: #F9F9F9;
1039 .prefsection fieldset {
1040 border: 1px solid
#aaa;
1044 .prefsection legend {
1047 .prefsection table, .prefsection legend {
1048 background-color: #F9F9F9;
1053 div
.prefsectiontip
{
1061 padding-right: .3em;
1064 .preferences-login {
1066 margin-bottom: 1.5em;
1074 div#userloginForm form
,
1075 div#userlogin form#userlogin2
{
1076 margin: 0 3em 1em 0;
1077 border: 1px solid
#aaa;
1080 background-color: #f9f9f9;
1084 div#userloginForm table
,
1085 div#userlogin form#userlogin2 table
{
1086 background-color: #f9f9f9;
1089 div#userloginForm h2
,
1090 div#userlogin form#userlogin2 h2
{
1094 div#userlogin
.captcha
,
1095 div#userloginForm
.captcha
{
1096 border: 1px solid
#bbb;
1098 background-color: white
;
1102 #userloginprompt, #languagelinks
{
1112 #userlogin .loginText
, #userlogin
.loginPassword
{
1116 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1121 ** IE/Mac fixes, hope to find a validating way to move this
1122 ** to a separate stylesheet. This would work but doesn't validate:
1123 ** @import("IEMacFixes.css");
1125 /* tabs: border on the a, not the div */
1126 * > html #p-cactions li
{ border: none
; }
1127 * > html #p-cactions li a
{
1128 border: 1px solid
#aaa;
1129 border-bottom: none
;
1131 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1132 /* footer icons need a fixed width */
1133 * > html #f-poweredbyico
,
1134 * > html #f-copyrightico
{ width: 88px; }
1135 * > html #bodyContent
,
1136 * > html #bodyContent pre
{
1139 padding-bottom: 25px;
1143 /* float/negative margin brokenness */
1144 * html #footer
{margin-top: 0;}
1145 * html #column-content
{
1149 * html div
.editsection
{ font-size: smaller
; }
1150 #pagehistory li
.selected
{ position: relative
; }
1152 /* Mac IE 5.0 fix; floated content turns invisible */
1153 * > html #column-content
{
1156 * > html #column-one
{
1162 margin-left: 13.2em;
1174 background-color: #ffa;
1181 span
.newpage
, span
.minor
, span
.bot
{
1189 .sharedUploadNotice {
1193 span
.updatedmarker
{
1195 background-color: #0f0;
1199 border: 1px solid
#ccc;
1202 background-color: white
;
1206 vertical-align: top
;
1210 vertical-align: top
;
1211 background-color: #f9f9f9;
1212 border: solid
2px white
;
1214 /* Keep this temporarily so that cached pages will display right */
1215 table
.gallery td
.galleryheader
{
1219 table
.gallery caption
{
1227 div
.gallerybox div
.thumb
{
1229 border: 1px solid
#ccc;
1250 border-bottom: 1px solid
#aaa;
1251 padding-bottom: 1em;
1261 border: 1px solid gray
;
1262 background-color: #ffffff;
1269 .editExternallyHelp {
1279 /* Classes for EXIF data display */
1283 margin-bottom: 0.5em;
1287 table
.mw_metadata caption
{
1291 table
.mw_metadata th
{
1292 font-weight: normal
;
1295 table
.mw_metadata td
{
1301 border-collapse: collapse
;
1304 table
.mw_metadata td
, table
.mw_metadata th
{
1306 border: 1px solid
#aaaaaa;
1307 padding-left: 0.1em;
1308 padding-right: 0.1em;
1311 table
.mw_metadata th
{
1312 background-color: #f9f9f9;
1315 table
.mw_metadata td
{
1316 background-color: #fcfcfc;
1319 table
.collapsed tr
.collapsable
{
1327 border: 1px solid
#aaaaaa;
1328 background-color: #f9f9f9;
1331 margin-bottom: 0.5em;
1338 list-style-type: none
;
1347 input#wpSave
, input#wpDiff
{
1348 margin-right: 0.33em;
1351 #editform .editOptions
{
1359 /* Classes for article validation */
1361 table
.revisionform_default
{
1362 border: 1px solid
#000000;
1365 table
.revisionform_focus
{
1366 border: 1px solid
#000000;
1367 background-color:#00BBFF;
1370 tr
.revision_tr_default
{
1371 background-color:#EEEEEE;
1374 tr
.revision_tr_first
{
1375 background-color:#DDDDDD;
1384 border: solid
1px #bbbbff;
1385 background-color: #eeeeff;
1390 /* Allmessages table */
1392 #allmessagestable th
{
1393 background-color: #b2b2ff;
1396 #allmessagestable tr
.orig
{
1397 background-color: #ffe2e2;
1400 #allmessagestable tr
.new
{
1401 background-color: #e2ffe2;
1404 #allmessagestable tr
.def
{
1405 background-color: #f0f0ff;
1411 border: 1px solid
#ccc;
1417 div#searchTargetContainer
{
1427 background: #F0F0F0;
1428 border: solid
1px blue
;
1431 div#searchTarget ul li
{
1435 div#searchTarget ul
li:before
{
1437 content: "\00BB \0020";
1440 div#searchTargetHide
{
1442 border:solid
1px black
;
1447 div
.multipageimagenavbox
{
1448 border: solid
1px silver
;
1451 -moz-border-radius: 6px;
1452 background: #f0f0f0;
1455 div
.multipageimagenavbox div
.thumb
{
1461 div
.multipageimagenavbox hr
{
1465 table
.multipageimage td
{
1469 /** Special:Version */
1471 table#sv-ext
, table#sv-hooks
, table#sv-software
{
1476 #sv-ext td
, #sv-hooks td
, #sv-software td
,
1477 #sv-ext th
, #sv-hooks th
, #sv-software th
{
1478 border: 1px solid
#A0A0A0;
1479 padding: 0 0.15em 0 0.15em;
1481 #sv-ext th
, #sv-hooks th
, #sv-software th
{
1482 background-color: #F0F0F0;
1484 padding: 0 0.15em 0 0.15em;
1490 tr
.sv-space td
{ display: none
; }
1493 Table pager (e.g. Special:Imagelist)
1494 - remove underlines from the navigation link
1496 - set the borders to outsets (similar to Special:Allmessages)
1497 - remove line wrapping for all td and th, set background color
1498 - restore line wrapping for the last two table cells (description and size)
1500 .TablePager_nav a { text-decoration: none
; }
1501 .TablePager { border-collapse: collapse
; }
1502 .TablePager, .TablePager td, .TablePager th {
1503 border: 1px solid
#aaaaaa;
1504 padding: 0 0.15em 0 0.15em;
1506 .TablePager th { background-color: #eeeeff }
1507 .TablePager td { background-color: #ffffff }
1508 .TablePager tr:hover td { background-color: #eeeeff }
1510 .imagelist td, .imagelist th { white-space: nowrap
}
1511 .imagelist .TablePager_col_links { background-color: #eeeeff }
1512 .imagelist .TablePager_col_img_description { white-space: normal
}
1513 .imagelist th.TablePager_sort { background-color: #ccccff }
1515 .templatesUsed { margin-top: 1.5em; }
1517 .mw-summary-preview {
1521 /* Friendlier slave lag warnings */
1522 div
.mw-lag-warn-normal
,
1523 div
.mw-lag-warn-high
{
1528 div
.mw-lag-warn-normal
{
1529 border: 1px solid
#FFCC66;
1530 background-color: #FFFFCC;
1532 div
.mw-lag-warn-high
{
1534 border: 2px solid
#FF0033;
1535 background-color: #FFCCCC;
1538 /* Recreating-deleted-page/reupload file warning and log entries */
1539 div#mw-upload-deleted-warn
,
1540 div#mw-recreate-deleted-warn
{
1543 border: 2px solid
#2F6FAB;
1545 div#mw-upload-deleted-warn ul li
,
1546 div#mw-recreate-deleted-warn ul li
{
1549 .MediaTransformError {
1550 background-color: #ccc;
1553 .MediaTransformError td {
1555 vertical-align: middle
;
1559 /** Special:Search stuff */
1560 div#mw-search-interwiki-caption
{
1566 .mw-search-interwiki-project {
1569 padding-left: 0.2em;
1570 padding-right: 0.15em;
1571 padding-bottom: 0.2em;
1572 padding-top: 0.15em;
1573 background: #cae8ff;
1581 /* God-damned hack for the crappy layout */