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 1.5em 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 text-decoration: none
;
82 text-decoration: underline
;
87 a
.new
, #p-personal a
.new
{
90 a
.new:visited
, #p-personal a
.new:visited
{
96 vertical-align: middle
;
99 margin: .4em 0 .5em 0;
109 background-color: #aaa;
111 margin: .2em 0 .2em 0;
114 h1
, h2
, h3
, h4
, h5
, h6
{
120 padding-bottom: .17em;
121 border-bottom: 1px solid
#aaa;
123 h1
{ font-size: 188%; }
124 h1
.editsection
{ font-size: 53%; }
125 h2
{ font-size: 150%; }
126 h2
.editsection
{ font-size: 67%; }
131 h3
{ font-size: 132%; }
132 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
133 h4
{ font-size: 116%; }
134 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
135 h5
{ font-size: 100%; }
136 h5
.editsection
{ font-weight: normal
; }
137 h6
{ font-size: 80%; }
138 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
142 list-style-type: square
;
143 margin: .3em 0 0 1.5em;
145 list-style-image: url
(bullet.gif);
149 margin: .3em 0 0 3.2em;
151 list-style-image: none
;
171 border: 1px solid
#2f6fab;
190 input
.historysubmit
{
191 padding: 0 .3em .3em .3em !important
;
194 height: 1.7em !important
;
200 abbr
, acronym
, .explain
{
201 border-bottom: 1px dotted black
;
207 font-family: Times
, "Times New Roman", serif
;
212 font-family: Times, "Times New Roman", serif;
216 background-color: #f9f9f9;
220 border: 1px dashed
#2f6fab;
222 background-color: #f9f9f9;
227 ** the main content area
237 #contentSub, #contentSub2
{
240 margin: 0 0 1.4em 1em;
248 /* Some space under the headers in the content area */
249 #bodyContent h1
, #bodyContent h2
{
252 #bodyContent h3
, #bodyContent h4
, #bodyContent h5
{
259 /* user notification thing */
261 background-color: #ffce7b;
262 border: 1px solid
#ffa500;
267 vertical-align: middle
;
282 .errorbox, .successbox {
292 background-color: #fff2f2;
296 background-color: #dfd;
298 .errorbox h2, .successbox h2 {
307 border: 1px solid
#aaa;
308 background-color: #f9f9f9;
313 /* currently unused, intended to be used by a metadata box
314 in the bottom-right corner of the content area */
315 .documentDescription {
316 /* The summary text describing the document */
339 /* small for tables and similar */
354 border: 1px solid
#aaa;
355 background-color: #f9f9f9;
375 list-style-type: none
;
376 list-style-image: none
;
397 div
.floatright
, table
.floatright
{
401 margin: 0 0 .5em .5em;
404 border: .5em solid white;
405 border-width: .5em 0 .8em 1.4em;
408 div
.floatright p
{ font-style: italic
; }
409 div
.floatleft
, table
.floatleft
{
413 margin: 0 .5em .5em 0;
416 margin: .3em .5em .5em 0;
417 border: .5em solid white;
418 border-width: .5em 1.4em .8em 0;
421 div
.floatleft p
{ font-style: italic
; }
430 border: 1px solid
#ccc;
431 padding: 3px !important
;
432 background-color: #f9f9f9;
438 border: 1px solid
#ccc;
444 padding: 3px !important
;
449 border: none
!important
;
450 background: none
!important
;
452 div
.magnify a
, div
.magnify img
{
454 border: none
!important
;
455 background: none
!important
;
460 border-width: .5em 0 .8em 1.4em;
466 border-width: .5em 1.4em .8em 0;
469 border: 1px solid
#dddddd;
475 /* Have a checkered background on images on the description pages and in galleries
476 to make transparency visible
478 #file img, .gallerybox .thumb img {
479 background: url(Checker-16x16.png) repeat;
484 ** classes for special content elements like town boxes
485 ** intended to be referenced directly from the wiki src
491 /* table standards */
500 border: 1px solid
#aaa;
501 background-color: #f9f9f9;
510 border: 1px solid gray
;
526 margin: .1em 0 0 1.1em;
527 background-color: #f3f3f3;
539 /* Page history styling */
540 /* the auto-generated edit comments */
544 #pagehistory span
.user
{
548 #pagehistory span
.minor
{
552 border: 1px solid white
;
554 #pagehistory li
.selected
{
555 background-color: #f9f9f9;
556 border: 1px dashed
#aaa;
560 ** keep the whitespace in front of the ^=, hides rule from konqueror
561 ** this is css3, the validator doesn't like it when validating as css2
563 #bodyContent a
.external
,
564 #bodyContent a
[href ^
="gopher://"] {
565 background: url
(external.png) center right no-repeat
;
568 #bodyContent a
[href ^
="https://"],
570 background: url
(lock_icon.gif) center right no-repeat
;
573 #bodyContent a
[href ^
="mailto:"],
575 background: url
(mail_icon.gif) center right no-repeat
;
578 #bodyContent a
[href ^
="news://"] {
579 background: url
(news_icon.png) center right no-repeat
;
582 #bodyContent a
[href ^
="ftp://"],
584 background: url
(file_icon.gif) center right no-repeat
;
587 #bodyContent a
[href ^
="irc://"],
589 background: url
(discussionitem_icon.gif) center right no-repeat
;
592 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
593 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
594 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
595 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
596 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
597 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
599 background: url
("audio.png") center right no-repeat
;
602 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
603 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
604 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
605 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
607 background: url
("video.png") center right no-repeat
;
610 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
611 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
612 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
614 background: url
("document.png") center right no-repeat
;
618 /* disable interwiki styling */
619 #bodyContent a
.extiw
,
620 #bodyContent a
.extiw:active
{
625 #bodyContent a
.external
{
628 /* this can be used in the content area to switch off
629 special external link styling */
630 #bodyContent .plainlinks a
{
631 background: none
!important
;
632 padding: 0 !important
;
635 ** Structural Elements
639 ** general portlet styles (elements in the quickbar)
655 background: transparent
;
656 padding: 0 1em 0 .5em;
659 text-transform: lowercase
;
666 border: 1px solid
#2f6fab;
667 border-style: solid solid none solid
;
668 padding: 0 1em 0 1em;
669 text-transform: lowercase
;
678 background-color: white
;
680 border-collapse: collapse
;
681 border: 1px solid
#aaa;
682 padding: 0 .8em .3em .5em;
693 list-style-type: square
;
694 list-style-image: url
(bullet.gif);
709 position: absolute
; /*needed to use z-index */
723 background-repeat: no-repeat
;
724 background-position: 35% 50% !important
;
725 text-decoration: none
;
728 ** the navigation portlet
738 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
742 #p-navigation .pBody
{
746 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
747 text-decoration: none
;
774 padding: .5em .4em .4em .4em;
779 ** the personal toolbar
800 #p-personal .portlet
,
809 /* this is the ul contained in the portlet */
814 padding: 0 2em 0 3em;
833 text-decoration: none
;
835 padding-bottom: .2em;
838 #p-personal li
a:hover
{
839 background-color: white
;
840 padding-bottom: .2em;
841 text-decoration: none
;
843 #p-personal li
.active
a:hover
{
844 background-color: transparent
;
846 /* the icon in front of the user name, single quotes
847 in bg url to hide it from iemac */
851 background: url
(user.gif) top left no-repeat
;
853 text-transform: none
;
856 text-transform: lowercase
;
858 #p-personal li
.active
{
862 ** the page-related actions- page/talk, edit etc
874 border-collapse: collapse
;
884 border: 1px solid
#aaa;
891 #p-cactions li
.selected
{
892 border-color: #fabd23;
897 background-color: #fbfbfb;
900 padding: 0 .8em .3em;
904 text-decoration: none
;
906 #p-cactions li
.selected a
{
908 padding: 0 1em .2em!important
;
909 background-color: white
;
914 #p-cactions li
a:hover
{
916 text-decoration: none
;
917 background-color: white
;
922 #p-cactions li
.istalk
{
925 #p-cactions li
.istalk a
{
928 #p-cactions #ca-addsection a
{
932 /* offsets to distinguish the tab groups */
936 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
941 background-color: transparent
;
943 border-collapse: inherit
;
947 #p-cactions .hiddenStructure
{
951 text-transform: lowercase
;
955 ** the remaining portlets
963 /* TODO: #t-iscite is only used by the Cite extension, come up with some
964 * system which allows extensions to add to this file on the fly
966 #t-ispermalink, #t-iscite
{
973 background-color: white
;
974 border-top: 1px solid
#fabd23;
975 border-bottom: 1px solid
#fabd23;
976 margin: .6em 0 1em 0;
977 padding: .4em 0 1.2em 0;
985 #f-poweredbyico, #f-copyrightico
{
988 top: -2px; /* Bump it up just a tad */
1007 background-color: #f0f0f0;
1011 margin: 1px -2px 1px 2px;
1013 padding: 2px 0 3px 0;
1014 border: 1px solid
#fff;
1015 border-right-color: #716f64;
1018 white-space: nowrap
;
1019 list-style-type: none
;
1020 list-style-image: none
;
1023 #preftoc li
.selected
{
1025 background-color: #f9f9f9;
1026 border: 1px solid
#aaa;
1027 border-bottom: none
;
1033 #preftoc > li
.selected
{
1042 text-decoration: none
;
1044 #preftoc li
.selected a
{
1046 text-decoration: none
;
1054 border: 1px solid
#aaa;
1057 background-color: #F9F9F9;
1064 .prefsection fieldset {
1065 border: 1px solid
#aaa;
1069 .prefsection legend {
1072 .prefsection table, .prefsection legend {
1073 background-color: #F9F9F9;
1078 div
.prefsectiontip
{
1086 padding-right: .3em;
1089 .preferences-login {
1091 margin-bottom: 1.5em;
1099 div#userloginForm form
,
1100 div#userlogin form#userlogin2
{
1101 margin: 0 3em 1em 0;
1102 border: 1px solid
#aaa;
1105 background-color: #f9f9f9;
1109 div#userloginForm table
,
1110 div#userlogin form#userlogin2 table
{
1111 background-color: #f9f9f9;
1114 div#userloginForm h2
,
1115 div#userlogin form#userlogin2 h2
{
1119 div#userlogin
.captcha
,
1120 div#userloginForm
.captcha
{
1121 border: 1px solid
#bbb;
1123 background-color: white
;
1127 #userloginprompt, #languagelinks
{
1137 #userlogin .loginText
, #userlogin
.loginPassword
{
1141 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1146 ** IE/Mac fixes, hope to find a validating way to move this
1147 ** to a separate stylesheet. This would work but doesn't validate:
1148 ** @import("IEMacFixes.css");
1150 /* tabs: border on the a, not the div */
1151 * > html #p-cactions li
{ border: none
; }
1152 * > html #p-cactions li a
{
1153 border: 1px solid
#aaa;
1154 border-bottom: none
;
1156 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1157 /* footer icons need a fixed width */
1158 * > html #f-poweredbyico
,
1159 * > html #f-copyrightico
{ width: 88px; }
1160 * > html #bodyContent
,
1161 * > html #bodyContent pre
{
1164 padding-bottom: 25px;
1168 /* float/negative margin brokenness */
1169 * html #footer
{margin-top: 0;}
1170 * html #column-content
{
1174 * html div
.editsection
{ font-size: smaller
; }
1175 #pagehistory li
.selected
{ position: relative
; }
1177 /* Mac IE 5.0 fix; floated content turns invisible */
1178 * > html #column-content
{
1181 * > html #column-one
{
1187 margin-left: 13.2em;
1199 background-color: #ffa;
1205 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
1216 .sharedUploadNotice {
1220 span
.updatedmarker
{
1222 background-color: #0f0;
1226 border: 1px solid
#ccc;
1229 background-color: white
;
1233 vertical-align: top
;
1237 vertical-align: top
;
1238 background-color: #f9f9f9;
1239 border: solid
2px white
;
1241 /* Keep this temporarily so that cached pages will display right */
1242 table
.gallery td
.galleryheader
{
1246 table
.gallery caption
{
1254 div
.gallerybox div
.thumb
{
1256 border: 1px solid
#ccc;
1277 border-bottom: 1px solid
#aaa;
1278 padding-bottom: 1em;
1288 border: 1px solid gray
;
1289 background-color: #ffffff;
1296 .editExternallyHelp {
1301 li span
.deleted
, span
.history-deleted
{
1302 text-decoration: line-through
;
1312 /* Classes for EXIF data display */
1316 margin-bottom: 0.5em;
1320 table
.mw_metadata caption
{
1324 table
.mw_metadata th
{
1325 font-weight: normal
;
1328 table
.mw_metadata td
{
1334 border-collapse: collapse
;
1337 table
.mw_metadata td
, table
.mw_metadata th
{
1339 border: 1px solid
#aaaaaa;
1340 padding-left: 0.1em;
1341 padding-right: 0.1em;
1344 table
.mw_metadata th
{
1345 background-color: #f9f9f9;
1348 table
.mw_metadata td
{
1349 background-color: #fcfcfc;
1352 table
.collapsed tr
.collapsable
{
1360 border: 1px solid
#aaaaaa;
1361 background-color: #f9f9f9;
1364 margin-bottom: 0.5em;
1371 list-style-type: none
;
1380 input#wpSave
, input#wpDiff
{
1381 margin-right: 0.33em;
1384 #editform .editOptions
{
1392 /* Classes for article validation */
1394 table
.revisionform_default
{
1395 border: 1px solid
#000000;
1398 table
.revisionform_focus
{
1399 border: 1px solid
#000000;
1400 background-color:#00BBFF;
1403 tr
.revision_tr_default
{
1404 background-color:#EEEEEE;
1407 tr
.revision_tr_first
{
1408 background-color:#DDDDDD;
1417 border: solid
1px #bbbbff;
1418 background-color: #eeeeff;
1423 /* Allmessages table */
1425 #allmessagestable th
{
1426 background-color: #b2b2ff;
1429 #allmessagestable tr
.orig
{
1430 background-color: #ffe2e2;
1433 #allmessagestable tr
.new
{
1434 background-color: #e2ffe2;
1437 #allmessagestable tr
.def
{
1438 background-color: #f0f0ff;
1444 border: 1px solid
#ccc;
1450 div#searchTargetContainer
{
1460 background: #F0F0F0;
1461 border: solid
1px blue
;
1464 div#searchTarget ul li
{
1468 div#searchTarget ul
li:before
{
1470 content: "\00BB \0020";
1473 div
.multipageimagenavbox
{
1474 border: solid
1px silver
;
1477 -moz-border-radius: 6px;
1478 background: #f0f0f0;
1481 div
.multipageimagenavbox div
.thumb
{
1487 div
.multipageimagenavbox hr
{
1491 table
.multipageimage td
{
1495 /** Special:Version */
1497 table#sv-ext
, table#sv-hooks
{
1502 #sv-ext td
, #sv-hooks td
,
1503 #sv-ext th
, #sv-hooks th
{
1504 border: 1px solid
#A0A0A0;
1505 padding: 0 0.15em 0 0.15em;
1507 #sv-ext th
, #sv-hooks th
{
1508 background-color: #F0F0F0;
1510 padding: 0 0.15em 0 0.15em;
1516 tr
.sv-space td
{ display: none
; }
1519 Table pager (e.g. Special:Imagelist)
1520 - remove underlines from the navigation link
1522 - set the borders to outsets (similar to Special:Allmessages)
1523 - remove line wrapping for all td and th, set background color
1524 - restore line wrapping for the last two table cells (description and size)
1526 .TablePager_nav a { text-decoration: none
; }
1527 .TablePager { border-collapse: collapse
; }
1528 .TablePager, .TablePager td, .TablePager th {
1529 border: 1px solid
#aaaaaa;
1530 padding: 0 0.15em 0 0.15em;
1532 .TablePager th { background-color: #eeeeff }
1533 .TablePager td { background-color: #ffffff }
1534 .TablePager tr:hover td { background-color: #eeeeff }
1536 .imagelist td, .imagelist th { white-space: nowrap
}
1537 .imagelist .TablePager_col_links { background-color: #eeeeff }
1538 .imagelist .TablePager_col_img_description { white-space: normal
}
1539 .imagelist th.TablePager_sort { background-color: #ccccff }
1541 .templatesUsed { margin-top: 1.5em; }
1543 .mw-summary-preview {
1547 /* Convenience links on Special:Ipblocklist */
1548 p
.mw-ipb-conveniencelinks
{
1553 /* Friendlier slave lag warnings */
1554 div
.mw-lag-warn-normal
,
1555 div
.mw-lag-warn-high
{
1560 div
.mw-lag-warn-normal
{
1561 border: 1px solid
#FFCC66;
1562 background-color: #FFFFCC;
1564 div
.mw-lag-warn-high
{
1566 border: 2px solid
#FF0033;
1567 background-color: #FFCCCC;
1570 /* Recreating-deleted-page warning and log entries */
1571 div#mw-recreate-deleted-warn
{
1574 border: 2px solid
#2F6FAB;
1576 div#mw-recreate-deleted-warn ul li
{
1579 .MediaTransformError {
1580 background-color: #ccc;
1583 .MediaTransformError td {
1585 vertical-align: middle
;