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;
182 padding: 0 0.5em 0.5em;
198 input
.historysubmit
{
199 padding: 0 .3em .3em .3em !important
;
202 height: 1.7em !important
;
208 abbr
, acronym
, .explain
{
209 border-bottom: 1px dotted black
;
215 font-family: Times
, "Times New Roman", serif
;
220 font-family: Times, "Times New Roman", serif;
224 background-color: #f9f9f9;
228 border: 1px dashed
#2f6fab;
230 background-color: #f9f9f9;
235 ** the main content area
245 #contentSub, #contentSub2
{
248 margin: 0 0 1.4em 1em;
256 /* Some space under the headers in the content area */
257 #bodyContent h1
, #bodyContent h2
{
260 #bodyContent h3
, #bodyContent h4
, #bodyContent h5
{
265 /* These two rules hack around bug 2013 (fix for more limited bug 11325).
266 When bug 2013 is fixed properly, they should be removed. */
271 /* user notification thing */
273 background-color: #ffce7b;
274 border: 1px solid
#ffa500;
279 vertical-align: middle
;
292 border: 1px solid
#aaa;
293 background-color: #f9f9f9;
298 /* currently unused, intended to be used by a metadata box
299 in the bottom-right corner of the content area */
300 .documentDescription {
301 /* The summary text describing the document */
324 /* small for tables and similar */
339 border: 1px solid
#aaa;
340 background-color: #f9f9f9;
360 list-style-type: none
;
361 list-style-image: none
;
382 div
.floatright
, table
.floatright
{
386 margin: 0 0 .5em .5em;
389 border: .5em solid white;
390 border-width: .5em 0 .8em 1.4em;
393 div
.floatright p
{ font-style: italic
; }
394 div
.floatleft
, table
.floatleft
{
398 margin: 0 .5em .5em 0;
401 margin: .3em .5em .5em 0;
402 border: .5em solid white;
403 border-width: .5em 1.4em .8em 0;
406 div
.floatleft p
{ font-style: italic
; }
415 border: 1px solid
#ccc;
416 padding: 3px !important
;
417 background-color: #f9f9f9;
423 border: 1px solid
#ccc;
429 padding: 3px !important
;
434 border: none
!important
;
435 background: none
!important
;
437 div
.magnify a
, div
.magnify img
{
439 border: none
!important
;
440 background: none
!important
;
445 border-width: .5em 0 .8em 1.4em;
451 border-width: .5em 1.4em .8em 0;
454 border: 1px solid
#dddddd;
461 ** classes for special content elements like town boxes
462 ** intended to be referenced directly from the wiki src
468 /* table standards */
477 border: 1px solid
#aaa;
478 background-color: #f9f9f9;
493 ** keep the whitespace in front of the ^=, hides rule from konqueror
494 ** this is css3, the validator doesn't like it when validating as css2
496 #bodyContent a
.external
,
497 #bodyContent a
[href ^
="gopher://"] {
498 background: url
(external.png) center right no-repeat
;
501 .rtl #bodyContent a
.external
,
502 .rtl #bodyContent a[href ^="gopher://"] {
503 background-image: url
(external-rtl
.png
);
505 #bodyContent a
[href ^
="https://"],
507 background: url
(lock_icon.gif) center right no-repeat
;
510 #bodyContent a
[href ^
="mailto:"],
512 background: url
(mail_icon.gif) center right no-repeat
;
515 #bodyContent a
[href ^
="news://"] {
516 background: url
(news_icon.png) center right no-repeat
;
519 #bodyContent a
[href ^
="ftp://"],
521 background: url
(file_icon.gif) center right no-repeat
;
524 #bodyContent a
[href ^
="irc://"],
525 #bodyContent a
.extiw
[href ^
="irc://"],
527 background: url
(discussionitem_icon.gif) center right no-repeat
;
530 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
531 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
532 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
533 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
534 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
535 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
537 background: url
("audio.png") center right no-repeat
;
540 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
541 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
542 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
543 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
545 background: url
("video.png") center right no-repeat
;
548 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
549 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
550 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
552 background: url
("document.png") center right no-repeat
;
557 .rtl #bodyContent a.external {
558 background-position: left
;
562 background-position: right
;
567 /* correction for ltr wikis */
568 .ltr #bodyContent a.external {
572 /* disable interwiki styling */
573 #bodyContent a
.extiw
,
574 #bodyContent a
.extiw:active
{
579 #bodyContent a
.external
{
582 /* this can be used in the content area to switch off
583 special external link styling */
584 #bodyContent .plainlinks a
{
585 background: none
!important
;
586 padding: 0 !important
;
589 ** Structural Elements
593 ** general portlet styles (elements in the quickbar)
609 background: transparent
;
610 padding: 0 1em 0 .5em;
613 text-transform: lowercase
;
620 border: 1px solid
#2f6fab;
621 border-style: solid solid none solid
;
622 padding: 0 1em 0 1em;
623 text-transform: lowercase
;
632 background-color: white
;
634 border-collapse: collapse
;
635 border: 1px solid
#aaa;
636 padding: 0 .8em .3em .5em;
647 list-style-type: square
;
648 list-style-image: url
(bullet.gif);
663 position: absolute
; /*needed to use z-index */
677 background-repeat: no-repeat
;
678 background-position: 35% 50% !important
;
679 text-decoration: none
;
704 padding: .5em .4em .4em .4em;
707 #p-search #searchform div div
{
712 ** the personal toolbar
733 #p-personal .portlet
,
742 /* this is the ul contained in the portlet */
747 padding: 0 2em 0 3em;
766 text-decoration: none
;
768 padding-bottom: .2em;
771 #p-personal li
a:hover
{
772 background-color: white
;
773 padding-bottom: .2em;
774 text-decoration: none
;
776 #p-personal li
.active
a:hover
{
777 background-color: transparent
;
779 /* the icon in front of the user name, single quotes
780 in bg url to hide it from iemac */
784 background: url
(user.gif) top left no-repeat
;
786 text-transform: none
;
789 text-transform: lowercase
;
791 #p-personal li
.active
{
795 ** the page-related actions- page/talk, edit etc
807 border-collapse: collapse
;
817 border: 1px solid
#aaa;
824 #p-cactions li
.selected
{
825 border-color: #fabd23;
830 background-color: #fbfbfb;
833 padding: 0 .8em .3em;
837 text-decoration: none
;
839 #p-cactions li
.selected a
{
841 padding: 0 1em .2em!important
;
842 background-color: white
;
847 #p-cactions li
a:hover
{
849 text-decoration: none
;
850 background-color: white
;
855 #p-cactions li
.istalk
{
858 #p-cactions li
.istalk a
{
861 #p-cactions #ca-addsection a
{
865 /* offsets to distinguish the tab groups */
869 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
874 background-color: transparent
;
876 border-collapse: inherit
;
880 #p-cactions .hiddenStructure
{
884 text-transform: lowercase
;
892 /* Override text-transform on languages where capitalization is significant */
893 .portlet h5
[lang|
=bar
],
894 .portlet h6
[lang|
=bar
],
895 #p-personal ul
[lang|
=bar
],
896 #p-cactions ul
[lang|
=bar
] li a
,
897 .portlet h5
[lang|
=de
],
898 .portlet h6
[lang|
=de
],
899 #p-personal ul
[lang|
=de
],
900 #p-cactions ul
[lang|
=de
] li a
,
901 .portlet h5
[lang|
=gsw
],
902 .portlet h6
[lang|
=gsw
],
903 #p-personal ul
[lang|
=gsw
],
904 #p-cactions ul
[lang|
=gsw
] li a
,
905 .portlet h5
[lang|
=ksh
],
906 .portlet h6
[lang|
=ksh
],
907 #p-personal ul
[lang|
=ksh
],
908 #p-cactions ul
[lang|
=ksh
] li a
,
909 .portlet h5
[lang|
=lb
],
910 .portlet h6
[lang|
=lb
],
911 #p-personal ul
[lang|
=lb
],
912 #p-cactions ul
[lang|
=lb
] li a
,
913 .portlet h5
[lang|
=nds
],
914 .portlet h6
[lang|
=nds
],
915 #p-personal ul
[lang|
=nds
],
916 #p-cactions ul
[lang|
=nds
] li a
,
917 .portlet h5
[lang|
=pdc
],
918 .portlet h6
[lang|
=pdc
],
919 #p-personal ul
[lang|
=pdc
],
920 #p-cactions ul
[lang|
=pdc
] li a
,
921 .portlet h5
[lang|
=pdt
],
922 .portlet h6
[lang|
=pdt
],
923 #p-personal ul
[lang|
=pdt
],
924 #p-cactions ul
[lang|
=pdt
] li a
925 .portlet h5
[lang|
=pfl
],
926 .portlet h6
[lang|
=pfl
],
927 #p-personal ul
[lang|
=pfl
],
928 #p-cactions ul
[lang|
=pfl
] li a
{
929 text-transform: none
;
933 /* TODO: #t-iscite is only used by the Cite extension, come up with some
934 * system which allows extensions to add to this file on the fly
936 #t-ispermalink, #t-iscite
{
943 background-color: white
;
944 border-top: 1px solid
#fabd23;
945 border-bottom: 1px solid
#fabd23;
946 margin: .6em 0 1em 0;
947 padding: .4em 0 1.2em 0;
955 #f-poweredbyico, #f-copyrightico
{
958 top: -2px; /* Bump it up just a tad */
977 background-color: #f0f0f0;
981 margin: 1px -2px 1px 2px;
983 padding: 2px 0 3px 0;
984 border: 1px solid
#fff;
985 border-right-color: #716f64;
989 list-style-type: none
;
990 list-style-image: none
;
993 #preftoc li
.selected
{
995 background-color: #f9f9f9;
996 border: 1px solid
#aaa;
1003 #preftoc > li
.selected
{
1012 text-decoration: none
;
1014 #preftoc li
.selected a
{
1016 text-decoration: none
;
1020 border: 1px solid
#aaa;
1023 background-color: #F9F9F9;
1030 .prefsection fieldset {
1031 border: 1px solid
#aaa;
1035 .prefsection legend {
1038 .prefsection table, .prefsection legend {
1039 background-color: #F9F9F9;
1049 .mw-htmlform-submit {
1052 padding-right: .3em;
1056 .preferences-login {
1058 margin-bottom: 1.5em;
1066 div#userloginForm form
,
1067 div#userlogin form#userlogin2
{
1068 margin: 0 3em 1em 0;
1069 border: 1px solid
#aaa;
1072 background-color: #f9f9f9;
1075 .rtl div#userloginForm form
,
1076 .rtl div#userlogin form#userlogin2 {
1080 div#userloginForm table
,
1081 div#userlogin form#userlogin2 table
{
1082 background-color: #f9f9f9;
1085 div#userloginForm h2
,
1086 div#userlogin form#userlogin2 h2
{
1090 div#userlogin
.captcha
,
1091 div#userloginForm
.captcha
{
1092 border: 1px solid
#bbb;
1094 background-color: white
;
1097 #loginend, #signupend
{
1101 #userloginprompt, #languagelinks
{
1111 #userlogin .loginText
, #userlogin
.loginPassword
{
1115 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1120 ** IE/Mac fixes, hope to find a validating way to move this
1121 ** to a separate stylesheet. This would work but doesn't validate:
1122 ** @import("IEMacFixes.css");
1124 /* tabs: border on the a, not the div */
1125 * > html #p-cactions li
{ border: none
; }
1126 * > html #p-cactions li a
{
1127 border: 1px solid
#aaa;
1128 border-bottom: none
;
1130 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1131 /* footer icons need a fixed width */
1132 * > html #f-poweredbyico
,
1133 * > html #f-copyrightico
{ width: 88px; }
1134 * > html #bodyContent
,
1135 * > html #bodyContent pre
{
1138 padding-bottom: 25px;
1142 /* float/negative margin brokenness */
1143 * html #footer
{margin-top: 0;}
1144 * html #column-content
{
1148 * html div
.editsection
{ font-size: smaller
; }
1149 #pagehistory li
.selected
{ position: relative
; }
1151 /* Mac IE 5.0 fix; floated content turns invisible */
1152 * > html #column-content
{
1155 * > html #column-one
{
1161 margin-left: 13.2em;
1173 background-color: #ffa;
1180 span
.newpage
, span
.minor
, span
.bot
{
1188 .sharedUploadNotice {
1192 span
.updatedmarker
{
1194 background-color: #0f0;
1198 border: 1px solid
#ccc;
1201 background-color: white
;
1205 vertical-align: top
;
1209 vertical-align: top
;
1210 background-color: #f9f9f9;
1211 border: solid
2px white
;
1213 /* Keep this temporarily so that cached pages will display right */
1214 table
.gallery td
.galleryheader
{
1218 table
.gallery caption
{
1226 div
.gallerybox div
.thumb
{
1228 border: 1px solid
#ccc;
1249 border-bottom: 1px solid
#aaa;
1250 padding-bottom: 1em;
1260 border: 1px solid gray
;
1261 background-color: #ffffff;
1268 .editExternallyHelp {
1278 /* Classes for EXIF data display */
1282 margin-bottom: 0.5em;
1286 table
.mw_metadata caption
{
1290 table
.mw_metadata th
{
1291 font-weight: normal
;
1294 table
.mw_metadata td
{
1300 border-collapse: collapse
;
1303 table
.mw_metadata td
, table
.mw_metadata th
{
1305 border: 1px solid
#aaaaaa;
1306 padding-left: 0.1em;
1307 padding-right: 0.1em;
1310 table
.mw_metadata th
{
1311 background-color: #f9f9f9;
1314 table
.mw_metadata td
{
1315 background-color: #fcfcfc;
1318 table
.collapsed tr
.collapsable
{
1326 border: 1px solid
#aaaaaa;
1327 background-color: #f9f9f9;
1330 margin-bottom: 0.5em;
1337 list-style-type: none
;
1346 input#wpSave
, input#wpDiff
{
1347 margin-right: 0.33em;
1354 /* Classes for article validation */
1356 table
.revisionform_default
{
1357 border: 1px solid
#000000;
1360 table
.revisionform_focus
{
1361 border: 1px solid
#000000;
1362 background-color:#00BBFF;
1365 tr
.revision_tr_default
{
1366 background-color:#EEEEEE;
1369 tr
.revision_tr_first
{
1370 background-color:#DDDDDD;
1379 border: solid
1px #bbbbff;
1380 background-color: #eeeeff;
1385 /* Allmessages table */
1387 #allmessagestable th
{
1388 background-color: #b2b2ff;
1391 #allmessagestable tr
.orig
{
1392 background-color: #ffe2e2;
1395 #allmessagestable tr
.new
{
1396 background-color: #e2ffe2;
1399 #allmessagestable tr
.def
{
1400 background-color: #f0f0ff;
1406 border: 1px solid
#ccc;
1412 div#searchTargetContainer
{
1422 background: #F0F0F0;
1423 border: solid
1px blue
;
1426 div#searchTarget ul li
{
1430 div#searchTarget ul
li:before
{
1432 content: "\00BB \0020";
1435 div#searchTargetHide
{
1437 border:solid
1px black
;
1446 div
.multipageimagenavbox
{
1447 border: solid
1px silver
;
1450 background: #f0f0f0;
1453 div
.multipageimagenavbox div
.thumb
{
1459 div
.multipageimagenavbox hr
{
1463 table
.multipageimage td
{
1467 /** Special:Version */
1469 table#sv-ext
, table#sv-hooks
, table#sv-software
{
1474 #sv-ext td
, #sv-hooks td
, #sv-software td
,
1475 #sv-ext th
, #sv-hooks th
, #sv-software th
{
1476 border: 1px solid
#A0A0A0;
1477 padding: 0 0.15em 0 0.15em;
1479 #sv-ext th
, #sv-hooks th
, #sv-software th
{
1480 background-color: #F0F0F0;
1482 padding: 0 0.15em 0 0.15em;
1488 tr
.sv-space td
{ display: none
; }
1491 Table pager (e.g. Special:Imagelist)
1492 - remove underlines from the navigation link
1494 - set the borders to outsets (similar to Special:Allmessages)
1495 - remove line wrapping for all td and th, set background color
1496 - restore line wrapping for the last two table cells (description and size)
1498 .TablePager { min-width: 80%; }
1499 .TablePager_nav a { text-decoration: none
; }
1500 .TablePager { border-collapse: collapse
; }
1501 .TablePager, .TablePager td, .TablePager th {
1502 border: 1px solid
#aaaaaa;
1503 padding: 0 0.15em 0 0.15em;
1505 .TablePager th { background-color: #eeeeff }
1506 .TablePager td { background-color: #ffffff }
1507 .TablePager tr:hover td { background-color: #eeeeff }
1509 .imagelist td, .imagelist th { white-space: nowrap
}
1510 .imagelist .TablePager_col_links { background-color: #eeeeff }
1511 .imagelist .TablePager_col_img_description { white-space: normal
}
1512 .imagelist th.TablePager_sort { background-color: #ccccff }
1514 .templatesUsed { margin-top: 1.5em; }
1516 .mw-summary-preview {
1520 /* Friendlier slave lag warnings */
1521 div
.mw-lag-warn-normal
,
1522 div
.mw-lag-warn-high
{
1527 div
.mw-lag-warn-normal
{
1528 border: 1px solid
#FFCC66;
1529 background-color: #FFFFCC;
1531 div
.mw-lag-warn-high
{
1533 border: 2px solid
#FF0033;
1534 background-color: #FFCCCC;
1537 .MediaTransformError {
1538 background-color: #ccc;
1541 .MediaTransformError td {
1543 vertical-align: middle
;
1547 /** Special:Search stuff */
1548 div#mw-search-interwiki-caption
{
1554 .mw-search-interwiki-project {
1557 padding-left: 0.2em;
1558 padding-right: 0.15em;
1559 padding-bottom: 0.2em;
1560 padding-top: 0.15em;
1561 background: #cae8ff;
1564 /* God-damned hack for the crappy layout */