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 :)
13 * Stylesheet for screen/projection. All rules not marked media-specific are
14 * shared with handheld.css and should be updated in tandem. The rules can't
15 * be in the same file because old browsers like IE5 won't obey @media rules.
17 * Rules that are screen/projection-specific are marked with commented-out
18 * @media rules and indentation.
21 /* @media screen, projection { */
25 margin: 0 0 .6em -12.2em;
29 margin: 2.8em 0 0 12.2em;
30 padding: 0 1em 1.5em 1em;
41 border: 1px solid
#aaa;
45 /* the left column width is specified in class .portlet */
48 ** We take advantage of keyword scaling- browsers won't go below 9px
49 ** More at http://www.w3.org/2003/07/30-font-size
50 ** http://style.cleverchimp.com/font_size_intervals/altintervals.html
54 font: x-small sans-serif
;
55 background: #f9f9f9 url
(headbg.jpg) 0 0 no-repeat
;
61 /* scale back up to a sane default */
77 /* we don't want the bottom borders of <h2>s to be visible through
79 background-color: white
;
82 text-decoration: none
;
93 text-decoration: underline
;
98 a
.new
, #p-personal a
.new
{
101 a
.new:visited
, #p-personal a
.new:visited
{
107 vertical-align: middle
;
109 /* @media screen, projection { */
111 margin: .4em 0 .5em 0;
122 background-color: #aaa;
124 margin: .2em 0 .2em 0;
127 h1
, h2
, h3
, h4
, h5
, h6
{
133 padding-bottom: .17em;
134 border-bottom: 1px solid
#aaa;
136 h1
{ font-size: 188%; }
137 h1
.editsection
{ font-size: 53%; }
138 h2
{ font-size: 150%; }
139 h2
.editsection
{ font-size: 67%; }
144 h3
{ font-size: 132%; }
145 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
146 h4
{ font-size: 116%; }
147 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
148 h5
{ font-size: 100%; }
149 h5
.editsection
{ font-weight: normal
; }
150 h6
{ font-size: 80%; }
151 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
160 list-style-type: square
;
161 margin: .3em 0 0 1.5em;
163 list-style-image: url
(bullet.gif);
167 margin: .3em 0 0 3.2em;
169 list-style-image: none
;
189 border: 1px solid
#2f6fab;
208 input
.historysubmit
{
209 padding: 0 .3em .3em .3em !important
;
212 height: 1.7em !important
;
218 abbr
, acronym
, .explain
{
219 border-bottom: 1px dotted black
;
225 font-family: Times
, "Times New Roman", serif
;
230 font-family: Times, "Times New Roman", serif;
234 background-color: #f9f9f9;
238 border: 1px dashed
#2f6fab;
240 background-color: #f9f9f9;
245 ** the main content area
248 /* @media screen, projection { */
257 #contentSub, #contentSub2
{
260 margin: 0 0 1.4em 1em;
268 /* Some space under the headers in the content area */
269 #bodyContent h1
, #bodyContent h2
{
272 #bodyContent h3
, #bodyContent h4
, #bodyContent h5
{
279 /* user notification thing */
281 background-color: #ffce7b;
282 border: 1px solid
#ffa500;
287 vertical-align: middle
;
302 .errorbox, .successbox {
312 background-color: #fff2f2;
316 background-color: #dfd;
318 .errorbox h2, .successbox h2 {
327 border: 1px solid
#aaa;
328 background-color: #f9f9f9;
333 /* currently unused, intended to be used by a metadata box
334 in the bottom-right corner of the content area */
335 .documentDescription {
336 /* The summary text describing the document */
359 /* small for tables and similar */
374 border: 1px solid
#aaa;
375 background-color: #f9f9f9;
395 list-style-type: none
;
396 list-style-image: none
;
417 div
.floatright
, table
.floatright
{
421 margin: 0 0 .5em .5em;
424 border: .5em solid white;
425 border-width: .5em 0 .8em 1.4em;
428 div
.floatright p
{ font-style: italic
; }
429 div
.floatleft
, table
.floatleft
{
433 margin: 0 .5em .5em 0;
436 margin: .3em .5em .5em 0;
437 border: .5em solid white;
438 border-width: .5em 1.4em .8em 0;
441 div
.floatleft p
{ font-style: italic
; }
450 border: 1px solid
#ccc;
451 padding: 3px !important
;
452 background-color: #f9f9f9;
458 border: 1px solid
#ccc;
464 padding: 3px !important
;
469 border: none
!important
;
470 background: none
!important
;
472 div
.magnify a
, div
.magnify img
{
474 border: none
!important
;
475 background: none
!important
;
480 border-width: .5em 0 .8em 1.4em;
486 border-width: .5em 1.4em .8em 0;
489 border: 1px solid
#dddddd;
496 vertical-align: middle
;
502 /* Have a checkered background on images on the description pages and in galleries
503 to make transparency visible
505 #file img, .gallerybox .thumb img {
506 background: url(Checker-16x16.png) repeat;
511 ** classes for special content elements like town boxes
512 ** intended to be referenced directly from the wiki src
518 /* table standards */
527 border: 1px solid
#aaa;
528 background-color: #f9f9f9;
537 border: 1px solid gray
;
553 margin: .1em 0 0 1.1em;
554 background-color: #f3f3f3;
566 /* Page history styling */
567 /* the auto-generated edit comments */
571 #pagehistory span
.user
{
575 #pagehistory span
.minor
{
579 border: 1px solid white
;
581 #pagehistory li
.selected
{
582 background-color: #f9f9f9;
583 border: 1px dashed
#aaa;
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);
733 /* @media screen, projection { */
737 position: absolute
; /*needed to use z-index */
751 background-repeat: no-repeat
;
752 background-position: 35% 50% !important
;
753 text-decoration: none
;
757 ** the navigation portlet
760 /* @media screen, projection { */
768 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
773 #p-navigation .pBody
{
777 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
778 text-decoration: none
;
786 /* @media screen, projection { */
807 padding: .5em .4em .4em .4em;
812 ** the personal toolbar
814 /* @media screen, projection { */
834 #p-personal .portlet
,
843 /* this is the ul contained in the portlet */
848 padding: 0 2em 0 3em;
867 text-decoration: none
;
869 padding-bottom: .2em;
872 #p-personal li
a:hover
{
873 background-color: white
;
874 padding-bottom: .2em;
875 text-decoration: none
;
877 #p-personal li
.active
a:hover
{
878 background-color: transparent
;
880 /* the icon in front of the user name, single quotes
881 in bg url to hide it from iemac */
885 background: url
(user.gif) top left no-repeat
;
887 text-transform: none
;
891 text-transform: lowercase
;
893 #p-personal li
.active
{
897 ** the page-related actions- page/talk, edit etc
899 /* @media screen, projection { */
910 border-collapse: collapse
;
920 border: 1px solid
#aaa;
927 #p-cactions li
.selected
{
928 border-color: #fabd23;
933 background-color: #fbfbfb;
936 padding: 0 .8em .3em;
940 text-decoration: none
;
942 #p-cactions li
.selected a
{
944 padding: 0 1em .2em!important
;
945 background-color: white
;
950 #p-cactions li
a:hover
{
952 text-decoration: none
;
953 background-color: white
;
958 #p-cactions li
.istalk
{
961 #p-cactions li
.istalk a
{
964 #p-cactions #ca-addsection a
{
968 /* offsets to distinguish the tab groups */
972 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
977 background-color: transparent
;
979 border-collapse: inherit
;
984 #p-cactions .hiddenStructure
{
988 text-transform: lowercase
;
992 ** the remaining portlets
994 /* @media screen, projection { */
1002 /* TODO: #t-iscite is only used by the Cite extension, come up with some
1003 * system which allows extensions to add to this file on the fly
1005 #t-ispermalink, #t-iscite
{
1012 background-color: white
;
1013 border-top: 1px solid
#fabd23;
1014 border-bottom: 1px solid
#fabd23;
1015 margin: .6em 0 1em 0;
1016 padding: .4em 0 1.2em 0;
1024 #f-poweredbyico, #f-copyrightico
{
1027 top: -2px; /* Bump it up just a tad */
1046 background-color: #f0f0f0;
1049 /* @media screen, projection { */
1051 margin: 1px -2px 1px 2px;
1053 padding: 2px 0 3px 0;
1054 border: 1px solid
#fff;
1055 border-right-color: #716f64;
1058 white-space: nowrap
;
1059 list-style-type: none
;
1060 list-style-image: none
;
1064 #preftoc li
.selected
{
1066 background-color: #f9f9f9;
1067 border: 1px solid
#aaa;
1068 border-bottom: none
;
1074 #preftoc > li
.selected
{
1083 text-decoration: none
;
1085 #preftoc li
.selected a
{
1087 text-decoration: none
;
1095 border: 1px solid
#aaa;
1098 background-color: #F9F9F9;
1105 .prefsection fieldset {
1106 border: 1px solid
#aaa;
1110 .prefsection legend {
1113 .prefsection table, .prefsection legend {
1114 background-color: #F9F9F9;
1116 /* @media screen, projection { */
1121 div
.prefsectiontip
{
1129 padding-right: .3em;
1132 .preferences-login {
1134 margin-bottom: 1.5em;
1142 div#userloginForm form
,
1143 div#userlogin form#userlogin2
{
1144 margin: 0 3em 1em 0;
1145 border: 1px solid
#aaa;
1148 background-color: #f9f9f9;
1152 div#userloginForm table
,
1153 div#userlogin form#userlogin2 table
{
1154 background-color: #f9f9f9;
1157 div#userloginForm h2
,
1158 div#userlogin form#userlogin2 h2
{
1162 div#userlogin
.captcha
,
1163 div#userloginForm
.captcha
{
1164 border: 1px solid
#bbb;
1166 background-color: white
;
1170 #userloginprompt, #languagelinks
{
1180 #userlogin .loginText
, #userlogin
.loginPassword
{
1184 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1188 /* @media screen, projection { */
1190 ** IE/Mac fixes, hope to find a validating way to move this
1191 ** to a separate stylesheet. This would work but doesn't validate:
1192 ** @import("IEMacFixes.css");
1194 /* tabs: border on the a, not the div */
1195 * > html #p-cactions li
{ border: none
; }
1196 * > html #p-cactions li a
{
1197 border: 1px solid
#aaa;
1198 border-bottom: none
;
1200 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1201 /* footer icons need a fixed width */
1202 * > html #f-poweredbyico
,
1203 * > html #f-copyrightico
{ width: 88px; }
1204 * > html #bodyContent
,
1205 * > html #bodyContent pre
{
1208 padding-bottom: 25px;
1213 /* float/negative margin brokenness */
1214 * html #footer
{margin-top: 0;}
1215 * html #column-content
{
1219 * html div
.editsection
{ font-size: smaller
; }
1220 #pagehistory li
.selected
{ position: relative
; }
1222 /* Mac IE 5.0 fix; floated content turns invisible */
1223 * > html #column-content
{
1226 * > html #column-one
{
1232 margin-left: 13.2em;
1244 background-color: #ffa;
1250 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
1261 .sharedUploadNotice {
1265 span
.updatedmarker
{
1267 background-color: #0f0;
1271 border: 1px solid
#ccc;
1274 background-color: white
;
1278 vertical-align: top
;
1282 vertical-align: top
;
1283 background-color: #f9f9f9;
1284 border: solid
2px white
;
1286 /* Keep this temporarily so that cached pages will display right */
1287 table
.gallery td
.galleryheader
{
1291 table
.gallery caption
{
1299 div
.gallerybox div
.thumb
{
1301 border: 1px solid
#ccc;
1322 border-bottom: 1px solid
#aaa;
1323 padding-bottom: 1em;
1333 border: 1px solid gray
;
1334 background-color: #ffffff;
1341 .editExternallyHelp {
1346 li span
.deleted
, span
.history-deleted
{
1347 text-decoration: line-through
;
1357 /* Classes for EXIF data display */
1361 margin-bottom: 0.5em;
1365 table
.mw_metadata caption
{
1369 table
.mw_metadata th
{
1370 font-weight: normal
;
1373 table
.mw_metadata td
{
1379 border-collapse: collapse
;
1382 table
.mw_metadata td
, table
.mw_metadata th
{
1384 border: 1px solid
#aaaaaa;
1385 padding-left: 0.1em;
1386 padding-right: 0.1em;
1389 table
.mw_metadata th
{
1390 background-color: #f9f9f9;
1393 table
.mw_metadata td
{
1394 background-color: #fcfcfc;
1397 table
.collapsed tr
.collapsable
{
1405 border: 1px solid
#aaaaaa;
1406 background-color: #f9f9f9;
1409 margin-bottom: 0.5em;
1416 list-style-type: none
;
1425 input#wpSave
, input#wpDiff
{
1426 margin-right: 0.33em;
1429 #editform .editOptions
{
1437 /* Classes for article validation */
1439 table
.revisionform_default
{
1440 border: 1px solid
#000000;
1443 table
.revisionform_focus
{
1444 border: 1px solid
#000000;
1445 background-color:#00BBFF;
1448 tr
.revision_tr_default
{
1449 background-color:#EEEEEE;
1452 tr
.revision_tr_first
{
1453 background-color:#DDDDDD;
1462 border: solid
1px #bbbbff;
1463 background-color: #eeeeff;
1468 /* Allmessages table */
1470 #allmessagestable th
{
1471 background-color: #b2b2ff;
1474 #allmessagestable tr
.orig
{
1475 background-color: #ffe2e2;
1478 #allmessagestable tr
.new
{
1479 background-color: #e2ffe2;
1482 #allmessagestable tr
.def
{
1483 background-color: #f0f0ff;
1489 border: 1px solid
#ccc;
1495 div#searchTargetContainer
{
1505 background: #F0F0F0;
1506 border: solid
1px blue
;
1509 div#searchTarget ul li
{
1513 div#searchTarget ul
li:before
{
1515 content: "\00BB \0020";
1518 div
.multipageimagenavbox
{
1519 border: solid
1px silver
;
1522 -moz-border-radius: 6px;
1523 background: #f0f0f0;
1526 div
.multipageimagenavbox div
.thumb
{
1532 div
.multipageimagenavbox hr
{
1536 table
.multipageimage td
{
1540 /** Special:Version */
1542 table#sv-ext
, table#sv-hooks
{
1547 #sv-ext td
, #sv-hooks td
,
1548 #sv-ext th
, #sv-hooks th
{
1549 border: 1px solid
#A0A0A0;
1550 padding: 0 0.15em 0 0.15em;
1552 #sv-ext th
, #sv-hooks th
{
1553 background-color: #F0F0F0;
1555 padding: 0 0.15em 0 0.15em;
1561 tr
.sv-space td
{ display: none
; }
1564 Table pager (e.g. Special:Imagelist)
1565 - remove underlines from the navigation link
1567 - set the borders to outsets (similar to Special:Allmessages)
1568 - remove line wrapping for all td and th, set background color
1569 - restore line wrapping for the last two table cells (description and size)
1571 .TablePager_nav a { text-decoration: none
; }
1572 .TablePager { border-collapse: collapse
; }
1573 .TablePager, .TablePager td, .TablePager th {
1574 border: 1px solid
#aaaaaa;
1575 padding: 0 0.15em 0 0.15em;
1577 .TablePager th { background-color: #eeeeff }
1578 .TablePager td { background-color: #ffffff }
1579 .TablePager tr:hover td { background-color: #eeeeff }
1581 .imagelist td, .imagelist th { white-space: nowrap
}
1582 .imagelist .TablePager_col_links { background-color: #eeeeff }
1583 .imagelist .TablePager_col_img_description { white-space: normal
}
1584 .imagelist th.TablePager_sort { background-color: #ccccff }
1586 .templatesUsed { margin-top: 1.5em; }
1588 .mw-summary-preview {
1592 /* Convenience links on Special:Ipblocklist */
1593 p
.mw-ipb-conveniencelinks
{
1598 /* Friendlier slave lag warnings */
1599 div
.mw-lag-warn-normal
,
1600 div
.mw-lag-warn-high
{
1606 div
.mw-lag-warn-normal
{
1607 border: 1px solid
#FFCC66;
1608 background-color: #FFFFCC;
1610 div
.mw-lag-warn-high
{
1612 border: 2px solid
#CC3333;
1613 background-color: #CC9999;
1616 /* Recreating-deleted-page warning and log entries */
1617 div#mw-recreate-deleted-warn
{
1620 border: 2px solid
#993333;
1622 div#mw-recreate-deleted-warn ul li
{
1625 div
.mw-recreate-deleted-control
{
1630 * Here is some stuff that's ACTUALLY COMMON TO ALL SKINS.
1631 * When the day comes, it can be moved to a *real* common.css.
1633 .mw-plusminus-null { color: #aaa; }
1634 .texvc { direction: ltr
; unicode-bidi: embed
; }
1635 /* Stop floats from intruding into edit area in previews */
1636 #toolbar, #wpTextbox1
{ clear: both
; }
1638 .MediaTransformError {
1639 background-color: #ccc;
1642 .MediaTransformError td {
1644 vertical-align: middle
;