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;
194 input
.historysubmit
{
195 padding: 0 .3em .3em .3em !important
;
198 height: 1.7em !important
;
204 abbr
, acronym
, .explain
{
205 border-bottom: 1px dotted black
;
211 font-family: Times
, "Times New Roman", serif
;
216 font-family: Times, "Times New Roman", serif;
220 background-color: #f9f9f9;
224 border: 1px dashed
#2f6fab;
226 background-color: #f9f9f9;
231 ** the main content area
241 #contentSub, #contentSub2
{
244 margin: 0 0 1.4em 1em;
252 /* Some space under the headers in the content area */
253 #bodyContent h1
, #bodyContent h2
{
256 #bodyContent h3
, #bodyContent h4
, #bodyContent h5
{
263 /* user notification thing */
265 background-color: #ffce7b;
266 border: 1px solid
#ffa500;
271 vertical-align: middle
;
286 .errorbox, .successbox {
296 background-color: #fff2f2;
300 background-color: #dfd;
302 .errorbox h2, .successbox h2 {
311 border: 1px solid
#aaa;
312 background-color: #f9f9f9;
317 /* currently unused, intended to be used by a metadata box
318 in the bottom-right corner of the content area */
319 .documentDescription {
320 /* The summary text describing the document */
343 /* small for tables and similar */
358 border: 1px solid
#aaa;
359 background-color: #f9f9f9;
379 list-style-type: none
;
380 list-style-image: none
;
401 div
.floatright
, table
.floatright
{
405 margin: 0 0 .5em .5em;
408 border: .5em solid white;
409 border-width: .5em 0 .8em 1.4em;
412 div
.floatright p
{ font-style: italic
; }
413 div
.floatleft
, table
.floatleft
{
417 margin: 0 .5em .5em 0;
420 margin: .3em .5em .5em 0;
421 border: .5em solid white;
422 border-width: .5em 1.4em .8em 0;
425 div
.floatleft p
{ font-style: italic
; }
434 border: 1px solid
#ccc;
435 padding: 3px !important
;
436 background-color: #f9f9f9;
442 border: 1px solid
#ccc;
448 padding: 3px !important
;
453 border: none
!important
;
454 background: none
!important
;
456 div
.magnify a
, div
.magnify img
{
458 border: none
!important
;
459 background: none
!important
;
464 border-width: .5em 0 .8em 1.4em;
470 border-width: .5em 1.4em .8em 0;
473 border: 1px solid
#dddddd;
480 ** classes for special content elements like town boxes
481 ** intended to be referenced directly from the wiki src
487 /* table standards */
496 border: 1px solid
#aaa;
497 background-color: #f9f9f9;
506 border: 1px solid gray
;
522 margin: .1em 0 0 1.1em;
523 background-color: #f3f3f3;
535 /* Page history styling */
536 /* the auto-generated edit comments */
540 #pagehistory span
.user
{
544 #pagehistory span
.minor
{
548 border: 1px solid white
;
550 #pagehistory li
.selected
{
551 background-color: #f9f9f9;
552 border: 1px dashed
#aaa;
556 ** keep the whitespace in front of the ^=, hides rule from konqueror
557 ** this is css3, the validator doesn't like it when validating as css2
559 #bodyContent a
.external
,
560 #bodyContent a
[href ^
="gopher://"] {
561 background: url
(external.png) center right no-repeat
;
564 #bodyContent a
[href ^
="https://"],
566 background: url
(lock_icon.gif) center right no-repeat
;
569 #bodyContent a
[href ^
="mailto:"],
571 background: url
(mail_icon.gif) center right no-repeat
;
574 #bodyContent a
[href ^
="news://"] {
575 background: url
(news_icon.png) center right no-repeat
;
578 #bodyContent a
[href ^
="ftp://"],
580 background: url
(file_icon.gif) center right no-repeat
;
583 #bodyContent a
[href ^
="irc://"],
585 background: url
(discussionitem_icon.gif) center right no-repeat
;
588 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
589 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
590 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
591 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
592 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
593 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
595 background: url
("audio.png") center right no-repeat
;
598 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
599 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
600 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
601 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
603 background: url
("video.png") center right no-repeat
;
606 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
607 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
608 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
610 background: url
("document.png") center right no-repeat
;
614 /* disable interwiki styling */
615 #bodyContent a
.extiw
,
616 #bodyContent a
.extiw:active
{
621 #bodyContent a
.external
{
624 /* this can be used in the content area to switch off
625 special external link styling */
626 #bodyContent .plainlinks a
{
627 background: none
!important
;
628 padding: 0 !important
;
631 ** Structural Elements
635 ** general portlet styles (elements in the quickbar)
651 background: transparent
;
652 padding: 0 1em 0 .5em;
655 text-transform: lowercase
;
662 border: 1px solid
#2f6fab;
663 border-style: solid solid none solid
;
664 padding: 0 1em 0 1em;
665 text-transform: lowercase
;
674 background-color: white
;
676 border-collapse: collapse
;
677 border: 1px solid
#aaa;
678 padding: 0 .8em .3em .5em;
689 list-style-type: square
;
690 list-style-image: url
(bullet.gif);
705 position: absolute
; /*needed to use z-index */
719 background-repeat: no-repeat
;
720 background-position: 35% 50% !important
;
721 text-decoration: none
;
746 padding: .5em .4em .4em .4em;
751 ** the personal toolbar
772 #p-personal .portlet
,
781 /* this is the ul contained in the portlet */
786 padding: 0 2em 0 3em;
805 text-decoration: none
;
807 padding-bottom: .2em;
810 #p-personal li
a:hover
{
811 background-color: white
;
812 padding-bottom: .2em;
813 text-decoration: none
;
815 #p-personal li
.active
a:hover
{
816 background-color: transparent
;
818 /* the icon in front of the user name, single quotes
819 in bg url to hide it from iemac */
823 background: url
(user.gif) top left no-repeat
;
825 text-transform: none
;
828 text-transform: lowercase
;
830 #p-personal li
.active
{
834 ** the page-related actions- page/talk, edit etc
846 border-collapse: collapse
;
856 border: 1px solid
#aaa;
863 #p-cactions li
.selected
{
864 border-color: #fabd23;
869 background-color: #fbfbfb;
872 padding: 0 .8em .3em;
876 text-decoration: none
;
878 #p-cactions li
.selected a
{
880 padding: 0 1em .2em!important
;
881 background-color: white
;
886 #p-cactions li
a:hover
{
888 text-decoration: none
;
889 background-color: white
;
894 #p-cactions li
.istalk
{
897 #p-cactions li
.istalk a
{
900 #p-cactions #ca-addsection a
{
904 /* offsets to distinguish the tab groups */
908 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
913 background-color: transparent
;
915 border-collapse: inherit
;
919 #p-cactions .hiddenStructure
{
923 text-transform: lowercase
;
927 ** the remaining portlets
935 /* TODO: #t-iscite is only used by the Cite extension, come up with some
936 * system which allows extensions to add to this file on the fly
938 #t-ispermalink, #t-iscite
{
945 background-color: white
;
946 border-top: 1px solid
#fabd23;
947 border-bottom: 1px solid
#fabd23;
948 margin: .6em 0 1em 0;
949 padding: .4em 0 1.2em 0;
957 #f-poweredbyico, #f-copyrightico
{
960 top: -2px; /* Bump it up just a tad */
979 background-color: #f0f0f0;
983 margin: 1px -2px 1px 2px;
985 padding: 2px 0 3px 0;
986 border: 1px solid
#fff;
987 border-right-color: #716f64;
991 list-style-type: none
;
992 list-style-image: none
;
995 #preftoc li
.selected
{
997 background-color: #f9f9f9;
998 border: 1px solid
#aaa;
1005 #preftoc > li
.selected
{
1014 text-decoration: none
;
1016 #preftoc li
.selected a
{
1018 text-decoration: none
;
1026 border: 1px solid
#aaa;
1029 background-color: #F9F9F9;
1036 .prefsection fieldset {
1037 border: 1px solid
#aaa;
1041 .prefsection legend {
1044 .prefsection table, .prefsection legend {
1045 background-color: #F9F9F9;
1050 div
.prefsectiontip
{
1058 padding-right: .3em;
1061 .preferences-login {
1063 margin-bottom: 1.5em;
1071 div#userloginForm form
,
1072 div#userlogin form#userlogin2
{
1073 margin: 0 3em 1em 0;
1074 border: 1px solid
#aaa;
1077 background-color: #f9f9f9;
1081 div#userloginForm table
,
1082 div#userlogin form#userlogin2 table
{
1083 background-color: #f9f9f9;
1086 div#userloginForm h2
,
1087 div#userlogin form#userlogin2 h2
{
1091 div#userlogin
.captcha
,
1092 div#userloginForm
.captcha
{
1093 border: 1px solid
#bbb;
1095 background-color: white
;
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
.searchmatch
, span
.bot
{
1194 span
.searchalttitle
{
1198 div
.searchdidyoumean
{
1204 .sharedUploadNotice {
1208 span
.updatedmarker
{
1210 background-color: #0f0;
1214 border: 1px solid
#ccc;
1217 background-color: white
;
1221 vertical-align: top
;
1225 vertical-align: top
;
1226 background-color: #f9f9f9;
1227 border: solid
2px white
;
1229 /* Keep this temporarily so that cached pages will display right */
1230 table
.gallery td
.galleryheader
{
1234 table
.gallery caption
{
1242 div
.gallerybox div
.thumb
{
1244 border: 1px solid
#ccc;
1265 border-bottom: 1px solid
#aaa;
1266 padding-bottom: 1em;
1276 border: 1px solid gray
;
1277 background-color: #ffffff;
1284 .editExternallyHelp {
1294 /* Classes for EXIF data display */
1298 margin-bottom: 0.5em;
1302 table
.mw_metadata caption
{
1306 table
.mw_metadata th
{
1307 font-weight: normal
;
1310 table
.mw_metadata td
{
1316 border-collapse: collapse
;
1319 table
.mw_metadata td
, table
.mw_metadata th
{
1321 border: 1px solid
#aaaaaa;
1322 padding-left: 0.1em;
1323 padding-right: 0.1em;
1326 table
.mw_metadata th
{
1327 background-color: #f9f9f9;
1330 table
.mw_metadata td
{
1331 background-color: #fcfcfc;
1334 table
.collapsed tr
.collapsable
{
1342 border: 1px solid
#aaaaaa;
1343 background-color: #f9f9f9;
1346 margin-bottom: 0.5em;
1353 list-style-type: none
;
1362 input#wpSave
, input#wpDiff
{
1363 margin-right: 0.33em;
1366 #editform .editOptions
{
1374 /* Classes for article validation */
1376 table
.revisionform_default
{
1377 border: 1px solid
#000000;
1380 table
.revisionform_focus
{
1381 border: 1px solid
#000000;
1382 background-color:#00BBFF;
1385 tr
.revision_tr_default
{
1386 background-color:#EEEEEE;
1389 tr
.revision_tr_first
{
1390 background-color:#DDDDDD;
1399 border: solid
1px #bbbbff;
1400 background-color: #eeeeff;
1405 /* Allmessages table */
1407 #allmessagestable th
{
1408 background-color: #b2b2ff;
1411 #allmessagestable tr
.orig
{
1412 background-color: #ffe2e2;
1415 #allmessagestable tr
.new
{
1416 background-color: #e2ffe2;
1419 #allmessagestable tr
.def
{
1420 background-color: #f0f0ff;
1426 border: 1px solid
#ccc;
1432 div#searchTargetContainer
{
1442 background: #F0F0F0;
1443 border: solid
1px blue
;
1446 div#searchTarget ul li
{
1450 div#searchTarget ul
li:before
{
1452 content: "\00BB \0020";
1455 div#searchTargetHide
{
1457 border:solid
1px black
;
1458 background:gainsboro
;
1462 div
.multipageimagenavbox
{
1463 border: solid
1px silver
;
1466 -moz-border-radius: 6px;
1467 background: #f0f0f0;
1470 div
.multipageimagenavbox div
.thumb
{
1476 div
.multipageimagenavbox hr
{
1480 table
.multipageimage td
{
1484 /** Special:Version */
1486 table#sv-ext
, table#sv-hooks
, table#sv-software
{
1491 #sv-ext td
, #sv-hooks td
, #sv-software td
,
1492 #sv-ext th
, #sv-hooks th
, #sv-software th
{
1493 border: 1px solid
#A0A0A0;
1494 padding: 0 0.15em 0 0.15em;
1496 #sv-ext th
, #sv-hooks th
, #sv-software th
{
1497 background-color: #F0F0F0;
1499 padding: 0 0.15em 0 0.15em;
1505 tr
.sv-space td
{ display: none
; }
1508 Table pager (e.g. Special:Imagelist)
1509 - remove underlines from the navigation link
1511 - set the borders to outsets (similar to Special:Allmessages)
1512 - remove line wrapping for all td and th, set background color
1513 - restore line wrapping for the last two table cells (description and size)
1515 .TablePager_nav a { text-decoration: none
; }
1516 .TablePager { border-collapse: collapse
; }
1517 .TablePager, .TablePager td, .TablePager th {
1518 border: 1px solid
#aaaaaa;
1519 padding: 0 0.15em 0 0.15em;
1521 .TablePager th { background-color: #eeeeff }
1522 .TablePager td { background-color: #ffffff }
1523 .TablePager tr:hover td { background-color: #eeeeff }
1525 .imagelist td, .imagelist th { white-space: nowrap
}
1526 .imagelist .TablePager_col_links { background-color: #eeeeff }
1527 .imagelist .TablePager_col_img_description { white-space: normal
}
1528 .imagelist th.TablePager_sort { background-color: #ccccff }
1530 .templatesUsed { margin-top: 1.5em; }
1532 .mw-summary-preview {
1536 /* Friendlier slave lag warnings */
1537 div
.mw-lag-warn-normal
,
1538 div
.mw-lag-warn-high
{
1543 div
.mw-lag-warn-normal
{
1544 border: 1px solid
#FFCC66;
1545 background-color: #FFFFCC;
1547 div
.mw-lag-warn-high
{
1549 border: 2px solid
#FF0033;
1550 background-color: #FFCCCC;
1553 /* Recreating-deleted-page/reupload file warning and log entries */
1554 div#mw-upload-deleted-warn
,
1555 div#mw-recreate-deleted-warn
{
1558 border: 2px solid
#2F6FAB;
1560 div#mw-upload-deleted-warn ul li
,
1561 div#mw-recreate-deleted-warn ul li
{
1564 .MediaTransformError {
1565 background-color: #ccc;
1568 .MediaTransformError td {
1570 vertical-align: middle
;