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
;
750 padding: .5em .4em .4em .4em;
755 ** the personal toolbar
776 #p-personal .portlet
,
785 /* this is the ul contained in the portlet */
790 padding: 0 2em 0 3em;
809 text-decoration: none
;
811 padding-bottom: .2em;
814 #p-personal li
a:hover
{
815 background-color: white
;
816 padding-bottom: .2em;
817 text-decoration: none
;
819 #p-personal li
.active
a:hover
{
820 background-color: transparent
;
822 /* the icon in front of the user name, single quotes
823 in bg url to hide it from iemac */
827 background: url
(user.gif) top left no-repeat
;
829 text-transform: none
;
832 text-transform: lowercase
;
834 #p-personal li
.active
{
838 ** the page-related actions- page/talk, edit etc
850 border-collapse: collapse
;
860 border: 1px solid
#aaa;
867 #p-cactions li
.selected
{
868 border-color: #fabd23;
873 background-color: #fbfbfb;
876 padding: 0 .8em .3em;
880 text-decoration: none
;
882 #p-cactions li
.selected a
{
884 padding: 0 1em .2em!important
;
885 background-color: white
;
890 #p-cactions li
a:hover
{
892 text-decoration: none
;
893 background-color: white
;
898 #p-cactions li
.istalk
{
901 #p-cactions li
.istalk a
{
904 #p-cactions #ca-addsection a
{
908 /* offsets to distinguish the tab groups */
912 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
917 background-color: transparent
;
919 border-collapse: inherit
;
923 #p-cactions .hiddenStructure
{
927 text-transform: lowercase
;
931 ** the remaining portlets
939 /* TODO: #t-iscite is only used by the Cite extension, come up with some
940 * system which allows extensions to add to this file on the fly
942 #t-ispermalink, #t-iscite
{
949 background-color: white
;
950 border-top: 1px solid
#fabd23;
951 border-bottom: 1px solid
#fabd23;
952 margin: .6em 0 1em 0;
953 padding: .4em 0 1.2em 0;
961 #f-poweredbyico, #f-copyrightico
{
964 top: -2px; /* Bump it up just a tad */
983 background-color: #f0f0f0;
987 margin: 1px -2px 1px 2px;
989 padding: 2px 0 3px 0;
990 border: 1px solid
#fff;
991 border-right-color: #716f64;
995 list-style-type: none
;
996 list-style-image: none
;
999 #preftoc li
.selected
{
1001 background-color: #f9f9f9;
1002 border: 1px solid
#aaa;
1003 border-bottom: none
;
1009 #preftoc > li
.selected
{
1018 text-decoration: none
;
1020 #preftoc li
.selected a
{
1022 text-decoration: none
;
1030 border: 1px solid
#aaa;
1033 background-color: #F9F9F9;
1040 .prefsection fieldset {
1041 border: 1px solid
#aaa;
1045 .prefsection legend {
1048 .prefsection table, .prefsection legend {
1049 background-color: #F9F9F9;
1054 div
.prefsectiontip
{
1062 padding-right: .3em;
1065 .preferences-login {
1067 margin-bottom: 1.5em;
1075 div#userloginForm form
,
1076 div#userlogin form#userlogin2
{
1077 margin: 0 3em 1em 0;
1078 border: 1px solid
#aaa;
1081 background-color: #f9f9f9;
1085 div#userloginForm table
,
1086 div#userlogin form#userlogin2 table
{
1087 background-color: #f9f9f9;
1090 div#userloginForm h2
,
1091 div#userlogin form#userlogin2 h2
{
1095 div#userlogin
.captcha
,
1096 div#userloginForm
.captcha
{
1097 border: 1px solid
#bbb;
1099 background-color: white
;
1103 #userloginprompt, #languagelinks
{
1113 #userlogin .loginText
, #userlogin
.loginPassword
{
1117 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1122 ** IE/Mac fixes, hope to find a validating way to move this
1123 ** to a separate stylesheet. This would work but doesn't validate:
1124 ** @import("IEMacFixes.css");
1126 /* tabs: border on the a, not the div */
1127 * > html #p-cactions li
{ border: none
; }
1128 * > html #p-cactions li a
{
1129 border: 1px solid
#aaa;
1130 border-bottom: none
;
1132 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1133 /* footer icons need a fixed width */
1134 * > html #f-poweredbyico
,
1135 * > html #f-copyrightico
{ width: 88px; }
1136 * > html #bodyContent
,
1137 * > html #bodyContent pre
{
1140 padding-bottom: 25px;
1144 /* float/negative margin brokenness */
1145 * html #footer
{margin-top: 0;}
1146 * html #column-content
{
1150 * html div
.editsection
{ font-size: smaller
; }
1151 #pagehistory li
.selected
{ position: relative
; }
1153 /* Mac IE 5.0 fix; floated content turns invisible */
1154 * > html #column-content
{
1157 * > html #column-one
{
1163 margin-left: 13.2em;
1175 background-color: #ffa;
1181 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
1192 .sharedUploadNotice {
1196 span
.updatedmarker
{
1198 background-color: #0f0;
1202 border: 1px solid
#ccc;
1205 background-color: white
;
1209 vertical-align: top
;
1213 vertical-align: top
;
1214 background-color: #f9f9f9;
1215 border: solid
2px white
;
1217 /* Keep this temporarily so that cached pages will display right */
1218 table
.gallery td
.galleryheader
{
1222 table
.gallery caption
{
1230 div
.gallerybox div
.thumb
{
1232 border: 1px solid
#ccc;
1253 border-bottom: 1px solid
#aaa;
1254 padding-bottom: 1em;
1264 border: 1px solid gray
;
1265 background-color: #ffffff;
1272 .editExternallyHelp {
1282 /* Classes for EXIF data display */
1286 margin-bottom: 0.5em;
1290 table
.mw_metadata caption
{
1294 table
.mw_metadata th
{
1295 font-weight: normal
;
1298 table
.mw_metadata td
{
1304 border-collapse: collapse
;
1307 table
.mw_metadata td
, table
.mw_metadata th
{
1309 border: 1px solid
#aaaaaa;
1310 padding-left: 0.1em;
1311 padding-right: 0.1em;
1314 table
.mw_metadata th
{
1315 background-color: #f9f9f9;
1318 table
.mw_metadata td
{
1319 background-color: #fcfcfc;
1322 table
.collapsed tr
.collapsable
{
1330 border: 1px solid
#aaaaaa;
1331 background-color: #f9f9f9;
1334 margin-bottom: 0.5em;
1341 list-style-type: none
;
1350 input#wpSave
, input#wpDiff
{
1351 margin-right: 0.33em;
1354 #editform .editOptions
{
1362 /* Classes for article validation */
1364 table
.revisionform_default
{
1365 border: 1px solid
#000000;
1368 table
.revisionform_focus
{
1369 border: 1px solid
#000000;
1370 background-color:#00BBFF;
1373 tr
.revision_tr_default
{
1374 background-color:#EEEEEE;
1377 tr
.revision_tr_first
{
1378 background-color:#DDDDDD;
1387 border: solid
1px #bbbbff;
1388 background-color: #eeeeff;
1393 /* Allmessages table */
1395 #allmessagestable th
{
1396 background-color: #b2b2ff;
1399 #allmessagestable tr
.orig
{
1400 background-color: #ffe2e2;
1403 #allmessagestable tr
.new
{
1404 background-color: #e2ffe2;
1407 #allmessagestable tr
.def
{
1408 background-color: #f0f0ff;
1414 border: 1px solid
#ccc;
1420 div#searchTargetContainer
{
1430 background: #F0F0F0;
1431 border: solid
1px blue
;
1434 div#searchTarget ul li
{
1438 div#searchTarget ul
li:before
{
1440 content: "\00BB \0020";
1443 div#searchTargetHide
{
1445 border:solid
1px black
;
1446 background:gainsboro
;
1450 div
.multipageimagenavbox
{
1451 border: solid
1px silver
;
1454 -moz-border-radius: 6px;
1455 background: #f0f0f0;
1458 div
.multipageimagenavbox div
.thumb
{
1464 div
.multipageimagenavbox hr
{
1468 table
.multipageimage td
{
1472 /** Special:Version */
1474 table#sv-ext
, table#sv-hooks
{
1479 #sv-ext td
, #sv-hooks td
,
1480 #sv-ext th
, #sv-hooks th
{
1481 border: 1px solid
#A0A0A0;
1482 padding: 0 0.15em 0 0.15em;
1484 #sv-ext th
, #sv-hooks th
{
1485 background-color: #F0F0F0;
1487 padding: 0 0.15em 0 0.15em;
1493 tr
.sv-space td
{ display: none
; }
1496 Table pager (e.g. Special:Imagelist)
1497 - remove underlines from the navigation link
1499 - set the borders to outsets (similar to Special:Allmessages)
1500 - remove line wrapping for all td and th, set background color
1501 - restore line wrapping for the last two table cells (description and size)
1503 .TablePager_nav a { text-decoration: none
; }
1504 .TablePager { border-collapse: collapse
; }
1505 .TablePager, .TablePager td, .TablePager th {
1506 border: 1px solid
#aaaaaa;
1507 padding: 0 0.15em 0 0.15em;
1509 .TablePager th { background-color: #eeeeff }
1510 .TablePager td { background-color: #ffffff }
1511 .TablePager tr:hover td { background-color: #eeeeff }
1513 .imagelist td, .imagelist th { white-space: nowrap
}
1514 .imagelist .TablePager_col_links { background-color: #eeeeff }
1515 .imagelist .TablePager_col_img_description { white-space: normal
}
1516 .imagelist th.TablePager_sort { background-color: #ccccff }
1518 .templatesUsed { margin-top: 1.5em; }
1520 .mw-summary-preview {
1524 /* Convenience links on Special:Ipblocklist */
1525 p
.mw-ipb-conveniencelinks
{
1530 /* Friendlier slave lag warnings */
1531 div
.mw-lag-warn-normal
,
1532 div
.mw-lag-warn-high
{
1537 div
.mw-lag-warn-normal
{
1538 border: 1px solid
#FFCC66;
1539 background-color: #FFFFCC;
1541 div
.mw-lag-warn-high
{
1543 border: 2px solid
#FF0033;
1544 background-color: #FFCCCC;
1547 /* Recreating-deleted-page/reupload file warning and log entries */
1548 div#mw-upload-deleted-warn
,
1549 div#mw-recreate-deleted-warn
{
1552 border: 2px solid
#2F6FAB;
1554 div#mw-upload-deleted-warn ul li
,
1555 div#mw-recreate-deleted-warn ul li
{
1558 .MediaTransformError {
1559 background-color: #ccc;
1562 .MediaTransformError td {
1564 vertical-align: middle
;