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
;
96 span
.mw-stub-example
{
99 a
.new
, #p-personal a
.new
{
102 a
.new:visited
, #p-personal a
.new:visited
{
108 vertical-align: middle
;
110 /* @media screen, projection { */
112 margin: .4em 0 .5em 0;
123 background-color: #aaa;
125 margin: .2em 0 .2em 0;
128 h1
, h2
, h3
, h4
, h5
, h6
{
134 padding-bottom: .17em;
135 border-bottom: 1px solid
#aaa;
137 h1
{ font-size: 188%; }
138 h1
.editsection
{ font-size: 53%; }
139 h2
{ font-size: 150%; }
140 h2
.editsection
{ font-size: 67%; }
145 h3
{ font-size: 132%; }
146 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
147 h4
{ font-size: 116%; }
148 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
149 h5
{ font-size: 100%; }
150 h5
.editsection
{ font-weight: normal
; }
151 h6
{ font-size: 80%; }
152 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
161 list-style-type: square
;
162 margin: .3em 0 0 1.5em;
164 list-style-image: url
(bullet.gif);
168 margin: .3em 0 0 3.2em;
170 list-style-image: none
;
190 border: 1px solid
#2f6fab;
209 input
.historysubmit
{
210 padding: 0 .3em .3em .3em !important
;
213 height: 1.7em !important
;
219 abbr
, acronym
, .explain
{
220 border-bottom: 1px dotted black
;
226 font-family: Times
, "Times New Roman", serif
;
231 font-family: Times, "Times New Roman", serif;
235 background-color: #f9f9f9;
239 border: 1px dashed
#2f6fab;
241 background-color: #f9f9f9;
246 ** the main content area
249 /* @media screen, projection { */
258 #contentSub, #contentSub2
{
261 margin: 0 0 1.4em 1em;
269 /* Some space under the headers in the content area */
270 #bodyContent h1
, #bodyContent h2
{
273 #bodyContent h3
, #bodyContent h4
, #bodyContent h5
{
280 /* user notification thing */
282 background-color: #ffce7b;
283 border: 1px solid
#ffa500;
288 vertical-align: middle
;
303 .errorbox, .successbox {
313 background-color: #fff2f2;
317 background-color: #dfd;
319 .errorbox h2, .successbox h2 {
328 border: 1px solid
#aaa;
329 background-color: #f9f9f9;
334 /* currently unused, intended to be used by a metadata box
335 in the bottom-right corner of the content area */
336 .documentDescription {
337 /* The summary text describing the document */
360 /* small for tables and similar */
375 border: 1px solid
#aaa;
376 background-color: #f9f9f9;
396 list-style-type: none
;
397 list-style-image: none
;
418 div
.floatright
, table
.floatright
{
422 margin: 0 0 .5em .5em;
425 border: .5em solid white;
426 border-width: .5em 0 .8em 1.4em;
429 div
.floatright p
{ font-style: italic
; }
430 div
.floatleft
, table
.floatleft
{
434 margin: 0 .5em .5em 0;
437 margin: .3em .5em .5em 0;
438 border: .5em solid white;
439 border-width: .5em 1.4em .8em 0;
442 div
.floatleft p
{ font-style: italic
; }
451 border: 1px solid
#ccc;
452 padding: 3px !important
;
453 background-color: #f9f9f9;
459 border: 1px solid
#ccc;
465 padding: 3px !important
;
470 border: none
!important
;
471 background: none
!important
;
473 div
.magnify a
, div
.magnify img
{
475 border: none
!important
;
476 background: none
!important
;
481 border-width: .5em 0 .8em 1.4em;
487 border-width: .5em 1.4em .8em 0;
495 vertical-align: middle
;
501 /* Have a checkered background on images on the description pages and in galleries
502 to make transparency visible
504 #file img, .gallerybox .thumb img {
505 background: url(Checker-16x16.png) repeat;
510 ** classes for special content elements like town boxes
511 ** intended to be referenced directly from the wiki src
517 /* table standards */
526 border: 1px solid
#aaa;
527 background-color: #f9f9f9;
536 border: 1px solid gray
;
552 margin: .1em 0 0 1.1em;
553 background-color: #f3f3f3;
565 /* Page history styling */
566 /* the auto-generated edit comments */
570 #pagehistory span
.user
{
574 #pagehistory span
.minor
{
578 border: 1px solid white
;
580 #pagehistory li
.selected
{
581 background-color: #f9f9f9;
582 border: 1px dashed
#aaa;
586 ** keep the whitespace in front of the ^=, hides rule from konqueror
587 ** this is css3, the validator doesn't like it when validating as css2
589 #bodyContent a
.external
,
590 #bodyContent a
[href ^
="gopher://"] {
591 background: url
(external.png) center right no-repeat
;
594 #bodyContent a
[href ^
="https://"],
596 background: url
(lock_icon.gif) center right no-repeat
;
599 #bodyContent a
[href ^
="mailto:"],
601 background: url
(mail_icon.gif) center right no-repeat
;
604 #bodyContent a
[href ^
="news://"] {
605 background: url
(news_icon.png) center right no-repeat
;
608 #bodyContent a
[href ^
="ftp://"],
610 background: url
(file_icon.gif) center right no-repeat
;
613 #bodyContent a
[href ^
="irc://"],
615 background: url
(discussionitem_icon.gif) center right no-repeat
;
618 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
619 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
620 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
621 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
622 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
623 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
625 background: url
("audio.png") center right no-repeat
;
628 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
629 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
630 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
631 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
633 background: url
("video.png") center right no-repeat
;
636 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
637 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
638 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
640 background: url
("document.png") center right no-repeat
;
644 /* disable interwiki styling */
645 #bodyContent a
.extiw
,
646 #bodyContent a
.extiw:active
{
651 #bodyContent a
.external
{
654 /* this can be used in the content area to switch off
655 special external link styling */
656 #bodyContent .plainlinks a
{
657 background: none
!important
;
658 padding: 0 !important
;
661 ** Structural Elements
665 ** general portlet styles (elements in the quickbar)
681 background: transparent
;
682 padding: 0 1em 0 .5em;
685 text-transform: lowercase
;
692 border: 1px solid
#2f6fab;
693 border-style: solid solid none solid
;
694 padding: 0 1em 0 1em;
695 text-transform: lowercase
;
704 background-color: white
;
706 border-collapse: collapse
;
707 border: 1px solid
#aaa;
708 padding: 0 .8em .3em .5em;
719 list-style-type: square
;
720 list-style-image: url
(bullet.gif);
732 /* @media screen, projection { */
736 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
759 /* @media screen, projection { */
767 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
772 #p-navigation .pBody
{
776 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
777 text-decoration: none
;
785 /* @media screen, projection { */
806 padding: .5em .4em .4em .4em;
811 ** the personal toolbar
813 /* @media screen, projection { */
833 #p-personal .portlet
,
842 /* this is the ul contained in the portlet */
847 padding: 0 2em 0 3em;
866 text-decoration: none
;
868 padding-bottom: .2em;
871 #p-personal li
a:hover
{
872 background-color: white
;
873 padding-bottom: .2em;
874 text-decoration: none
;
876 #p-personal li
.active
a:hover
{
877 background-color: transparent
;
879 /* the icon in front of the user name, single quotes
880 in bg url to hide it from iemac */
884 background: url
(user.gif) top left no-repeat
;
886 text-transform: none
;
890 text-transform: lowercase
;
892 #p-personal li
.active
{
896 ** the page-related actions- page/talk, edit etc
898 /* @media screen, projection { */
909 border-collapse: collapse
;
919 border: 1px solid
#aaa;
926 #p-cactions li
.selected
{
927 border-color: #fabd23;
932 background-color: #fbfbfb;
935 padding: 0 .8em .3em;
939 text-decoration: none
;
941 #p-cactions li
.selected a
{
943 padding: 0 1em .2em!important
;
944 background-color: white
;
949 #p-cactions li
a:hover
{
951 text-decoration: none
;
952 background-color: white
;
957 #p-cactions li
.istalk
{
960 #p-cactions li
.istalk a
{
963 #p-cactions #ca-addsection a
{
967 /* offsets to distinguish the tab groups */
971 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
976 background-color: transparent
;
978 border-collapse: inherit
;
983 #p-cactions .hiddenStructure
{
987 text-transform: lowercase
;
991 ** the remaining portlets
993 /* @media screen, projection { */
1001 /* TODO: #t-iscite is only used by the Cite extension, come up with some
1002 * system which allows extensions to add to this file on the fly
1004 #t-ispermalink, #t-iscite
{
1011 background-color: white
;
1012 border-top: 1px solid
#fabd23;
1013 border-bottom: 1px solid
#fabd23;
1014 margin: .6em 0 1em 0;
1015 padding: .4em 0 1.2em 0;
1023 #f-poweredbyico, #f-copyrightico
{
1026 top: -2px; /* Bump it up just a tad */
1045 background-color: #f0f0f0;
1048 /* @media screen, projection { */
1050 margin: 1px -2px 1px 2px;
1052 padding: 2px 0 3px 0;
1053 border: 1px solid
#fff;
1054 border-right-color: #716f64;
1057 white-space: nowrap
;
1058 list-style-type: none
;
1059 list-style-image: none
;
1063 #preftoc li
.selected
{
1065 background-color: #f9f9f9;
1066 border: 1px solid
#aaa;
1067 border-bottom: none
;
1073 #preftoc > li
.selected
{
1082 text-decoration: none
;
1084 #preftoc li
.selected a
{
1086 text-decoration: none
;
1094 border: 1px solid
#aaa;
1097 background-color: #F9F9F9;
1104 .prefsection fieldset {
1105 border: 1px solid
#aaa;
1109 .prefsection legend {
1112 .prefsection table, .prefsection legend {
1113 background-color: #F9F9F9;
1115 /* @media screen, projection { */
1120 div
.prefsectiontip
{
1128 padding-right: .3em;
1131 .preferences-login {
1133 margin-bottom: 1.5em;
1141 div#userloginForm form
,
1142 div#userlogin form#userlogin2
{
1143 margin: 0 3em 1em 0;
1144 border: 1px solid
#aaa;
1147 background-color: #f9f9f9;
1151 div#userloginForm table
,
1152 div#userlogin form#userlogin2 table
{
1153 background-color: #f9f9f9;
1156 div#userloginForm h2
,
1157 div#userlogin form#userlogin2 h2
{
1161 div#userlogin
.captcha
,
1162 div#userloginForm
.captcha
{
1163 border: 1px solid
#bbb;
1165 background-color: white
;
1169 #userloginprompt, #languagelinks
{
1179 #userlogin .loginText
, #userlogin
.loginPassword
{
1183 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1187 /* @media screen, projection { */
1189 ** IE/Mac fixes, hope to find a validating way to move this
1190 ** to a separate stylesheet. This would work but doesn't validate:
1191 ** @import("IEMacFixes.css");
1193 /* tabs: border on the a, not the div */
1194 * > html #p-cactions li
{ border: none
; }
1195 * > html #p-cactions li a
{
1196 border: 1px solid
#aaa;
1197 border-bottom: none
;
1199 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1200 /* footer icons need a fixed width */
1201 * > html #f-poweredbyico
,
1202 * > html #f-copyrightico
{ width: 88px; }
1203 * > html #bodyContent
,
1204 * > html #bodyContent pre
{
1207 padding-bottom: 25px;
1212 /* float/negative margin brokenness */
1213 * html #footer
{margin-top: 0;}
1214 * html #column-content
{
1218 * html div
.editsection
{ font-size: smaller
; }
1219 #pagehistory li
.selected
{ position: relative
; }
1221 /* Mac IE 5.0 fix; floated content turns invisible */
1222 * > html #column-content
{
1225 * > html #column-one
{
1231 margin-left: 13.2em;
1243 background-color: #ffa;
1249 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
1260 .sharedUploadNotice {
1264 span
.updatedmarker
{
1266 background-color: #0f0;
1270 border: 1px solid
#ccc;
1273 background-color: white
;
1277 vertical-align: top
;
1281 vertical-align: top
;
1282 background-color: #f9f9f9;
1283 border: solid
2px white
;
1285 /* Keep this temporarily so that cached pages will display right */
1286 table
.gallery td
.galleryheader
{
1290 table
.gallery caption
{
1298 div
.gallerybox div
.thumb
{
1300 border: 1px solid
#ccc;
1321 border-bottom: 1px solid
#aaa;
1322 padding-bottom: 1em;
1332 border: 1px solid gray
;
1333 background-color: #ffffff;
1340 .editExternallyHelp {
1345 li span
.deleted
, span
.history-deleted
{
1346 text-decoration: line-through
;
1356 /* Classes for EXIF data display */
1360 margin-bottom: 0.5em;
1364 table
.mw_metadata caption
{
1368 table
.mw_metadata th
{
1369 font-weight: normal
;
1372 table
.mw_metadata td
{
1378 border-collapse: collapse
;
1381 table
.mw_metadata td
, table
.mw_metadata th
{
1383 border: 1px solid
#aaaaaa;
1384 padding-left: 0.1em;
1385 padding-right: 0.1em;
1388 table
.mw_metadata th
{
1389 background-color: #f9f9f9;
1392 table
.mw_metadata td
{
1393 background-color: #fcfcfc;
1396 table
.collapsed tr
.collapsable
{
1404 border: 1px solid
#aaaaaa;
1405 background-color: #f9f9f9;
1408 margin-bottom: 0.5em;
1415 list-style-type: none
;
1424 input#wpSave
, input#wpDiff
{
1425 margin-right: 0.33em;
1428 #editform .editOptions
{
1436 /* Classes for article validation */
1438 table
.revisionform_default
{
1439 border: 1px solid
#000000;
1442 table
.revisionform_focus
{
1443 border: 1px solid
#000000;
1444 background-color:#00BBFF;
1447 tr
.revision_tr_default
{
1448 background-color:#EEEEEE;
1451 tr
.revision_tr_first
{
1452 background-color:#DDDDDD;
1461 border: solid
1px #bbbbff;
1462 background-color: #eeeeff;
1467 /* Allmessages table */
1469 #allmessagestable th
{
1470 background-color: #b2b2ff;
1473 #allmessagestable tr
.orig
{
1474 background-color: #ffe2e2;
1477 #allmessagestable tr
.new
{
1478 background-color: #e2ffe2;
1481 #allmessagestable tr
.def
{
1482 background-color: #f0f0ff;
1488 border: 1px solid
#ccc;
1494 div#searchTargetContainer
{
1504 background: #F0F0F0;
1505 border: solid
1px blue
;
1508 div#searchTarget ul li
{
1512 div#searchTarget ul
li:before
{
1514 content: "\00BB \0020";
1517 div
.multipageimagenavbox
{
1518 border: solid
1px silver
;
1521 -moz-border-radius: 6px;
1522 background: #f0f0f0;
1525 div
.multipageimagenavbox div
.thumb
{
1531 div
.multipageimagenavbox hr
{
1535 table
.multipageimage td
{
1539 /** Special:Version */
1541 table#sv-ext
, table#sv-hooks
{
1546 #sv-ext td
, #sv-hooks td
,
1547 #sv-ext th
, #sv-hooks th
{
1548 border: 1px solid
#A0A0A0;
1549 padding: 0 0.15em 0 0.15em;
1551 #sv-ext th
, #sv-hooks th
{
1552 background-color: #F0F0F0;
1554 padding: 0 0.15em 0 0.15em;
1560 tr
.sv-space td
{ display: none
; }
1563 Table pager (e.g. Special:Imagelist)
1564 - remove underlines from the navigation link
1566 - set the borders to outsets (similar to Special:Allmessages)
1567 - remove line wrapping for all td and th, set background color
1568 - restore line wrapping for the last two table cells (description and size)
1570 .TablePager_nav a { text-decoration: none
; }
1571 .TablePager { border-collapse: collapse
; }
1572 .TablePager, .TablePager td, .TablePager th {
1573 border: 1px solid
#aaaaaa;
1574 padding: 0 0.15em 0 0.15em;
1576 .TablePager th { background-color: #eeeeff }
1577 .TablePager td { background-color: #ffffff }
1578 .TablePager tr:hover td { background-color: #eeeeff }
1580 .imagelist td, .imagelist th { white-space: nowrap
}
1581 .imagelist .TablePager_col_links { background-color: #eeeeff }
1582 .imagelist .TablePager_col_img_description { white-space: normal
}
1583 .imagelist th.TablePager_sort { background-color: #ccccff }
1585 .templatesUsed { margin-top: 1.5em; }
1587 .mw-summary-preview {
1591 /* Convenience links on Special:Ipblocklist */
1592 p
.mw-ipb-conveniencelinks
{
1597 /* Friendlier slave lag warnings */
1598 div
.mw-lag-warn-normal
,
1599 div
.mw-lag-warn-high
{
1605 div
.mw-lag-warn-normal
{
1606 border: 1px solid
#FFCC66;
1607 background-color: #FFFFCC;
1609 div
.mw-lag-warn-high
{
1611 border: 2px solid
#CC3333;
1612 background-color: #CC9999;
1616 * Here is some stuff that's ACTUALLY COMMON TO ALL SKINS.
1617 * When the day comes, it can be moved to a *real* common.css.
1619 .mw-plusminus-null { color: #aaa; }
1620 .texvc { direction: ltr
; unicode-bidi: embed
; }
1621 /* Stop floats from intruding into edit area in previews */
1622 #toolbar, #wpTextbox1
{ clear: both
; }
1624 .MediaTransformError {
1625 background-color: #ccc;
1628 .MediaTransformError td {
1630 vertical-align: middle
;