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;
476 ** classes for special content elements like town boxes
477 ** intended to be referenced directly from the wiki src
483 /* table standards */
492 border: 1px solid
#aaa;
493 background-color: #f9f9f9;
502 border: 1px solid gray
;
518 margin: .1em 0 0 1.1em;
519 background-color: #f3f3f3;
531 /* Page history styling */
532 /* the auto-generated edit comments */
536 #pagehistory span
.user
{
540 #pagehistory span
.minor
{
544 border: 1px solid white
;
546 #pagehistory li
.selected
{
547 background-color: #f9f9f9;
548 border: 1px dashed
#aaa;
552 ** keep the whitespace in front of the ^=, hides rule from konqueror
553 ** this is css3, the validator doesn't like it when validating as css2
555 #bodyContent a
.external
,
556 #bodyContent a
[href ^
="gopher://"] {
557 background: url
(external.png) center right no-repeat
;
560 #bodyContent a
[href ^
="https://"],
562 background: url
(lock_icon.gif) center right no-repeat
;
565 #bodyContent a
[href ^
="mailto:"],
567 background: url
(mail_icon.gif) center right no-repeat
;
570 #bodyContent a
[href ^
="news://"] {
571 background: url
(news_icon.png) center right no-repeat
;
574 #bodyContent a
[href ^
="ftp://"],
576 background: url
(file_icon.gif) center right no-repeat
;
579 #bodyContent a
[href ^
="irc://"],
581 background: url
(discussionitem_icon.gif) center right no-repeat
;
584 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
585 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
586 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
587 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
588 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
589 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
591 background: url
("audio.png") center right no-repeat
;
594 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
595 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
596 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
597 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
599 background: url
("video.png") center right no-repeat
;
602 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
603 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
604 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
606 background: url
("document.png") center right no-repeat
;
610 /* disable interwiki styling */
611 #bodyContent a
.extiw
,
612 #bodyContent a
.extiw:active
{
617 #bodyContent a
.external
{
620 /* this can be used in the content area to switch off
621 special external link styling */
622 #bodyContent .plainlinks a
{
623 background: none
!important
;
624 padding: 0 !important
;
627 ** Structural Elements
631 ** general portlet styles (elements in the quickbar)
647 background: transparent
;
648 padding: 0 1em 0 .5em;
651 text-transform: lowercase
;
658 border: 1px solid
#2f6fab;
659 border-style: solid solid none solid
;
660 padding: 0 1em 0 1em;
661 text-transform: lowercase
;
670 background-color: white
;
672 border-collapse: collapse
;
673 border: 1px solid
#aaa;
674 padding: 0 .8em .3em .5em;
685 list-style-type: square
;
686 list-style-image: url
(bullet.gif);
701 position: absolute
; /*needed to use z-index */
715 background-repeat: no-repeat
;
716 background-position: 35% 50% !important
;
717 text-decoration: none
;
742 padding: .5em .4em .4em .4em;
747 ** the personal toolbar
768 #p-personal .portlet
,
777 /* this is the ul contained in the portlet */
782 padding: 0 2em 0 3em;
801 text-decoration: none
;
803 padding-bottom: .2em;
806 #p-personal li
a:hover
{
807 background-color: white
;
808 padding-bottom: .2em;
809 text-decoration: none
;
811 #p-personal li
.active
a:hover
{
812 background-color: transparent
;
814 /* the icon in front of the user name, single quotes
815 in bg url to hide it from iemac */
819 background: url
(user.gif) top left no-repeat
;
821 text-transform: none
;
824 text-transform: lowercase
;
826 #p-personal li
.active
{
830 ** the page-related actions- page/talk, edit etc
842 border-collapse: collapse
;
852 border: 1px solid
#aaa;
859 #p-cactions li
.selected
{
860 border-color: #fabd23;
865 background-color: #fbfbfb;
868 padding: 0 .8em .3em;
872 text-decoration: none
;
874 #p-cactions li
.selected a
{
876 padding: 0 1em .2em!important
;
877 background-color: white
;
882 #p-cactions li
a:hover
{
884 text-decoration: none
;
885 background-color: white
;
890 #p-cactions li
.istalk
{
893 #p-cactions li
.istalk a
{
896 #p-cactions #ca-addsection a
{
900 /* offsets to distinguish the tab groups */
904 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
909 background-color: transparent
;
911 border-collapse: inherit
;
915 #p-cactions .hiddenStructure
{
919 text-transform: lowercase
;
923 ** the remaining portlets
931 /* TODO: #t-iscite is only used by the Cite extension, come up with some
932 * system which allows extensions to add to this file on the fly
934 #t-ispermalink, #t-iscite
{
941 background-color: white
;
942 border-top: 1px solid
#fabd23;
943 border-bottom: 1px solid
#fabd23;
944 margin: .6em 0 1em 0;
945 padding: .4em 0 1.2em 0;
953 #f-poweredbyico, #f-copyrightico
{
956 top: -2px; /* Bump it up just a tad */
975 background-color: #f0f0f0;
979 margin: 1px -2px 1px 2px;
981 padding: 2px 0 3px 0;
982 border: 1px solid
#fff;
983 border-right-color: #716f64;
987 list-style-type: none
;
988 list-style-image: none
;
991 #preftoc li
.selected
{
993 background-color: #f9f9f9;
994 border: 1px solid
#aaa;
1001 #preftoc > li
.selected
{
1010 text-decoration: none
;
1012 #preftoc li
.selected a
{
1014 text-decoration: none
;
1022 border: 1px solid
#aaa;
1025 background-color: #F9F9F9;
1032 .prefsection fieldset {
1033 border: 1px solid
#aaa;
1037 .prefsection legend {
1040 .prefsection table, .prefsection legend {
1041 background-color: #F9F9F9;
1046 div
.prefsectiontip
{
1054 padding-right: .3em;
1057 .preferences-login {
1059 margin-bottom: 1.5em;
1067 div#userloginForm form
,
1068 div#userlogin form#userlogin2
{
1069 margin: 0 3em 1em 0;
1070 border: 1px solid
#aaa;
1073 background-color: #f9f9f9;
1077 div#userloginForm table
,
1078 div#userlogin form#userlogin2 table
{
1079 background-color: #f9f9f9;
1082 div#userloginForm h2
,
1083 div#userlogin form#userlogin2 h2
{
1087 div#userlogin
.captcha
,
1088 div#userloginForm
.captcha
{
1089 border: 1px solid
#bbb;
1091 background-color: white
;
1095 #userloginprompt, #languagelinks
{
1105 #userlogin .loginText
, #userlogin
.loginPassword
{
1109 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1114 ** IE/Mac fixes, hope to find a validating way to move this
1115 ** to a separate stylesheet. This would work but doesn't validate:
1116 ** @import("IEMacFixes.css");
1118 /* tabs: border on the a, not the div */
1119 * > html #p-cactions li
{ border: none
; }
1120 * > html #p-cactions li a
{
1121 border: 1px solid
#aaa;
1122 border-bottom: none
;
1124 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1125 /* footer icons need a fixed width */
1126 * > html #f-poweredbyico
,
1127 * > html #f-copyrightico
{ width: 88px; }
1128 * > html #bodyContent
,
1129 * > html #bodyContent pre
{
1132 padding-bottom: 25px;
1136 /* float/negative margin brokenness */
1137 * html #footer
{margin-top: 0;}
1138 * html #column-content
{
1142 * html div
.editsection
{ font-size: smaller
; }
1143 #pagehistory li
.selected
{ position: relative
; }
1145 /* Mac IE 5.0 fix; floated content turns invisible */
1146 * > html #column-content
{
1149 * > html #column-one
{
1155 margin-left: 13.2em;
1167 background-color: #ffa;
1173 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
1184 .sharedUploadNotice {
1188 span
.updatedmarker
{
1190 background-color: #0f0;
1194 border: 1px solid
#ccc;
1197 background-color: white
;
1201 vertical-align: top
;
1205 vertical-align: top
;
1206 background-color: #f9f9f9;
1207 border: solid
2px white
;
1209 /* Keep this temporarily so that cached pages will display right */
1210 table
.gallery td
.galleryheader
{
1214 table
.gallery caption
{
1222 div
.gallerybox div
.thumb
{
1224 border: 1px solid
#ccc;
1245 border-bottom: 1px solid
#aaa;
1246 padding-bottom: 1em;
1256 border: 1px solid gray
;
1257 background-color: #ffffff;
1264 .editExternallyHelp {
1274 /* Classes for EXIF data display */
1278 margin-bottom: 0.5em;
1282 table
.mw_metadata caption
{
1286 table
.mw_metadata th
{
1287 font-weight: normal
;
1290 table
.mw_metadata td
{
1296 border-collapse: collapse
;
1299 table
.mw_metadata td
, table
.mw_metadata th
{
1301 border: 1px solid
#aaaaaa;
1302 padding-left: 0.1em;
1303 padding-right: 0.1em;
1306 table
.mw_metadata th
{
1307 background-color: #f9f9f9;
1310 table
.mw_metadata td
{
1311 background-color: #fcfcfc;
1314 table
.collapsed tr
.collapsable
{
1322 border: 1px solid
#aaaaaa;
1323 background-color: #f9f9f9;
1326 margin-bottom: 0.5em;
1333 list-style-type: none
;
1342 input#wpSave
, input#wpDiff
{
1343 margin-right: 0.33em;
1346 #editform .editOptions
{
1354 /* Classes for article validation */
1356 table
.revisionform_default
{
1357 border: 1px solid
#000000;
1360 table
.revisionform_focus
{
1361 border: 1px solid
#000000;
1362 background-color:#00BBFF;
1365 tr
.revision_tr_default
{
1366 background-color:#EEEEEE;
1369 tr
.revision_tr_first
{
1370 background-color:#DDDDDD;
1379 border: solid
1px #bbbbff;
1380 background-color: #eeeeff;
1385 /* Allmessages table */
1387 #allmessagestable th
{
1388 background-color: #b2b2ff;
1391 #allmessagestable tr
.orig
{
1392 background-color: #ffe2e2;
1395 #allmessagestable tr
.new
{
1396 background-color: #e2ffe2;
1399 #allmessagestable tr
.def
{
1400 background-color: #f0f0ff;
1406 border: 1px solid
#ccc;
1412 div#searchTargetContainer
{
1422 background: #F0F0F0;
1423 border: solid
1px blue
;
1426 div#searchTarget ul li
{
1430 div#searchTarget ul
li:before
{
1432 content: "\00BB \0020";
1435 div#searchTargetHide
{
1437 border:solid
1px black
;
1438 background:gainsboro
;
1442 div
.multipageimagenavbox
{
1443 border: solid
1px silver
;
1446 -moz-border-radius: 6px;
1447 background: #f0f0f0;
1450 div
.multipageimagenavbox div
.thumb
{
1456 div
.multipageimagenavbox hr
{
1460 table
.multipageimage td
{
1464 /** Special:Version */
1466 table#sv-ext
, table#sv-hooks
{
1471 #sv-ext td
, #sv-hooks td
,
1472 #sv-ext th
, #sv-hooks th
{
1473 border: 1px solid
#A0A0A0;
1474 padding: 0 0.15em 0 0.15em;
1476 #sv-ext th
, #sv-hooks th
{
1477 background-color: #F0F0F0;
1479 padding: 0 0.15em 0 0.15em;
1485 tr
.sv-space td
{ display: none
; }
1488 Table pager (e.g. Special:Imagelist)
1489 - remove underlines from the navigation link
1491 - set the borders to outsets (similar to Special:Allmessages)
1492 - remove line wrapping for all td and th, set background color
1493 - restore line wrapping for the last two table cells (description and size)
1495 .TablePager_nav a { text-decoration: none
; }
1496 .TablePager { border-collapse: collapse
; }
1497 .TablePager, .TablePager td, .TablePager th {
1498 border: 1px solid
#aaaaaa;
1499 padding: 0 0.15em 0 0.15em;
1501 .TablePager th { background-color: #eeeeff }
1502 .TablePager td { background-color: #ffffff }
1503 .TablePager tr:hover td { background-color: #eeeeff }
1505 .imagelist td, .imagelist th { white-space: nowrap
}
1506 .imagelist .TablePager_col_links { background-color: #eeeeff }
1507 .imagelist .TablePager_col_img_description { white-space: normal
}
1508 .imagelist th.TablePager_sort { background-color: #ccccff }
1510 .templatesUsed { margin-top: 1.5em; }
1512 .mw-summary-preview {
1516 /* Convenience links on Special:Ipblocklist */
1517 p
.mw-ipb-conveniencelinks
{
1522 /* Friendlier slave lag warnings */
1523 div
.mw-lag-warn-normal
,
1524 div
.mw-lag-warn-high
{
1529 div
.mw-lag-warn-normal
{
1530 border: 1px solid
#FFCC66;
1531 background-color: #FFFFCC;
1533 div
.mw-lag-warn-high
{
1535 border: 2px solid
#FF0033;
1536 background-color: #FFCCCC;
1539 /* Recreating-deleted-page/reupload file warning and log entries */
1540 div#mw-upload-deleted-warn
,
1541 div#mw-recreate-deleted-warn
{
1544 border: 2px solid
#2F6FAB;
1546 div#mw-upload-deleted-warn ul li
,
1547 div#mw-recreate-deleted-warn ul li
{
1550 .MediaTransformError {
1551 background-color: #ccc;
1554 .MediaTransformError td {
1556 vertical-align: middle
;