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 */
63 /* we don't want the bottom borders of <h2>s to be visible through
65 background-color: white
;
68 /* but keep table layouts in forms clean... */
72 text-decoration: none
;
83 text-decoration: underline
;
88 a
.new
, #p-personal a
.new
{
91 a
.new:visited
, #p-personal a
.new:visited
{
97 vertical-align: middle
;
100 margin: .4em 0 .5em 0;
110 background-color: #aaa;
112 margin: .2em 0 .2em 0;
115 h1
, h2
, h3
, h4
, h5
, h6
{
121 padding-bottom: .17em;
122 border-bottom: 1px solid
#aaa;
124 h1
{ font-size: 188%; }
125 h1
.editsection
{ font-size: 53%; }
126 h2
{ font-size: 150%; }
127 h2
.editsection
{ font-size: 67%; }
132 h3
{ font-size: 132%; }
133 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
134 h4
{ font-size: 116%; }
135 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
136 h5
{ font-size: 100%; }
137 h5
.editsection
{ font-weight: normal
; }
138 h6
{ font-size: 80%; }
139 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
143 list-style-type: square
;
144 margin: .3em 0 0 1.5em;
146 list-style-image: url
(bullet.gif);
150 margin: .3em 0 0 3.2em;
152 list-style-image: none
;
172 border: 1px solid
#2f6fab;
179 padding: 0 0.5em 0.5em;
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
{
262 /* These two rules hack around bug 2013 (fix for more limited bug 11325).
263 When bug 2013 is fixed properly, they should be removed. */
268 /* user notification thing */
270 background-color: #ffce7b;
271 border: 1px solid
#ffa500;
276 vertical-align: middle
;
289 border: 1px solid
#aaa;
290 background-color: #f9f9f9;
295 /* currently unused, intended to be used by a metadata box
296 in the bottom-right corner of the content area */
297 .documentDescription {
298 /* The summary text describing the document */
321 /* small for tables and similar */
336 border: 1px solid
#aaa;
337 background-color: #f9f9f9;
357 list-style-type: none
;
358 list-style-image: none
;
379 div
.floatright
, table
.floatright
{
383 margin: 0 0 .5em .5em;
386 border: .5em solid white;
387 border-width: .5em 0 .8em 1.4em;
390 div
.floatright p
{ font-style: italic
; }
391 div
.floatleft
, table
.floatleft
{
395 margin: 0 .5em .5em 0;
398 margin: .3em .5em .5em 0;
399 border: .5em solid white;
400 border-width: .5em 1.4em .8em 0;
403 div
.floatleft p
{ font-style: italic
; }
412 border: 1px solid
#ccc;
413 padding: 3px !important
;
414 background-color: #f9f9f9;
420 border: 1px solid
#ccc;
426 padding: 3px !important
;
431 border: none
!important
;
432 background: none
!important
;
434 div
.magnify a
, div
.magnify img
{
436 border: none
!important
;
437 background: none
!important
;
442 border-width: .5em 0 .8em 1.4em;
448 border-width: .5em 1.4em .8em 0;
451 border: 1px solid
#dddddd;
458 ** classes for special content elements like town boxes
459 ** intended to be referenced directly from the wiki src
465 /* table standards */
474 border: 1px solid
#aaa;
475 background-color: #f9f9f9;
490 ** keep the whitespace in front of the ^=, hides rule from konqueror
491 ** this is css3, the validator doesn't like it when validating as css2
493 #bodyContent a
.external
,
494 #bodyContent a
.external
[href ^
="gopher://"] {
495 background: url
(external.png) center right no-repeat
;
498 .rtl #bodyContent a
.external
,
499 .rtl #bodyContent a.external[href ^="gopher://"] {
500 background-image: url
(external-rtl
.png
);
502 #bodyContent a
.external
[href ^
="https://"],
504 background: url
(lock_icon.gif) center right no-repeat
;
507 #bodyContent a
.external
[href ^
="mailto:"],
509 background: url
(mail_icon.gif) center right no-repeat
;
512 #bodyContent a
.external
[href ^
="news://"] {
513 background: url
(news_icon.png) center right no-repeat
;
516 #bodyContent a
.external
[href ^
="ftp://"],
518 background: url
(file_icon.gif) center right no-repeat
;
521 #bodyContent a
.external
[href ^
="irc://"],
523 background: url
(discussionitem_icon.gif) center right no-repeat
;
526 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
527 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
528 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
529 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
530 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
531 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
533 background: url
("audio.png") center right no-repeat
;
536 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
537 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
538 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
539 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
541 background: url
("video.png") center right no-repeat
;
544 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
545 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
546 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
548 background: url
("document.png") center right no-repeat
;
553 .rtl #bodyContent a.external {
554 background-position: left
;
558 background-position: right
;
563 /* correction for ltr wikis */
564 .ltr #bodyContent a.external {
568 /* disable interwiki styling */
569 #bodyContent a
.extiw
,
570 #bodyContent a
.extiw:active
{
573 #bodyContent a
.external
{
576 /* this can be used in the content area to switch off
577 special external link styling */
578 #bodyContent .plainlinks a
{
579 background: none
!important
;
580 padding: 0 !important
;
583 ** Structural Elements
587 ** general portlet styles (elements in the quickbar)
603 background: transparent
;
604 padding: 0 1em 0 .5em;
607 text-transform: lowercase
;
614 border: 1px solid
#2f6fab;
615 border-style: solid solid none solid
;
616 padding: 0 1em 0 1em;
617 text-transform: lowercase
;
626 background-color: white
;
628 border-collapse: collapse
;
629 border: 1px solid
#aaa;
630 padding: 0 .8em .3em .5em;
641 list-style-type: square
;
642 list-style-image: url
(bullet.gif);
657 position: absolute
; /*needed to use z-index */
671 background-repeat: no-repeat
;
672 background-position: 35% 50% !important
;
673 text-decoration: none
;
698 padding: .5em .4em .4em .4em;
701 #p-search #searchform div div
{
706 ** the personal toolbar
727 #p-personal .portlet
,
736 /* this is the ul contained in the portlet */
741 padding: 0 2em 0 3em;
760 text-decoration: none
;
762 padding-bottom: .2em;
765 #p-personal li
a:hover
{
766 background-color: white
;
767 padding-bottom: .2em;
768 text-decoration: none
;
770 #p-personal li
.active
a:hover
{
771 background-color: transparent
;
773 /* the icon in front of the user name, single quotes
774 in bg url to hide it from iemac */
778 background: url
(user.gif) top left no-repeat
;
780 text-transform: none
;
783 text-transform: lowercase
;
785 #p-personal li
.active
{
789 ** the page-related actions- page/talk, edit etc
801 border-collapse: collapse
;
811 border: 1px solid
#aaa;
818 #p-cactions li
.selected
{
819 border-color: #fabd23;
824 background-color: #fbfbfb;
827 padding: 0 .8em .3em;
831 text-decoration: none
;
833 #p-cactions li
.selected a
{
835 padding: 0 1em .2em!important
;
836 background-color: white
;
841 #p-cactions li
a:hover
{
843 text-decoration: none
;
844 background-color: white
;
849 #p-cactions li
.istalk
{
852 #p-cactions li
.istalk a
{
855 #p-cactions #ca-addsection a
{
859 /* offsets to distinguish the tab groups */
863 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
868 background-color: transparent
;
870 border-collapse: inherit
;
874 #p-cactions .hiddenStructure
{
878 text-transform: lowercase
;
886 /* Override text-transform on languages where capitalization is significant */
887 .portlet h5
[lang|
=bar
],
888 .portlet h6
[lang|
=bar
],
889 #p-personal ul
[lang|
=bar
],
890 #p-cactions ul
[lang|
=bar
] li a
,
891 .portlet h5
[lang|
=de
],
892 .portlet h6
[lang|
=de
],
893 #p-personal ul
[lang|
=de
],
894 #p-cactions ul
[lang|
=de
] li a
,
895 .portlet h5
[lang|
=gsw
],
896 .portlet h6
[lang|
=gsw
],
897 #p-personal ul
[lang|
=gsw
],
898 #p-cactions ul
[lang|
=gsw
] li a
,
899 .portlet h5
[lang|
=ksh
],
900 .portlet h6
[lang|
=ksh
],
901 #p-personal ul
[lang|
=ksh
],
902 #p-cactions ul
[lang|
=ksh
] li a
,
903 .portlet h5
[lang|
=lb
],
904 .portlet h6
[lang|
=lb
],
905 #p-personal ul
[lang|
=lb
],
906 #p-cactions ul
[lang|
=lb
] li a
,
907 .portlet h5
[lang|
=nds
],
908 .portlet h6
[lang|
=nds
],
909 #p-personal ul
[lang|
=nds
],
910 #p-cactions ul
[lang|
=nds
] li a
,
911 .portlet h5
[lang|
=pdc
],
912 .portlet h6
[lang|
=pdc
],
913 #p-personal ul
[lang|
=pdc
],
914 #p-cactions ul
[lang|
=pdc
] li a
,
915 .portlet h5
[lang|
=pdt
],
916 .portlet h6
[lang|
=pdt
],
917 #p-personal ul
[lang|
=pdt
],
918 #p-cactions ul
[lang|
=pdt
] li a
919 .portlet h5
[lang|
=pfl
],
920 .portlet h6
[lang|
=pfl
],
921 #p-personal ul
[lang|
=pfl
],
922 #p-cactions ul
[lang|
=pfl
] li a
{
923 text-transform: none
;
927 /* TODO: #t-iscite is only used by the Cite extension, come up with some
928 * system which allows extensions to add to this file on the fly
930 #t-ispermalink, #t-iscite
{
937 background-color: white
;
938 border-top: 1px solid
#fabd23;
939 border-bottom: 1px solid
#fabd23;
940 margin: .6em 0 1em 0;
941 padding: .4em 0 1.2em 0;
949 #f-poweredbyico, #f-copyrightico
{
952 top: -2px; /* Bump it up just a tad */
963 .mw-htmlform-submit {
978 background-color: #f0f0f0;
982 margin: 1px -2px 1px 2px;
984 padding: 2px 0 3px 0;
985 border: 1px solid
#fff;
986 border-right-color: #716f64;
990 list-style-type: none
;
991 list-style-image: none
;
994 #preftoc li
.selected
{
996 background-color: #f9f9f9;
997 border: 1px solid
#aaa;
1004 #preftoc > li
.selected
{
1013 text-decoration: none
;
1015 #preftoc li
.selected a
{
1017 text-decoration: none
;
1021 border: 1px solid
#aaa;
1024 background-color: #F9F9F9;
1032 .prefsection legend {
1035 .prefsection table, .prefsection legend {
1036 background-color: #F9F9F9;
1047 .preferences-login {
1049 margin-bottom: 1.5em;
1057 div#userloginForm form
,
1058 div#userlogin form#userlogin2
{
1059 margin: 0 3em 1em 0;
1060 border: 1px solid
#aaa;
1063 background-color: #f9f9f9;
1066 .rtl div#userloginForm form
,
1067 .rtl div#userlogin form#userlogin2 {
1071 div#userloginForm table
,
1072 div#userlogin form#userlogin2 table
{
1073 background-color: #f9f9f9;
1076 div#userloginForm h2
,
1077 div#userlogin form#userlogin2 h2
{
1081 div#userlogin
.captcha
,
1082 div#userloginForm
.captcha
{
1083 border: 1px solid
#bbb;
1085 background-color: white
;
1088 #loginend, #signupend
{
1092 #userloginprompt, #languagelinks
{
1102 #userlogin .loginText
, #userlogin
.loginPassword
{
1106 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1111 ** IE/Mac fixes, hope to find a validating way to move this
1112 ** to a separate stylesheet. This would work but doesn't validate:
1113 ** @import("IEMacFixes.css");
1115 /* tabs: border on the a, not the div */
1116 * > html #p-cactions li
{ border: none
; }
1117 * > html #p-cactions li a
{
1118 border: 1px solid
#aaa;
1119 border-bottom: none
;
1121 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1122 /* footer icons need a fixed width */
1123 * > html #f-poweredbyico
,
1124 * > html #f-copyrightico
{ width: 88px; }
1125 * > html #bodyContent
,
1126 * > html #bodyContent pre
{
1129 padding-bottom: 25px;
1133 /* float/negative margin brokenness */
1134 * html #footer
{margin-top: 0;}
1135 * html #column-content
{
1139 * html div
.editsection
{ font-size: smaller
; }
1140 #pagehistory li
.selected
{ position: relative
; }
1142 /* Mac IE 5.0 fix; floated content turns invisible */
1143 * > html #column-content
{
1146 * > html #column-one
{
1152 margin-left: 13.2em;
1164 background-color: #ffa;
1171 span
.newpage
, span
.minor
, span
.bot
{
1179 .sharedUploadNotice {
1183 span
.updatedmarker
{
1185 background-color: #0f0;
1189 border: 1px solid
#ccc;
1192 background-color: white
;
1196 vertical-align: top
;
1200 vertical-align: top
;
1201 background-color: #f9f9f9;
1202 border: solid
2px white
;
1204 /* Keep this temporarily so that cached pages will display right */
1205 table
.gallery td
.galleryheader
{
1209 table
.gallery caption
{
1217 div
.gallerybox div
.thumb
{
1219 border: 1px solid
#ccc;
1248 border: 1px solid gray
;
1249 background-color: #ffffff;
1256 .editExternallyHelp {
1266 /* Classes for EXIF data display */
1270 margin-bottom: 0.5em;
1274 table
.mw_metadata caption
{
1278 table
.mw_metadata th
{
1279 font-weight: normal
;
1282 table
.mw_metadata td
{
1288 border-collapse: collapse
;
1291 table
.mw_metadata td
, table
.mw_metadata th
{
1293 border: 1px solid
#aaaaaa;
1294 padding-left: 0.1em;
1295 padding-right: 0.1em;
1298 table
.mw_metadata th
{
1299 background-color: #f9f9f9;
1302 table
.mw_metadata td
{
1303 background-color: #fcfcfc;
1306 table
.collapsed tr
.collapsable
{
1314 border: 1px solid
#aaaaaa;
1315 background-color: #f9f9f9;
1318 margin-bottom: 0.5em;
1325 list-style-type: none
;
1334 input#wpSave
, input#wpDiff
{
1335 margin-right: 0.33em;
1342 /* Classes for article validation */
1344 table
.revisionform_default
{
1345 border: 1px solid
#000000;
1348 table
.revisionform_focus
{
1349 border: 1px solid
#000000;
1350 background-color:#00BBFF;
1353 tr
.revision_tr_default
{
1354 background-color:#EEEEEE;
1357 tr
.revision_tr_first
{
1358 background-color:#DDDDDD;
1367 border: solid
1px #bbbbff;
1368 background-color: #eeeeff;
1373 /* Allmessages table */
1375 #allmessagestable th
{
1376 background-color: #b2b2ff;
1379 #allmessagestable tr
.orig
{
1380 background-color: #ffe2e2;
1383 #allmessagestable tr
.new
{
1384 background-color: #e2ffe2;
1387 #allmessagestable tr
.def
{
1388 background-color: #f0f0ff;
1394 border: 1px solid
#ccc;
1400 div#searchTargetContainer
{
1410 background: #F0F0F0;
1411 border: solid
1px blue
;
1414 div#searchTarget ul li
{
1418 div#searchTarget ul
li:before
{
1420 content: "\00BB \0020";
1423 div#searchTargetHide
{
1425 border:solid
1px black
;
1434 div
.multipageimagenavbox
{
1435 border: solid
1px silver
;
1438 background: #f0f0f0;
1441 div
.multipageimagenavbox div
.thumb
{
1447 div
.multipageimagenavbox hr
{
1451 table
.multipageimage td
{
1455 /** Special:Version */
1457 table#sv-ext
, table#sv-hooks
, table#sv-software
{
1462 #sv-ext td
, #sv-hooks td
, #sv-software td
,
1463 #sv-ext th
, #sv-hooks th
, #sv-software th
{
1464 border: 1px solid
#A0A0A0;
1465 padding: 0 0.15em 0 0.15em;
1467 #sv-ext th
, #sv-hooks th
, #sv-software th
{
1468 background-color: #F0F0F0;
1470 padding: 0 0.15em 0 0.15em;
1476 tr
.sv-space td
{ display: none
; }
1479 Table pager (e.g. Special:Imagelist)
1480 - remove underlines from the navigation link
1482 - set the borders to outsets (similar to Special:Allmessages)
1483 - remove line wrapping for all td and th, set background color
1484 - restore line wrapping for the last two table cells (description and size)
1486 .TablePager { min-width: 80%; }
1487 .TablePager_nav a { text-decoration: none
; }
1488 .TablePager { border-collapse: collapse
; }
1489 .TablePager, .TablePager td, .TablePager th {
1490 border: 1px solid
#aaaaaa;
1491 padding: 0 0.15em 0 0.15em;
1493 .TablePager th { background-color: #eeeeff }
1494 .TablePager td { background-color: #ffffff }
1495 .TablePager tr:hover td { background-color: #eeeeff }
1497 .imagelist td, .imagelist th { white-space: nowrap
}
1498 .imagelist .TablePager_col_links { background-color: #eeeeff }
1499 .imagelist .TablePager_col_img_description { white-space: normal
}
1500 .imagelist th.TablePager_sort { background-color: #ccccff }
1502 .templatesUsed { margin-top: 1.5em; }
1504 .mw-summary-preview {
1508 /* Friendlier slave lag warnings */
1509 div
.mw-lag-warn-normal
,
1510 div
.mw-lag-warn-high
{
1515 div
.mw-lag-warn-normal
{
1516 border: 1px solid
#FFCC66;
1517 background-color: #FFFFCC;
1519 div
.mw-lag-warn-high
{
1521 border: 2px solid
#FF0033;
1522 background-color: #FFCCCC;
1525 .MediaTransformError {
1526 background-color: #ccc;
1529 .MediaTransformError td {
1531 vertical-align: middle
;
1535 /* God-damned hack for the crappy layout */