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 :)
12 @media screen
, projection
{
16 margin: 0 0 .6em -12.2em;
20 margin: 2.8em 0 0 12.2em;
21 padding: 0 1em 1.5em 1em;
32 border: 1px solid
#aaa;
36 /* the left column width is specified in class .portlet */
39 ** We take advantage of keyword scaling- browsers won't go below 9px
40 ** More at http://www.w3.org/2003/07/30-font-size
41 ** http://style.cleverchimp.com/font_size_intervals/altintervals.html
45 font: x-small sans-serif
;
46 background: #f9f9f9 url
(headbg.jpg) 0 0 no-repeat
;
52 /* scale back up to a sane default */
68 /* we don't want the bottom borders of <h2>s to be visible through
70 background-color: white
;
73 text-decoration: none
;
84 text-decoration: underline
;
89 a
.new
, #p-personal a
.new
{
92 a
.new:visited
, #p-personal a
.new:visited
{
98 vertical-align: middle
;
100 @media screen
, projection
{
102 margin: .4em 0 .5em 0;
113 background-color: #aaa;
115 margin: .2em 0 .2em 0;
118 h1
, h2
, h3
, h4
, h5
, h6
{
124 padding-bottom: .17em;
125 border-bottom: 1px solid
#aaa;
127 h1
{ font-size: 188%; }
128 h1
.editsection
{ font-size: 53%; }
129 h2
{ font-size: 150%; }
130 h2
.editsection
{ font-size: 67%; }
135 h3
{ font-size: 132%; }
136 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
137 h4
{ font-size: 116%; }
138 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
139 h5
{ font-size: 100%; }
140 h5
.editsection
{ font-weight: normal
; }
141 h6
{ font-size: 80%; }
142 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
151 list-style-type: square
;
152 margin: .3em 0 0 1.5em;
154 list-style-image: url
(bullet.gif);
158 margin: .3em 0 0 3.2em;
160 list-style-image: none
;
180 border: 1px solid
#2f6fab;
199 input
.historysubmit
{
200 padding: 0 .3em .3em .3em !important
;
203 height: 1.7em !important
;
209 abbr
, acronym
, .explain
{
210 border-bottom: 1px dotted black
;
216 font-family: Times
, "Times New Roman", serif
;
221 font-family: Times, "Times New Roman", serif;
225 background-color: #f9f9f9;
229 border: 1px dashed
#2f6fab;
231 background-color: #f9f9f9;
236 ** the main content area
239 @media screen
, projection
{
248 #contentSub, #contentSub2
{
251 margin: 0 0 1.4em 1em;
259 /* Some space under the headers in the content area */
260 #bodyContent h1
, #bodyContent h2
{
263 #bodyContent h3
, #bodyContent h4
, #bodyContent h5
{
270 /* user notification thing */
272 background-color: #ffce7b;
273 border: 1px solid
#ffa500;
278 vertical-align: middle
;
293 .errorbox, .successbox {
303 background-color: #fff2f2;
307 background-color: #dfd;
309 .errorbox h2, .successbox h2 {
318 border: 1px solid
#aaa;
319 background-color: #f9f9f9;
324 /* currently unused, intended to be used by a metadata box
325 in the bottom-right corner of the content area */
326 .documentDescription {
327 /* The summary text describing the document */
350 /* small for tables and similar */
365 border: 1px solid
#aaa;
366 background-color: #f9f9f9;
386 list-style-type: none
;
387 list-style-image: none
;
408 div
.floatright
, table
.floatright
{
412 margin: 0 0 .5em .5em;
415 border: .5em solid white;
416 border-width: .5em 0 .8em 1.4em;
419 div
.floatright p
{ font-style: italic
; }
420 div
.floatleft
, table
.floatleft
{
424 margin: 0 .5em .5em 0;
427 margin: .3em .5em .5em 0;
428 border: .5em solid white;
429 border-width: .5em 1.4em .8em 0;
432 div
.floatleft p
{ font-style: italic
; }
441 border: 1px solid
#ccc;
442 padding: 3px !important
;
443 background-color: #f9f9f9;
449 border: 1px solid
#ccc;
455 padding: 3px !important
;
460 border: none
!important
;
461 background: none
!important
;
463 div
.magnify a
, div
.magnify img
{
465 border: none
!important
;
466 background: none
!important
;
471 border-width: .5em 0 .8em 1.4em;
477 border-width: .5em 1.4em .8em 0;
485 vertical-align: middle
;
492 ** classes for special content elements like town boxes
493 ** intended to be referenced directly from the wiki src
499 /* table standards */
508 border: 1px solid
#aaa;
509 background-color: #f9f9f9;
518 border: 1px solid gray
;
534 margin: .1em 0 0 1.1em;
535 background-color: #f3f3f3;
547 /* Page history styling */
548 /* the auto-generated edit comments */
552 #pagehistory span
.user
{
556 #pagehistory span
.minor
{
560 border: 1px solid white
;
562 #pagehistory li
.selected
{
563 background-color: #f9f9f9;
564 border: 1px dashed
#aaa;
570 table
.diff
, td
.diff-otitle
, td
.diff-ntitle
{
571 background-color: white
;
577 td
.diff-deletedline
{
591 ** keep the whitespace in front of the ^=, hides rule from konqueror
592 ** this is css3, the validator doesn't like it when validating as css2
594 #bodyContent a
.external
,
595 #bodyContent a
[href ^
="gopher://"] {
596 background: url
(external.png) center right no-repeat
;
599 #bodyContent a
[href ^
="https://"],
601 background: url
(lock_icon.gif) center right no-repeat
;
604 #bodyContent a
[href ^
="mailto:"],
606 background: url
(mail_icon.gif) center right no-repeat
;
609 #bodyContent a
[href ^
="news://"] {
610 background: url
(news_icon.png) center right no-repeat
;
613 #bodyContent a
[href ^
="ftp://"],
615 background: url
(file_icon.gif) center right no-repeat
;
618 #bodyContent a
[href ^
="irc://"],
620 background: url
(discussionitem_icon.gif) center right no-repeat
;
623 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
624 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
625 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
626 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
627 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
628 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
630 background: url
("audio.png") center right no-repeat
;
633 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
634 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
635 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
636 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
638 background: url
("video.png") center right no-repeat
;
641 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
642 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
643 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
645 background: url
("document.png") center right no-repeat
;
649 /* disable interwiki styling */
650 #bodyContent a
.extiw
,
651 #bodyContent a
.extiw:active
{
656 #bodyContent a
.external
{
659 /* this can be used in the content area to switch off
660 special external link styling */
661 #bodyContent .plainlinks a
{
662 background: none
!important
;
663 padding: 0 !important
;
666 ** Structural Elements
670 ** general portlet styles (elements in the quickbar)
686 background: transparent
;
687 padding: 0 1em 0 .5em;
690 text-transform: lowercase
;
697 border: 1px solid
#2f6fab;
698 border-style: solid solid none solid
;
699 padding: 0 1em 0 1em;
700 text-transform: lowercase
;
709 background-color: white
;
711 border-collapse: collapse
;
712 border: 1px solid
#aaa;
713 padding: 0 .8em .3em .5em;
724 list-style-type: square
;
725 list-style-image: url
(bullet.gif);
738 #p-logo { display: none
}
744 position: absolute
; /*needed to use z-index */
758 background-repeat: no-repeat
;
759 background-position: 35% 50% !important
;
760 text-decoration: none
;
764 ** the navigation portlet
767 @media screen
, projection
{
775 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
780 #p-navigation .pBody
{
784 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
785 text-decoration: none
;
793 @media screen
, projection
{
814 padding: .5em .4em .4em .4em;
819 ** the personal toolbar
821 @media screen
, projection
{
841 #p-personal .portlet
,
850 /* this is the ul contained in the portlet */
855 padding: 0 2em 0 3em;
874 text-decoration: none
;
876 padding-bottom: .2em;
879 #p-personal li
a:hover
{
880 background-color: white
;
881 padding-bottom: .2em;
882 text-decoration: none
;
884 #p-personal li
.active
a:hover
{
885 background-color: transparent
;
887 /* the icon in front of the user name, single quotes
888 in bg url to hide it from iemac */
892 background: url
(user.gif) top left no-repeat
;
894 text-transform: none
;
898 text-transform: lowercase
;
900 #p-personal li
.active
{
904 ** the page-related actions- page/talk, edit etc
906 @media screen
, projection
{
917 border-collapse: collapse
;
927 border: 1px solid
#aaa;
934 #p-cactions li
.selected
{
935 border-color: #fabd23;
940 background-color: #fbfbfb;
943 padding: 0 .8em .3em;
947 text-decoration: none
;
949 #p-cactions li
.selected a
{
951 padding: 0 1em .2em!important
;
952 background-color: white
;
957 #p-cactions li
a:hover
{
959 text-decoration: none
;
960 background-color: white
;
965 #p-cactions li
.istalk
{
968 #p-cactions li
.istalk a
{
971 #p-cactions #ca-addsection a
{
975 /* offsets to distinguish the tab groups */
979 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
984 background-color: transparent
;
986 border-collapse: inherit
;
991 #p-cactions .hiddenStructure
{
995 text-transform: lowercase
;
999 ** the remaining portlets
1001 @media screen
, projection
{
1009 /* TODO: #t-iscite is only used by the Cite extension, come up with some
1010 * system which allows extensions to add to this file on the fly
1012 #t-ispermalink, #t-iscite
{
1019 background-color: white
;
1020 border-top: 1px solid
#fabd23;
1021 border-bottom: 1px solid
#fabd23;
1022 margin: .6em 0 1em 0;
1023 padding: .4em 0 1.2em 0;
1031 /* hide from incapable browsers */
1032 head:first-child
+body #footer li
{ white-space: nowrap
; }
1033 #f-poweredbyico, #f-copyrightico
{
1036 top: -2px; /* Bump it up just a tad */
1055 background-color: #f0f0f0;
1058 @media screen
, projection
{
1060 margin: 1px -2px 1px 2px;
1062 padding: 2px 0 3px 0;
1063 border: 1px solid
#fff;
1064 border-right-color: #716f64;
1067 white-space: nowrap
;
1068 list-style-type: none
;
1069 list-style-image: none
;
1073 #preftoc li
.selected
{
1075 background-color: #f9f9f9;
1076 border: 1px solid
#aaa;
1077 border-bottom: none
;
1083 #preftoc > li
.selected
{
1092 text-decoration: none
;
1094 #preftoc li
.selected a
{
1096 text-decoration: none
;
1104 border: 1px solid
#aaa;
1107 background-color: #F9F9F9;
1114 .prefsection fieldset {
1115 border: 1px solid
#aaa;
1119 .prefsection legend {
1122 .prefsection table, .prefsection legend {
1123 background-color: #F9F9F9;
1125 @media screen
, projection
{
1130 div
.prefsectiontip
{
1133 background-color: #FFC1C1;
1140 padding-right: .3em;
1143 .preferences-login {
1145 margin-bottom: 1.5em;
1153 div#userloginForm form
,
1154 div#userlogin form#userlogin2
{
1155 margin: 0 3em 1em 0;
1156 border: 1px solid
#aaa;
1159 background-color: #f9f9f9;
1163 div#userloginForm table
,
1164 div#userlogin form#userlogin2 table
{
1165 background-color: #f9f9f9;
1168 div#userloginForm h2
,
1169 div#userlogin form#userlogin2 h2
{
1173 div#userlogin
.captcha
{
1174 border: 1px solid
#bbb;
1177 background-color: white
;
1181 #userloginprompt, #languagelinks
{
1191 #userlogin .loginText
, #userlogin
.loginPassword
{
1195 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1200 ** IE/Mac fixes, hope to find a validating way to move this
1201 ** to a separate stylesheet. This would work but doesn't validate:
1202 ** @import("IEMacFixes.css");
1204 /* tabs: border on the a, not the div */
1205 @media screen
, projection
{
1206 * > html #p-cactions li
{ border: none
; }
1207 * > html #p-cactions li a
{
1208 border: 1px solid
#aaa;
1209 border-bottom: none
;
1211 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1212 /* footer icons need a fixed width */
1213 * > html #f-poweredbyico
,
1214 * > html #f-copyrightico
{ width: 88px; }
1215 * > html #bodyContent
,
1216 * > html #bodyContent pre
{
1219 padding-bottom: 25px;
1224 /* float/negative margin brokenness */
1225 * html #footer
{margin-top: 0;}
1226 * html #column-content
{
1230 * html div
.editsection
{ font-size: smaller
; }
1231 #pagehistory li
.selected
{ position: relative
; }
1233 /* Mac IE 5.0 fix; floated content turns invisible */
1234 * > html #column-content
{
1237 * > html #column-one
{
1243 margin-left: 13.2em;
1255 background-color: #ffa;
1261 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
1272 .sharedUploadNotice {
1276 span
.updatedmarker
{
1278 background-color: #0f0;
1280 span
.newpageletter
{
1283 background-color: yellow
;
1285 span
.minoreditletter
{
1287 background-color: #c5ffe6;
1291 border: 1px solid
#ccc;
1294 background-color: white
;
1298 vertical-align: top
;
1302 vertical-align: top
;
1303 background-color: #f9f9f9;
1304 border: solid
2px white
;
1307 table
.gallery td
.galleryheader
{
1317 div
.gallerybox div
.thumb
{
1319 border: 1px solid
#ccc;
1339 border-bottom: 1px solid
#aaa;
1340 padding-bottom: 1em;
1350 border: 1px solid gray
;
1351 background-color: #ffffff;
1358 .editExternallyHelp {
1363 li span
.deleted
, span
.history-deleted
{
1364 text-decoration: line-through
;
1374 /* Classes for EXIF data display */
1378 margin-bottom: 0.5em;
1382 table
.mw_metadata caption
{
1386 table
.mw_metadata th
{
1387 font-weight: normal
;
1390 table
.mw_metadata td
{
1396 border-collapse: collapse
;
1399 table
.mw_metadata td
, table
.mw_metadata th
{
1401 border: 1px solid
#aaaaaa;
1402 padding-left: 0.1em;
1403 padding-right: 0.1em;
1406 table
.mw_metadata th
{
1407 background-color: #f9f9f9;
1410 table
.mw_metadata td
{
1411 background-color: #fcfcfc;
1414 table
.collapsed tr
.collapsable
{
1422 border: 1px solid
#aaaaaa;
1423 background-color: #f9f9f9;
1426 margin-bottom: 0.5em;
1433 list-style-type: none
;
1442 input#wpSave
, input#wpDiff
{
1443 margin-right: 0.33em;
1446 #editform .editOptions
{
1454 /* Classes for article validation */
1456 table
.revisionform_default
{
1457 border: 1px solid
#000000;
1460 table
.revisionform_focus
{
1461 border: 1px solid
#000000;
1462 background-color:#00BBFF;
1465 tr
.revision_tr_default
{
1466 background-color:#EEEEEE;
1469 tr
.revision_tr_first
{
1470 background-color:#DDDDDD;
1479 border: solid
1px #bbbbff;
1480 background-color: #eeeeff;
1485 /* Allmessages table */
1487 #allmessagestable th
{
1488 background-color: #b2b2ff;
1491 #allmessagestable tr
.orig
{
1492 background-color: #ffe2e2;
1495 #allmessagestable tr
.new
{
1496 background-color: #e2ffe2;
1499 #allmessagestable tr
.def
{
1500 background-color: #f0f0ff;
1506 border: 1px solid
#ccc;
1512 div#searchTargetContainer
{
1522 background: #F0F0F0;
1523 border: solid
1px blue
;
1526 div#searchTarget ul li
{
1530 div#searchTarget ul
li:before
{
1532 content: "\00BB \0020";
1535 div
.multipageimagenavbox
{
1536 border: solid
1px silver
;
1539 -moz-border-radius: 6px;
1540 background: #f0f0f0;
1543 div
.multipageimagenavbox div
.thumb
{
1549 div
.multipageimagenavbox hr
{
1553 table
.multipageimage td
{
1557 /** Special:Version */
1559 table#sv-ext
, table#sv-hooks
{
1564 #sv-ext td
, #sv-hooks td
,
1565 #sv-ext th
, #sv-hooks th
{
1566 border: 1px solid
#A0A0A0;
1567 padding: 0 0.15em 0 0.15em;
1569 #sv-ext th
, #sv-hooks th
{
1570 background-color: #F0F0F0;
1572 padding: 0 0.15em 0 0.15em;
1578 tr
.sv-space td
{ display: none
; }
1581 Table pager (e.g. Special:Imagelist)
1582 - remove underlines from the navigation link
1584 - set the borders to outsets (similar to Special:Allmessages)
1585 - remove line wrapping for all td and th, set background color
1586 - restore line wrapping for the last two table cells (description and size)
1588 .TablePager_nav a { text-decoration: none
; }
1589 .TablePager { border-collapse: collapse
; }
1590 .TablePager, .TablePager td, .TablePager th {
1591 border: 0.15em solid
#777777;
1592 padding: 0 0.15em 0 0.15em;
1594 .TablePager th { background-color: #eeeeff }
1595 .TablePager td { background-color: #ffffff }
1596 .TablePager tr:hover td { background-color: #eeeeff }
1598 .imagelist td, .imagelist th { white-space: nowrap
}
1599 .imagelist .TablePager_col_links { background-color: #eeeeff }
1600 .imagelist .TablePager_col_img_description { white-space: normal
}
1601 .imagelist th.TablePager_sort { background-color: #ccccff }
1603 .templatesUsed { margin-top: 1.5em; }
1605 .mw-summary-preview {
1608 #toolbar { clear: both
; }
1610 .mw-plusminus-null { color: #aaa; }
1614 /* Kill big bulky stuff that will clog up the screen */