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
{
122 h1
{ font-size: 188%; }
123 h2
{ font-size: 150%; }
124 h3
{ font-size: 132%; }
125 h4
{ font-size: 116%; }
126 h5
{ font-size: 100%; }
127 h6
{ font-size: 80%; }
128 .mw-h1 { padding-top: .94em; padding-bottom: .32em; }
129 .mw-h2 { padding-top: .75em; padding-bottom: .26em; }
130 .mw-h3 { padding-top: .66em; padding-bottom: .22em; }
131 .mw-h4 { padding-top: .58em; padding-bottom: .20em; }
132 .mw-h5 { padding-top: .50em; padding-bottom: .17em; }
133 .mw-h6 { padding-top: .40em; padding-bottom: .14em; }
134 .mw-h1, .mw-h2 { border-bottom: 1px solid
#aaa; }
135 .mw-first-heading { margin-bottom: .1em; }
144 list-style-type: square
;
145 margin: .3em 0 0 1.5em;
147 list-style-image: url
(bullet.gif);
151 margin: .3em 0 0 3.2em;
153 list-style-image: none
;
173 border: 1px solid
#2f6fab;
192 input
.historysubmit
{
193 padding: 0 .3em .3em .3em !important
;
196 height: 1.7em !important
;
202 abbr
, acronym
, .explain
{
203 border-bottom: 1px dotted black
;
209 font-family: Times
, "Times New Roman", serif
;
214 font-family: Times, "Times New Roman", serif;
218 background-color: #f9f9f9;
222 border: 1px dashed
#2f6fab;
224 background-color: #f9f9f9;
229 ** the main content area
240 #contentSub, #contentSub2
{
243 margin: 0 0 1.4em 1em;
251 /* Some space under the headers in the content area */
252 #bodyContent h1
, #bodyContent h2
{
255 #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
{
412 margin: 0 .5em .5em 0;
415 margin: .3em .5em .5em 0;
416 border: .5em solid white;
417 border-width: .5em 1.4em .8em 0;
420 div
.floatleft p
{ font-style: italic
; }
429 border: 1px solid
#ccc;
430 padding: 3px !important
;
431 background-color: #f9f9f9;
436 div
.thumb div a img
{
437 border: 1px solid
#ccc;
439 div
.thumb div div
.thumbcaption
{
443 padding: .3em 0 .1em 0;
447 border: none
!important
;
448 background: none
!important
;
450 div
.magnify a
, div
.magnify img
{
452 border: none
!important
;
453 background: none
!important
;
458 border-width: .5em 0 .8em 1.4em;
463 border-width: .5em 1.4em .8em 0;
471 vertical-align: middle
;
478 ** classes for special content elements like town boxes
479 ** intended to be referenced directly from the wiki src
485 /* table standards */
494 border: 1px solid
#aaa;
495 background-color: #f9f9f9;
504 border: 1px solid gray
;
520 margin: .1em 0 0 1.1em;
521 background-color: #f3f3f3;
533 /* Page history styling */
534 /* the auto-generated edit comments */
538 #pagehistory span
.user
{
542 #pagehistory span
.minor
{
546 border: 1px solid white
;
548 #pagehistory li
.selected
{
549 background-color: #f9f9f9;
550 border: 1px dashed
#aaa;
556 table
.diff
, td
.diff-otitle
, td
.diff-ntitle
{
557 background-color: white
;
563 td
.diff-deletedline
{
577 ** keep the whitespace in front of the ^=, hides rule from konqueror
578 ** this is css3, the validator doesn't like it when validating as css2
580 #bodyContent a
.external
,
581 #bodyContent a
[href ^
="gopher://"] {
582 background: url
(external.png) center right no-repeat
;
585 #bodyContent a
[href ^
="https://"],
587 background: url
(lock_icon.gif) center right no-repeat
;
590 #bodyContent a
[href ^
="mailto:"],
592 background: url
(mail_icon.gif) center right no-repeat
;
595 #bodyContent a
[href ^
="news://"] {
596 background: url
(news_icon.png) center right no-repeat
;
599 #bodyContent a
[href ^
="ftp://"],
601 background: url
(file_icon.gif) center right no-repeat
;
604 #bodyContent a
[href ^
="irc://"],
606 background: url
(discussionitem_icon.gif) center right no-repeat
;
609 /* disable interwiki styling */
610 #bodyContent a
.extiw
,
611 #bodyContent a
.extiw:active
{
616 #bodyContent a
.external
{
619 /* this can be used in the content area to switch off
620 special external link styling */
621 #bodyContent .plainlinks a
{
622 background: none
!important
;
623 padding: 0 !important
;
626 ** Structural Elements
630 ** general portlet styles (elements in the quickbar)
646 background: transparent
;
647 padding: 0 1em 0 .5em;
650 text-transform: lowercase
;
657 border: 1px solid
#2f6fab;
658 border-style: solid solid none solid
;
659 padding: 0 1em 0 1em;
660 text-transform: lowercase
;
669 background-color: white
;
671 border-collapse: collapse
;
672 border: 1px solid
#aaa;
673 padding: 0 .8em .3em .5em;
684 list-style-type: square
;
685 list-style-image: url
(bullet.gif);
699 position: absolute
; /*needed to use z-index */
714 background-repeat: no-repeat
;
715 background-position: 35% 50% !important
;
716 text-decoration: none
;
720 ** the navigation portlet
728 #p-navigation .pBody
{
736 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
737 text-decoration: none
;
765 padding: .5em .4em .4em .4em;
770 ** the personal toolbar
791 #p-personal .portlet
,
800 /* this is the ul contained in the portlet */
805 padding: 0 2em 0 3em;
808 text-transform: lowercase
;
824 #p-personal li
.active
{
828 text-decoration: none
;
830 padding-bottom: .2em;
833 #p-personal li
a:hover
{
834 background-color: white
;
835 padding-bottom: .2em;
836 text-decoration: none
;
838 #p-personal li
.active
a:hover
{
839 background-color: transparent
;
841 /* the icon in front of the user name, single quotes
842 in bg url to hide it from iemac */
846 background: url
(user.gif) top left no-repeat
;
848 text-transform: none
;
852 ** the page-related actions- page/talk, edit etc
864 border-collapse: collapse
;
869 #p-cactions .hiddenStructure
{
877 border: 1px solid
#aaa;
884 #p-cactions li
.selected
{
885 border-color: #fabd23;
890 background-color: #fbfbfb;
893 padding: 0 .8em .3em;
894 text-decoration: none
;
895 text-transform: lowercase
;
900 #p-cactions li
.selected a
{
902 background-color: #fff;
903 padding: 0 1em .2em!important
;
908 #p-cactions li
a:hover
{
910 text-decoration: none
;
911 background-color: #fff;
916 #p-cactions li
.istalk
{
919 #p-cactions li
.istalk a
{
922 #p-cactions #ca-addsection a
{
926 /* offsets to distinguish the tab groups */
930 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
935 ** the remaining portlets
943 /* TODO: #t-iscite is only used by the Cite extension, come up with some
944 * system which allows extensions to add to this file on the fly
946 #t-ispermalink, #t-iscite
{
953 background-color: white
;
954 border-top: 1px solid
#fabd23;
955 border-bottom: 1px solid
#fabd23;
956 margin: .6em 0 1em 0;
957 padding: .4em 0 1.2em 0;
965 /* hide from incapable browsers */
966 head:first-child
+body #footer li
{ white-space: nowrap
; }
967 #f-poweredbyico, #f-copyrightico
{
970 top: -2px; /* Bump it up just a tad */
989 margin: 1px -2px 1px 2px;
991 padding: 2px 0 3px 0;
992 background-color: #f0f0f0;
994 border: 1px solid
#fff;
995 border-right-color: #716f64;
999 list-style-type: none
;
1000 list-style-image: none
;
1003 #preftoc li
.selected
{
1005 background-color: #f9f9f9;
1006 border: 1px solid
#aaa;
1007 border-bottom: none
;
1013 #preftoc > li
.selected
{
1022 text-decoration: none
;
1024 #preftoc li
.selected a
{
1026 text-decoration: none
;
1034 border: 1px solid
#aaa;
1037 background-color: #F9F9F9;
1044 .prefsection fieldset {
1045 border: 1px solid
#aaa;
1049 .prefsection legend {
1052 .prefsection table, .prefsection legend {
1053 background-color: #F9F9F9;
1058 div
.prefsectiontip
{
1061 background-color: #FFC1C1;
1068 padding-right: .3em;
1071 .preferences-login {
1073 margin-bottom: 1.5em;
1081 div#userloginForm form
,
1082 div#userlogin form#userlogin2
{
1083 margin: 0 3em 1em 0;
1084 border: 1px solid
#aaa;
1087 background-color: #f9f9f9;
1091 div#userloginForm table
,
1092 div#userlogin form#userlogin2 table
{
1093 background-color: #f9f9f9;
1096 div#userloginForm h2
,
1097 div#userlogin form#userlogin2 h2
{
1101 div#userlogin
.captcha
{
1102 border: 1px solid
#bbb;
1105 background-color: white
;
1109 #userloginprompt, #languagelinks
{
1119 #userlogin .loginText
, #userlogin
.loginPassword
{
1123 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1128 ** IE/Mac fixes, hope to find a validating way to move this
1129 ** to a separate stylesheet. This would work but doesn't validate:
1130 ** @import("IEMacFixes.css");
1132 /* tabs: border on the a, not the div */
1133 * > html #p-cactions li
{ border: none
; }
1134 * > html #p-cactions li a
{
1135 border: 1px solid
#aaa;
1136 border-bottom: none
;
1138 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1139 /* footer icons need a fixed width */
1140 * > html #f-poweredbyico
,
1141 * > html #f-copyrightico
{ width: 88px; }
1142 * > html #bodyContent
,
1143 * > html #bodyContent pre
{
1146 padding-bottom: 25px;
1150 /* float/negative margin brokenness */
1151 * html #footer
{margin-top: 0;}
1152 * html #column-content
{
1156 * html div
.editsection
{ font-size: smaller
; }
1157 #pagehistory li
.selected
{ position: relative
; }
1159 /* Mac IE 5.0 fix; floated content turns invisible */
1160 * > html #column-content
{
1163 * > html #column-one
{
1169 margin-left: 13.2em;
1181 background-color: #ffa;
1187 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
1198 .sharedUploadNotice {
1202 span
.updatedmarker
{
1204 background-color: #0f0;
1206 span
.newpageletter
{
1209 background-color: yellow
;
1211 span
.minoreditletter
{
1213 background-color: #c5ffe6;
1217 border: 1px solid
#ccc;
1220 background-color: white
;
1224 vertical-align: top
;
1228 vertical-align: top
;
1229 background-color: #f9f9f9;
1230 border: solid
2px white
;
1233 table
.gallery td
.galleryheader
{
1243 div
.gallerybox div
.thumb
{
1245 border: 1px solid
#ccc;
1265 border-bottom: 1px solid
#aaa;
1266 padding-bottom: 1em;
1276 border: 1px solid gray
;
1277 background-color: #ffffff;
1284 .editExternallyHelp {
1289 li span
.deleted
, span
.history-deleted
{
1290 text-decoration: line-through
;
1300 /* Classes for EXIF data display */
1304 margin-bottom: 0.5em;
1308 table
.mw_metadata caption
{
1312 table
.mw_metadata th
{
1313 font-weight: normal
;
1316 table
.mw_metadata td
{
1322 border-collapse: collapse
;
1325 table
.mw_metadata td
, table
.mw_metadata th
{
1327 border: 1px solid
#aaaaaa;
1328 padding-left: 0.1em;
1329 padding-right: 0.1em;
1332 table
.mw_metadata th
{
1333 background-color: #f9f9f9;
1336 table
.mw_metadata td
{
1337 background-color: #fcfcfc;
1340 table
.collapsed tr
.collapsable
{
1348 border: 1px solid
#aaaaaa;
1349 background-color: #f9f9f9;
1352 margin-bottom: 0.5em;
1359 list-style-type: none
;
1368 input#wpSave
, input#wpDiff
{
1369 margin-right: 0.33em;
1372 #editform .editOptions
{
1380 /* Classes for article validation */
1382 table
.revisionform_default
{
1383 border: 1px solid
#000000;
1386 table
.revisionform_focus
{
1387 border: 1px solid
#000000;
1388 background-color:#00BBFF;
1391 tr
.revision_tr_default
{
1392 background-color:#EEEEEE;
1395 tr
.revision_tr_first
{
1396 background-color:#DDDDDD;
1405 border: solid
1px #bbbbff;
1406 background-color: #eeeeff;
1411 /* Allmessages table */
1413 #allmessagestable th
{
1414 background-color: #b2b2ff;
1417 #allmessagestable tr
.orig
{
1418 background-color: #ffe2e2;
1421 #allmessagestable tr
.new
{
1422 background-color: #e2ffe2;
1425 #allmessagestable tr
.def
{
1426 background-color: #f0f0ff;
1432 border: 1px solid
#ccc;
1438 div#searchTargetContainer
{
1448 background: #F0F0F0;
1449 border: solid
1px blue
;
1452 div#searchTarget ul li
{
1456 div#searchTarget ul
li:before
{
1458 content: "\00BB \0020";
1461 div
.multipageimagenavbox
{
1462 border: solid
1px silver
;
1465 -moz-border-radius: 6px;
1466 background: #f0f0f0;
1469 div
.multipageimagenavbox div
.thumb
{
1475 div
.multipageimagenavbox hr
{
1479 table
.multipageimage td
{
1484 Table pager (e.g. Special:Imagelist)
1485 - remove underlines from the navigation link
1487 - set the borders to outsets (similar to Special:Allmessages)
1488 - remove line wrapping for all td and th, set background color
1489 - restore line wrapping for the last two table cells (description and size)
1491 .TablePager_nav a { text-decoration: none
; }
1492 .TablePager { border-collapse: collapse
; }
1493 .TablePager, .TablePager td, .TablePager th {
1494 border: 0.15em solid
#777777;
1495 padding: 0 0.15em 0 0.15em;
1497 .TablePager th { background-color: #eeeeff }
1498 .TablePager td { background-color: #ffffff }
1499 .TablePager tr:hover td { background-color: #eeeeff }
1501 .imagelist td, .imagelist th { white-space: nowrap
}
1502 .imagelist .TablePager_col_links { background-color: #eeeeff }
1503 .imagelist .TablePager_col_img_description { white-space: normal
}
1504 .imagelist th.TablePager_sort { background-color: #ccccff }
1506 .templatesUsed { margin-top: 1.5em; }