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 /* disable interwiki styling */
614 #bodyContent a
.extiw
,
615 #bodyContent a
.extiw:active
{
620 #bodyContent a
.external
{
623 /* this can be used in the content area to switch off
624 special external link styling */
625 #bodyContent .plainlinks a
{
626 background: none
!important
;
627 padding: 0 !important
;
630 ** Structural Elements
634 ** general portlet styles (elements in the quickbar)
650 background: transparent
;
651 padding: 0 1em 0 .5em;
654 text-transform: lowercase
;
661 border: 1px solid
#2f6fab;
662 border-style: solid solid none solid
;
663 padding: 0 1em 0 1em;
664 text-transform: lowercase
;
673 background-color: white
;
675 border-collapse: collapse
;
676 border: 1px solid
#aaa;
677 padding: 0 .8em .3em .5em;
688 list-style-type: square
;
689 list-style-image: url
(bullet.gif);
703 position: absolute
; /*needed to use z-index */
718 background-repeat: no-repeat
;
719 background-position: 35% 50% !important
;
720 text-decoration: none
;
724 ** the navigation portlet
732 #p-navigation .pBody
{
740 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
741 text-decoration: none
;
769 padding: .5em .4em .4em .4em;
774 ** the personal toolbar
795 #p-personal .portlet
,
804 /* this is the ul contained in the portlet */
809 padding: 0 2em 0 3em;
812 text-transform: lowercase
;
828 #p-personal li
.active
{
832 text-decoration: none
;
834 padding-bottom: .2em;
837 #p-personal li
a:hover
{
838 background-color: white
;
839 padding-bottom: .2em;
840 text-decoration: none
;
842 #p-personal li
.active
a:hover
{
843 background-color: transparent
;
845 /* the icon in front of the user name, single quotes
846 in bg url to hide it from iemac */
850 background: url
(user.gif) top left no-repeat
;
852 text-transform: none
;
856 ** the page-related actions- page/talk, edit etc
868 border-collapse: collapse
;
873 #p-cactions .hiddenStructure
{
881 border: 1px solid
#aaa;
888 #p-cactions li
.selected
{
889 border-color: #fabd23;
894 background-color: #fbfbfb;
897 padding: 0 .8em .3em;
898 text-decoration: none
;
899 text-transform: lowercase
;
904 #p-cactions li
.selected a
{
906 background-color: #fff;
907 padding: 0 1em .2em!important
;
912 #p-cactions li
a:hover
{
914 text-decoration: none
;
915 background-color: #fff;
920 #p-cactions li
.istalk
{
923 #p-cactions li
.istalk a
{
926 #p-cactions #ca-addsection a
{
930 /* offsets to distinguish the tab groups */
934 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
939 ** the remaining portlets
947 /* TODO: #t-iscite is only used by the Cite extension, come up with some
948 * system which allows extensions to add to this file on the fly
950 #t-ispermalink, #t-iscite
{
957 background-color: white
;
958 border-top: 1px solid
#fabd23;
959 border-bottom: 1px solid
#fabd23;
960 margin: .6em 0 1em 0;
961 padding: .4em 0 1.2em 0;
969 /* hide from incapable browsers */
970 head:first-child
+body #footer li
{ white-space: nowrap
; }
971 #f-poweredbyico, #f-copyrightico
{
974 top: -2px; /* Bump it up just a tad */
993 margin: 1px -2px 1px 2px;
995 padding: 2px 0 3px 0;
996 background-color: #f0f0f0;
998 border: 1px solid
#fff;
999 border-right-color: #716f64;
1002 white-space: nowrap
;
1003 list-style-type: none
;
1004 list-style-image: none
;
1007 #preftoc li
.selected
{
1009 background-color: #f9f9f9;
1010 border: 1px solid
#aaa;
1011 border-bottom: none
;
1017 #preftoc > li
.selected
{
1026 text-decoration: none
;
1028 #preftoc li
.selected a
{
1030 text-decoration: none
;
1038 border: 1px solid
#aaa;
1041 background-color: #F9F9F9;
1048 .prefsection fieldset {
1049 border: 1px solid
#aaa;
1053 .prefsection legend {
1056 .prefsection table, .prefsection legend {
1057 background-color: #F9F9F9;
1062 div
.prefsectiontip
{
1065 background-color: #FFC1C1;
1072 padding-right: .3em;
1075 .preferences-login {
1077 margin-bottom: 1.5em;
1085 div#userloginForm form
,
1086 div#userlogin form#userlogin2
{
1087 margin: 0 3em 1em 0;
1088 border: 1px solid
#aaa;
1091 background-color: #f9f9f9;
1095 div#userloginForm table
,
1096 div#userlogin form#userlogin2 table
{
1097 background-color: #f9f9f9;
1100 div#userloginForm h2
,
1101 div#userlogin form#userlogin2 h2
{
1105 div#userlogin
.captcha
{
1106 border: 1px solid
#bbb;
1109 background-color: white
;
1113 #userloginprompt, #languagelinks
{
1123 #userlogin .loginText
, #userlogin
.loginPassword
{
1127 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1132 ** IE/Mac fixes, hope to find a validating way to move this
1133 ** to a separate stylesheet. This would work but doesn't validate:
1134 ** @import("IEMacFixes.css");
1136 /* tabs: border on the a, not the div */
1137 * > html #p-cactions li
{ border: none
; }
1138 * > html #p-cactions li a
{
1139 border: 1px solid
#aaa;
1140 border-bottom: none
;
1142 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1143 /* footer icons need a fixed width */
1144 * > html #f-poweredbyico
,
1145 * > html #f-copyrightico
{ width: 88px; }
1146 * > html #bodyContent
,
1147 * > html #bodyContent pre
{
1150 padding-bottom: 25px;
1154 /* float/negative margin brokenness */
1155 * html #footer
{margin-top: 0;}
1156 * html #column-content
{
1160 * html div
.editsection
{ font-size: smaller
; }
1161 #pagehistory li
.selected
{ position: relative
; }
1163 /* Mac IE 5.0 fix; floated content turns invisible */
1164 * > html #column-content
{
1167 * > html #column-one
{
1173 margin-left: 13.2em;
1185 background-color: #ffa;
1191 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
1202 .sharedUploadNotice {
1206 span
.updatedmarker
{
1208 background-color: #0f0;
1210 span
.newpageletter
{
1213 background-color: yellow
;
1215 span
.minoreditletter
{
1217 background-color: #c5ffe6;
1221 border: 1px solid
#ccc;
1224 background-color: white
;
1228 vertical-align: top
;
1232 vertical-align: top
;
1233 background-color: #f9f9f9;
1234 border: solid
2px white
;
1237 table
.gallery td
.galleryheader
{
1247 div
.gallerybox div
.thumb
{
1249 border: 1px solid
#ccc;
1269 border-bottom: 1px solid
#aaa;
1270 padding-bottom: 1em;
1280 border: 1px solid gray
;
1281 background-color: #ffffff;
1288 .editExternallyHelp {
1293 li span
.deleted
, span
.history-deleted
{
1294 text-decoration: line-through
;
1304 /* Classes for EXIF data display */
1308 margin-bottom: 0.5em;
1312 table
.mw_metadata caption
{
1316 table
.mw_metadata th
{
1317 font-weight: normal
;
1320 table
.mw_metadata td
{
1326 border-collapse: collapse
;
1329 table
.mw_metadata td
, table
.mw_metadata th
{
1331 border: 1px solid
#aaaaaa;
1332 padding-left: 0.1em;
1333 padding-right: 0.1em;
1336 table
.mw_metadata th
{
1337 background-color: #f9f9f9;
1340 table
.mw_metadata td
{
1341 background-color: #fcfcfc;
1344 table
.collapsed tr
.collapsable
{
1352 border: 1px solid
#aaaaaa;
1353 background-color: #f9f9f9;
1356 margin-bottom: 0.5em;
1363 list-style-type: none
;
1372 input#wpSave
, input#wpDiff
{
1373 margin-right: 0.33em;
1376 #editform .editOptions
{
1384 /* Classes for article validation */
1386 table
.revisionform_default
{
1387 border: 1px solid
#000000;
1390 table
.revisionform_focus
{
1391 border: 1px solid
#000000;
1392 background-color:#00BBFF;
1395 tr
.revision_tr_default
{
1396 background-color:#EEEEEE;
1399 tr
.revision_tr_first
{
1400 background-color:#DDDDDD;
1409 border: solid
1px #bbbbff;
1410 background-color: #eeeeff;
1415 /* Allmessages table */
1417 #allmessagestable th
{
1418 background-color: #b2b2ff;
1421 #allmessagestable tr
.orig
{
1422 background-color: #ffe2e2;
1425 #allmessagestable tr
.new
{
1426 background-color: #e2ffe2;
1429 #allmessagestable tr
.def
{
1430 background-color: #f0f0ff;
1436 border: 1px solid
#ccc;
1442 div#searchTargetContainer
{
1452 background: #F0F0F0;
1453 border: solid
1px blue
;
1456 div#searchTarget ul li
{
1460 div#searchTarget ul
li:before
{
1462 content: "\00BB \0020";
1465 div
.multipageimagenavbox
{
1466 border: solid
1px silver
;
1469 -moz-border-radius: 6px;
1470 background: #f0f0f0;
1473 div
.multipageimagenavbox div
.thumb
{
1479 div
.multipageimagenavbox hr
{
1483 table
.multipageimage td
{
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: 0.15em solid
#777777;
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 }