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;
543 /* Page history styling */
544 /* the auto-generated edit comments */
548 #pagehistory .history-user
{
552 #pagehistory span
.minor
{
556 border: 1px solid white
;
558 #pagehistory li
.selected
{
559 background-color: #f9f9f9;
560 border: 1px dashed
#aaa;
564 ** keep the whitespace in front of the ^=, hides rule from konqueror
565 ** this is css3, the validator doesn't like it when validating as css2
567 #bodyContent a
.external
,
568 #bodyContent a
[href ^
="gopher://"] {
569 background: url
(external.png) center right no-repeat
;
572 #bodyContent a
[href ^
="https://"],
574 background: url
(lock_icon.gif) center right no-repeat
;
577 #bodyContent a
[href ^
="mailto:"],
579 background: url
(mail_icon.gif) center right no-repeat
;
582 #bodyContent a
[href ^
="news://"] {
583 background: url
(news_icon.png) center right no-repeat
;
586 #bodyContent a
[href ^
="ftp://"],
588 background: url
(file_icon.gif) center right no-repeat
;
591 #bodyContent a
[href ^
="irc://"],
593 background: url
(discussionitem_icon.gif) center right no-repeat
;
596 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
597 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
598 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
599 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
600 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
601 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
603 background: url
("audio.png") center right no-repeat
;
606 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
607 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
608 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
609 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
611 background: url
("video.png") center right no-repeat
;
614 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
615 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
616 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
618 background: url
("document.png") center right no-repeat
;
622 /* disable interwiki styling */
623 #bodyContent a
.extiw
,
624 #bodyContent a
.extiw:active
{
629 #bodyContent a
.external
{
632 /* this can be used in the content area to switch off
633 special external link styling */
634 #bodyContent .plainlinks a
{
635 background: none
!important
;
636 padding: 0 !important
;
639 ** Structural Elements
643 ** general portlet styles (elements in the quickbar)
659 background: transparent
;
660 padding: 0 1em 0 .5em;
663 text-transform: lowercase
;
670 border: 1px solid
#2f6fab;
671 border-style: solid solid none solid
;
672 padding: 0 1em 0 1em;
673 text-transform: lowercase
;
682 background-color: white
;
684 border-collapse: collapse
;
685 border: 1px solid
#aaa;
686 padding: 0 .8em .3em .5em;
697 list-style-type: square
;
698 list-style-image: url
(bullet.gif);
713 position: absolute
; /*needed to use z-index */
727 background-repeat: no-repeat
;
728 background-position: 35% 50% !important
;
729 text-decoration: none
;
754 padding: .5em .4em .4em .4em;
759 ** the personal toolbar
780 #p-personal .portlet
,
789 /* this is the ul contained in the portlet */
794 padding: 0 2em 0 3em;
813 text-decoration: none
;
815 padding-bottom: .2em;
818 #p-personal li
a:hover
{
819 background-color: white
;
820 padding-bottom: .2em;
821 text-decoration: none
;
823 #p-personal li
.active
a:hover
{
824 background-color: transparent
;
826 /* the icon in front of the user name, single quotes
827 in bg url to hide it from iemac */
831 background: url
(user.gif) top left no-repeat
;
833 text-transform: none
;
836 text-transform: lowercase
;
838 #p-personal li
.active
{
842 ** the page-related actions- page/talk, edit etc
854 border-collapse: collapse
;
864 border: 1px solid
#aaa;
871 #p-cactions li
.selected
{
872 border-color: #fabd23;
877 background-color: #fbfbfb;
880 padding: 0 .8em .3em;
884 text-decoration: none
;
886 #p-cactions li
.selected a
{
888 padding: 0 1em .2em!important
;
889 background-color: white
;
894 #p-cactions li
a:hover
{
896 text-decoration: none
;
897 background-color: white
;
902 #p-cactions li
.istalk
{
905 #p-cactions li
.istalk a
{
908 #p-cactions #ca-addsection a
{
912 /* offsets to distinguish the tab groups */
916 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
921 background-color: transparent
;
923 border-collapse: inherit
;
927 #p-cactions .hiddenStructure
{
931 text-transform: lowercase
;
935 ** the remaining portlets
943 /* TODO: #t-iscite is only used by the Cite extension, come up with some
944 * system which allows extensions to add to this file on the fly
946 #t-ispermalink, #t-iscite
{
953 background-color: white
;
954 border-top: 1px solid
#fabd23;
955 border-bottom: 1px solid
#fabd23;
956 margin: .6em 0 1em 0;
957 padding: .4em 0 1.2em 0;
965 #f-poweredbyico, #f-copyrightico
{
968 top: -2px; /* Bump it up just a tad */
987 background-color: #f0f0f0;
991 margin: 1px -2px 1px 2px;
993 padding: 2px 0 3px 0;
994 border: 1px solid
#fff;
995 border-right-color: #716f64;
999 list-style-type: none
;
1000 list-style-image: none
;
1003 #preftoc li
.selected
{
1005 background-color: #f9f9f9;
1006 border: 1px solid
#aaa;
1007 border-bottom: none
;
1013 #preftoc > li
.selected
{
1022 text-decoration: none
;
1024 #preftoc li
.selected a
{
1026 text-decoration: none
;
1034 border: 1px solid
#aaa;
1037 background-color: #F9F9F9;
1044 .prefsection fieldset {
1045 border: 1px solid
#aaa;
1049 .prefsection legend {
1052 .prefsection table, .prefsection legend {
1053 background-color: #F9F9F9;
1058 div
.prefsectiontip
{
1066 padding-right: .3em;
1069 .preferences-login {
1071 margin-bottom: 1.5em;
1079 div#userloginForm form
,
1080 div#userlogin form#userlogin2
{
1081 margin: 0 3em 1em 0;
1082 border: 1px solid
#aaa;
1085 background-color: #f9f9f9;
1089 div#userloginForm table
,
1090 div#userlogin form#userlogin2 table
{
1091 background-color: #f9f9f9;
1094 div#userloginForm h2
,
1095 div#userlogin form#userlogin2 h2
{
1099 div#userlogin
.captcha
,
1100 div#userloginForm
.captcha
{
1101 border: 1px solid
#bbb;
1103 background-color: white
;
1107 #userloginprompt, #languagelinks
{
1117 #userlogin .loginText
, #userlogin
.loginPassword
{
1121 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1126 ** IE/Mac fixes, hope to find a validating way to move this
1127 ** to a separate stylesheet. This would work but doesn't validate:
1128 ** @import("IEMacFixes.css");
1130 /* tabs: border on the a, not the div */
1131 * > html #p-cactions li
{ border: none
; }
1132 * > html #p-cactions li a
{
1133 border: 1px solid
#aaa;
1134 border-bottom: none
;
1136 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1137 /* footer icons need a fixed width */
1138 * > html #f-poweredbyico
,
1139 * > html #f-copyrightico
{ width: 88px; }
1140 * > html #bodyContent
,
1141 * > html #bodyContent pre
{
1144 padding-bottom: 25px;
1148 /* float/negative margin brokenness */
1149 * html #footer
{margin-top: 0;}
1150 * html #column-content
{
1154 * html div
.editsection
{ font-size: smaller
; }
1155 #pagehistory li
.selected
{ position: relative
; }
1157 /* Mac IE 5.0 fix; floated content turns invisible */
1158 * > html #column-content
{
1161 * > html #column-one
{
1167 margin-left: 13.2em;
1179 background-color: #ffa;
1186 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
1202 span
.searchalttitle
{
1206 div
.searchdidyoumean
{
1212 .sharedUploadNotice {
1216 span
.updatedmarker
{
1218 background-color: #0f0;
1222 border: 1px solid
#ccc;
1225 background-color: white
;
1229 vertical-align: top
;
1233 vertical-align: top
;
1234 background-color: #f9f9f9;
1235 border: solid
2px white
;
1237 /* Keep this temporarily so that cached pages will display right */
1238 table
.gallery td
.galleryheader
{
1242 table
.gallery caption
{
1250 div
.gallerybox div
.thumb
{
1252 border: 1px solid
#ccc;
1273 border-bottom: 1px solid
#aaa;
1274 padding-bottom: 1em;
1284 border: 1px solid gray
;
1285 background-color: #ffffff;
1292 .editExternallyHelp {
1302 /* Classes for EXIF data display */
1306 margin-bottom: 0.5em;
1310 table
.mw_metadata caption
{
1314 table
.mw_metadata th
{
1315 font-weight: normal
;
1318 table
.mw_metadata td
{
1324 border-collapse: collapse
;
1327 table
.mw_metadata td
, table
.mw_metadata th
{
1329 border: 1px solid
#aaaaaa;
1330 padding-left: 0.1em;
1331 padding-right: 0.1em;
1334 table
.mw_metadata th
{
1335 background-color: #f9f9f9;
1338 table
.mw_metadata td
{
1339 background-color: #fcfcfc;
1342 table
.collapsed tr
.collapsable
{
1350 border: 1px solid
#aaaaaa;
1351 background-color: #f9f9f9;
1354 margin-bottom: 0.5em;
1361 list-style-type: none
;
1370 input#wpSave
, input#wpDiff
{
1371 margin-right: 0.33em;
1374 #editform .editOptions
{
1382 /* Classes for article validation */
1384 table
.revisionform_default
{
1385 border: 1px solid
#000000;
1388 table
.revisionform_focus
{
1389 border: 1px solid
#000000;
1390 background-color:#00BBFF;
1393 tr
.revision_tr_default
{
1394 background-color:#EEEEEE;
1397 tr
.revision_tr_first
{
1398 background-color:#DDDDDD;
1407 border: solid
1px #bbbbff;
1408 background-color: #eeeeff;
1413 /* Allmessages table */
1415 #allmessagestable th
{
1416 background-color: #b2b2ff;
1419 #allmessagestable tr
.orig
{
1420 background-color: #ffe2e2;
1423 #allmessagestable tr
.new
{
1424 background-color: #e2ffe2;
1427 #allmessagestable tr
.def
{
1428 background-color: #f0f0ff;
1434 border: 1px solid
#ccc;
1440 div#searchTargetContainer
{
1450 background: #F0F0F0;
1451 border: solid
1px blue
;
1454 div#searchTarget ul li
{
1458 div#searchTarget ul
li:before
{
1460 content: "\00BB \0020";
1463 div#searchTargetHide
{
1465 border:solid
1px black
;
1466 background:gainsboro
;
1470 div
.multipageimagenavbox
{
1471 border: solid
1px silver
;
1474 -moz-border-radius: 6px;
1475 background: #f0f0f0;
1478 div
.multipageimagenavbox div
.thumb
{
1484 div
.multipageimagenavbox hr
{
1488 table
.multipageimage td
{
1492 /** Special:Version */
1494 table#sv-ext
, table#sv-hooks
, table#sv-software
{
1499 #sv-ext td
, #sv-hooks td
, #sv-software td
,
1500 #sv-ext th
, #sv-hooks th
, #sv-software th
{
1501 border: 1px solid
#A0A0A0;
1502 padding: 0 0.15em 0 0.15em;
1504 #sv-ext th
, #sv-hooks th
, #sv-software th
{
1505 background-color: #F0F0F0;
1507 padding: 0 0.15em 0 0.15em;
1513 tr
.sv-space td
{ display: none
; }
1516 Table pager (e.g. Special:Imagelist)
1517 - remove underlines from the navigation link
1519 - set the borders to outsets (similar to Special:Allmessages)
1520 - remove line wrapping for all td and th, set background color
1521 - restore line wrapping for the last two table cells (description and size)
1523 .TablePager_nav a { text-decoration: none
; }
1524 .TablePager { border-collapse: collapse
; }
1525 .TablePager, .TablePager td, .TablePager th {
1526 border: 1px solid
#aaaaaa;
1527 padding: 0 0.15em 0 0.15em;
1529 .TablePager th { background-color: #eeeeff }
1530 .TablePager td { background-color: #ffffff }
1531 .TablePager tr:hover td { background-color: #eeeeff }
1533 .imagelist td, .imagelist th { white-space: nowrap
}
1534 .imagelist .TablePager_col_links { background-color: #eeeeff }
1535 .imagelist .TablePager_col_img_description { white-space: normal
}
1536 .imagelist th.TablePager_sort { background-color: #ccccff }
1538 .templatesUsed { margin-top: 1.5em; }
1540 .mw-summary-preview {
1544 /* Friendlier slave lag warnings */
1545 div
.mw-lag-warn-normal
,
1546 div
.mw-lag-warn-high
{
1551 div
.mw-lag-warn-normal
{
1552 border: 1px solid
#FFCC66;
1553 background-color: #FFFFCC;
1555 div
.mw-lag-warn-high
{
1557 border: 2px solid
#FF0033;
1558 background-color: #FFCCCC;
1561 /* Recreating-deleted-page/reupload file warning and log entries */
1562 div#mw-upload-deleted-warn
,
1563 div#mw-recreate-deleted-warn
{
1566 border: 2px solid
#2F6FAB;
1568 div#mw-upload-deleted-warn ul li
,
1569 div#mw-recreate-deleted-warn ul li
{
1572 .MediaTransformError {
1573 background-color: #ccc;
1576 .MediaTransformError td {
1578 vertical-align: middle
;