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;
194 input
.historysubmit
{
195 padding: 0 .3em .3em .3em !important
;
198 height: 1.7em !important
;
204 abbr
, acronym
, .explain
{
205 border-bottom: 1px dotted black
;
211 font-family: Times
, "Times New Roman", serif
;
216 font-family: Times, "Times New Roman", serif;
220 background-color: #f9f9f9;
224 border: 1px dashed
#2f6fab;
226 background-color: #f9f9f9;
231 ** the main content area
241 #contentSub, #contentSub2
{
244 margin: 0 0 1.4em 1em;
252 /* Some space under the headers in the content area */
253 #bodyContent h1
, #bodyContent h2
{
256 #bodyContent h3
, #bodyContent h4
, #bodyContent h5
{
261 /* These two rules hack around bug 2013 (fix for more limited bug 11325).
262 When bug 2013 is fixed properly, they should be removed. */
267 /* user notification thing */
269 background-color: #ffce7b;
270 border: 1px solid
#ffa500;
275 vertical-align: middle
;
294 .errorbox, .successbox {
304 background-color: #fff2f2;
308 background-color: #dfd;
310 .errorbox h2, .successbox h2 {
319 border: 1px solid
#aaa;
320 background-color: #f9f9f9;
325 /* currently unused, intended to be used by a metadata box
326 in the bottom-right corner of the content area */
327 .documentDescription {
328 /* The summary text describing the document */
351 /* small for tables and similar */
366 border: 1px solid
#aaa;
367 background-color: #f9f9f9;
387 list-style-type: none
;
388 list-style-image: none
;
409 div
.floatright
, table
.floatright
{
413 margin: 0 0 .5em .5em;
416 border: .5em solid white;
417 border-width: .5em 0 .8em 1.4em;
420 div
.floatright p
{ font-style: italic
; }
421 div
.floatleft
, table
.floatleft
{
425 margin: 0 .5em .5em 0;
428 margin: .3em .5em .5em 0;
429 border: .5em solid white;
430 border-width: .5em 1.4em .8em 0;
433 div
.floatleft p
{ font-style: italic
; }
442 border: 1px solid
#ccc;
443 padding: 3px !important
;
444 background-color: #f9f9f9;
450 border: 1px solid
#ccc;
456 padding: 3px !important
;
461 border: none
!important
;
462 background: none
!important
;
464 div
.magnify a
, div
.magnify img
{
466 border: none
!important
;
467 background: none
!important
;
472 border-width: .5em 0 .8em 1.4em;
478 border-width: .5em 1.4em .8em 0;
481 border: 1px solid
#dddddd;
488 ** classes for special content elements like town boxes
489 ** intended to be referenced directly from the wiki src
495 /* table standards */
504 border: 1px solid
#aaa;
505 background-color: #f9f9f9;
514 border: 1px solid gray
;
530 margin: .1em 0 0 1.1em;
531 background-color: #f3f3f3;
544 ** keep the whitespace in front of the ^=, hides rule from konqueror
545 ** this is css3, the validator doesn't like it when validating as css2
547 #bodyContent a
.external
,
548 #bodyContent a
[href ^
="gopher://"] {
549 background: url
(external.png) center right no-repeat
;
552 #bodyContent a
[href ^
="https://"],
554 background: url
(lock_icon.gif) center right no-repeat
;
557 #bodyContent a
[href ^
="mailto:"],
559 background: url
(mail_icon.gif) center right no-repeat
;
562 #bodyContent a
[href ^
="news://"] {
563 background: url
(news_icon.png) center right no-repeat
;
566 #bodyContent a
[href ^
="ftp://"],
568 background: url
(file_icon.gif) center right no-repeat
;
571 #bodyContent a
[href ^
="irc://"],
573 background: url
(discussionitem_icon.gif) center right no-repeat
;
576 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
577 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
578 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
579 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
580 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
581 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
583 background: url
("audio.png") center right no-repeat
;
586 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
587 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
588 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
589 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
591 background: url
("video.png") center right no-repeat
;
594 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
595 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
596 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
598 background: url
("document.png") center right no-repeat
;
602 /* disable interwiki styling */
603 #bodyContent a
.extiw
,
604 #bodyContent a
.extiw:active
{
609 #bodyContent a
.external
{
612 /* this can be used in the content area to switch off
613 special external link styling */
614 #bodyContent .plainlinks a
{
615 background: none
!important
;
616 padding: 0 !important
;
619 ** Structural Elements
623 ** general portlet styles (elements in the quickbar)
639 background: transparent
;
640 padding: 0 1em 0 .5em;
643 text-transform: lowercase
;
650 border: 1px solid
#2f6fab;
651 border-style: solid solid none solid
;
652 padding: 0 1em 0 1em;
653 text-transform: lowercase
;
662 background-color: white
;
664 border-collapse: collapse
;
665 border: 1px solid
#aaa;
666 padding: 0 .8em .3em .5em;
677 list-style-type: square
;
678 list-style-image: url
(bullet.gif);
693 position: absolute
; /*needed to use z-index */
707 background-repeat: no-repeat
;
708 background-position: 35% 50% !important
;
709 text-decoration: none
;
734 padding: .5em .4em .4em .4em;
739 ** the personal toolbar
760 #p-personal .portlet
,
769 /* this is the ul contained in the portlet */
774 padding: 0 2em 0 3em;
793 text-decoration: none
;
795 padding-bottom: .2em;
798 #p-personal li
a:hover
{
799 background-color: white
;
800 padding-bottom: .2em;
801 text-decoration: none
;
803 #p-personal li
.active
a:hover
{
804 background-color: transparent
;
806 /* the icon in front of the user name, single quotes
807 in bg url to hide it from iemac */
811 background: url
(user.gif) top left no-repeat
;
813 text-transform: none
;
816 text-transform: lowercase
;
818 #p-personal li
.active
{
822 ** the page-related actions- page/talk, edit etc
834 border-collapse: collapse
;
844 border: 1px solid
#aaa;
851 #p-cactions li
.selected
{
852 border-color: #fabd23;
857 background-color: #fbfbfb;
860 padding: 0 .8em .3em;
864 text-decoration: none
;
866 #p-cactions li
.selected a
{
868 padding: 0 1em .2em!important
;
869 background-color: white
;
874 #p-cactions li
a:hover
{
876 text-decoration: none
;
877 background-color: white
;
882 #p-cactions li
.istalk
{
885 #p-cactions li
.istalk a
{
888 #p-cactions #ca-addsection a
{
892 /* offsets to distinguish the tab groups */
896 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
901 background-color: transparent
;
903 border-collapse: inherit
;
907 #p-cactions .hiddenStructure
{
911 text-transform: lowercase
;
915 ** the remaining portlets
923 /* TODO: #t-iscite is only used by the Cite extension, come up with some
924 * system which allows extensions to add to this file on the fly
926 #t-ispermalink, #t-iscite
{
933 background-color: white
;
934 border-top: 1px solid
#fabd23;
935 border-bottom: 1px solid
#fabd23;
936 margin: .6em 0 1em 0;
937 padding: .4em 0 1.2em 0;
945 #f-poweredbyico, #f-copyrightico
{
948 top: -2px; /* Bump it up just a tad */
967 background-color: #f0f0f0;
971 margin: 1px -2px 1px 2px;
973 padding: 2px 0 3px 0;
974 border: 1px solid
#fff;
975 border-right-color: #716f64;
979 list-style-type: none
;
980 list-style-image: none
;
983 #preftoc li
.selected
{
985 background-color: #f9f9f9;
986 border: 1px solid
#aaa;
993 #preftoc > li
.selected
{
1002 text-decoration: none
;
1004 #preftoc li
.selected a
{
1006 text-decoration: none
;
1014 border: 1px solid
#aaa;
1017 background-color: #F9F9F9;
1024 .prefsection fieldset {
1025 border: 1px solid
#aaa;
1029 .prefsection legend {
1032 .prefsection table, .prefsection legend {
1033 background-color: #F9F9F9;
1038 div
.prefsectiontip
{
1046 padding-right: .3em;
1049 .preferences-login {
1051 margin-bottom: 1.5em;
1059 div#userloginForm form
,
1060 div#userlogin form#userlogin2
{
1061 margin: 0 3em 1em 0;
1062 border: 1px solid
#aaa;
1065 background-color: #f9f9f9;
1069 div#userloginForm table
,
1070 div#userlogin form#userlogin2 table
{
1071 background-color: #f9f9f9;
1074 div#userloginForm h2
,
1075 div#userlogin form#userlogin2 h2
{
1079 div#userlogin
.captcha
,
1080 div#userloginForm
.captcha
{
1081 border: 1px solid
#bbb;
1083 background-color: white
;
1087 #userloginprompt, #languagelinks
{
1097 #userlogin .loginText
, #userlogin
.loginPassword
{
1101 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1106 ** IE/Mac fixes, hope to find a validating way to move this
1107 ** to a separate stylesheet. This would work but doesn't validate:
1108 ** @import("IEMacFixes.css");
1110 /* tabs: border on the a, not the div */
1111 * > html #p-cactions li
{ border: none
; }
1112 * > html #p-cactions li a
{
1113 border: 1px solid
#aaa;
1114 border-bottom: none
;
1116 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1117 /* footer icons need a fixed width */
1118 * > html #f-poweredbyico
,
1119 * > html #f-copyrightico
{ width: 88px; }
1120 * > html #bodyContent
,
1121 * > html #bodyContent pre
{
1124 padding-bottom: 25px;
1128 /* float/negative margin brokenness */
1129 * html #footer
{margin-top: 0;}
1130 * html #column-content
{
1134 * html div
.editsection
{ font-size: smaller
; }
1135 #pagehistory li
.selected
{ position: relative
; }
1137 /* Mac IE 5.0 fix; floated content turns invisible */
1138 * > html #column-content
{
1141 * > html #column-one
{
1147 margin-left: 13.2em;
1159 background-color: #ffa;
1166 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
1182 span
.searchalttitle
{
1186 div
.searchdidyoumean
{
1192 .sharedUploadNotice {
1196 span
.updatedmarker
{
1198 background-color: #0f0;
1202 border: 1px solid
#ccc;
1205 background-color: white
;
1209 vertical-align: top
;
1213 vertical-align: top
;
1214 background-color: #f9f9f9;
1215 border: solid
2px white
;
1217 /* Keep this temporarily so that cached pages will display right */
1218 table
.gallery td
.galleryheader
{
1222 table
.gallery caption
{
1230 div
.gallerybox div
.thumb
{
1232 border: 1px solid
#ccc;
1253 border-bottom: 1px solid
#aaa;
1254 padding-bottom: 1em;
1264 border: 1px solid gray
;
1265 background-color: #ffffff;
1272 .editExternallyHelp {
1282 /* Classes for EXIF data display */
1286 margin-bottom: 0.5em;
1290 table
.mw_metadata caption
{
1294 table
.mw_metadata th
{
1295 font-weight: normal
;
1298 table
.mw_metadata td
{
1304 border-collapse: collapse
;
1307 table
.mw_metadata td
, table
.mw_metadata th
{
1309 border: 1px solid
#aaaaaa;
1310 padding-left: 0.1em;
1311 padding-right: 0.1em;
1314 table
.mw_metadata th
{
1315 background-color: #f9f9f9;
1318 table
.mw_metadata td
{
1319 background-color: #fcfcfc;
1322 table
.collapsed tr
.collapsable
{
1330 border: 1px solid
#aaaaaa;
1331 background-color: #f9f9f9;
1334 margin-bottom: 0.5em;
1341 list-style-type: none
;
1350 input#wpSave
, input#wpDiff
{
1351 margin-right: 0.33em;
1354 #editform .editOptions
{
1362 /* Classes for article validation */
1364 table
.revisionform_default
{
1365 border: 1px solid
#000000;
1368 table
.revisionform_focus
{
1369 border: 1px solid
#000000;
1370 background-color:#00BBFF;
1373 tr
.revision_tr_default
{
1374 background-color:#EEEEEE;
1377 tr
.revision_tr_first
{
1378 background-color:#DDDDDD;
1387 border: solid
1px #bbbbff;
1388 background-color: #eeeeff;
1393 /* Allmessages table */
1395 #allmessagestable th
{
1396 background-color: #b2b2ff;
1399 #allmessagestable tr
.orig
{
1400 background-color: #ffe2e2;
1403 #allmessagestable tr
.new
{
1404 background-color: #e2ffe2;
1407 #allmessagestable tr
.def
{
1408 background-color: #f0f0ff;
1414 border: 1px solid
#ccc;
1420 div#searchTargetContainer
{
1430 background: #F0F0F0;
1431 border: solid
1px blue
;
1434 div#searchTarget ul li
{
1438 div#searchTarget ul
li:before
{
1440 content: "\00BB \0020";
1443 div#searchTargetHide
{
1445 border:solid
1px black
;
1450 div
.multipageimagenavbox
{
1451 border: solid
1px silver
;
1454 -moz-border-radius: 6px;
1455 background: #f0f0f0;
1458 div
.multipageimagenavbox div
.thumb
{
1464 div
.multipageimagenavbox hr
{
1468 table
.multipageimage td
{
1472 /** Special:Version */
1474 table#sv-ext
, table#sv-hooks
, table#sv-software
{
1479 #sv-ext td
, #sv-hooks td
, #sv-software td
,
1480 #sv-ext th
, #sv-hooks th
, #sv-software th
{
1481 border: 1px solid
#A0A0A0;
1482 padding: 0 0.15em 0 0.15em;
1484 #sv-ext th
, #sv-hooks th
, #sv-software th
{
1485 background-color: #F0F0F0;
1487 padding: 0 0.15em 0 0.15em;
1493 tr
.sv-space td
{ display: none
; }
1496 Table pager (e.g. Special:Imagelist)
1497 - remove underlines from the navigation link
1499 - set the borders to outsets (similar to Special:Allmessages)
1500 - remove line wrapping for all td and th, set background color
1501 - restore line wrapping for the last two table cells (description and size)
1503 .TablePager_nav a { text-decoration: none
; }
1504 .TablePager { border-collapse: collapse
; }
1505 .TablePager, .TablePager td, .TablePager th {
1506 border: 1px solid
#aaaaaa;
1507 padding: 0 0.15em 0 0.15em;
1509 .TablePager th { background-color: #eeeeff }
1510 .TablePager td { background-color: #ffffff }
1511 .TablePager tr:hover td { background-color: #eeeeff }
1513 .imagelist td, .imagelist th { white-space: nowrap
}
1514 .imagelist .TablePager_col_links { background-color: #eeeeff }
1515 .imagelist .TablePager_col_img_description { white-space: normal
}
1516 .imagelist th.TablePager_sort { background-color: #ccccff }
1518 .templatesUsed { margin-top: 1.5em; }
1520 .mw-summary-preview {
1524 /* Friendlier slave lag warnings */
1525 div
.mw-lag-warn-normal
,
1526 div
.mw-lag-warn-high
{
1531 div
.mw-lag-warn-normal
{
1532 border: 1px solid
#FFCC66;
1533 background-color: #FFFFCC;
1535 div
.mw-lag-warn-high
{
1537 border: 2px solid
#FF0033;
1538 background-color: #FFCCCC;
1541 /* Recreating-deleted-page/reupload file warning and log entries */
1542 div#mw-upload-deleted-warn
,
1543 div#mw-recreate-deleted-warn
{
1546 border: 2px solid
#2F6FAB;
1548 div#mw-upload-deleted-warn ul li
,
1549 div#mw-recreate-deleted-warn ul li
{
1552 .MediaTransformError {
1553 background-color: #ccc;
1556 .MediaTransformError td {
1558 vertical-align: middle
;