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;
494 vertical-align: middle
;
500 /* Have a checkered background on images on the description pages and in galleries
501 to make transparency visible
503 #file img, .gallerybox .thumb img {
504 background: url(Checker-16x16.png) repeat;
509 ** classes for special content elements like town boxes
510 ** intended to be referenced directly from the wiki src
516 /* table standards */
525 border: 1px solid
#aaa;
526 background-color: #f9f9f9;
535 border: 1px solid gray
;
551 margin: .1em 0 0 1.1em;
552 background-color: #f3f3f3;
564 /* Page history styling */
565 /* the auto-generated edit comments */
569 #pagehistory span
.user
{
573 #pagehistory span
.minor
{
577 border: 1px solid white
;
579 #pagehistory li
.selected
{
580 background-color: #f9f9f9;
581 border: 1px dashed
#aaa;
585 ** keep the whitespace in front of the ^=, hides rule from konqueror
586 ** this is css3, the validator doesn't like it when validating as css2
588 #bodyContent a
.external
,
589 #bodyContent a
[href ^
="gopher://"] {
590 background: url
(external.png) center right no-repeat
;
593 #bodyContent a
[href ^
="https://"],
595 background: url
(lock_icon.gif) center right no-repeat
;
598 #bodyContent a
[href ^
="mailto:"],
600 background: url
(mail_icon.gif) center right no-repeat
;
603 #bodyContent a
[href ^
="news://"] {
604 background: url
(news_icon.png) center right no-repeat
;
607 #bodyContent a
[href ^
="ftp://"],
609 background: url
(file_icon.gif) center right no-repeat
;
612 #bodyContent a
[href ^
="irc://"],
614 background: url
(discussionitem_icon.gif) center right no-repeat
;
617 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
618 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
619 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
620 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
621 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
622 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
624 background: url
("audio.png") center right no-repeat
;
627 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
628 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
629 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
630 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
632 background: url
("video.png") center right no-repeat
;
635 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
636 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
637 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
639 background: url
("document.png") center right no-repeat
;
643 /* disable interwiki styling */
644 #bodyContent a
.extiw
,
645 #bodyContent a
.extiw:active
{
650 #bodyContent a
.external
{
653 /* this can be used in the content area to switch off
654 special external link styling */
655 #bodyContent .plainlinks a
{
656 background: none
!important
;
657 padding: 0 !important
;
660 ** Structural Elements
664 ** general portlet styles (elements in the quickbar)
680 background: transparent
;
681 padding: 0 1em 0 .5em;
684 text-transform: lowercase
;
691 border: 1px solid
#2f6fab;
692 border-style: solid solid none solid
;
693 padding: 0 1em 0 1em;
694 text-transform: lowercase
;
703 background-color: white
;
705 border-collapse: collapse
;
706 border: 1px solid
#aaa;
707 padding: 0 .8em .3em .5em;
718 list-style-type: square
;
719 list-style-image: url
(bullet.gif);
731 /* @media screen, projection { */
735 position: absolute
; /*needed to use z-index */
749 background-repeat: no-repeat
;
750 background-position: 35% 50% !important
;
751 text-decoration: none
;
755 ** the navigation portlet
758 /* @media screen, projection { */
766 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
771 #p-navigation .pBody
{
775 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
776 text-decoration: none
;
784 /* @media screen, projection { */
805 padding: .5em .4em .4em .4em;
810 ** the personal toolbar
812 /* @media screen, projection { */
832 #p-personal .portlet
,
841 /* this is the ul contained in the portlet */
846 padding: 0 2em 0 3em;
865 text-decoration: none
;
867 padding-bottom: .2em;
870 #p-personal li
a:hover
{
871 background-color: white
;
872 padding-bottom: .2em;
873 text-decoration: none
;
875 #p-personal li
.active
a:hover
{
876 background-color: transparent
;
878 /* the icon in front of the user name, single quotes
879 in bg url to hide it from iemac */
883 background: url
(user.gif) top left no-repeat
;
885 text-transform: none
;
889 text-transform: lowercase
;
891 #p-personal li
.active
{
895 ** the page-related actions- page/talk, edit etc
897 /* @media screen, projection { */
908 border-collapse: collapse
;
918 border: 1px solid
#aaa;
925 #p-cactions li
.selected
{
926 border-color: #fabd23;
931 background-color: #fbfbfb;
934 padding: 0 .8em .3em;
938 text-decoration: none
;
940 #p-cactions li
.selected a
{
942 padding: 0 1em .2em!important
;
943 background-color: white
;
948 #p-cactions li
a:hover
{
950 text-decoration: none
;
951 background-color: white
;
956 #p-cactions li
.istalk
{
959 #p-cactions li
.istalk a
{
962 #p-cactions #ca-addsection a
{
966 /* offsets to distinguish the tab groups */
970 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
975 background-color: transparent
;
977 border-collapse: inherit
;
982 #p-cactions .hiddenStructure
{
986 text-transform: lowercase
;
990 ** the remaining portlets
992 /* @media screen, projection { */
1000 /* TODO: #t-iscite is only used by the Cite extension, come up with some
1001 * system which allows extensions to add to this file on the fly
1003 #t-ispermalink, #t-iscite
{
1010 background-color: white
;
1011 border-top: 1px solid
#fabd23;
1012 border-bottom: 1px solid
#fabd23;
1013 margin: .6em 0 1em 0;
1014 padding: .4em 0 1.2em 0;
1022 #f-poweredbyico, #f-copyrightico
{
1025 top: -2px; /* Bump it up just a tad */
1044 background-color: #f0f0f0;
1047 /* @media screen, projection { */
1049 margin: 1px -2px 1px 2px;
1051 padding: 2px 0 3px 0;
1052 border: 1px solid
#fff;
1053 border-right-color: #716f64;
1056 white-space: nowrap
;
1057 list-style-type: none
;
1058 list-style-image: none
;
1062 #preftoc li
.selected
{
1064 background-color: #f9f9f9;
1065 border: 1px solid
#aaa;
1066 border-bottom: none
;
1072 #preftoc > li
.selected
{
1081 text-decoration: none
;
1083 #preftoc li
.selected a
{
1085 text-decoration: none
;
1093 border: 1px solid
#aaa;
1096 background-color: #F9F9F9;
1103 .prefsection fieldset {
1104 border: 1px solid
#aaa;
1108 .prefsection legend {
1111 .prefsection table, .prefsection legend {
1112 background-color: #F9F9F9;
1114 /* @media screen, projection { */
1119 div
.prefsectiontip
{
1127 padding-right: .3em;
1130 .preferences-login {
1132 margin-bottom: 1.5em;
1140 div#userloginForm form
,
1141 div#userlogin form#userlogin2
{
1142 margin: 0 3em 1em 0;
1143 border: 1px solid
#aaa;
1146 background-color: #f9f9f9;
1150 div#userloginForm table
,
1151 div#userlogin form#userlogin2 table
{
1152 background-color: #f9f9f9;
1155 div#userloginForm h2
,
1156 div#userlogin form#userlogin2 h2
{
1160 div#userlogin
.captcha
,
1161 div#userloginForm
.captcha
{
1162 border: 1px solid
#bbb;
1164 background-color: white
;
1168 #userloginprompt, #languagelinks
{
1178 #userlogin .loginText
, #userlogin
.loginPassword
{
1182 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1186 /* @media screen, projection { */
1188 ** IE/Mac fixes, hope to find a validating way to move this
1189 ** to a separate stylesheet. This would work but doesn't validate:
1190 ** @import("IEMacFixes.css");
1192 /* tabs: border on the a, not the div */
1193 * > html #p-cactions li
{ border: none
; }
1194 * > html #p-cactions li a
{
1195 border: 1px solid
#aaa;
1196 border-bottom: none
;
1198 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1199 /* footer icons need a fixed width */
1200 * > html #f-poweredbyico
,
1201 * > html #f-copyrightico
{ width: 88px; }
1202 * > html #bodyContent
,
1203 * > html #bodyContent pre
{
1206 padding-bottom: 25px;
1211 /* float/negative margin brokenness */
1212 * html #footer
{margin-top: 0;}
1213 * html #column-content
{
1217 * html div
.editsection
{ font-size: smaller
; }
1218 #pagehistory li
.selected
{ position: relative
; }
1220 /* Mac IE 5.0 fix; floated content turns invisible */
1221 * > html #column-content
{
1224 * > html #column-one
{
1230 margin-left: 13.2em;
1242 background-color: #ffa;
1248 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
1259 .sharedUploadNotice {
1263 span
.updatedmarker
{
1265 background-color: #0f0;
1269 border: 1px solid
#ccc;
1272 background-color: white
;
1276 vertical-align: top
;
1280 vertical-align: top
;
1281 background-color: #f9f9f9;
1282 border: solid
2px white
;
1284 /* Keep this temporarily so that cached pages will display right */
1285 table
.gallery td
.galleryheader
{
1289 table
.gallery caption
{
1297 div
.gallerybox div
.thumb
{
1299 border: 1px solid
#ccc;
1320 border-bottom: 1px solid
#aaa;
1321 padding-bottom: 1em;
1331 border: 1px solid gray
;
1332 background-color: #ffffff;
1339 .editExternallyHelp {
1344 li span
.deleted
, span
.history-deleted
{
1345 text-decoration: line-through
;
1355 /* Classes for EXIF data display */
1359 margin-bottom: 0.5em;
1363 table
.mw_metadata caption
{
1367 table
.mw_metadata th
{
1368 font-weight: normal
;
1371 table
.mw_metadata td
{
1377 border-collapse: collapse
;
1380 table
.mw_metadata td
, table
.mw_metadata th
{
1382 border: 1px solid
#aaaaaa;
1383 padding-left: 0.1em;
1384 padding-right: 0.1em;
1387 table
.mw_metadata th
{
1388 background-color: #f9f9f9;
1391 table
.mw_metadata td
{
1392 background-color: #fcfcfc;
1395 table
.collapsed tr
.collapsable
{
1403 border: 1px solid
#aaaaaa;
1404 background-color: #f9f9f9;
1407 margin-bottom: 0.5em;
1414 list-style-type: none
;
1423 input#wpSave
, input#wpDiff
{
1424 margin-right: 0.33em;
1427 #editform .editOptions
{
1435 /* Classes for article validation */
1437 table
.revisionform_default
{
1438 border: 1px solid
#000000;
1441 table
.revisionform_focus
{
1442 border: 1px solid
#000000;
1443 background-color:#00BBFF;
1446 tr
.revision_tr_default
{
1447 background-color:#EEEEEE;
1450 tr
.revision_tr_first
{
1451 background-color:#DDDDDD;
1460 border: solid
1px #bbbbff;
1461 background-color: #eeeeff;
1466 /* Allmessages table */
1468 #allmessagestable th
{
1469 background-color: #b2b2ff;
1472 #allmessagestable tr
.orig
{
1473 background-color: #ffe2e2;
1476 #allmessagestable tr
.new
{
1477 background-color: #e2ffe2;
1480 #allmessagestable tr
.def
{
1481 background-color: #f0f0ff;
1487 border: 1px solid
#ccc;
1493 div#searchTargetContainer
{
1503 background: #F0F0F0;
1504 border: solid
1px blue
;
1507 div#searchTarget ul li
{
1511 div#searchTarget ul
li:before
{
1513 content: "\00BB \0020";
1516 div
.multipageimagenavbox
{
1517 border: solid
1px silver
;
1520 -moz-border-radius: 6px;
1521 background: #f0f0f0;
1524 div
.multipageimagenavbox div
.thumb
{
1530 div
.multipageimagenavbox hr
{
1534 table
.multipageimage td
{
1538 /** Special:Version */
1540 table#sv-ext
, table#sv-hooks
{
1545 #sv-ext td
, #sv-hooks td
,
1546 #sv-ext th
, #sv-hooks th
{
1547 border: 1px solid
#A0A0A0;
1548 padding: 0 0.15em 0 0.15em;
1550 #sv-ext th
, #sv-hooks th
{
1551 background-color: #F0F0F0;
1553 padding: 0 0.15em 0 0.15em;
1559 tr
.sv-space td
{ display: none
; }
1562 Table pager (e.g. Special:Imagelist)
1563 - remove underlines from the navigation link
1565 - set the borders to outsets (similar to Special:Allmessages)
1566 - remove line wrapping for all td and th, set background color
1567 - restore line wrapping for the last two table cells (description and size)
1569 .TablePager_nav a { text-decoration: none
; }
1570 .TablePager { border-collapse: collapse
; }
1571 .TablePager, .TablePager td, .TablePager th {
1572 border: 1px solid
#aaaaaa;
1573 padding: 0 0.15em 0 0.15em;
1575 .TablePager th { background-color: #eeeeff }
1576 .TablePager td { background-color: #ffffff }
1577 .TablePager tr:hover td { background-color: #eeeeff }
1579 .imagelist td, .imagelist th { white-space: nowrap
}
1580 .imagelist .TablePager_col_links { background-color: #eeeeff }
1581 .imagelist .TablePager_col_img_description { white-space: normal
}
1582 .imagelist th.TablePager_sort { background-color: #ccccff }
1584 .templatesUsed { margin-top: 1.5em; }
1586 .mw-summary-preview {
1590 /* Convenience links on Special:Ipblocklist */
1591 p
.mw-ipb-conveniencelinks
{
1597 * Here is some stuff that's ACTUALLY COMMON TO ALL SKINS.
1598 * When the day comes, it can be moved to a *real* common.css.
1600 .mw-plusminus-null { color: #aaa; }
1601 .texvc { direction: ltr
; unicode-bidi: embed
; }
1602 /* Stop floats from intruding into edit area in previews */
1603 #toolbar, #wpTextbox1
{ clear: both
; }
1605 .MediaTransformError {
1606 background-color: #ccc;
1609 .MediaTransformError td {
1611 vertical-align: middle
;