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
[href ^
="gopher://"] {
495 background: url
(external.png) center right no-repeat
;
498 .rtl #bodyContent a
.external
,
499 .rtl #bodyContent a[href ^="gopher://"] {
500 background-image: url
(external-rtl
.png
);
502 #bodyContent a
[href ^
="https://"],
504 background: url
(lock_icon.gif) center right no-repeat
;
507 #bodyContent a
[href ^
="mailto:"],
509 background: url
(mail_icon.gif) center right no-repeat
;
512 #bodyContent a
[href ^
="news://"] {
513 background: url
(news_icon.png) center right no-repeat
;
516 #bodyContent a
[href ^
="ftp://"],
518 background: url
(file_icon.gif) center right no-repeat
;
521 #bodyContent a
[href ^
="irc://"],
522 #bodyContent a
.extiw
[href ^
="irc://"],
524 background: url
(discussionitem_icon.gif) center right no-repeat
;
527 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
528 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
529 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
530 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
531 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
532 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
534 background: url
("audio.png") center right no-repeat
;
537 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
538 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
539 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
540 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
542 background: url
("video.png") center right no-repeat
;
545 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
546 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
547 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
549 background: url
("document.png") center right no-repeat
;
554 .rtl #bodyContent a.external {
555 background-position: left
;
559 background-position: right
;
564 /* correction for ltr wikis */
565 .ltr #bodyContent a
.external
,
566 .ltr #bodyContent a.extiw {
570 /* disable interwiki styling */
571 #bodyContent a
.extiw
,
572 #bodyContent a
.extiw:active
{
577 #bodyContent a
.external
{
580 /* this can be used in the content area to switch off
581 special external link styling */
582 #bodyContent .plainlinks a
{
583 background: none
!important
;
584 padding: 0 !important
;
587 ** Structural Elements
591 ** general portlet styles (elements in the quickbar)
607 background: transparent
;
608 padding: 0 1em 0 .5em;
611 text-transform: lowercase
;
618 border: 1px solid
#2f6fab;
619 border-style: solid solid none solid
;
620 padding: 0 1em 0 1em;
621 text-transform: lowercase
;
630 background-color: white
;
632 border-collapse: collapse
;
633 border: 1px solid
#aaa;
634 padding: 0 .8em .3em .5em;
645 list-style-type: square
;
646 list-style-image: url
(bullet.gif);
661 position: absolute
; /*needed to use z-index */
675 background-repeat: no-repeat
;
676 background-position: 35% 50% !important
;
677 text-decoration: none
;
702 padding: .5em .4em .4em .4em;
705 #p-search #searchform div div
{
710 ** the personal toolbar
731 #p-personal .portlet
,
740 /* this is the ul contained in the portlet */
745 padding: 0 2em 0 3em;
764 text-decoration: none
;
766 padding-bottom: .2em;
769 #p-personal li
a:hover
{
770 background-color: white
;
771 padding-bottom: .2em;
772 text-decoration: none
;
774 #p-personal li
.active
a:hover
{
775 background-color: transparent
;
777 /* the icon in front of the user name, single quotes
778 in bg url to hide it from iemac */
782 background: url
(user.gif) top left no-repeat
;
784 text-transform: none
;
787 text-transform: lowercase
;
789 #p-personal li
.active
{
793 ** the page-related actions- page/talk, edit etc
805 border-collapse: collapse
;
815 border: 1px solid
#aaa;
822 #p-cactions li
.selected
{
823 border-color: #fabd23;
828 background-color: #fbfbfb;
831 padding: 0 .8em .3em;
835 text-decoration: none
;
837 #p-cactions li
.selected a
{
839 padding: 0 1em .2em!important
;
840 background-color: white
;
845 #p-cactions li
a:hover
{
847 text-decoration: none
;
848 background-color: white
;
853 #p-cactions li
.istalk
{
856 #p-cactions li
.istalk a
{
859 #p-cactions #ca-addsection a
{
863 /* offsets to distinguish the tab groups */
867 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
872 background-color: transparent
;
874 border-collapse: inherit
;
878 #p-cactions .hiddenStructure
{
882 text-transform: lowercase
;
890 /* Override text-transform on languages where capitalization is significant */
891 .portlet h5
[lang|
=bar
],
892 .portlet h6
[lang|
=bar
],
893 #p-personal ul
[lang|
=bar
],
894 #p-cactions ul
[lang|
=bar
] li a
,
895 .portlet h5
[lang|
=de
],
896 .portlet h6
[lang|
=de
],
897 #p-personal ul
[lang|
=de
],
898 #p-cactions ul
[lang|
=de
] li a
,
899 .portlet h5
[lang|
=gsw
],
900 .portlet h6
[lang|
=gsw
],
901 #p-personal ul
[lang|
=gsw
],
902 #p-cactions ul
[lang|
=gsw
] li a
,
903 .portlet h5
[lang|
=ksh
],
904 .portlet h6
[lang|
=ksh
],
905 #p-personal ul
[lang|
=ksh
],
906 #p-cactions ul
[lang|
=ksh
] li a
,
907 .portlet h5
[lang|
=lb
],
908 .portlet h6
[lang|
=lb
],
909 #p-personal ul
[lang|
=lb
],
910 #p-cactions ul
[lang|
=lb
] li a
,
911 .portlet h5
[lang|
=nds
],
912 .portlet h6
[lang|
=nds
],
913 #p-personal ul
[lang|
=nds
],
914 #p-cactions ul
[lang|
=nds
] li a
,
915 .portlet h5
[lang|
=pdc
],
916 .portlet h6
[lang|
=pdc
],
917 #p-personal ul
[lang|
=pdc
],
918 #p-cactions ul
[lang|
=pdc
] li a
,
919 .portlet h5
[lang|
=pdt
],
920 .portlet h6
[lang|
=pdt
],
921 #p-personal ul
[lang|
=pdt
],
922 #p-cactions ul
[lang|
=pdt
] li a
923 .portlet h5
[lang|
=pfl
],
924 .portlet h6
[lang|
=pfl
],
925 #p-personal ul
[lang|
=pfl
],
926 #p-cactions ul
[lang|
=pfl
] li a
{
927 text-transform: none
;
931 /* TODO: #t-iscite is only used by the Cite extension, come up with some
932 * system which allows extensions to add to this file on the fly
934 #t-ispermalink, #t-iscite
{
941 background-color: white
;
942 border-top: 1px solid
#fabd23;
943 border-bottom: 1px solid
#fabd23;
944 margin: .6em 0 1em 0;
945 padding: .4em 0 1.2em 0;
953 #f-poweredbyico, #f-copyrightico
{
956 top: -2px; /* Bump it up just a tad */
967 .mw-htmlform-submit {
982 background-color: #f0f0f0;
986 margin: 1px -2px 1px 2px;
988 padding: 2px 0 3px 0;
989 border: 1px solid
#fff;
990 border-right-color: #716f64;
994 list-style-type: none
;
995 list-style-image: none
;
998 #preftoc li
.selected
{
1000 background-color: #f9f9f9;
1001 border: 1px solid
#aaa;
1002 border-bottom: none
;
1008 #preftoc > li
.selected
{
1017 text-decoration: none
;
1019 #preftoc li
.selected a
{
1021 text-decoration: none
;
1025 border: 1px solid
#aaa;
1028 background-color: #F9F9F9;
1036 .prefsection legend {
1039 .prefsection table, .prefsection legend {
1040 background-color: #F9F9F9;
1051 .preferences-login {
1053 margin-bottom: 1.5em;
1061 div#userloginForm form
,
1062 div#userlogin form#userlogin2
{
1063 margin: 0 3em 1em 0;
1064 border: 1px solid
#aaa;
1067 background-color: #f9f9f9;
1070 .rtl div#userloginForm form
,
1071 .rtl div#userlogin form#userlogin2 {
1075 div#userloginForm table
,
1076 div#userlogin form#userlogin2 table
{
1077 background-color: #f9f9f9;
1080 div#userloginForm h2
,
1081 div#userlogin form#userlogin2 h2
{
1085 div#userlogin
.captcha
,
1086 div#userloginForm
.captcha
{
1087 border: 1px solid
#bbb;
1089 background-color: white
;
1092 #loginend, #signupend
{
1096 #userloginprompt, #languagelinks
{
1106 #userlogin .loginText
, #userlogin
.loginPassword
{
1110 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1115 ** IE/Mac fixes, hope to find a validating way to move this
1116 ** to a separate stylesheet. This would work but doesn't validate:
1117 ** @import("IEMacFixes.css");
1119 /* tabs: border on the a, not the div */
1120 * > html #p-cactions li
{ border: none
; }
1121 * > html #p-cactions li a
{
1122 border: 1px solid
#aaa;
1123 border-bottom: none
;
1125 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1126 /* footer icons need a fixed width */
1127 * > html #f-poweredbyico
,
1128 * > html #f-copyrightico
{ width: 88px; }
1129 * > html #bodyContent
,
1130 * > html #bodyContent pre
{
1133 padding-bottom: 25px;
1137 /* float/negative margin brokenness */
1138 * html #footer
{margin-top: 0;}
1139 * html #column-content
{
1143 * html div
.editsection
{ font-size: smaller
; }
1144 #pagehistory li
.selected
{ position: relative
; }
1146 /* Mac IE 5.0 fix; floated content turns invisible */
1147 * > html #column-content
{
1150 * > html #column-one
{
1156 margin-left: 13.2em;
1168 background-color: #ffa;
1175 span
.newpage
, span
.minor
, span
.bot
{
1183 .sharedUploadNotice {
1187 span
.updatedmarker
{
1189 background-color: #0f0;
1193 border: 1px solid
#ccc;
1196 background-color: white
;
1200 vertical-align: top
;
1204 vertical-align: top
;
1205 background-color: #f9f9f9;
1206 border: solid
2px white
;
1208 /* Keep this temporarily so that cached pages will display right */
1209 table
.gallery td
.galleryheader
{
1213 table
.gallery caption
{
1221 div
.gallerybox div
.thumb
{
1223 border: 1px solid
#ccc;
1252 border: 1px solid gray
;
1253 background-color: #ffffff;
1260 .editExternallyHelp {
1270 /* Classes for EXIF data display */
1274 margin-bottom: 0.5em;
1278 table
.mw_metadata caption
{
1282 table
.mw_metadata th
{
1283 font-weight: normal
;
1286 table
.mw_metadata td
{
1292 border-collapse: collapse
;
1295 table
.mw_metadata td
, table
.mw_metadata th
{
1297 border: 1px solid
#aaaaaa;
1298 padding-left: 0.1em;
1299 padding-right: 0.1em;
1302 table
.mw_metadata th
{
1303 background-color: #f9f9f9;
1306 table
.mw_metadata td
{
1307 background-color: #fcfcfc;
1310 table
.collapsed tr
.collapsable
{
1318 border: 1px solid
#aaaaaa;
1319 background-color: #f9f9f9;
1322 margin-bottom: 0.5em;
1329 list-style-type: none
;
1338 input#wpSave
, input#wpDiff
{
1339 margin-right: 0.33em;
1346 /* Classes for article validation */
1348 table
.revisionform_default
{
1349 border: 1px solid
#000000;
1352 table
.revisionform_focus
{
1353 border: 1px solid
#000000;
1354 background-color:#00BBFF;
1357 tr
.revision_tr_default
{
1358 background-color:#EEEEEE;
1361 tr
.revision_tr_first
{
1362 background-color:#DDDDDD;
1371 border: solid
1px #bbbbff;
1372 background-color: #eeeeff;
1377 /* Allmessages table */
1379 #allmessagestable th
{
1380 background-color: #b2b2ff;
1383 #allmessagestable tr
.orig
{
1384 background-color: #ffe2e2;
1387 #allmessagestable tr
.new
{
1388 background-color: #e2ffe2;
1391 #allmessagestable tr
.def
{
1392 background-color: #f0f0ff;
1398 border: 1px solid
#ccc;
1404 div#searchTargetContainer
{
1414 background: #F0F0F0;
1415 border: solid
1px blue
;
1418 div#searchTarget ul li
{
1422 div#searchTarget ul
li:before
{
1424 content: "\00BB \0020";
1427 div#searchTargetHide
{
1429 border:solid
1px black
;
1438 div
.multipageimagenavbox
{
1439 border: solid
1px silver
;
1442 background: #f0f0f0;
1445 div
.multipageimagenavbox div
.thumb
{
1451 div
.multipageimagenavbox hr
{
1455 table
.multipageimage td
{
1459 /** Special:Version */
1461 table#sv-ext
, table#sv-hooks
, table#sv-software
{
1466 #sv-ext td
, #sv-hooks td
, #sv-software td
,
1467 #sv-ext th
, #sv-hooks th
, #sv-software th
{
1468 border: 1px solid
#A0A0A0;
1469 padding: 0 0.15em 0 0.15em;
1471 #sv-ext th
, #sv-hooks th
, #sv-software th
{
1472 background-color: #F0F0F0;
1474 padding: 0 0.15em 0 0.15em;
1480 tr
.sv-space td
{ display: none
; }
1483 Table pager (e.g. Special:Imagelist)
1484 - remove underlines from the navigation link
1486 - set the borders to outsets (similar to Special:Allmessages)
1487 - remove line wrapping for all td and th, set background color
1488 - restore line wrapping for the last two table cells (description and size)
1490 .TablePager { min-width: 80%; }
1491 .TablePager_nav a { text-decoration: none
; }
1492 .TablePager { border-collapse: collapse
; }
1493 .TablePager, .TablePager td, .TablePager th {
1494 border: 1px solid
#aaaaaa;
1495 padding: 0 0.15em 0 0.15em;
1497 .TablePager th { background-color: #eeeeff }
1498 .TablePager td { background-color: #ffffff }
1499 .TablePager tr:hover td { background-color: #eeeeff }
1501 .imagelist td, .imagelist th { white-space: nowrap
}
1502 .imagelist .TablePager_col_links { background-color: #eeeeff }
1503 .imagelist .TablePager_col_img_description { white-space: normal
}
1504 .imagelist th.TablePager_sort { background-color: #ccccff }
1506 .templatesUsed { margin-top: 1.5em; }
1508 .mw-summary-preview {
1512 /* Friendlier slave lag warnings */
1513 div
.mw-lag-warn-normal
,
1514 div
.mw-lag-warn-high
{
1519 div
.mw-lag-warn-normal
{
1520 border: 1px solid
#FFCC66;
1521 background-color: #FFFFCC;
1523 div
.mw-lag-warn-high
{
1525 border: 2px solid
#FF0033;
1526 background-color: #FFCCCC;
1529 .MediaTransformError {
1530 background-color: #ccc;
1533 .MediaTransformError td {
1535 vertical-align: middle
;
1539 /* God-damned hack for the crappy layout */