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
; }
434 border: 1px solid
#ccc;
435 padding: 3px !important
;
436 background-color: #f9f9f9;
442 border: 1px solid
#ccc;
448 padding: 3px !important
;
453 border: none
!important
;
454 background: none
!important
;
456 div
.magnify a
, div
.magnify img
{
458 border: none
!important
;
459 background: none
!important
;
464 border-width: .5em 0 .8em 1.4em;
470 border-width: .5em 1.4em .8em 0;
478 vertical-align: middle
;
485 ** classes for special content elements like town boxes
486 ** intended to be referenced directly from the wiki src
492 /* table standards */
501 border: 1px solid
#aaa;
502 background-color: #f9f9f9;
511 border: 1px solid gray
;
527 margin: .1em 0 0 1.1em;
528 background-color: #f3f3f3;
540 /* Page history styling */
541 /* the auto-generated edit comments */
545 #pagehistory span
.user
{
549 #pagehistory span
.minor
{
553 border: 1px solid white
;
555 #pagehistory li
.selected
{
556 background-color: #f9f9f9;
557 border: 1px dashed
#aaa;
563 table
.diff
, td
.diff-otitle
, td
.diff-ntitle
{
564 background-color: white
;
570 td
.diff-deletedline
{
584 ** keep the whitespace in front of the ^=, hides rule from konqueror
585 ** this is css3, the validator doesn't like it when validating as css2
587 #bodyContent a
.external
,
588 #bodyContent a
[href ^
="gopher://"] {
589 background: url
(external.png) center right no-repeat
;
592 #bodyContent a
[href ^
="https://"],
594 background: url
(lock_icon.gif) center right no-repeat
;
597 #bodyContent a
[href ^
="mailto:"],
599 background: url
(mail_icon.gif) center right no-repeat
;
602 #bodyContent a
[href ^
="news://"] {
603 background: url
(news_icon.png) center right no-repeat
;
606 #bodyContent a
[href ^
="ftp://"],
608 background: url
(file_icon.gif) center right no-repeat
;
611 #bodyContent a
[href ^
="irc://"],
613 background: url
(discussionitem_icon.gif) center right no-repeat
;
616 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
617 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
618 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
619 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
620 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
621 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
623 background: url
("audio.png") center right no-repeat
;
626 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
627 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
628 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
629 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
631 background: url
("video.png") center right no-repeat
;
634 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
635 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
636 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
638 background: url
("document.png") center right no-repeat
;
642 /* disable interwiki styling */
643 #bodyContent a
.extiw
,
644 #bodyContent a
.extiw:active
{
649 #bodyContent a
.external
{
652 /* this can be used in the content area to switch off
653 special external link styling */
654 #bodyContent .plainlinks a
{
655 background: none
!important
;
656 padding: 0 !important
;
659 ** Structural Elements
663 ** general portlet styles (elements in the quickbar)
679 background: transparent
;
680 padding: 0 1em 0 .5em;
683 text-transform: lowercase
;
690 border: 1px solid
#2f6fab;
691 border-style: solid solid none solid
;
692 padding: 0 1em 0 1em;
693 text-transform: lowercase
;
702 background-color: white
;
704 border-collapse: collapse
;
705 border: 1px solid
#aaa;
706 padding: 0 .8em .3em .5em;
717 list-style-type: square
;
718 list-style-image: url
(bullet.gif);
732 position: absolute
; /*needed to use z-index */
747 background-repeat: no-repeat
;
748 background-position: 35% 50% !important
;
749 text-decoration: none
;
753 ** the navigation portlet
761 #p-navigation .pBody
{
769 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
770 text-decoration: none
;
798 padding: .5em .4em .4em .4em;
803 ** the personal toolbar
824 #p-personal .portlet
,
833 /* this is the ul contained in the portlet */
838 padding: 0 2em 0 3em;
841 text-transform: lowercase
;
857 #p-personal li
.active
{
861 text-decoration: none
;
863 padding-bottom: .2em;
866 #p-personal li
a:hover
{
867 background-color: white
;
868 padding-bottom: .2em;
869 text-decoration: none
;
871 #p-personal li
.active
a:hover
{
872 background-color: transparent
;
874 /* the icon in front of the user name, single quotes
875 in bg url to hide it from iemac */
879 background: url
(user.gif) top left no-repeat
;
881 text-transform: none
;
885 ** the page-related actions- page/talk, edit etc
897 border-collapse: collapse
;
902 #p-cactions .hiddenStructure
{
910 border: 1px solid
#aaa;
917 #p-cactions li
.selected
{
918 border-color: #fabd23;
923 background-color: #fbfbfb;
926 padding: 0 .8em .3em;
927 text-decoration: none
;
928 text-transform: lowercase
;
933 #p-cactions li
.selected a
{
935 background-color: #fff;
936 padding: 0 1em .2em!important
;
941 #p-cactions li
a:hover
{
943 text-decoration: none
;
944 background-color: #fff;
949 #p-cactions li
.istalk
{
952 #p-cactions li
.istalk a
{
955 #p-cactions #ca-addsection a
{
959 /* offsets to distinguish the tab groups */
963 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
968 ** the remaining portlets
976 /* TODO: #t-iscite is only used by the Cite extension, come up with some
977 * system which allows extensions to add to this file on the fly
979 #t-ispermalink, #t-iscite
{
986 background-color: white
;
987 border-top: 1px solid
#fabd23;
988 border-bottom: 1px solid
#fabd23;
989 margin: .6em 0 1em 0;
990 padding: .4em 0 1.2em 0;
998 /* hide from incapable browsers */
999 head:first-child
+body #footer li
{ white-space: nowrap
; }
1000 #f-poweredbyico, #f-copyrightico
{
1003 top: -2px; /* Bump it up just a tad */
1022 margin: 1px -2px 1px 2px;
1024 padding: 2px 0 3px 0;
1025 background-color: #f0f0f0;
1027 border: 1px solid
#fff;
1028 border-right-color: #716f64;
1031 white-space: nowrap
;
1032 list-style-type: none
;
1033 list-style-image: none
;
1036 #preftoc li
.selected
{
1038 background-color: #f9f9f9;
1039 border: 1px solid
#aaa;
1040 border-bottom: none
;
1046 #preftoc > li
.selected
{
1055 text-decoration: none
;
1057 #preftoc li
.selected a
{
1059 text-decoration: none
;
1067 border: 1px solid
#aaa;
1070 background-color: #F9F9F9;
1077 .prefsection fieldset {
1078 border: 1px solid
#aaa;
1082 .prefsection legend {
1085 .prefsection table, .prefsection legend {
1086 background-color: #F9F9F9;
1091 div
.prefsectiontip
{
1094 background-color: #FFC1C1;
1101 padding-right: .3em;
1104 .preferences-login {
1106 margin-bottom: 1.5em;
1114 div#userloginForm form
,
1115 div#userlogin form#userlogin2
{
1116 margin: 0 3em 1em 0;
1117 border: 1px solid
#aaa;
1120 background-color: #f9f9f9;
1124 div#userloginForm table
,
1125 div#userlogin form#userlogin2 table
{
1126 background-color: #f9f9f9;
1129 div#userloginForm h2
,
1130 div#userlogin form#userlogin2 h2
{
1134 div#userlogin
.captcha
{
1135 border: 1px solid
#bbb;
1138 background-color: white
;
1142 #userloginprompt, #languagelinks
{
1152 #userlogin .loginText
, #userlogin
.loginPassword
{
1156 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1161 ** IE/Mac fixes, hope to find a validating way to move this
1162 ** to a separate stylesheet. This would work but doesn't validate:
1163 ** @import("IEMacFixes.css");
1165 /* tabs: border on the a, not the div */
1166 * > html #p-cactions li
{ border: none
; }
1167 * > html #p-cactions li a
{
1168 border: 1px solid
#aaa;
1169 border-bottom: none
;
1171 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1172 /* footer icons need a fixed width */
1173 * > html #f-poweredbyico
,
1174 * > html #f-copyrightico
{ width: 88px; }
1175 * > html #bodyContent
,
1176 * > html #bodyContent pre
{
1179 padding-bottom: 25px;
1183 /* float/negative margin brokenness */
1184 * html #footer
{margin-top: 0;}
1185 * html #column-content
{
1189 * html div
.editsection
{ font-size: smaller
; }
1190 #pagehistory li
.selected
{ position: relative
; }
1192 /* Mac IE 5.0 fix; floated content turns invisible */
1193 * > html #column-content
{
1196 * > html #column-one
{
1202 margin-left: 13.2em;
1214 background-color: #ffa;
1220 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
1231 .sharedUploadNotice {
1235 span
.updatedmarker
{
1237 background-color: #0f0;
1239 span
.newpageletter
{
1242 background-color: yellow
;
1244 span
.minoreditletter
{
1246 background-color: #c5ffe6;
1250 border: 1px solid
#ccc;
1253 background-color: white
;
1257 vertical-align: top
;
1261 vertical-align: top
;
1262 background-color: #f9f9f9;
1263 border: solid
2px white
;
1266 table
.gallery td
.galleryheader
{
1276 div
.gallerybox div
.thumb
{
1278 border: 1px solid
#ccc;
1298 border-bottom: 1px solid
#aaa;
1299 padding-bottom: 1em;
1309 border: 1px solid gray
;
1310 background-color: #ffffff;
1317 .editExternallyHelp {
1322 li span
.deleted
, span
.history-deleted
{
1323 text-decoration: line-through
;
1333 /* Classes for EXIF data display */
1337 margin-bottom: 0.5em;
1341 table
.mw_metadata caption
{
1345 table
.mw_metadata th
{
1346 font-weight: normal
;
1349 table
.mw_metadata td
{
1355 border-collapse: collapse
;
1358 table
.mw_metadata td
, table
.mw_metadata th
{
1360 border: 1px solid
#aaaaaa;
1361 padding-left: 0.1em;
1362 padding-right: 0.1em;
1365 table
.mw_metadata th
{
1366 background-color: #f9f9f9;
1369 table
.mw_metadata td
{
1370 background-color: #fcfcfc;
1373 table
.collapsed tr
.collapsable
{
1381 border: 1px solid
#aaaaaa;
1382 background-color: #f9f9f9;
1385 margin-bottom: 0.5em;
1392 list-style-type: none
;
1401 input#wpSave
, input#wpDiff
{
1402 margin-right: 0.33em;
1405 #editform .editOptions
{
1413 /* Classes for article validation */
1415 table
.revisionform_default
{
1416 border: 1px solid
#000000;
1419 table
.revisionform_focus
{
1420 border: 1px solid
#000000;
1421 background-color:#00BBFF;
1424 tr
.revision_tr_default
{
1425 background-color:#EEEEEE;
1428 tr
.revision_tr_first
{
1429 background-color:#DDDDDD;
1438 border: solid
1px #bbbbff;
1439 background-color: #eeeeff;
1444 /* Allmessages table */
1446 #allmessagestable th
{
1447 background-color: #b2b2ff;
1450 #allmessagestable tr
.orig
{
1451 background-color: #ffe2e2;
1454 #allmessagestable tr
.new
{
1455 background-color: #e2ffe2;
1458 #allmessagestable tr
.def
{
1459 background-color: #f0f0ff;
1465 border: 1px solid
#ccc;
1471 div#searchTargetContainer
{
1481 background: #F0F0F0;
1482 border: solid
1px blue
;
1485 div#searchTarget ul li
{
1489 div#searchTarget ul
li:before
{
1491 content: "\00BB \0020";
1494 div
.multipageimagenavbox
{
1495 border: solid
1px silver
;
1498 -moz-border-radius: 6px;
1499 background: #f0f0f0;
1502 div
.multipageimagenavbox div
.thumb
{
1508 div
.multipageimagenavbox hr
{
1512 table
.multipageimage td
{
1517 Table pager (e.g. Special:Imagelist)
1518 - remove underlines from the navigation link
1520 - set the borders to outsets (similar to Special:Allmessages)
1521 - remove line wrapping for all td and th, set background color
1522 - restore line wrapping for the last two table cells (description and size)
1524 .TablePager_nav a { text-decoration: none
; }
1525 .TablePager { border-collapse: collapse
; }
1526 .TablePager, .TablePager td, .TablePager th {
1527 border: 0.15em solid
#777777;
1528 padding: 0 0.15em 0 0.15em;
1530 .TablePager th { background-color: #eeeeff }
1531 .TablePager td { background-color: #ffffff }
1532 .TablePager tr:hover td { background-color: #eeeeff }
1534 .imagelist td, .imagelist th { white-space: nowrap
}
1535 .imagelist .TablePager_col_links { background-color: #eeeeff }
1536 .imagelist .TablePager_col_img_description { white-space: normal
}
1537 .imagelist th.TablePager_sort { background-color: #ccccff }
1539 .templatesUsed { margin-top: 1.5em; }
1541 .mw-summary-preview {
1544 #toolbar { clear: both
; }
1546 .mw-plusminus-null { color: #aaa; }