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;
114 .mw-h1, .mw-h2, .mw-h3, .mw-h4, .mw-h5, .mw-h6 {
119 padding-bottom: .17em;
120 border-bottom: 1px solid
#aaa;
122 h1
, h2
, h3
, h4
, h5
, h6
{
126 h1
{ font-size: 188%; }
127 h2
{ font-size: 150%; }
132 h3
{ font-size: 132%; }
133 h4
{ font-size: 116%; }
134 h5
{ font-size: 100%; }
135 h6
{ font-size: 80%; }
139 list-style-type: square
;
140 margin: .3em 0 0 1.5em;
142 list-style-image: url
(bullet.gif);
146 margin: .3em 0 0 3.2em;
148 list-style-image: none
;
168 border: 1px solid
#2f6fab;
187 input
.historysubmit
{
188 padding: 0 .3em .3em .3em !important
;
191 height: 1.7em !important
;
197 abbr
, acronym
, .explain
{
198 border-bottom: 1px dotted black
;
204 font-family: Times
, "Times New Roman", serif
;
209 font-family: Times, "Times New Roman", serif;
213 background-color: #f9f9f9;
217 border: 1px dashed
#2f6fab;
219 background-color: #f9f9f9;
224 ** the main content area
234 #contentSub, #contentSub2
{
237 margin: 0 0 1.4em 1em;
245 /* Some space under the headers in the content area */
246 #bodyContent h1
, #bodyContent h2
{
249 #bodyContent h3
, #bodyContent h4
, #bodyContent h5
{
256 /* user notification thing */
258 background-color: #ffce7b;
259 border: 1px solid
#ffa500;
264 vertical-align: middle
;
279 .errorbox, .successbox {
289 background-color: #fff2f2;
293 background-color: #dfd;
295 .errorbox h2, .successbox h2 {
304 border: 1px solid
#aaa;
305 background-color: #f9f9f9;
310 /* currently unused, intended to be used by a metadata box
311 in the bottom-right corner of the content area */
312 .documentDescription {
313 /* The summary text describing the document */
336 /* small for tables and similar */
351 border: 1px solid
#aaa;
352 background-color: #f9f9f9;
372 list-style-type: none
;
373 list-style-image: none
;
394 div
.floatright
, table
.floatright
{
398 margin: 0 0 .5em .5em;
401 border: .5em solid white;
402 border-width: .5em 0 .8em 1.4em;
405 div
.floatright p
{ font-style: italic
; }
406 div
.floatleft
, table
.floatleft
{
410 margin: 0 .5em .5em 0;
413 margin: .3em .5em .5em 0;
414 border: .5em solid white;
415 border-width: .5em 1.4em .8em 0;
418 div
.floatleft p
{ font-style: italic
; }
427 border: 1px solid
#ccc;
428 padding: 3px !important
;
429 background-color: #f9f9f9;
435 border: 1px solid
#ccc;
441 padding: 3px !important
;
446 border: none
!important
;
447 background: none
!important
;
449 div
.magnify a
, div
.magnify img
{
451 border: none
!important
;
452 background: none
!important
;
457 border-width: .5em 0 .8em 1.4em;
463 border-width: .5em 1.4em .8em 0;
466 border: 1px solid
#dddddd;
472 /* Have a checkered background on images on the description pages and in galleries
473 to make transparency visible
475 #file img, .gallerybox .thumb img {
476 background: url(Checker-16x16.png) repeat;
481 ** classes for special content elements like town boxes
482 ** intended to be referenced directly from the wiki src
488 /* table standards */
497 border: 1px solid
#aaa;
498 background-color: #f9f9f9;
507 border: 1px solid gray
;
523 margin: .1em 0 0 1.1em;
524 background-color: #f3f3f3;
536 /* Page history styling */
537 /* the auto-generated edit comments */
541 #pagehistory span
.user
{
545 #pagehistory span
.minor
{
549 border: 1px solid white
;
551 #pagehistory li
.selected
{
552 background-color: #f9f9f9;
553 border: 1px dashed
#aaa;
557 ** keep the whitespace in front of the ^=, hides rule from konqueror
558 ** this is css3, the validator doesn't like it when validating as css2
560 #bodyContent a
.external
,
561 #bodyContent a
[href ^
="gopher://"] {
562 background: url
(external.png) center right no-repeat
;
565 #bodyContent a
[href ^
="https://"],
567 background: url
(lock_icon.gif) center right no-repeat
;
570 #bodyContent a
[href ^
="mailto:"],
572 background: url
(mail_icon.gif) center right no-repeat
;
575 #bodyContent a
[href ^
="news://"] {
576 background: url
(news_icon.png) center right no-repeat
;
579 #bodyContent a
[href ^
="ftp://"],
581 background: url
(file_icon.gif) center right no-repeat
;
584 #bodyContent a
[href ^
="irc://"],
586 background: url
(discussionitem_icon.gif) center right no-repeat
;
589 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
590 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
591 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
592 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
593 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
594 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
596 background: url
("audio.png") center right no-repeat
;
599 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
600 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
601 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
602 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
604 background: url
("video.png") center right no-repeat
;
607 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
608 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
609 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
611 background: url
("document.png") center right no-repeat
;
615 /* disable interwiki styling */
616 #bodyContent a
.extiw
,
617 #bodyContent a
.extiw:active
{
622 #bodyContent a
.external
{
625 /* this can be used in the content area to switch off
626 special external link styling */
627 #bodyContent .plainlinks a
{
628 background: none
!important
;
629 padding: 0 !important
;
632 ** Structural Elements
636 ** general portlet styles (elements in the quickbar)
652 background: transparent
;
653 padding: 0 1em 0 .5em;
656 text-transform: lowercase
;
663 border: 1px solid
#2f6fab;
664 border-style: solid solid none solid
;
665 padding: 0 1em 0 1em;
666 text-transform: lowercase
;
675 background-color: white
;
677 border-collapse: collapse
;
678 border: 1px solid
#aaa;
679 padding: 0 .8em .3em .5em;
690 list-style-type: square
;
691 list-style-image: url
(bullet.gif);
706 position: absolute
; /*needed to use z-index */
720 background-repeat: no-repeat
;
721 background-position: 35% 50% !important
;
722 text-decoration: none
;
747 padding: .5em .4em .4em .4em;
752 ** the personal toolbar
773 #p-personal .portlet
,
782 /* this is the ul contained in the portlet */
787 padding: 0 2em 0 3em;
806 text-decoration: none
;
808 padding-bottom: .2em;
811 #p-personal li
a:hover
{
812 background-color: white
;
813 padding-bottom: .2em;
814 text-decoration: none
;
816 #p-personal li
.active
a:hover
{
817 background-color: transparent
;
819 /* the icon in front of the user name, single quotes
820 in bg url to hide it from iemac */
824 background: url
(user.gif) top left no-repeat
;
826 text-transform: none
;
829 text-transform: lowercase
;
831 #p-personal li
.active
{
835 ** the page-related actions- page/talk, edit etc
847 border-collapse: collapse
;
857 border: 1px solid
#aaa;
864 #p-cactions li
.selected
{
865 border-color: #fabd23;
870 background-color: #fbfbfb;
873 padding: 0 .8em .3em;
877 text-decoration: none
;
879 #p-cactions li
.selected a
{
881 padding: 0 1em .2em!important
;
882 background-color: white
;
887 #p-cactions li
a:hover
{
889 text-decoration: none
;
890 background-color: white
;
895 #p-cactions li
.istalk
{
898 #p-cactions li
.istalk a
{
901 #p-cactions #ca-addsection a
{
905 /* offsets to distinguish the tab groups */
909 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
914 background-color: transparent
;
916 border-collapse: inherit
;
920 #p-cactions .hiddenStructure
{
924 text-transform: lowercase
;
928 ** the remaining portlets
936 /* TODO: #t-iscite is only used by the Cite extension, come up with some
937 * system which allows extensions to add to this file on the fly
939 #t-ispermalink, #t-iscite
{
946 background-color: white
;
947 border-top: 1px solid
#fabd23;
948 border-bottom: 1px solid
#fabd23;
949 margin: .6em 0 1em 0;
950 padding: .4em 0 1.2em 0;
958 #f-poweredbyico, #f-copyrightico
{
961 top: -2px; /* Bump it up just a tad */
980 background-color: #f0f0f0;
984 margin: 1px -2px 1px 2px;
986 padding: 2px 0 3px 0;
987 border: 1px solid
#fff;
988 border-right-color: #716f64;
992 list-style-type: none
;
993 list-style-image: none
;
996 #preftoc li
.selected
{
998 background-color: #f9f9f9;
999 border: 1px solid
#aaa;
1000 border-bottom: none
;
1006 #preftoc > li
.selected
{
1015 text-decoration: none
;
1017 #preftoc li
.selected a
{
1019 text-decoration: none
;
1027 border: 1px solid
#aaa;
1030 background-color: #F9F9F9;
1037 .prefsection fieldset {
1038 border: 1px solid
#aaa;
1042 .prefsection legend {
1045 .prefsection table, .prefsection legend {
1046 background-color: #F9F9F9;
1051 div
.prefsectiontip
{
1059 padding-right: .3em;
1062 .preferences-login {
1064 margin-bottom: 1.5em;
1072 div#userloginForm form
,
1073 div#userlogin form#userlogin2
{
1074 margin: 0 3em 1em 0;
1075 border: 1px solid
#aaa;
1078 background-color: #f9f9f9;
1082 div#userloginForm table
,
1083 div#userlogin form#userlogin2 table
{
1084 background-color: #f9f9f9;
1087 div#userloginForm h2
,
1088 div#userlogin form#userlogin2 h2
{
1092 div#userlogin
.captcha
,
1093 div#userloginForm
.captcha
{
1094 border: 1px solid
#bbb;
1096 background-color: white
;
1100 #userloginprompt, #languagelinks
{
1110 #userlogin .loginText
, #userlogin
.loginPassword
{
1114 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1119 ** IE/Mac fixes, hope to find a validating way to move this
1120 ** to a separate stylesheet. This would work but doesn't validate:
1121 ** @import("IEMacFixes.css");
1123 /* tabs: border on the a, not the div */
1124 * > html #p-cactions li
{ border: none
; }
1125 * > html #p-cactions li a
{
1126 border: 1px solid
#aaa;
1127 border-bottom: none
;
1129 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1130 /* footer icons need a fixed width */
1131 * > html #f-poweredbyico
,
1132 * > html #f-copyrightico
{ width: 88px; }
1133 * > html #bodyContent
,
1134 * > html #bodyContent pre
{
1137 padding-bottom: 25px;
1141 /* float/negative margin brokenness */
1142 * html #footer
{margin-top: 0;}
1143 * html #column-content
{
1147 * html div
.editsection
{ font-size: smaller
; }
1148 #pagehistory li
.selected
{ position: relative
; }
1150 /* Mac IE 5.0 fix; floated content turns invisible */
1151 * > html #column-content
{
1154 * > html #column-one
{
1160 margin-left: 13.2em;
1172 background-color: #ffa;
1178 span
.newpage
, span
.minor
, span
.searchmatch
, 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 {
1274 li span
.deleted
, span
.history-deleted
{
1275 text-decoration: line-through
;
1285 /* Classes for EXIF data display */
1289 margin-bottom: 0.5em;
1293 table
.mw_metadata caption
{
1297 table
.mw_metadata th
{
1298 font-weight: normal
;
1301 table
.mw_metadata td
{
1307 border-collapse: collapse
;
1310 table
.mw_metadata td
, table
.mw_metadata th
{
1312 border: 1px solid
#aaaaaa;
1313 padding-left: 0.1em;
1314 padding-right: 0.1em;
1317 table
.mw_metadata th
{
1318 background-color: #f9f9f9;
1321 table
.mw_metadata td
{
1322 background-color: #fcfcfc;
1325 table
.collapsed tr
.collapsable
{
1333 border: 1px solid
#aaaaaa;
1334 background-color: #f9f9f9;
1337 margin-bottom: 0.5em;
1344 list-style-type: none
;
1353 input#wpSave
, input#wpDiff
{
1354 margin-right: 0.33em;
1357 #editform .editOptions
{
1365 /* Classes for article validation */
1367 table
.revisionform_default
{
1368 border: 1px solid
#000000;
1371 table
.revisionform_focus
{
1372 border: 1px solid
#000000;
1373 background-color:#00BBFF;
1376 tr
.revision_tr_default
{
1377 background-color:#EEEEEE;
1380 tr
.revision_tr_first
{
1381 background-color:#DDDDDD;
1390 border: solid
1px #bbbbff;
1391 background-color: #eeeeff;
1396 /* Allmessages table */
1398 #allmessagestable th
{
1399 background-color: #b2b2ff;
1402 #allmessagestable tr
.orig
{
1403 background-color: #ffe2e2;
1406 #allmessagestable tr
.new
{
1407 background-color: #e2ffe2;
1410 #allmessagestable tr
.def
{
1411 background-color: #f0f0ff;
1417 border: 1px solid
#ccc;
1423 div#searchTargetContainer
{
1433 background: #F0F0F0;
1434 border: solid
1px blue
;
1437 div#searchTarget ul li
{
1441 div#searchTarget ul
li:before
{
1443 content: "\00BB \0020";
1446 div#searchTargetHide
{
1448 border:solid
1px black
;
1449 background:gainsboro
;
1453 div
.multipageimagenavbox
{
1454 border: solid
1px silver
;
1457 -moz-border-radius: 6px;
1458 background: #f0f0f0;
1461 div
.multipageimagenavbox div
.thumb
{
1467 div
.multipageimagenavbox hr
{
1471 table
.multipageimage td
{
1475 /** Special:Version */
1477 table#sv-ext
, table#sv-hooks
{
1482 #sv-ext td
, #sv-hooks td
,
1483 #sv-ext th
, #sv-hooks th
{
1484 border: 1px solid
#A0A0A0;
1485 padding: 0 0.15em 0 0.15em;
1487 #sv-ext th
, #sv-hooks th
{
1488 background-color: #F0F0F0;
1490 padding: 0 0.15em 0 0.15em;
1496 tr
.sv-space td
{ display: none
; }
1499 Table pager (e.g. Special:Imagelist)
1500 - remove underlines from the navigation link
1502 - set the borders to outsets (similar to Special:Allmessages)
1503 - remove line wrapping for all td and th, set background color
1504 - restore line wrapping for the last two table cells (description and size)
1506 .TablePager_nav a { text-decoration: none
; }
1507 .TablePager { border-collapse: collapse
; }
1508 .TablePager, .TablePager td, .TablePager th {
1509 border: 1px solid
#aaaaaa;
1510 padding: 0 0.15em 0 0.15em;
1512 .TablePager th { background-color: #eeeeff }
1513 .TablePager td { background-color: #ffffff }
1514 .TablePager tr:hover td { background-color: #eeeeff }
1516 .imagelist td, .imagelist th { white-space: nowrap
}
1517 .imagelist .TablePager_col_links { background-color: #eeeeff }
1518 .imagelist .TablePager_col_img_description { white-space: normal
}
1519 .imagelist th.TablePager_sort { background-color: #ccccff }
1521 .templatesUsed { margin-top: 1.5em; }
1523 .mw-summary-preview {
1527 /* Convenience links on Special:Ipblocklist */
1528 p
.mw-ipb-conveniencelinks
{
1533 /* Friendlier slave lag warnings */
1534 div
.mw-lag-warn-normal
,
1535 div
.mw-lag-warn-high
{
1540 div
.mw-lag-warn-normal
{
1541 border: 1px solid
#FFCC66;
1542 background-color: #FFFFCC;
1544 div
.mw-lag-warn-high
{
1546 border: 2px solid
#FF0033;
1547 background-color: #FFCCCC;
1550 /* Recreating-deleted-page/reupload file warning and log entries */
1551 div#mw-upload-deleted-warn
,
1552 div#mw-recreate-deleted-warn
{
1555 border: 2px solid
#2F6FAB;
1557 div#mw-upload-deleted-warn ul li
,
1558 div#mw-recreate-deleted-warn ul li
{
1561 .MediaTransformError {
1562 background-color: #ccc;
1565 .MediaTransformError td {
1567 vertical-align: middle
;