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 1.5em 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 text-decoration: none
;
82 text-decoration: underline
;
87 a
.new
, #p-personal a
.new
{
90 a
.new:visited
, #p-personal a
.new:visited
{
96 vertical-align: middle
;
99 margin: .4em 0 .5em 0;
109 background-color: #aaa;
111 margin: .2em 0 .2em 0;
115 .mw-h1, .mw-h2, .mw-h3, .mw-h4, .mw-h5, .mw-h6 {
119 border-bottom: 1px solid
#aaa;
121 .mw-h3, .mw-h4, .mw-h5, .mw-h6 {
124 h1
, h2
{ font-weight: normal
; }
125 h1
{ font-size: 188%; }
126 h2
{ font-size: 150%; }
127 h3
{ font-size: 132%; }
128 h4
{ font-size: 116%; }
129 h5
{ font-size: 100%; }
130 h6
{ font-size: 80%; }
132 /* To replicate the old padding, where h# were block-level elements and edit
133 * links were floated, we need to multiply .5em top padding and .17em bottom
134 * padding by the header text sizes. */
135 .mw-h1 { padding: .94em 0 .32em; } /* (0.5*1.88)em 0 (0.17*1.88)em */
136 .mw-h2 { padding: .75em 0 .26em; } /* (0.5*1.50)em 0 (0.17*1.50)em */
137 .mw-h3 { padding: .66em 0 .22em; } /* etc. */
138 .mw-h4 { padding: .58em 0 .20em; }
139 .mw-h5 { padding: .50em 0 .17em; }
140 .mw-h6 { padding: .40em 0 .14em; }
144 list-style-type: square
;
145 margin: .3em 0 0 1.5em;
147 list-style-image: url
(bullet.gif);
151 margin: .3em 0 0 3.2em;
153 list-style-image: none
;
173 border: 1px solid
#2f6fab;
192 input
.historysubmit
{
193 padding: 0 .3em .3em .3em !important
;
196 height: 1.7em !important
;
202 abbr
, acronym
, .explain
{
203 border-bottom: 1px dotted black
;
209 font-family: Times
, "Times New Roman", serif
;
214 font-family: Times, "Times New Roman", serif;
218 background-color: #f9f9f9;
222 border: 1px dashed
#2f6fab;
224 background-color: #f9f9f9;
229 ** the main content area
239 #contentSub, #contentSub2
{
242 margin: 0 0 1.4em 1em;
250 /* Some space under the headers in the content area */
251 #bodyContent h1
, #bodyContent h2
{
254 #bodyContent h3
, #bodyContent h4
, #bodyContent h5
{
261 /* user notification thing */
263 background-color: #ffce7b;
264 border: 1px solid
#ffa500;
269 vertical-align: middle
;
284 .errorbox, .successbox {
294 background-color: #fff2f2;
298 background-color: #dfd;
300 .errorbox h2, .successbox h2 {
309 border: 1px solid
#aaa;
310 background-color: #f9f9f9;
315 /* currently unused, intended to be used by a metadata box
316 in the bottom-right corner of the content area */
317 .documentDescription {
318 /* The summary text describing the document */
341 /* small for tables and similar */
356 border: 1px solid
#aaa;
357 background-color: #f9f9f9;
377 list-style-type: none
;
378 list-style-image: none
;
399 div
.floatright
, table
.floatright
{
403 margin: 0 0 .5em .5em;
406 border: .5em solid white;
407 border-width: .5em 0 .8em 1.4em;
410 div
.floatright p
{ font-style: italic
; }
411 div
.floatleft
, table
.floatleft
{
415 margin: 0 .5em .5em 0;
418 margin: .3em .5em .5em 0;
419 border: .5em solid white;
420 border-width: .5em 1.4em .8em 0;
423 div
.floatleft p
{ font-style: italic
; }
432 border: 1px solid
#ccc;
433 padding: 3px !important
;
434 background-color: #f9f9f9;
440 border: 1px solid
#ccc;
446 padding: 3px !important
;
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;
468 border-width: .5em 1.4em .8em 0;
471 border: 1px solid
#dddddd;
477 /* Have a checkered background on images on the description pages and in galleries
478 to make transparency visible
480 #file img, .gallerybox .thumb img {
481 background: url(Checker-16x16.png) repeat;
486 ** classes for special content elements like town boxes
487 ** intended to be referenced directly from the wiki src
493 /* table standards */
502 border: 1px solid
#aaa;
503 background-color: #f9f9f9;
512 border: 1px solid gray
;
528 margin: .1em 0 0 1.1em;
529 background-color: #f3f3f3;
541 /* Page history styling */
542 /* the auto-generated edit comments */
546 #pagehistory span
.user
{
550 #pagehistory span
.minor
{
554 border: 1px solid white
;
556 #pagehistory li
.selected
{
557 background-color: #f9f9f9;
558 border: 1px dashed
#aaa;
562 ** keep the whitespace in front of the ^=, hides rule from konqueror
563 ** this is css3, the validator doesn't like it when validating as css2
565 #bodyContent a
.external
,
566 #bodyContent a
[href ^
="gopher://"] {
567 background: url
(external.png) center right no-repeat
;
570 #bodyContent a
[href ^
="https://"],
572 background: url
(lock_icon.gif) center right no-repeat
;
575 #bodyContent a
[href ^
="mailto:"],
577 background: url
(mail_icon.gif) center right no-repeat
;
580 #bodyContent a
[href ^
="news://"] {
581 background: url
(news_icon.png) center right no-repeat
;
584 #bodyContent a
[href ^
="ftp://"],
586 background: url
(file_icon.gif) center right no-repeat
;
589 #bodyContent a
[href ^
="irc://"],
591 background: url
(discussionitem_icon.gif) center right no-repeat
;
594 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
595 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
596 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
597 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
598 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
599 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
601 background: url
("audio.png") center right no-repeat
;
604 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
605 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
606 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
607 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
609 background: url
("video.png") center right no-repeat
;
612 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
613 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
614 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
616 background: url
("document.png") center right no-repeat
;
620 /* disable interwiki styling */
621 #bodyContent a
.extiw
,
622 #bodyContent a
.extiw:active
{
627 #bodyContent a
.external
{
630 /* this can be used in the content area to switch off
631 special external link styling */
632 #bodyContent .plainlinks a
{
633 background: none
!important
;
634 padding: 0 !important
;
637 ** Structural Elements
641 ** general portlet styles (elements in the quickbar)
657 background: transparent
;
658 padding: 0 1em 0 .5em;
661 text-transform: lowercase
;
668 border: 1px solid
#2f6fab;
669 border-style: solid solid none solid
;
670 padding: 0 1em 0 1em;
671 text-transform: lowercase
;
680 background-color: white
;
682 border-collapse: collapse
;
683 border: 1px solid
#aaa;
684 padding: 0 .8em .3em .5em;
695 list-style-type: square
;
696 list-style-image: url
(bullet.gif);
711 position: absolute
; /*needed to use z-index */
725 background-repeat: no-repeat
;
726 background-position: 35% 50% !important
;
727 text-decoration: none
;
752 padding: .5em .4em .4em .4em;
757 ** the personal toolbar
778 #p-personal .portlet
,
787 /* this is the ul contained in the portlet */
792 padding: 0 2em 0 3em;
811 text-decoration: none
;
813 padding-bottom: .2em;
816 #p-personal li
a:hover
{
817 background-color: white
;
818 padding-bottom: .2em;
819 text-decoration: none
;
821 #p-personal li
.active
a:hover
{
822 background-color: transparent
;
824 /* the icon in front of the user name, single quotes
825 in bg url to hide it from iemac */
829 background: url
(user.gif) top left no-repeat
;
831 text-transform: none
;
834 text-transform: lowercase
;
836 #p-personal li
.active
{
840 ** the page-related actions- page/talk, edit etc
852 border-collapse: collapse
;
862 border: 1px solid
#aaa;
869 #p-cactions li
.selected
{
870 border-color: #fabd23;
875 background-color: #fbfbfb;
878 padding: 0 .8em .3em;
882 text-decoration: none
;
884 #p-cactions li
.selected a
{
886 padding: 0 1em .2em!important
;
887 background-color: white
;
892 #p-cactions li
a:hover
{
894 text-decoration: none
;
895 background-color: white
;
900 #p-cactions li
.istalk
{
903 #p-cactions li
.istalk a
{
906 #p-cactions #ca-addsection a
{
910 /* offsets to distinguish the tab groups */
914 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
919 background-color: transparent
;
921 border-collapse: inherit
;
925 #p-cactions .hiddenStructure
{
929 text-transform: lowercase
;
933 ** the remaining portlets
941 /* TODO: #t-iscite is only used by the Cite extension, come up with some
942 * system which allows extensions to add to this file on the fly
944 #t-ispermalink, #t-iscite
{
951 background-color: white
;
952 border-top: 1px solid
#fabd23;
953 border-bottom: 1px solid
#fabd23;
954 margin: .6em 0 1em 0;
955 padding: .4em 0 1.2em 0;
963 #f-poweredbyico, #f-copyrightico
{
966 top: -2px; /* Bump it up just a tad */
985 background-color: #f0f0f0;
989 margin: 1px -2px 1px 2px;
991 padding: 2px 0 3px 0;
992 border: 1px solid
#fff;
993 border-right-color: #716f64;
997 list-style-type: none
;
998 list-style-image: none
;
1001 #preftoc li
.selected
{
1003 background-color: #f9f9f9;
1004 border: 1px solid
#aaa;
1005 border-bottom: none
;
1011 #preftoc > li
.selected
{
1020 text-decoration: none
;
1022 #preftoc li
.selected a
{
1024 text-decoration: none
;
1032 border: 1px solid
#aaa;
1035 background-color: #F9F9F9;
1042 .prefsection fieldset {
1043 border: 1px solid
#aaa;
1047 .prefsection legend {
1050 .prefsection table, .prefsection legend {
1051 background-color: #F9F9F9;
1056 div
.prefsectiontip
{
1064 padding-right: .3em;
1067 .preferences-login {
1069 margin-bottom: 1.5em;
1077 div#userloginForm form
,
1078 div#userlogin form#userlogin2
{
1079 margin: 0 3em 1em 0;
1080 border: 1px solid
#aaa;
1083 background-color: #f9f9f9;
1087 div#userloginForm table
,
1088 div#userlogin form#userlogin2 table
{
1089 background-color: #f9f9f9;
1092 div#userloginForm h2
,
1093 div#userlogin form#userlogin2 h2
{
1097 div#userlogin
.captcha
,
1098 div#userloginForm
.captcha
{
1099 border: 1px solid
#bbb;
1101 background-color: white
;
1105 #userloginprompt, #languagelinks
{
1115 #userlogin .loginText
, #userlogin
.loginPassword
{
1119 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1124 ** IE/Mac fixes, hope to find a validating way to move this
1125 ** to a separate stylesheet. This would work but doesn't validate:
1126 ** @import("IEMacFixes.css");
1128 /* tabs: border on the a, not the div */
1129 * > html #p-cactions li
{ border: none
; }
1130 * > html #p-cactions li a
{
1131 border: 1px solid
#aaa;
1132 border-bottom: none
;
1134 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1135 /* footer icons need a fixed width */
1136 * > html #f-poweredbyico
,
1137 * > html #f-copyrightico
{ width: 88px; }
1138 * > html #bodyContent
,
1139 * > html #bodyContent pre
{
1142 padding-bottom: 25px;
1146 /* float/negative margin brokenness */
1147 * html #footer
{margin-top: 0;}
1148 * html #column-content
{
1152 * html div
.editsection
{ font-size: smaller
; }
1153 #pagehistory li
.selected
{ position: relative
; }
1155 /* Mac IE 5.0 fix; floated content turns invisible */
1156 * > html #column-content
{
1159 * > html #column-one
{
1165 margin-left: 13.2em;
1177 background-color: #ffa;
1183 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
1194 .sharedUploadNotice {
1198 span
.updatedmarker
{
1200 background-color: #0f0;
1204 border: 1px solid
#ccc;
1207 background-color: white
;
1211 vertical-align: top
;
1215 vertical-align: top
;
1216 background-color: #f9f9f9;
1217 border: solid
2px white
;
1219 /* Keep this temporarily so that cached pages will display right */
1220 table
.gallery td
.galleryheader
{
1224 table
.gallery caption
{
1232 div
.gallerybox div
.thumb
{
1234 border: 1px solid
#ccc;
1255 border-bottom: 1px solid
#aaa;
1256 padding-bottom: 1em;
1266 border: 1px solid gray
;
1267 background-color: #ffffff;
1274 .editExternallyHelp {
1279 li span
.deleted
, span
.history-deleted
{
1280 text-decoration: line-through
;
1290 /* Classes for EXIF data display */
1294 margin-bottom: 0.5em;
1298 table
.mw_metadata caption
{
1302 table
.mw_metadata th
{
1303 font-weight: normal
;
1306 table
.mw_metadata td
{
1312 border-collapse: collapse
;
1315 table
.mw_metadata td
, table
.mw_metadata th
{
1317 border: 1px solid
#aaaaaa;
1318 padding-left: 0.1em;
1319 padding-right: 0.1em;
1322 table
.mw_metadata th
{
1323 background-color: #f9f9f9;
1326 table
.mw_metadata td
{
1327 background-color: #fcfcfc;
1330 table
.collapsed tr
.collapsable
{
1338 border: 1px solid
#aaaaaa;
1339 background-color: #f9f9f9;
1342 margin-bottom: 0.5em;
1349 list-style-type: none
;
1358 input#wpSave
, input#wpDiff
{
1359 margin-right: 0.33em;
1362 #editform .editOptions
{
1370 /* Classes for article validation */
1372 table
.revisionform_default
{
1373 border: 1px solid
#000000;
1376 table
.revisionform_focus
{
1377 border: 1px solid
#000000;
1378 background-color:#00BBFF;
1381 tr
.revision_tr_default
{
1382 background-color:#EEEEEE;
1385 tr
.revision_tr_first
{
1386 background-color:#DDDDDD;
1395 border: solid
1px #bbbbff;
1396 background-color: #eeeeff;
1401 /* Allmessages table */
1403 #allmessagestable th
{
1404 background-color: #b2b2ff;
1407 #allmessagestable tr
.orig
{
1408 background-color: #ffe2e2;
1411 #allmessagestable tr
.new
{
1412 background-color: #e2ffe2;
1415 #allmessagestable tr
.def
{
1416 background-color: #f0f0ff;
1422 border: 1px solid
#ccc;
1428 div#searchTargetContainer
{
1438 background: #F0F0F0;
1439 border: solid
1px blue
;
1442 div#searchTarget ul li
{
1446 div#searchTarget ul
li:before
{
1448 content: "\00BB \0020";
1451 div#searchTargetHide
{
1453 border:solid
1px black
;
1454 background:gainsboro
;
1458 div
.multipageimagenavbox
{
1459 border: solid
1px silver
;
1462 -moz-border-radius: 6px;
1463 background: #f0f0f0;
1466 div
.multipageimagenavbox div
.thumb
{
1472 div
.multipageimagenavbox hr
{
1476 table
.multipageimage td
{
1480 /** Special:Version */
1482 table#sv-ext
, table#sv-hooks
{
1487 #sv-ext td
, #sv-hooks td
,
1488 #sv-ext th
, #sv-hooks th
{
1489 border: 1px solid
#A0A0A0;
1490 padding: 0 0.15em 0 0.15em;
1492 #sv-ext th
, #sv-hooks th
{
1493 background-color: #F0F0F0;
1495 padding: 0 0.15em 0 0.15em;
1501 tr
.sv-space td
{ display: none
; }
1504 Table pager (e.g. Special:Imagelist)
1505 - remove underlines from the navigation link
1507 - set the borders to outsets (similar to Special:Allmessages)
1508 - remove line wrapping for all td and th, set background color
1509 - restore line wrapping for the last two table cells (description and size)
1511 .TablePager_nav a { text-decoration: none
; }
1512 .TablePager { border-collapse: collapse
; }
1513 .TablePager, .TablePager td, .TablePager th {
1514 border: 1px solid
#aaaaaa;
1515 padding: 0 0.15em 0 0.15em;
1517 .TablePager th { background-color: #eeeeff }
1518 .TablePager td { background-color: #ffffff }
1519 .TablePager tr:hover td { background-color: #eeeeff }
1521 .imagelist td, .imagelist th { white-space: nowrap
}
1522 .imagelist .TablePager_col_links { background-color: #eeeeff }
1523 .imagelist .TablePager_col_img_description { white-space: normal
}
1524 .imagelist th.TablePager_sort { background-color: #ccccff }
1526 .templatesUsed { margin-top: 1.5em; }
1528 .mw-summary-preview {
1532 /* Convenience links on Special:Ipblocklist */
1533 p
.mw-ipb-conveniencelinks
{
1538 /* Friendlier slave lag warnings */
1539 div
.mw-lag-warn-normal
,
1540 div
.mw-lag-warn-high
{
1545 div
.mw-lag-warn-normal
{
1546 border: 1px solid
#FFCC66;
1547 background-color: #FFFFCC;
1549 div
.mw-lag-warn-high
{
1551 border: 2px solid
#FF0033;
1552 background-color: #FFCCCC;
1555 /* Recreating-deleted-page/reupload file warning and log entries */
1556 div#mw-upload-deleted-warn
,
1557 div#mw-recreate-deleted-warn
{
1560 border: 2px solid
#2F6FAB;
1562 div#mw-upload-deleted-warn ul li
,
1563 div#mw-recreate-deleted-warn ul li
{
1566 .MediaTransformError {
1567 background-color: #ccc;
1570 .MediaTransformError td {
1572 vertical-align: middle
;