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
;
298 .errorbox, .successbox {
308 background-color: #fff2f2;
312 background-color: #dfd;
314 .errorbox h2, .successbox h2 {
323 border: 1px solid
#aaa;
324 background-color: #f9f9f9;
329 /* currently unused, intended to be used by a metadata box
330 in the bottom-right corner of the content area */
331 .documentDescription {
332 /* The summary text describing the document */
355 /* small for tables and similar */
370 border: 1px solid
#aaa;
371 background-color: #f9f9f9;
391 list-style-type: none
;
392 list-style-image: none
;
413 div
.floatright
, table
.floatright
{
417 margin: 0 0 .5em .5em;
420 border: .5em solid white;
421 border-width: .5em 0 .8em 1.4em;
424 div
.floatright p
{ font-style: italic
; }
425 div
.floatleft
, table
.floatleft
{
429 margin: 0 .5em .5em 0;
432 margin: .3em .5em .5em 0;
433 border: .5em solid white;
434 border-width: .5em 1.4em .8em 0;
437 div
.floatleft p
{ font-style: italic
; }
446 border: 1px solid
#ccc;
447 padding: 3px !important
;
448 background-color: #f9f9f9;
454 border: 1px solid
#ccc;
460 padding: 3px !important
;
465 border: none
!important
;
466 background: none
!important
;
468 div
.magnify a
, div
.magnify img
{
470 border: none
!important
;
471 background: none
!important
;
476 border-width: .5em 0 .8em 1.4em;
482 border-width: .5em 1.4em .8em 0;
485 border: 1px solid
#dddddd;
492 ** classes for special content elements like town boxes
493 ** intended to be referenced directly from the wiki src
499 /* table standards */
508 border: 1px solid
#aaa;
509 background-color: #f9f9f9;
524 ** keep the whitespace in front of the ^=, hides rule from konqueror
525 ** this is css3, the validator doesn't like it when validating as css2
527 #bodyContent a
.external
,
528 #bodyContent a
[href ^
="gopher://"] {
529 background: url
(external.png) center right no-repeat
;
532 .rtl #bodyContent a
.external
,
533 .rtl #bodyContent a[href ^="gopher://"] {
534 background-image: url
(external-rtl
.png
);
536 #bodyContent a
[href ^
="https://"],
538 background: url
(lock_icon.gif) center right no-repeat
;
541 #bodyContent a
[href ^
="mailto:"],
543 background: url
(mail_icon.gif) center right no-repeat
;
546 #bodyContent a
[href ^
="news://"] {
547 background: url
(news_icon.png) center right no-repeat
;
550 #bodyContent a
[href ^
="ftp://"],
552 background: url
(file_icon.gif) center right no-repeat
;
555 #bodyContent a
[href ^
="irc://"],
556 #bodyContent a
.extiw
[href ^
="irc://"],
558 background: url
(discussionitem_icon.gif) center right no-repeat
;
561 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
562 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
563 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
564 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
565 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
566 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
568 background: url
("audio.png") center right no-repeat
;
571 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
572 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
573 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
574 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
576 background: url
("video.png") center right no-repeat
;
579 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
580 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
581 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
583 background: url
("document.png") center right no-repeat
;
588 .rtl #bodyContent a.external {
589 background-position: left
;
593 background-position: right
;
598 /* correction for ltr wikis */
599 .ltr #bodyContent a.external {
603 /* disable interwiki styling */
604 #bodyContent a
.extiw
,
605 #bodyContent a
.extiw:active
{
610 #bodyContent a
.external
{
613 /* this can be used in the content area to switch off
614 special external link styling */
615 #bodyContent .plainlinks a
{
616 background: none
!important
;
617 padding: 0 !important
;
620 ** Structural Elements
624 ** general portlet styles (elements in the quickbar)
640 background: transparent
;
641 padding: 0 1em 0 .5em;
644 text-transform: lowercase
;
651 border: 1px solid
#2f6fab;
652 border-style: solid solid none solid
;
653 padding: 0 1em 0 1em;
654 text-transform: lowercase
;
663 background-color: white
;
665 border-collapse: collapse
;
666 border: 1px solid
#aaa;
667 padding: 0 .8em .3em .5em;
678 list-style-type: square
;
679 list-style-image: url
(bullet.gif);
694 position: absolute
; /*needed to use z-index */
708 background-repeat: no-repeat
;
709 background-position: 35% 50% !important
;
710 text-decoration: none
;
735 padding: .5em .4em .4em .4em;
738 #p-search #searchform div div
{
743 ** the personal toolbar
764 #p-personal .portlet
,
773 /* this is the ul contained in the portlet */
778 padding: 0 2em 0 3em;
797 text-decoration: none
;
799 padding-bottom: .2em;
802 #p-personal li
a:hover
{
803 background-color: white
;
804 padding-bottom: .2em;
805 text-decoration: none
;
807 #p-personal li
.active
a:hover
{
808 background-color: transparent
;
810 /* the icon in front of the user name, single quotes
811 in bg url to hide it from iemac */
815 background: url
(user.gif) top left no-repeat
;
817 text-transform: none
;
820 text-transform: lowercase
;
822 #p-personal li
.active
{
826 ** the page-related actions- page/talk, edit etc
838 border-collapse: collapse
;
848 border: 1px solid
#aaa;
855 #p-cactions li
.selected
{
856 border-color: #fabd23;
861 background-color: #fbfbfb;
864 padding: 0 .8em .3em;
868 text-decoration: none
;
870 #p-cactions li
.selected a
{
872 padding: 0 1em .2em!important
;
873 background-color: white
;
878 #p-cactions li
a:hover
{
880 text-decoration: none
;
881 background-color: white
;
886 #p-cactions li
.istalk
{
889 #p-cactions li
.istalk a
{
892 #p-cactions #ca-addsection a
{
896 /* offsets to distinguish the tab groups */
900 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
905 background-color: transparent
;
907 border-collapse: inherit
;
911 #p-cactions .hiddenStructure
{
915 text-transform: lowercase
;
923 /* TODO: #t-iscite is only used by the Cite extension, come up with some
924 * system which allows extensions to add to this file on the fly
926 #t-ispermalink, #t-iscite
{
933 background-color: white
;
934 border-top: 1px solid
#fabd23;
935 border-bottom: 1px solid
#fabd23;
936 margin: .6em 0 1em 0;
937 padding: .4em 0 1.2em 0;
945 #f-poweredbyico, #f-copyrightico
{
948 top: -2px; /* Bump it up just a tad */
967 background-color: #f0f0f0;
971 margin: 1px -2px 1px 2px;
973 padding: 2px 0 3px 0;
974 border: 1px solid
#fff;
975 border-right-color: #716f64;
979 list-style-type: none
;
980 list-style-image: none
;
983 #preftoc li
.selected
{
985 background-color: #f9f9f9;
986 border: 1px solid
#aaa;
993 #preftoc > li
.selected
{
1002 text-decoration: none
;
1004 #preftoc li
.selected a
{
1006 text-decoration: none
;
1014 border: 1px solid
#aaa;
1017 background-color: #F9F9F9;
1024 .prefsection fieldset {
1025 border: 1px solid
#aaa;
1029 .prefsection legend {
1032 .prefsection table, .prefsection legend {
1033 background-color: #F9F9F9;
1038 div
.prefsectiontip
{
1046 padding-right: .3em;
1049 .preferences-login {
1051 margin-bottom: 1.5em;
1059 div#userloginForm form
,
1060 div#userlogin form#userlogin2
{
1061 margin: 0 3em 1em 0;
1062 border: 1px solid
#aaa;
1065 background-color: #f9f9f9;
1068 .rtl div#userloginForm form
,
1069 .rtl div#userlogin form#userlogin2 {
1073 div#userloginForm table
,
1074 div#userlogin form#userlogin2 table
{
1075 background-color: #f9f9f9;
1078 div#userloginForm h2
,
1079 div#userlogin form#userlogin2 h2
{
1083 div#userlogin
.captcha
,
1084 div#userloginForm
.captcha
{
1085 border: 1px solid
#bbb;
1087 background-color: white
;
1090 #loginend, #signupend
{
1094 #userloginprompt, #languagelinks
{
1104 #userlogin .loginText
, #userlogin
.loginPassword
{
1108 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1113 ** IE/Mac fixes, hope to find a validating way to move this
1114 ** to a separate stylesheet. This would work but doesn't validate:
1115 ** @import("IEMacFixes.css");
1117 /* tabs: border on the a, not the div */
1118 * > html #p-cactions li
{ border: none
; }
1119 * > html #p-cactions li a
{
1120 border: 1px solid
#aaa;
1121 border-bottom: none
;
1123 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1124 /* footer icons need a fixed width */
1125 * > html #f-poweredbyico
,
1126 * > html #f-copyrightico
{ width: 88px; }
1127 * > html #bodyContent
,
1128 * > html #bodyContent pre
{
1131 padding-bottom: 25px;
1135 /* float/negative margin brokenness */
1136 * html #footer
{margin-top: 0;}
1137 * html #column-content
{
1141 * html div
.editsection
{ font-size: smaller
; }
1142 #pagehistory li
.selected
{ position: relative
; }
1144 /* Mac IE 5.0 fix; floated content turns invisible */
1145 * > html #column-content
{
1148 * > html #column-one
{
1154 margin-left: 13.2em;
1166 background-color: #ffa;
1173 span
.newpage
, span
.minor
, span
.bot
{
1181 .sharedUploadNotice {
1185 span
.updatedmarker
{
1187 background-color: #0f0;
1191 border: 1px solid
#ccc;
1194 background-color: white
;
1198 vertical-align: top
;
1202 vertical-align: top
;
1203 background-color: #f9f9f9;
1204 border: solid
2px white
;
1206 /* Keep this temporarily so that cached pages will display right */
1207 table
.gallery td
.galleryheader
{
1211 table
.gallery caption
{
1219 div
.gallerybox div
.thumb
{
1221 border: 1px solid
#ccc;
1242 border-bottom: 1px solid
#aaa;
1243 padding-bottom: 1em;
1253 border: 1px solid gray
;
1254 background-color: #ffffff;
1261 .editExternallyHelp {
1271 /* Classes for EXIF data display */
1275 margin-bottom: 0.5em;
1279 table
.mw_metadata caption
{
1283 table
.mw_metadata th
{
1284 font-weight: normal
;
1287 table
.mw_metadata td
{
1293 border-collapse: collapse
;
1296 table
.mw_metadata td
, table
.mw_metadata th
{
1298 border: 1px solid
#aaaaaa;
1299 padding-left: 0.1em;
1300 padding-right: 0.1em;
1303 table
.mw_metadata th
{
1304 background-color: #f9f9f9;
1307 table
.mw_metadata td
{
1308 background-color: #fcfcfc;
1311 table
.collapsed tr
.collapsable
{
1319 border: 1px solid
#aaaaaa;
1320 background-color: #f9f9f9;
1323 margin-bottom: 0.5em;
1330 list-style-type: none
;
1339 input#wpSave
, input#wpDiff
{
1340 margin-right: 0.33em;
1347 /* Classes for article validation */
1349 table
.revisionform_default
{
1350 border: 1px solid
#000000;
1353 table
.revisionform_focus
{
1354 border: 1px solid
#000000;
1355 background-color:#00BBFF;
1358 tr
.revision_tr_default
{
1359 background-color:#EEEEEE;
1362 tr
.revision_tr_first
{
1363 background-color:#DDDDDD;
1372 border: solid
1px #bbbbff;
1373 background-color: #eeeeff;
1378 /* Allmessages table */
1380 #allmessagestable th
{
1381 background-color: #b2b2ff;
1384 #allmessagestable tr
.orig
{
1385 background-color: #ffe2e2;
1388 #allmessagestable tr
.new
{
1389 background-color: #e2ffe2;
1392 #allmessagestable tr
.def
{
1393 background-color: #f0f0ff;
1399 border: 1px solid
#ccc;
1405 div#searchTargetContainer
{
1415 background: #F0F0F0;
1416 border: solid
1px blue
;
1419 div#searchTarget ul li
{
1423 div#searchTarget ul
li:before
{
1425 content: "\00BB \0020";
1428 div#searchTargetHide
{
1430 border:solid
1px black
;
1439 div
.multipageimagenavbox
{
1440 border: solid
1px silver
;
1443 background: #f0f0f0;
1446 div
.multipageimagenavbox div
.thumb
{
1452 div
.multipageimagenavbox hr
{
1456 table
.multipageimage td
{
1460 /** Special:Version */
1462 table#sv-ext
, table#sv-hooks
, table#sv-software
{
1467 #sv-ext td
, #sv-hooks td
, #sv-software td
,
1468 #sv-ext th
, #sv-hooks th
, #sv-software th
{
1469 border: 1px solid
#A0A0A0;
1470 padding: 0 0.15em 0 0.15em;
1472 #sv-ext th
, #sv-hooks th
, #sv-software th
{
1473 background-color: #F0F0F0;
1475 padding: 0 0.15em 0 0.15em;
1481 tr
.sv-space td
{ display: none
; }
1484 Table pager (e.g. Special:Imagelist)
1485 - remove underlines from the navigation link
1487 - set the borders to outsets (similar to Special:Allmessages)
1488 - remove line wrapping for all td and th, set background color
1489 - restore line wrapping for the last two table cells (description and size)
1491 .TablePager { min-width: 80%; }
1492 .TablePager_nav a { text-decoration: none
; }
1493 .TablePager { border-collapse: collapse
; }
1494 .TablePager, .TablePager td, .TablePager th {
1495 border: 1px solid
#aaaaaa;
1496 padding: 0 0.15em 0 0.15em;
1498 .TablePager th { background-color: #eeeeff }
1499 .TablePager td { background-color: #ffffff }
1500 .TablePager tr:hover td { background-color: #eeeeff }
1502 .imagelist td, .imagelist th { white-space: nowrap
}
1503 .imagelist .TablePager_col_links { background-color: #eeeeff }
1504 .imagelist .TablePager_col_img_description { white-space: normal
}
1505 .imagelist th.TablePager_sort { background-color: #ccccff }
1507 .templatesUsed { margin-top: 1.5em; }
1509 .mw-summary-preview {
1513 /* Friendlier slave lag warnings */
1514 div
.mw-lag-warn-normal
,
1515 div
.mw-lag-warn-high
{
1520 div
.mw-lag-warn-normal
{
1521 border: 1px solid
#FFCC66;
1522 background-color: #FFFFCC;
1524 div
.mw-lag-warn-high
{
1526 border: 2px solid
#FF0033;
1527 background-color: #FFCCCC;
1530 .MediaTransformError {
1531 background-color: #ccc;
1534 .MediaTransformError td {
1536 vertical-align: middle
;
1540 /** Special:Search stuff */
1541 div#mw-search-interwiki-caption
{
1547 .mw-search-interwiki-project {
1550 padding-left: 0.2em;
1551 padding-right: 0.15em;
1552 padding-bottom: 0.2em;
1553 padding-top: 0.15em;
1554 background: #cae8ff;
1557 /* God-damned hack for the crappy layout */