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"],
627 #bodyContent a
.external
[href $
=".swf"], #bodyContent a
.external
[href $
=".SWF"],
629 background: url
("video.png") center right no-repeat
;
632 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
634 background: url
("document.png") center right no-repeat
;
638 /* disable interwiki styling */
639 #bodyContent a
.extiw
,
640 #bodyContent a
.extiw:active
{
645 #bodyContent a
.external
{
648 /* this can be used in the content area to switch off
649 special external link styling */
650 #bodyContent .plainlinks a
{
651 background: none
!important
;
652 padding: 0 !important
;
655 ** Structural Elements
659 ** general portlet styles (elements in the quickbar)
675 background: transparent
;
676 padding: 0 1em 0 .5em;
679 text-transform: lowercase
;
686 border: 1px solid
#2f6fab;
687 border-style: solid solid none solid
;
688 padding: 0 1em 0 1em;
689 text-transform: lowercase
;
698 background-color: white
;
700 border-collapse: collapse
;
701 border: 1px solid
#aaa;
702 padding: 0 .8em .3em .5em;
713 list-style-type: square
;
714 list-style-image: url
(bullet.gif);
728 position: absolute
; /*needed to use z-index */
743 background-repeat: no-repeat
;
744 background-position: 35% 50% !important
;
745 text-decoration: none
;
749 ** the navigation portlet
757 #p-navigation .pBody
{
765 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
766 text-decoration: none
;
794 padding: .5em .4em .4em .4em;
799 ** the personal toolbar
820 #p-personal .portlet
,
829 /* this is the ul contained in the portlet */
834 padding: 0 2em 0 3em;
837 text-transform: lowercase
;
853 #p-personal li
.active
{
857 text-decoration: none
;
859 padding-bottom: .2em;
862 #p-personal li
a:hover
{
863 background-color: white
;
864 padding-bottom: .2em;
865 text-decoration: none
;
867 #p-personal li
.active
a:hover
{
868 background-color: transparent
;
870 /* the icon in front of the user name, single quotes
871 in bg url to hide it from iemac */
875 background: url
(user.gif) top left no-repeat
;
877 text-transform: none
;
881 ** the page-related actions- page/talk, edit etc
893 border-collapse: collapse
;
898 #p-cactions .hiddenStructure
{
906 border: 1px solid
#aaa;
913 #p-cactions li
.selected
{
914 border-color: #fabd23;
919 background-color: #fbfbfb;
922 padding: 0 .8em .3em;
923 text-decoration: none
;
924 text-transform: lowercase
;
929 #p-cactions li
.selected a
{
931 background-color: #fff;
932 padding: 0 1em .2em!important
;
937 #p-cactions li
a:hover
{
939 text-decoration: none
;
940 background-color: #fff;
945 #p-cactions li
.istalk
{
948 #p-cactions li
.istalk a
{
951 #p-cactions #ca-addsection a
{
955 /* offsets to distinguish the tab groups */
959 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
964 ** the remaining portlets
972 /* TODO: #t-iscite is only used by the Cite extension, come up with some
973 * system which allows extensions to add to this file on the fly
975 #t-ispermalink, #t-iscite
{
982 background-color: white
;
983 border-top: 1px solid
#fabd23;
984 border-bottom: 1px solid
#fabd23;
985 margin: .6em 0 1em 0;
986 padding: .4em 0 1.2em 0;
994 /* hide from incapable browsers */
995 head:first-child
+body #footer li
{ white-space: nowrap
; }
996 #f-poweredbyico, #f-copyrightico
{
999 top: -2px; /* Bump it up just a tad */
1018 margin: 1px -2px 1px 2px;
1020 padding: 2px 0 3px 0;
1021 background-color: #f0f0f0;
1023 border: 1px solid
#fff;
1024 border-right-color: #716f64;
1027 white-space: nowrap
;
1028 list-style-type: none
;
1029 list-style-image: none
;
1032 #preftoc li
.selected
{
1034 background-color: #f9f9f9;
1035 border: 1px solid
#aaa;
1036 border-bottom: none
;
1042 #preftoc > li
.selected
{
1051 text-decoration: none
;
1053 #preftoc li
.selected a
{
1055 text-decoration: none
;
1063 border: 1px solid
#aaa;
1066 background-color: #F9F9F9;
1073 .prefsection fieldset {
1074 border: 1px solid
#aaa;
1078 .prefsection legend {
1081 .prefsection table, .prefsection legend {
1082 background-color: #F9F9F9;
1087 div
.prefsectiontip
{
1090 background-color: #FFC1C1;
1097 padding-right: .3em;
1100 .preferences-login {
1102 margin-bottom: 1.5em;
1110 div#userloginForm form
,
1111 div#userlogin form#userlogin2
{
1112 margin: 0 3em 1em 0;
1113 border: 1px solid
#aaa;
1116 background-color: #f9f9f9;
1120 div#userloginForm table
,
1121 div#userlogin form#userlogin2 table
{
1122 background-color: #f9f9f9;
1125 div#userloginForm h2
,
1126 div#userlogin form#userlogin2 h2
{
1130 div#userlogin
.captcha
{
1131 border: 1px solid
#bbb;
1134 background-color: white
;
1138 #userloginprompt, #languagelinks
{
1148 #userlogin .loginText
, #userlogin
.loginPassword
{
1152 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1157 ** IE/Mac fixes, hope to find a validating way to move this
1158 ** to a separate stylesheet. This would work but doesn't validate:
1159 ** @import("IEMacFixes.css");
1161 /* tabs: border on the a, not the div */
1162 * > html #p-cactions li
{ border: none
; }
1163 * > html #p-cactions li a
{
1164 border: 1px solid
#aaa;
1165 border-bottom: none
;
1167 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1168 /* footer icons need a fixed width */
1169 * > html #f-poweredbyico
,
1170 * > html #f-copyrightico
{ width: 88px; }
1171 * > html #bodyContent
,
1172 * > html #bodyContent pre
{
1175 padding-bottom: 25px;
1179 /* float/negative margin brokenness */
1180 * html #footer
{margin-top: 0;}
1181 * html #column-content
{
1185 * html div
.editsection
{ font-size: smaller
; }
1186 #pagehistory li
.selected
{ position: relative
; }
1188 /* Mac IE 5.0 fix; floated content turns invisible */
1189 * > html #column-content
{
1192 * > html #column-one
{
1198 margin-left: 13.2em;
1210 background-color: #ffa;
1216 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
1227 .sharedUploadNotice {
1231 span
.updatedmarker
{
1233 background-color: #0f0;
1235 span
.newpageletter
{
1238 background-color: yellow
;
1240 span
.minoreditletter
{
1242 background-color: #c5ffe6;
1246 border: 1px solid
#ccc;
1249 background-color: white
;
1253 vertical-align: top
;
1257 vertical-align: top
;
1258 background-color: #f9f9f9;
1259 border: solid
2px white
;
1262 table
.gallery td
.galleryheader
{
1272 div
.gallerybox div
.thumb
{
1274 border: 1px solid
#ccc;
1294 border-bottom: 1px solid
#aaa;
1295 padding-bottom: 1em;
1305 border: 1px solid gray
;
1306 background-color: #ffffff;
1313 .editExternallyHelp {
1318 li span
.deleted
, span
.history-deleted
{
1319 text-decoration: line-through
;
1329 /* Classes for EXIF data display */
1333 margin-bottom: 0.5em;
1337 table
.mw_metadata caption
{
1341 table
.mw_metadata th
{
1342 font-weight: normal
;
1345 table
.mw_metadata td
{
1351 border-collapse: collapse
;
1354 table
.mw_metadata td
, table
.mw_metadata th
{
1356 border: 1px solid
#aaaaaa;
1357 padding-left: 0.1em;
1358 padding-right: 0.1em;
1361 table
.mw_metadata th
{
1362 background-color: #f9f9f9;
1365 table
.mw_metadata td
{
1366 background-color: #fcfcfc;
1369 table
.collapsed tr
.collapsable
{
1377 border: 1px solid
#aaaaaa;
1378 background-color: #f9f9f9;
1381 margin-bottom: 0.5em;
1388 list-style-type: none
;
1397 input#wpSave
, input#wpDiff
{
1398 margin-right: 0.33em;
1401 #editform .editOptions
{
1409 /* Classes for article validation */
1411 table
.revisionform_default
{
1412 border: 1px solid
#000000;
1415 table
.revisionform_focus
{
1416 border: 1px solid
#000000;
1417 background-color:#00BBFF;
1420 tr
.revision_tr_default
{
1421 background-color:#EEEEEE;
1424 tr
.revision_tr_first
{
1425 background-color:#DDDDDD;
1434 border: solid
1px #bbbbff;
1435 background-color: #eeeeff;
1440 /* Allmessages table */
1442 #allmessagestable th
{
1443 background-color: #b2b2ff;
1446 #allmessagestable tr
.orig
{
1447 background-color: #ffe2e2;
1450 #allmessagestable tr
.new
{
1451 background-color: #e2ffe2;
1454 #allmessagestable tr
.def
{
1455 background-color: #f0f0ff;
1461 border: 1px solid
#ccc;
1467 div#searchTargetContainer
{
1477 background: #F0F0F0;
1478 border: solid
1px blue
;
1481 div#searchTarget ul li
{
1485 div#searchTarget ul
li:before
{
1487 content: "\00BB \0020";
1490 div
.multipageimagenavbox
{
1491 border: solid
1px silver
;
1494 -moz-border-radius: 6px;
1495 background: #f0f0f0;
1498 div
.multipageimagenavbox div
.thumb
{
1504 div
.multipageimagenavbox hr
{
1508 table
.multipageimage td
{
1513 Table pager (e.g. Special:Imagelist)
1514 - remove underlines from the navigation link
1516 - set the borders to outsets (similar to Special:Allmessages)
1517 - remove line wrapping for all td and th, set background color
1518 - restore line wrapping for the last two table cells (description and size)
1520 .TablePager_nav a { text-decoration: none
; }
1521 .TablePager { border-collapse: collapse
; }
1522 .TablePager, .TablePager td, .TablePager th {
1523 border: 0.15em solid
#777777;
1524 padding: 0 0.15em 0 0.15em;
1526 .TablePager th { background-color: #eeeeff }
1527 .TablePager td { background-color: #ffffff }
1528 .TablePager tr:hover td { background-color: #eeeeff }
1530 .imagelist td, .imagelist th { white-space: nowrap
}
1531 .imagelist .TablePager_col_links { background-color: #eeeeff }
1532 .imagelist .TablePager_col_img_description { white-space: normal
}
1533 .imagelist th.TablePager_sort { background-color: #ccccff }
1535 .templatesUsed { margin-top: 1.5em; }