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 h1
, h2
, h3
, h4
, h5
, h6
{
120 padding-bottom: .17em;
121 border-bottom: 1px solid
#aaa;
123 h1
{ font-size: 188%; }
124 h1
.editsection
{ font-size: 53%; }
125 h2
{ font-size: 150%; }
126 h2
.editsection
{ font-size: 67%; }
131 h3
{ font-size: 132%; }
132 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
133 h4
{ font-size: 116%; }
134 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
135 h5
{ font-size: 100%; }
136 h5
.editsection
{ font-weight: normal
; }
137 h6
{ font-size: 80%; }
138 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
147 list-style-type: square
;
148 margin: .3em 0 0 1.5em;
150 list-style-image: url
(bullet.gif);
154 margin: .3em 0 0 3.2em;
156 list-style-image: none
;
176 border: 1px solid
#2f6fab;
195 input
.historysubmit
{
196 padding: 0 .3em .3em .3em !important
;
199 height: 1.7em !important
;
205 abbr
, acronym
, .explain
{
206 border-bottom: 1px dotted black
;
212 font-family: Times
, "Times New Roman", serif
;
217 font-family: Times, "Times New Roman", serif;
221 background-color: #f9f9f9;
225 border: 1px dashed
#2f6fab;
227 background-color: #f9f9f9;
232 ** the main content area
242 #contentSub, #contentSub2
{
245 margin: 0 0 1.4em 1em;
253 /* Some space under the headers in the content area */
254 #bodyContent h1
, #bodyContent h2
{
257 #bodyContent h3
, #bodyContent h4
, #bodyContent h5
{
264 /* user notification thing */
266 background-color: #ffce7b;
267 border: 1px solid
#ffa500;
272 vertical-align: middle
;
287 .errorbox, .successbox {
297 background-color: #fff2f2;
301 background-color: #dfd;
303 .errorbox h2, .successbox h2 {
312 border: 1px solid
#aaa;
313 background-color: #f9f9f9;
318 /* currently unused, intended to be used by a metadata box
319 in the bottom-right corner of the content area */
320 .documentDescription {
321 /* The summary text describing the document */
344 /* small for tables and similar */
359 border: 1px solid
#aaa;
360 background-color: #f9f9f9;
380 list-style-type: none
;
381 list-style-image: none
;
402 div
.floatright
, table
.floatright
{
406 margin: 0 0 .5em .5em;
409 border: .5em solid white;
410 border-width: .5em 0 .8em 1.4em;
413 div
.floatright p
{ font-style: italic
; }
414 div
.floatleft
, table
.floatleft
{
418 margin: 0 .5em .5em 0;
421 margin: .3em .5em .5em 0;
422 border: .5em solid white;
423 border-width: .5em 1.4em .8em 0;
426 div
.floatleft p
{ font-style: italic
; }
435 border: 1px solid
#ccc;
436 padding: 3px !important
;
437 background-color: #f9f9f9;
443 border: 1px solid
#ccc;
449 padding: 3px !important
;
454 border: none
!important
;
455 background: none
!important
;
457 div
.magnify a
, div
.magnify img
{
459 border: none
!important
;
460 background: none
!important
;
465 border-width: .5em 0 .8em 1.4em;
471 border-width: .5em 1.4em .8em 0;
474 border: 1px solid
#dddddd;
480 /* Have a checkered background on images on the description pages and in galleries
481 to make transparency visible
483 #file img, .gallerybox .thumb img {
484 background: url(Checker-16x16.png) repeat;
489 ** classes for special content elements like town boxes
490 ** intended to be referenced directly from the wiki src
496 /* table standards */
505 border: 1px solid
#aaa;
506 background-color: #f9f9f9;
515 border: 1px solid gray
;
531 margin: .1em 0 0 1.1em;
532 background-color: #f3f3f3;
544 /* Page history styling */
545 /* the auto-generated edit comments */
549 #pagehistory span
.user
{
553 #pagehistory span
.minor
{
557 border: 1px solid white
;
559 #pagehistory li
.selected
{
560 background-color: #f9f9f9;
561 border: 1px dashed
#aaa;
565 ** keep the whitespace in front of the ^=, hides rule from konqueror
566 ** this is css3, the validator doesn't like it when validating as css2
568 #bodyContent a
.external
,
569 #bodyContent a
[href ^
="gopher://"] {
570 background: url
(external.png) center right no-repeat
;
573 #bodyContent a
[href ^
="https://"],
575 background: url
(lock_icon.gif) center right no-repeat
;
578 #bodyContent a
[href ^
="mailto:"],
580 background: url
(mail_icon.gif) center right no-repeat
;
583 #bodyContent a
[href ^
="news://"] {
584 background: url
(news_icon.png) center right no-repeat
;
587 #bodyContent a
[href ^
="ftp://"],
589 background: url
(file_icon.gif) center right no-repeat
;
592 #bodyContent a
[href ^
="irc://"],
594 background: url
(discussionitem_icon.gif) center right no-repeat
;
597 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
598 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
599 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
600 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
601 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
602 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
604 background: url
("audio.png") center right no-repeat
;
607 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
608 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
609 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
610 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
612 background: url
("video.png") center right no-repeat
;
615 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
616 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
617 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
619 background: url
("document.png") center right no-repeat
;
623 /* disable interwiki styling */
624 #bodyContent a
.extiw
,
625 #bodyContent a
.extiw:active
{
630 #bodyContent a
.external
{
633 /* this can be used in the content area to switch off
634 special external link styling */
635 #bodyContent .plainlinks a
{
636 background: none
!important
;
637 padding: 0 !important
;
640 ** Structural Elements
644 ** general portlet styles (elements in the quickbar)
660 background: transparent
;
661 padding: 0 1em 0 .5em;
664 text-transform: lowercase
;
671 border: 1px solid
#2f6fab;
672 border-style: solid solid none solid
;
673 padding: 0 1em 0 1em;
674 text-transform: lowercase
;
683 background-color: white
;
685 border-collapse: collapse
;
686 border: 1px solid
#aaa;
687 padding: 0 .8em .3em .5em;
698 list-style-type: square
;
699 list-style-image: url
(bullet.gif);
714 position: absolute
; /*needed to use z-index */
728 background-repeat: no-repeat
;
729 background-position: 35% 50% !important
;
730 text-decoration: none
;
733 ** the navigation portlet
743 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
747 #p-navigation .pBody
{
751 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
752 text-decoration: none
;
779 padding: .5em .4em .4em .4em;
784 ** the personal toolbar
805 #p-personal .portlet
,
814 /* this is the ul contained in the portlet */
819 padding: 0 2em 0 3em;
838 text-decoration: none
;
840 padding-bottom: .2em;
843 #p-personal li
a:hover
{
844 background-color: white
;
845 padding-bottom: .2em;
846 text-decoration: none
;
848 #p-personal li
.active
a:hover
{
849 background-color: transparent
;
851 /* the icon in front of the user name, single quotes
852 in bg url to hide it from iemac */
856 background: url
(user.gif) top left no-repeat
;
858 text-transform: none
;
861 text-transform: lowercase
;
863 #p-personal li
.active
{
867 ** the page-related actions- page/talk, edit etc
879 border-collapse: collapse
;
889 border: 1px solid
#aaa;
896 #p-cactions li
.selected
{
897 border-color: #fabd23;
902 background-color: #fbfbfb;
905 padding: 0 .8em .3em;
909 text-decoration: none
;
911 #p-cactions li
.selected a
{
913 padding: 0 1em .2em!important
;
914 background-color: white
;
919 #p-cactions li
a:hover
{
921 text-decoration: none
;
922 background-color: white
;
927 #p-cactions li
.istalk
{
930 #p-cactions li
.istalk a
{
933 #p-cactions #ca-addsection a
{
937 /* offsets to distinguish the tab groups */
941 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
946 background-color: transparent
;
948 border-collapse: inherit
;
952 #p-cactions .hiddenStructure
{
956 text-transform: lowercase
;
960 ** the remaining portlets
968 /* TODO: #t-iscite is only used by the Cite extension, come up with some
969 * system which allows extensions to add to this file on the fly
971 #t-ispermalink, #t-iscite
{
978 background-color: white
;
979 border-top: 1px solid
#fabd23;
980 border-bottom: 1px solid
#fabd23;
981 margin: .6em 0 1em 0;
982 padding: .4em 0 1.2em 0;
990 #f-poweredbyico, #f-copyrightico
{
993 top: -2px; /* Bump it up just a tad */
1012 background-color: #f0f0f0;
1016 margin: 1px -2px 1px 2px;
1018 padding: 2px 0 3px 0;
1019 border: 1px solid
#fff;
1020 border-right-color: #716f64;
1023 white-space: nowrap
;
1024 list-style-type: none
;
1025 list-style-image: none
;
1028 #preftoc li
.selected
{
1030 background-color: #f9f9f9;
1031 border: 1px solid
#aaa;
1032 border-bottom: none
;
1038 #preftoc > li
.selected
{
1047 text-decoration: none
;
1049 #preftoc li
.selected a
{
1051 text-decoration: none
;
1059 border: 1px solid
#aaa;
1062 background-color: #F9F9F9;
1069 .prefsection fieldset {
1070 border: 1px solid
#aaa;
1074 .prefsection legend {
1077 .prefsection table, .prefsection legend {
1078 background-color: #F9F9F9;
1083 div
.prefsectiontip
{
1091 padding-right: .3em;
1094 .preferences-login {
1096 margin-bottom: 1.5em;
1104 div#userloginForm form
,
1105 div#userlogin form#userlogin2
{
1106 margin: 0 3em 1em 0;
1107 border: 1px solid
#aaa;
1110 background-color: #f9f9f9;
1114 div#userloginForm table
,
1115 div#userlogin form#userlogin2 table
{
1116 background-color: #f9f9f9;
1119 div#userloginForm h2
,
1120 div#userlogin form#userlogin2 h2
{
1124 div#userlogin
.captcha
,
1125 div#userloginForm
.captcha
{
1126 border: 1px solid
#bbb;
1128 background-color: white
;
1132 #userloginprompt, #languagelinks
{
1142 #userlogin .loginText
, #userlogin
.loginPassword
{
1146 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1151 ** IE/Mac fixes, hope to find a validating way to move this
1152 ** to a separate stylesheet. This would work but doesn't validate:
1153 ** @import("IEMacFixes.css");
1155 /* tabs: border on the a, not the div */
1156 * > html #p-cactions li
{ border: none
; }
1157 * > html #p-cactions li a
{
1158 border: 1px solid
#aaa;
1159 border-bottom: none
;
1161 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1162 /* footer icons need a fixed width */
1163 * > html #f-poweredbyico
,
1164 * > html #f-copyrightico
{ width: 88px; }
1165 * > html #bodyContent
,
1166 * > html #bodyContent pre
{
1169 padding-bottom: 25px;
1173 /* float/negative margin brokenness */
1174 * html #footer
{margin-top: 0;}
1175 * html #column-content
{
1179 * html div
.editsection
{ font-size: smaller
; }
1180 #pagehistory li
.selected
{ position: relative
; }
1182 /* Mac IE 5.0 fix; floated content turns invisible */
1183 * > html #column-content
{
1186 * > html #column-one
{
1192 margin-left: 13.2em;
1204 background-color: #ffa;
1210 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
1221 .sharedUploadNotice {
1225 span
.updatedmarker
{
1227 background-color: #0f0;
1231 border: 1px solid
#ccc;
1234 background-color: white
;
1238 vertical-align: top
;
1242 vertical-align: top
;
1243 background-color: #f9f9f9;
1244 border: solid
2px white
;
1246 /* Keep this temporarily so that cached pages will display right */
1247 table
.gallery td
.galleryheader
{
1251 table
.gallery caption
{
1259 div
.gallerybox div
.thumb
{
1261 border: 1px solid
#ccc;
1282 border-bottom: 1px solid
#aaa;
1283 padding-bottom: 1em;
1293 border: 1px solid gray
;
1294 background-color: #ffffff;
1301 .editExternallyHelp {
1306 li span
.deleted
, span
.history-deleted
{
1307 text-decoration: line-through
;
1317 /* Classes for EXIF data display */
1321 margin-bottom: 0.5em;
1325 table
.mw_metadata caption
{
1329 table
.mw_metadata th
{
1330 font-weight: normal
;
1333 table
.mw_metadata td
{
1339 border-collapse: collapse
;
1342 table
.mw_metadata td
, table
.mw_metadata th
{
1344 border: 1px solid
#aaaaaa;
1345 padding-left: 0.1em;
1346 padding-right: 0.1em;
1349 table
.mw_metadata th
{
1350 background-color: #f9f9f9;
1353 table
.mw_metadata td
{
1354 background-color: #fcfcfc;
1357 table
.collapsed tr
.collapsable
{
1365 border: 1px solid
#aaaaaa;
1366 background-color: #f9f9f9;
1369 margin-bottom: 0.5em;
1376 list-style-type: none
;
1385 input#wpSave
, input#wpDiff
{
1386 margin-right: 0.33em;
1389 #editform .editOptions
{
1397 /* Classes for article validation */
1399 table
.revisionform_default
{
1400 border: 1px solid
#000000;
1403 table
.revisionform_focus
{
1404 border: 1px solid
#000000;
1405 background-color:#00BBFF;
1408 tr
.revision_tr_default
{
1409 background-color:#EEEEEE;
1412 tr
.revision_tr_first
{
1413 background-color:#DDDDDD;
1422 border: solid
1px #bbbbff;
1423 background-color: #eeeeff;
1428 /* Allmessages table */
1430 #allmessagestable th
{
1431 background-color: #b2b2ff;
1434 #allmessagestable tr
.orig
{
1435 background-color: #ffe2e2;
1438 #allmessagestable tr
.new
{
1439 background-color: #e2ffe2;
1442 #allmessagestable tr
.def
{
1443 background-color: #f0f0ff;
1449 border: 1px solid
#ccc;
1455 div#searchTargetContainer
{
1465 background: #F0F0F0;
1466 border: solid
1px blue
;
1469 div#searchTarget ul li
{
1473 div#searchTarget ul
li:before
{
1475 content: "\00BB \0020";
1478 div
.multipageimagenavbox
{
1479 border: solid
1px silver
;
1482 -moz-border-radius: 6px;
1483 background: #f0f0f0;
1486 div
.multipageimagenavbox div
.thumb
{
1492 div
.multipageimagenavbox hr
{
1496 table
.multipageimage td
{
1500 /** Special:Version */
1502 table#sv-ext
, table#sv-hooks
{
1507 #sv-ext td
, #sv-hooks td
,
1508 #sv-ext th
, #sv-hooks th
{
1509 border: 1px solid
#A0A0A0;
1510 padding: 0 0.15em 0 0.15em;
1512 #sv-ext th
, #sv-hooks th
{
1513 background-color: #F0F0F0;
1515 padding: 0 0.15em 0 0.15em;
1521 tr
.sv-space td
{ display: none
; }
1524 Table pager (e.g. Special:Imagelist)
1525 - remove underlines from the navigation link
1527 - set the borders to outsets (similar to Special:Allmessages)
1528 - remove line wrapping for all td and th, set background color
1529 - restore line wrapping for the last two table cells (description and size)
1531 .TablePager_nav a { text-decoration: none
; }
1532 .TablePager { border-collapse: collapse
; }
1533 .TablePager, .TablePager td, .TablePager th {
1534 border: 1px solid
#aaaaaa;
1535 padding: 0 0.15em 0 0.15em;
1537 .TablePager th { background-color: #eeeeff }
1538 .TablePager td { background-color: #ffffff }
1539 .TablePager tr:hover td { background-color: #eeeeff }
1541 .imagelist td, .imagelist th { white-space: nowrap
}
1542 .imagelist .TablePager_col_links { background-color: #eeeeff }
1543 .imagelist .TablePager_col_img_description { white-space: normal
}
1544 .imagelist th.TablePager_sort { background-color: #ccccff }
1546 .templatesUsed { margin-top: 1.5em; }
1548 .mw-summary-preview {
1552 /* Convenience links on Special:Ipblocklist */
1553 p
.mw-ipb-conveniencelinks
{
1558 /* Friendlier slave lag warnings */
1559 div
.mw-lag-warn-normal
,
1560 div
.mw-lag-warn-high
{
1565 div
.mw-lag-warn-normal
{
1566 border: 1px solid
#FFCC66;
1567 background-color: #FFFFCC;
1569 div
.mw-lag-warn-high
{
1571 border: 2px solid
#FF0033;
1572 background-color: #FFCCCC;
1575 /* Recreating-deleted-page warning and log entries */
1576 div#mw-recreate-deleted-warn
{
1579 border: 2px solid
#2F6FAB;
1581 div#mw-recreate-deleted-warn ul li
{
1584 .MediaTransformError {
1585 background-color: #ccc;
1588 .MediaTransformError td {
1590 vertical-align: middle
;