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
{
417 margin: 0 .5em .5em 0;
420 margin: .3em .5em .5em 0;
421 border: .5em solid white;
422 border-width: .5em 1.4em .8em 0;
425 div
.floatleft p
{ font-style: italic
; }
435 border: 1px solid
#ccc;
436 padding: 3px !important
;
437 background-color: #f9f9f9;
444 border: 1px solid
#ccc;
446 div
.thumb div div
.thumbcaption
,
451 padding: 3px !important
;
456 border: none
!important
;
457 background: none
!important
;
459 div
.magnify a
, div
.magnify img
{
461 border: none
!important
;
462 background: none
!important
;
467 border-width: .5em 0 .8em 1.4em;
473 border-width: .5em 1.4em .8em 0;
481 vertical-align: middle
;
488 ** classes for special content elements like town boxes
489 ** intended to be referenced directly from the wiki src
495 /* table standards */
504 border: 1px solid
#aaa;
505 background-color: #f9f9f9;
514 border: 1px solid gray
;
530 margin: .1em 0 0 1.1em;
531 background-color: #f3f3f3;
543 /* Page history styling */
544 /* the auto-generated edit comments */
548 #pagehistory span
.user
{
552 #pagehistory span
.minor
{
556 border: 1px solid white
;
558 #pagehistory li
.selected
{
559 background-color: #f9f9f9;
560 border: 1px dashed
#aaa;
566 table
.diff
, td
.diff-otitle
, td
.diff-ntitle
{
567 background-color: white
;
573 td
.diff-deletedline
{
587 ** keep the whitespace in front of the ^=, hides rule from konqueror
588 ** this is css3, the validator doesn't like it when validating as css2
590 #bodyContent a
.external
,
591 #bodyContent a
[href ^
="gopher://"] {
592 background: url
(external.png) center right no-repeat
;
595 #bodyContent a
[href ^
="https://"],
597 background: url
(lock_icon.gif) center right no-repeat
;
600 #bodyContent a
[href ^
="mailto:"],
602 background: url
(mail_icon.gif) center right no-repeat
;
605 #bodyContent a
[href ^
="news://"] {
606 background: url
(news_icon.png) center right no-repeat
;
609 #bodyContent a
[href ^
="ftp://"],
611 background: url
(file_icon.gif) center right no-repeat
;
614 #bodyContent a
[href ^
="irc://"],
616 background: url
(discussionitem_icon.gif) center right no-repeat
;
619 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
620 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
621 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
622 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
623 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
624 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
626 background: url
("audio.png") center right no-repeat
;
629 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
630 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
631 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
632 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
634 background: url
("video.png") center right no-repeat
;
637 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
638 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
639 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
641 background: url
("document.png") center right no-repeat
;
645 /* disable interwiki styling */
646 #bodyContent a
.extiw
,
647 #bodyContent a
.extiw:active
{
652 #bodyContent a
.external
{
655 /* this can be used in the content area to switch off
656 special external link styling */
657 #bodyContent .plainlinks a
{
658 background: none
!important
;
659 padding: 0 !important
;
662 ** Structural Elements
666 ** general portlet styles (elements in the quickbar)
682 background: transparent
;
683 padding: 0 1em 0 .5em;
686 text-transform: lowercase
;
693 border: 1px solid
#2f6fab;
694 border-style: solid solid none solid
;
695 padding: 0 1em 0 1em;
696 text-transform: lowercase
;
705 background-color: white
;
707 border-collapse: collapse
;
708 border: 1px solid
#aaa;
709 padding: 0 .8em .3em .5em;
720 list-style-type: square
;
721 list-style-image: url
(bullet.gif);
735 position: absolute
; /*needed to use z-index */
750 background-repeat: no-repeat
;
751 background-position: 35% 50% !important
;
752 text-decoration: none
;
756 ** the navigation portlet
764 #p-navigation .pBody
{
772 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
773 text-decoration: none
;
801 padding: .5em .4em .4em .4em;
806 ** the personal toolbar
827 #p-personal .portlet
,
836 /* this is the ul contained in the portlet */
841 padding: 0 2em 0 3em;
844 text-transform: lowercase
;
860 #p-personal li
.active
{
864 text-decoration: none
;
866 padding-bottom: .2em;
869 #p-personal li
a:hover
{
870 background-color: white
;
871 padding-bottom: .2em;
872 text-decoration: none
;
874 #p-personal li
.active
a:hover
{
875 background-color: transparent
;
877 /* the icon in front of the user name, single quotes
878 in bg url to hide it from iemac */
882 background: url
(user.gif) top left no-repeat
;
884 text-transform: none
;
888 ** the page-related actions- page/talk, edit etc
900 border-collapse: collapse
;
905 #p-cactions .hiddenStructure
{
913 border: 1px solid
#aaa;
920 #p-cactions li
.selected
{
921 border-color: #fabd23;
926 background-color: #fbfbfb;
929 padding: 0 .8em .3em;
930 text-decoration: none
;
931 text-transform: lowercase
;
936 #p-cactions li
.selected a
{
938 background-color: #fff;
939 padding: 0 1em .2em!important
;
944 #p-cactions li
a:hover
{
946 text-decoration: none
;
947 background-color: #fff;
952 #p-cactions li
.istalk
{
955 #p-cactions li
.istalk a
{
958 #p-cactions #ca-addsection a
{
962 /* offsets to distinguish the tab groups */
966 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
971 ** the remaining portlets
979 /* TODO: #t-iscite is only used by the Cite extension, come up with some
980 * system which allows extensions to add to this file on the fly
982 #t-ispermalink, #t-iscite
{
989 background-color: white
;
990 border-top: 1px solid
#fabd23;
991 border-bottom: 1px solid
#fabd23;
992 margin: .6em 0 1em 0;
993 padding: .4em 0 1.2em 0;
1001 /* hide from incapable browsers */
1002 head:first-child
+body #footer li
{ white-space: nowrap
; }
1003 #f-poweredbyico, #f-copyrightico
{
1006 top: -2px; /* Bump it up just a tad */
1025 margin: 1px -2px 1px 2px;
1027 padding: 2px 0 3px 0;
1028 background-color: #f0f0f0;
1030 border: 1px solid
#fff;
1031 border-right-color: #716f64;
1034 white-space: nowrap
;
1035 list-style-type: none
;
1036 list-style-image: none
;
1039 #preftoc li
.selected
{
1041 background-color: #f9f9f9;
1042 border: 1px solid
#aaa;
1043 border-bottom: none
;
1049 #preftoc > li
.selected
{
1058 text-decoration: none
;
1060 #preftoc li
.selected a
{
1062 text-decoration: none
;
1070 border: 1px solid
#aaa;
1073 background-color: #F9F9F9;
1080 .prefsection fieldset {
1081 border: 1px solid
#aaa;
1085 .prefsection legend {
1088 .prefsection table, .prefsection legend {
1089 background-color: #F9F9F9;
1094 div
.prefsectiontip
{
1097 background-color: #FFC1C1;
1104 padding-right: .3em;
1107 .preferences-login {
1109 margin-bottom: 1.5em;
1117 div#userloginForm form
,
1118 div#userlogin form#userlogin2
{
1119 margin: 0 3em 1em 0;
1120 border: 1px solid
#aaa;
1123 background-color: #f9f9f9;
1127 div#userloginForm table
,
1128 div#userlogin form#userlogin2 table
{
1129 background-color: #f9f9f9;
1132 div#userloginForm h2
,
1133 div#userlogin form#userlogin2 h2
{
1137 div#userlogin
.captcha
{
1138 border: 1px solid
#bbb;
1141 background-color: white
;
1145 #userloginprompt, #languagelinks
{
1155 #userlogin .loginText
, #userlogin
.loginPassword
{
1159 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1164 ** IE/Mac fixes, hope to find a validating way to move this
1165 ** to a separate stylesheet. This would work but doesn't validate:
1166 ** @import("IEMacFixes.css");
1168 /* tabs: border on the a, not the div */
1169 * > html #p-cactions li
{ border: none
; }
1170 * > html #p-cactions li a
{
1171 border: 1px solid
#aaa;
1172 border-bottom: none
;
1174 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1175 /* footer icons need a fixed width */
1176 * > html #f-poweredbyico
,
1177 * > html #f-copyrightico
{ width: 88px; }
1178 * > html #bodyContent
,
1179 * > html #bodyContent pre
{
1182 padding-bottom: 25px;
1186 /* float/negative margin brokenness */
1187 * html #footer
{margin-top: 0;}
1188 * html #column-content
{
1192 * html div
.editsection
{ font-size: smaller
; }
1193 #pagehistory li
.selected
{ position: relative
; }
1195 /* Mac IE 5.0 fix; floated content turns invisible */
1196 * > html #column-content
{
1199 * > html #column-one
{
1205 margin-left: 13.2em;
1217 background-color: #ffa;
1223 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
1234 .sharedUploadNotice {
1238 span
.updatedmarker
{
1240 background-color: #0f0;
1242 span
.newpageletter
{
1245 background-color: yellow
;
1247 span
.minoreditletter
{
1249 background-color: #c5ffe6;
1253 border: 1px solid
#ccc;
1256 background-color: white
;
1260 vertical-align: top
;
1264 vertical-align: top
;
1265 background-color: #f9f9f9;
1266 border: solid
2px white
;
1269 table
.gallery td
.galleryheader
{
1279 div
.gallerybox div
.thumb
{
1281 border: 1px solid
#ccc;
1301 border-bottom: 1px solid
#aaa;
1302 padding-bottom: 1em;
1312 border: 1px solid gray
;
1313 background-color: #ffffff;
1320 .editExternallyHelp {
1325 li span
.deleted
, span
.history-deleted
{
1326 text-decoration: line-through
;
1336 /* Classes for EXIF data display */
1340 margin-bottom: 0.5em;
1344 table
.mw_metadata caption
{
1348 table
.mw_metadata th
{
1349 font-weight: normal
;
1352 table
.mw_metadata td
{
1358 border-collapse: collapse
;
1361 table
.mw_metadata td
, table
.mw_metadata th
{
1363 border: 1px solid
#aaaaaa;
1364 padding-left: 0.1em;
1365 padding-right: 0.1em;
1368 table
.mw_metadata th
{
1369 background-color: #f9f9f9;
1372 table
.mw_metadata td
{
1373 background-color: #fcfcfc;
1376 table
.collapsed tr
.collapsable
{
1384 border: 1px solid
#aaaaaa;
1385 background-color: #f9f9f9;
1388 margin-bottom: 0.5em;
1395 list-style-type: none
;
1404 input#wpSave
, input#wpDiff
{
1405 margin-right: 0.33em;
1408 #editform .editOptions
{
1416 /* Classes for article validation */
1418 table
.revisionform_default
{
1419 border: 1px solid
#000000;
1422 table
.revisionform_focus
{
1423 border: 1px solid
#000000;
1424 background-color:#00BBFF;
1427 tr
.revision_tr_default
{
1428 background-color:#EEEEEE;
1431 tr
.revision_tr_first
{
1432 background-color:#DDDDDD;
1441 border: solid
1px #bbbbff;
1442 background-color: #eeeeff;
1447 /* Allmessages table */
1449 #allmessagestable th
{
1450 background-color: #b2b2ff;
1453 #allmessagestable tr
.orig
{
1454 background-color: #ffe2e2;
1457 #allmessagestable tr
.new
{
1458 background-color: #e2ffe2;
1461 #allmessagestable tr
.def
{
1462 background-color: #f0f0ff;
1468 border: 1px solid
#ccc;
1474 div#searchTargetContainer
{
1484 background: #F0F0F0;
1485 border: solid
1px blue
;
1488 div#searchTarget ul li
{
1492 div#searchTarget ul
li:before
{
1494 content: "\00BB \0020";
1497 div
.multipageimagenavbox
{
1498 border: solid
1px silver
;
1501 -moz-border-radius: 6px;
1502 background: #f0f0f0;
1505 div
.multipageimagenavbox div
.thumb
{
1511 div
.multipageimagenavbox hr
{
1515 table
.multipageimage td
{
1520 Table pager (e.g. Special:Imagelist)
1521 - remove underlines from the navigation link
1523 - set the borders to outsets (similar to Special:Allmessages)
1524 - remove line wrapping for all td and th, set background color
1525 - restore line wrapping for the last two table cells (description and size)
1527 .TablePager_nav a { text-decoration: none
; }
1528 .TablePager { border-collapse: collapse
; }
1529 .TablePager, .TablePager td, .TablePager th {
1530 border: 0.15em solid
#777777;
1531 padding: 0 0.15em 0 0.15em;
1533 .TablePager th { background-color: #eeeeff }
1534 .TablePager td { background-color: #ffffff }
1535 .TablePager tr:hover td { background-color: #eeeeff }
1537 .imagelist td, .imagelist th { white-space: nowrap
}
1538 .imagelist .TablePager_col_links { background-color: #eeeeff }
1539 .imagelist .TablePager_col_img_description { white-space: normal
}
1540 .imagelist th.TablePager_sort { background-color: #ccccff }
1542 .templatesUsed { margin-top: 1.5em; }
1544 .mw-summary-preview {
1547 #toolbar { clear: both
; }
1549 .mw-plusminus-bold { font-weight: bold
; }
1550 .mw-plusminus-pos { font-weight: normal
; }
1551 .mw-plusminus-null { color: #aaa; }
1552 .mw-plusminus-neg { font-weight: normal
; }