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
;
926 /* What matches for nds must not match for nds-nl - bug 19209 */
927 .portlet h5
[lang|
=nds-nl
],
928 .portlet h6
[lang|
=nds-nl
],
929 #p-personal ul
[lang|
=nds-nl
],
930 #p-cactions ul
[lang|
=nds-nl
] li a
{
931 text-transform: lowercase
;
934 /* TODO: #t-iscite is only used by the Cite extension, come up with some
935 * system which allows extensions to add to this file on the fly
937 #t-ispermalink, #t-iscite
{
944 background-color: white
;
945 border-top: 1px solid
#fabd23;
946 border-bottom: 1px solid
#fabd23;
947 margin: .6em 0 1em 0;
948 padding: .4em 0 1.2em 0;
956 #f-poweredbyico, #f-copyrightico
{
959 top: -2px; /* Bump it up just a tad */
970 .mw-htmlform-submit {
985 background-color: #f0f0f0;
989 margin: 1px -2px 1px 2px;
991 padding: 2px 0 3px 0;
992 border: 1px solid
#fff;
993 border-right-color: #716f64;
997 list-style-type: none
;
998 list-style-image: none
;
1001 #preftoc li
.selected
{
1003 background-color: #f9f9f9;
1004 border: 1px solid
#aaa;
1005 border-bottom: none
;
1011 #preftoc > li
.selected
{
1020 text-decoration: none
;
1022 #preftoc li
.selected a
{
1024 text-decoration: none
;
1028 border: 1px solid
#aaa;
1031 background-color: #F9F9F9;
1039 .prefsection legend {
1042 .prefsection table, .prefsection legend {
1043 background-color: #F9F9F9;
1054 .preferences-login {
1056 margin-bottom: 1.5em;
1064 div#userloginForm form
,
1065 div#userlogin form#userlogin2
{
1066 margin: 0 3em 1em 0;
1067 border: 1px solid
#aaa;
1070 background-color: #f9f9f9;
1073 .rtl div#userloginForm form
,
1074 .rtl div#userlogin form#userlogin2 {
1078 div#userloginForm table
,
1079 div#userlogin form#userlogin2 table
{
1080 background-color: #f9f9f9;
1083 div#userloginForm h2
,
1084 div#userlogin form#userlogin2 h2
{
1088 div#userlogin
.captcha
,
1089 div#userloginForm
.captcha
{
1090 border: 1px solid
#bbb;
1092 background-color: white
;
1095 #loginend, #signupend
{
1099 #userloginprompt, #languagelinks
{
1109 #userlogin .loginText
, #userlogin
.loginPassword
{
1113 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1118 ** IE/Mac fixes, hope to find a validating way to move this
1119 ** to a separate stylesheet. This would work but doesn't validate:
1120 ** @import("IEMacFixes.css");
1122 /* tabs: border on the a, not the div */
1123 * > html #p-cactions li
{ border: none
; }
1124 * > html #p-cactions li a
{
1125 border: 1px solid
#aaa;
1126 border-bottom: none
;
1128 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1129 /* footer icons need a fixed width */
1130 * > html #f-poweredbyico
,
1131 * > html #f-copyrightico
{ width: 88px; }
1132 * > html #bodyContent
,
1133 * > html #bodyContent pre
{
1136 padding-bottom: 25px;
1140 /* float/negative margin brokenness */
1141 * html #footer
{margin-top: 0;}
1142 * html #column-content
{
1146 * html div
.editsection
{ font-size: smaller
; }
1147 #pagehistory li
.selected
{ position: relative
; }
1149 /* Mac IE 5.0 fix; floated content turns invisible */
1150 * > html #column-content
{
1153 * > html #column-one
{
1159 margin-left: 13.2em;
1171 background-color: #ffa;
1178 span
.newpage
, span
.minor
, span
.bot
{
1186 .sharedUploadNotice {
1190 span
.updatedmarker
{
1192 background-color: #0f0;
1196 border: 1px solid
#ccc;
1199 background-color: white
;
1203 vertical-align: top
;
1207 vertical-align: top
;
1208 background-color: #f9f9f9;
1209 border: solid
2px white
;
1211 /* Keep this temporarily so that cached pages will display right */
1212 table
.gallery td
.galleryheader
{
1216 table
.gallery caption
{
1224 div
.gallerybox div
.thumb
{
1226 border: 1px solid
#ccc;
1255 border: 1px solid gray
;
1256 background-color: #ffffff;
1263 .editExternallyHelp {
1273 /* Classes for EXIF data display */
1277 margin-bottom: 0.5em;
1281 table
.mw_metadata caption
{
1285 table
.mw_metadata th
{
1286 font-weight: normal
;
1289 table
.mw_metadata td
{
1295 border-collapse: collapse
;
1298 table
.mw_metadata td
, table
.mw_metadata th
{
1300 border: 1px solid
#aaaaaa;
1301 padding-left: 0.1em;
1302 padding-right: 0.1em;
1305 table
.mw_metadata th
{
1306 background-color: #f9f9f9;
1309 table
.mw_metadata td
{
1310 background-color: #fcfcfc;
1313 table
.collapsed tr
.collapsable
{
1321 border: 1px solid
#aaaaaa;
1322 background-color: #f9f9f9;
1325 margin-bottom: 0.5em;
1332 list-style-type: none
;
1341 input#wpSave
, input#wpDiff
{
1342 margin-right: 0.33em;
1349 /* Classes for article validation */
1351 table
.revisionform_default
{
1352 border: 1px solid
#000000;
1355 table
.revisionform_focus
{
1356 border: 1px solid
#000000;
1357 background-color:#00BBFF;
1360 tr
.revision_tr_default
{
1361 background-color:#EEEEEE;
1364 tr
.revision_tr_first
{
1365 background-color:#DDDDDD;
1374 border: solid
1px #bbbbff;
1375 background-color: #eeeeff;
1380 /* Allmessages table */
1382 #allmessagestable th
{
1383 background-color: #b2b2ff;
1386 #allmessagestable tr
.orig
{
1387 background-color: #ffe2e2;
1390 #allmessagestable tr
.new
{
1391 background-color: #e2ffe2;
1394 #allmessagestable tr
.def
{
1395 background-color: #f0f0ff;
1401 border: 1px solid
#ccc;
1407 div#searchTargetContainer
{
1417 background: #F0F0F0;
1418 border: solid
1px blue
;
1421 div#searchTarget ul li
{
1425 div#searchTarget ul
li:before
{
1427 content: "\00BB \0020";
1430 div#searchTargetHide
{
1432 border:solid
1px black
;
1441 div
.multipageimagenavbox
{
1442 border: solid
1px silver
;
1445 background: #f0f0f0;
1448 div
.multipageimagenavbox div
.thumb
{
1454 div
.multipageimagenavbox hr
{
1458 table
.multipageimage td
{
1462 /** Special:Version */
1464 table#sv-ext
, table#sv-hooks
, table#sv-software
{
1469 #sv-ext td
, #sv-hooks td
, #sv-software td
,
1470 #sv-ext th
, #sv-hooks th
, #sv-software th
{
1471 border: 1px solid
#A0A0A0;
1472 padding: 0 0.15em 0 0.15em;
1474 #sv-ext th
, #sv-hooks th
, #sv-software th
{
1475 background-color: #F0F0F0;
1477 padding: 0 0.15em 0 0.15em;
1483 tr
.sv-space td
{ display: none
; }
1486 Table pager (e.g. Special:Imagelist)
1487 - remove underlines from the navigation link
1489 - set the borders to outsets (similar to Special:Allmessages)
1490 - remove line wrapping for all td and th, set background color
1491 - restore line wrapping for the last two table cells (description and size)
1493 .TablePager { min-width: 80%; }
1494 .TablePager_nav a { text-decoration: none
; }
1495 .TablePager { border-collapse: collapse
; }
1496 .TablePager, .TablePager td, .TablePager th {
1497 border: 1px solid
#aaaaaa;
1498 padding: 0 0.15em 0 0.15em;
1500 .TablePager th { background-color: #eeeeff }
1501 .TablePager td { background-color: #ffffff }
1502 .TablePager tr:hover td { background-color: #eeeeff }
1504 .imagelist td, .imagelist th { white-space: nowrap
}
1505 .imagelist .TablePager_col_links { background-color: #eeeeff }
1506 .imagelist .TablePager_col_img_description { white-space: normal
}
1507 .imagelist th.TablePager_sort { background-color: #ccccff }
1509 .templatesUsed { margin-top: 1.5em; }
1511 .mw-summary-preview {
1515 /* Friendlier slave lag warnings */
1516 div
.mw-lag-warn-normal
,
1517 div
.mw-lag-warn-high
{
1522 div
.mw-lag-warn-normal
{
1523 border: 1px solid
#FFCC66;
1524 background-color: #FFFFCC;
1526 div
.mw-lag-warn-high
{
1528 border: 2px solid
#FF0033;
1529 background-color: #FFCCCC;
1532 .MediaTransformError {
1533 background-color: #ccc;
1536 .MediaTransformError td {
1538 vertical-align: middle
;
1542 /* God-damned hack for the crappy layout */