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;
23 border: 1px solid
#aaa;
32 /* the left column width is specified in class .portlet */
35 ** We take advantage of keyword scaling- browsers won't go below 9px
36 ** More at http://www.w3.org/2003/07/30-font-size
37 ** http://style.cleverchimp.com/font_size_intervals/altintervals.html
41 font: x-small sans-serif
;
42 background: #f9f9f9 url
(headbg.jpg) 0 0 no-repeat
;
48 /* scale back up to a sane default */
64 /* we don't want the bottom borders of <h2>s to be visible through
66 background-color: white
;
69 text-decoration: none
;
80 text-decoration: underline
;
85 a
.new
, #p-personal a
.new
{
88 a
.new:visited
, #p-personal a
.new:visited
{
94 vertical-align: middle
;
97 margin: .4em 0 .5em 0;
107 background-color: #aaa;
109 margin: .2em 0 .2em 0;
112 h1
, h2
, h3
, h4
, h5
, h6
{
118 padding-bottom: .17em;
119 border-bottom: 1px solid
#aaa;
121 h1
{ font-size: 188%; }
122 h1
.editsection
{ font-size: 53%; }
123 h2
{ font-size: 150%; }
124 h2
.editsection
{ font-size: 67%; }
129 h3
{ font-size: 132%; }
130 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
131 h4
{ font-size: 116%; }
132 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
133 h5
{ font-size: 100%; }
134 h5
.editsection
{ font-weight: normal
; }
135 h6
{ font-size: 80%; }
136 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
145 list-style-type: square
;
146 margin: .3em 0 0 1.5em;
148 list-style-image: url
(bullet.gif);
152 margin: .3em 0 0 3.2em;
154 list-style-image: none
;
174 border: 1px solid
#2f6fab;
193 input
.historysubmit
{
194 padding: 0 .3em .3em .3em !important
;
197 height: 1.7em !important
;
203 abbr
, acronym
, .explain
{
204 border-bottom: 1px dotted black
;
210 font-family: Times
, "Times New Roman", serif
;
215 font-family: Times, "Times New Roman", serif;
219 background-color: #f9f9f9;
223 border: 1px dashed
#2f6fab;
225 background-color: #f9f9f9;
230 ** 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
{
416 margin: 0 .5em .5em 0;
419 margin: .3em .5em .5em 0;
420 border: .5em solid white;
421 border-width: .5em 1.4em .8em 0;
424 div
.floatleft p
{ font-style: italic
; }
433 border: 1px solid
#ccc;
434 padding: 3px !important
;
435 background-color: #f9f9f9;
440 div
.thumb div a img
{
441 border: 1px solid
#ccc;
443 div
.thumb div div
.thumbcaption
{
447 padding: .3em 0 .1em 0;
451 border: none
!important
;
452 background: none
!important
;
454 div
.magnify a
, div
.magnify img
{
456 border: none
!important
;
457 background: none
!important
;
462 border-width: .5em 0 .8em 1.4em;
467 border-width: .5em 1.4em .8em 0;
475 vertical-align: middle
;
482 ** classes for special content elements like town boxes
483 ** intended to be referenced directly from the wiki src
489 /* table standards */
498 border: 1px solid
#aaa;
499 background-color: #f9f9f9;
508 border: 1px solid gray
;
524 margin: .1em 0 0 1.1em;
525 background-color: #f3f3f3;
537 /* Page history styling */
538 /* the auto-generated edit comments */
542 #pagehistory span
.user
{
546 #pagehistory span
.minor
{
550 border: 1px solid white
;
552 #pagehistory li
.selected
{
553 background-color: #f9f9f9;
554 border: 1px dashed
#aaa;
560 table
.diff
, td
.diff-otitle
, td
.diff-ntitle
{
561 background-color: white
;
567 td
.diff-deletedline
{
581 ** keep the whitespace in front of the ^=, hides rule from konqueror
582 ** this is css3, the validator doesn't like it when validating as css2
584 #bodyContent a
.external
,
585 #bodyContent a
[href ^
="gopher://"] {
586 background: url
(external.png) center right no-repeat
;
589 #bodyContent a
[href ^
="https://"],
591 background: url
(lock_icon.gif) center right no-repeat
;
594 #bodyContent a
[href ^
="mailto:"],
596 background: url
(mail_icon.gif) center right no-repeat
;
599 #bodyContent a
[href ^
="news://"] {
600 background: url
(news_icon.png) center right no-repeat
;
603 #bodyContent a
[href ^
="ftp://"],
605 background: url
(file_icon.gif) center right no-repeat
;
608 #bodyContent a
[href ^
="irc://"],
610 background: url
(discussionitem_icon.gif) center right no-repeat
;
613 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
614 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
615 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
616 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
617 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
618 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
620 background: url
("audio.png") center right no-repeat
;
623 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
624 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
625 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
626 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
628 background: url
("video.png") center right no-repeat
;
631 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
632 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
633 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
635 background: url
("document.png") center right no-repeat
;
639 /* disable interwiki styling */
640 #bodyContent a
.extiw
,
641 #bodyContent a
.extiw:active
{
646 #bodyContent a
.external
{
649 /* this can be used in the content area to switch off
650 special external link styling */
651 #bodyContent .plainlinks a
{
652 background: none
!important
;
653 padding: 0 !important
;
656 ** Structural Elements
660 ** general portlet styles (elements in the quickbar)
676 background: transparent
;
677 padding: 0 1em 0 .5em;
680 text-transform: lowercase
;
687 border: 1px solid
#2f6fab;
688 border-style: solid solid none solid
;
689 padding: 0 1em 0 1em;
690 text-transform: lowercase
;
699 background-color: white
;
701 border-collapse: collapse
;
702 border: 1px solid
#aaa;
703 padding: 0 .8em .3em .5em;
714 list-style-type: square
;
715 list-style-image: url
(bullet.gif);
729 position: absolute
; /*needed to use z-index */
744 background-repeat: no-repeat
;
745 background-position: 35% 50% !important
;
746 text-decoration: none
;
750 ** the navigation portlet
758 #p-navigation .pBody
{
766 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
767 text-decoration: none
;
795 padding: .5em .4em .4em .4em;
800 ** the personal toolbar
821 #p-personal .portlet
,
830 /* this is the ul contained in the portlet */
835 padding: 0 2em 0 3em;
838 text-transform: lowercase
;
854 #p-personal li
.active
{
858 text-decoration: none
;
860 padding-bottom: .2em;
863 #p-personal li
a:hover
{
864 background-color: white
;
865 padding-bottom: .2em;
866 text-decoration: none
;
868 #p-personal li
.active
a:hover
{
869 background-color: transparent
;
871 /* the icon in front of the user name, single quotes
872 in bg url to hide it from iemac */
876 background: url
(user.gif) top left no-repeat
;
878 text-transform: none
;
882 ** the page-related actions- page/talk, edit etc
894 border-collapse: collapse
;
899 #p-cactions .hiddenStructure
{
907 border: 1px solid
#aaa;
914 #p-cactions li
.selected
{
915 border-color: #fabd23;
920 background-color: #fbfbfb;
923 padding: 0 .8em .3em;
924 text-decoration: none
;
925 text-transform: lowercase
;
930 #p-cactions li
.selected a
{
932 background-color: #fff;
933 padding: 0 1em .2em!important
;
938 #p-cactions li
a:hover
{
940 text-decoration: none
;
941 background-color: #fff;
946 #p-cactions li
.istalk
{
949 #p-cactions li
.istalk a
{
952 #p-cactions #ca-addsection a
{
956 /* offsets to distinguish the tab groups */
960 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
965 ** the remaining portlets
973 /* TODO: #t-iscite is only used by the Cite extension, come up with some
974 * system which allows extensions to add to this file on the fly
976 #t-ispermalink, #t-iscite
{
983 background-color: white
;
984 border-top: 1px solid
#fabd23;
985 border-bottom: 1px solid
#fabd23;
986 margin: .6em 0 1em 0;
987 padding: .4em 0 1.2em 0;
995 /* hide from incapable browsers */
996 head:first-child
+body #footer li
{ white-space: nowrap
; }
997 #f-poweredbyico, #f-copyrightico
{
1000 top: -2px; /* Bump it up just a tad */
1019 margin: 1px -2px 1px 2px;
1021 padding: 2px 0 3px 0;
1022 background-color: #f0f0f0;
1024 border: 1px solid
#fff;
1025 border-right-color: #716f64;
1028 white-space: nowrap
;
1029 list-style-type: none
;
1030 list-style-image: none
;
1033 #preftoc li
.selected
{
1035 background-color: #f9f9f9;
1036 border: 1px solid
#aaa;
1037 border-bottom: none
;
1043 #preftoc > li
.selected
{
1052 text-decoration: none
;
1054 #preftoc li
.selected a
{
1056 text-decoration: none
;
1064 border: 1px solid
#aaa;
1067 background-color: #F9F9F9;
1074 .prefsection fieldset {
1075 border: 1px solid
#aaa;
1079 .prefsection legend {
1082 .prefsection table, .prefsection legend {
1083 background-color: #F9F9F9;
1088 div
.prefsectiontip
{
1091 background-color: #FFC1C1;
1098 padding-right: .3em;
1101 .preferences-login {
1103 margin-bottom: 1.5em;
1111 div#userloginForm form
,
1112 div#userlogin form#userlogin2
{
1113 margin: 0 3em 1em 0;
1114 border: 1px solid
#aaa;
1117 background-color: #f9f9f9;
1121 div#userloginForm table
,
1122 div#userlogin form#userlogin2 table
{
1123 background-color: #f9f9f9;
1126 div#userloginForm h2
,
1127 div#userlogin form#userlogin2 h2
{
1131 div#userlogin
.captcha
{
1132 border: 1px solid
#bbb;
1135 background-color: white
;
1139 #userloginprompt, #languagelinks
{
1149 #userlogin .loginText
, #userlogin
.loginPassword
{
1153 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1158 ** IE/Mac fixes, hope to find a validating way to move this
1159 ** to a separate stylesheet. This would work but doesn't validate:
1160 ** @import("IEMacFixes.css");
1162 /* tabs: border on the a, not the div */
1163 * > html #p-cactions li
{ border: none
; }
1164 * > html #p-cactions li a
{
1165 border: 1px solid
#aaa;
1166 border-bottom: none
;
1168 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1169 /* footer icons need a fixed width */
1170 * > html #f-poweredbyico
,
1171 * > html #f-copyrightico
{ width: 88px; }
1172 * > html #bodyContent
,
1173 * > html #bodyContent pre
{
1176 padding-bottom: 25px;
1180 /* float/negative margin brokenness */
1181 * html #footer
{margin-top: 0;}
1182 * html #column-content
{
1186 * html div
.editsection
{ font-size: smaller
; }
1187 #pagehistory li
.selected
{ position: relative
; }
1189 /* Mac IE 5.0 fix; floated content turns invisible */
1190 * > html #column-content
{
1193 * > html #column-one
{
1199 margin-left: 13.2em;
1211 background-color: #ffa;
1217 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
1228 .sharedUploadNotice {
1232 span
.updatedmarker
{
1234 background-color: #0f0;
1236 span
.newpageletter
{
1239 background-color: yellow
;
1241 span
.minoreditletter
{
1243 background-color: #c5ffe6;
1247 border: 1px solid
#ccc;
1250 background-color: white
;
1254 vertical-align: top
;
1258 vertical-align: top
;
1259 background-color: #f9f9f9;
1260 border: solid
2px white
;
1263 table
.gallery td
.galleryheader
{
1273 div
.gallerybox div
.thumb
{
1275 border: 1px solid
#ccc;
1295 border-bottom: 1px solid
#aaa;
1296 padding-bottom: 1em;
1306 border: 1px solid gray
;
1307 background-color: #ffffff;
1314 .editExternallyHelp {
1319 li span
.deleted
, span
.history-deleted
{
1320 text-decoration: line-through
;
1330 /* Classes for EXIF data display */
1334 margin-bottom: 0.5em;
1338 table
.mw_metadata caption
{
1342 table
.mw_metadata th
{
1343 font-weight: normal
;
1346 table
.mw_metadata td
{
1352 border-collapse: collapse
;
1355 table
.mw_metadata td
, table
.mw_metadata th
{
1357 border: 1px solid
#aaaaaa;
1358 padding-left: 0.1em;
1359 padding-right: 0.1em;
1362 table
.mw_metadata th
{
1363 background-color: #f9f9f9;
1366 table
.mw_metadata td
{
1367 background-color: #fcfcfc;
1370 table
.collapsed tr
.collapsable
{
1378 border: 1px solid
#aaaaaa;
1379 background-color: #f9f9f9;
1382 margin-bottom: 0.5em;
1389 list-style-type: none
;
1398 input#wpSave
, input#wpDiff
{
1399 margin-right: 0.33em;
1402 #editform .editOptions
{
1410 /* Classes for article validation */
1412 table
.revisionform_default
{
1413 border: 1px solid
#000000;
1416 table
.revisionform_focus
{
1417 border: 1px solid
#000000;
1418 background-color:#00BBFF;
1421 tr
.revision_tr_default
{
1422 background-color:#EEEEEE;
1425 tr
.revision_tr_first
{
1426 background-color:#DDDDDD;
1435 border: solid
1px #bbbbff;
1436 background-color: #eeeeff;
1441 /* Allmessages table */
1443 #allmessagestable th
{
1444 background-color: #b2b2ff;
1447 #allmessagestable tr
.orig
{
1448 background-color: #ffe2e2;
1451 #allmessagestable tr
.new
{
1452 background-color: #e2ffe2;
1455 #allmessagestable tr
.def
{
1456 background-color: #f0f0ff;
1462 border: 1px solid
#ccc;
1468 div#searchTargetContainer
{
1478 background: #F0F0F0;
1479 border: solid
1px blue
;
1482 div#searchTarget ul li
{
1486 div#searchTarget ul
li:before
{
1488 content: "\00BB \0020";
1491 div
.multipageimagenavbox
{
1492 border: solid
1px silver
;
1495 -moz-border-radius: 6px;
1496 background: #f0f0f0;
1499 div
.multipageimagenavbox div
.thumb
{
1505 div
.multipageimagenavbox hr
{
1509 table
.multipageimage td
{
1514 Table pager (e.g. Special:Imagelist)
1515 - remove underlines from the navigation link
1517 - set the borders to outsets (similar to Special:Allmessages)
1518 - remove line wrapping for all td and th, set background color
1519 - restore line wrapping for the last two table cells (description and size)
1521 .TablePager_nav a { text-decoration: none
; }
1522 .TablePager { border-collapse: collapse
; }
1523 .TablePager, .TablePager td, .TablePager th {
1524 border: 0.15em solid
#777777;
1525 padding: 0 0.15em 0 0.15em;
1527 .TablePager th { background-color: #eeeeff }
1528 .TablePager td { background-color: #ffffff }
1529 .TablePager tr:hover td { background-color: #eeeeff }
1531 .imagelist td, .imagelist th { white-space: nowrap
}
1532 .imagelist .TablePager_col_links { background-color: #eeeeff }
1533 .imagelist .TablePager_col_img_description { white-space: normal
}
1534 .imagelist th.TablePager_sort { background-color: #ccccff }
1536 .templatesUsed { margin-top: 1.5em; }