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;
587 table
.diff
, td
.diff-otitle
, td
.diff-ntitle
{
588 background-color: white
;
594 td
.diff-deletedline
{
605 text-decoration: none
;
609 ** keep the whitespace in front of the ^=, hides rule from konqueror
610 ** this is css3, the validator doesn't like it when validating as css2
612 #bodyContent a
.external
,
613 #bodyContent a
[href ^
="gopher://"] {
614 background: url
(external.png) center right no-repeat
;
617 #bodyContent a
[href ^
="https://"],
619 background: url
(lock_icon.gif) center right no-repeat
;
622 #bodyContent a
[href ^
="mailto:"],
624 background: url
(mail_icon.gif) center right no-repeat
;
627 #bodyContent a
[href ^
="news://"] {
628 background: url
(news_icon.png) center right no-repeat
;
631 #bodyContent a
[href ^
="ftp://"],
633 background: url
(file_icon.gif) center right no-repeat
;
636 #bodyContent a
[href ^
="irc://"],
638 background: url
(discussionitem_icon.gif) center right no-repeat
;
641 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
642 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
643 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
644 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
645 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
646 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
648 background: url
("audio.png") center right no-repeat
;
651 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
652 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
653 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
654 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
656 background: url
("video.png") center right no-repeat
;
659 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
660 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
661 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
663 background: url
("document.png") center right no-repeat
;
667 /* disable interwiki styling */
668 #bodyContent a
.extiw
,
669 #bodyContent a
.extiw:active
{
674 #bodyContent a
.external
{
677 /* this can be used in the content area to switch off
678 special external link styling */
679 #bodyContent .plainlinks a
{
680 background: none
!important
;
681 padding: 0 !important
;
684 ** Structural Elements
688 ** general portlet styles (elements in the quickbar)
704 background: transparent
;
705 padding: 0 1em 0 .5em;
708 text-transform: lowercase
;
715 border: 1px solid
#2f6fab;
716 border-style: solid solid none solid
;
717 padding: 0 1em 0 1em;
718 text-transform: lowercase
;
727 background-color: white
;
729 border-collapse: collapse
;
730 border: 1px solid
#aaa;
731 padding: 0 .8em .3em .5em;
742 list-style-type: square
;
743 list-style-image: url
(bullet.gif);
755 /* @media screen, projection { */
759 position: absolute
; /*needed to use z-index */
773 background-repeat: no-repeat
;
774 background-position: 35% 50% !important
;
775 text-decoration: none
;
779 ** the navigation portlet
782 /* @media screen, projection { */
790 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
795 #p-navigation .pBody
{
799 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
800 text-decoration: none
;
808 /* @media screen, projection { */
829 padding: .5em .4em .4em .4em;
834 ** the personal toolbar
836 /* @media screen, projection { */
856 #p-personal .portlet
,
865 /* this is the ul contained in the portlet */
870 padding: 0 2em 0 3em;
889 text-decoration: none
;
891 padding-bottom: .2em;
894 #p-personal li
a:hover
{
895 background-color: white
;
896 padding-bottom: .2em;
897 text-decoration: none
;
899 #p-personal li
.active
a:hover
{
900 background-color: transparent
;
902 /* the icon in front of the user name, single quotes
903 in bg url to hide it from iemac */
907 background: url
(user.gif) top left no-repeat
;
909 text-transform: none
;
913 text-transform: lowercase
;
915 #p-personal li
.active
{
919 ** the page-related actions- page/talk, edit etc
921 /* @media screen, projection { */
932 border-collapse: collapse
;
942 border: 1px solid
#aaa;
949 #p-cactions li
.selected
{
950 border-color: #fabd23;
955 background-color: #fbfbfb;
958 padding: 0 .8em .3em;
962 text-decoration: none
;
964 #p-cactions li
.selected a
{
966 padding: 0 1em .2em!important
;
967 background-color: white
;
972 #p-cactions li
a:hover
{
974 text-decoration: none
;
975 background-color: white
;
980 #p-cactions li
.istalk
{
983 #p-cactions li
.istalk a
{
986 #p-cactions #ca-addsection a
{
990 /* offsets to distinguish the tab groups */
994 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
999 background-color: transparent
;
1001 border-collapse: inherit
;
1006 #p-cactions .hiddenStructure
{
1010 text-transform: lowercase
;
1014 ** the remaining portlets
1016 /* @media screen, projection { */
1024 /* TODO: #t-iscite is only used by the Cite extension, come up with some
1025 * system which allows extensions to add to this file on the fly
1027 #t-ispermalink, #t-iscite
{
1034 background-color: white
;
1035 border-top: 1px solid
#fabd23;
1036 border-bottom: 1px solid
#fabd23;
1037 margin: .6em 0 1em 0;
1038 padding: .4em 0 1.2em 0;
1046 #f-poweredbyico, #f-copyrightico
{
1049 top: -2px; /* Bump it up just a tad */
1068 background-color: #f0f0f0;
1071 /* @media screen, projection { */
1073 margin: 1px -2px 1px 2px;
1075 padding: 2px 0 3px 0;
1076 border: 1px solid
#fff;
1077 border-right-color: #716f64;
1080 white-space: nowrap
;
1081 list-style-type: none
;
1082 list-style-image: none
;
1086 #preftoc li
.selected
{
1088 background-color: #f9f9f9;
1089 border: 1px solid
#aaa;
1090 border-bottom: none
;
1096 #preftoc > li
.selected
{
1105 text-decoration: none
;
1107 #preftoc li
.selected a
{
1109 text-decoration: none
;
1117 border: 1px solid
#aaa;
1120 background-color: #F9F9F9;
1127 .prefsection fieldset {
1128 border: 1px solid
#aaa;
1132 .prefsection legend {
1135 .prefsection table, .prefsection legend {
1136 background-color: #F9F9F9;
1138 /* @media screen, projection { */
1143 div
.prefsectiontip
{
1146 background-color: #FFC1C1;
1153 padding-right: .3em;
1156 .preferences-login {
1158 margin-bottom: 1.5em;
1166 div#userloginForm form
,
1167 div#userlogin form#userlogin2
{
1168 margin: 0 3em 1em 0;
1169 border: 1px solid
#aaa;
1172 background-color: #f9f9f9;
1176 div#userloginForm table
,
1177 div#userlogin form#userlogin2 table
{
1178 background-color: #f9f9f9;
1181 div#userloginForm h2
,
1182 div#userlogin form#userlogin2 h2
{
1186 div#userlogin
.captcha
{
1187 border: 1px solid
#bbb;
1190 background-color: white
;
1194 #userloginprompt, #languagelinks
{
1204 #userlogin .loginText
, #userlogin
.loginPassword
{
1208 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1212 /* @media screen, projection { */
1214 ** IE/Mac fixes, hope to find a validating way to move this
1215 ** to a separate stylesheet. This would work but doesn't validate:
1216 ** @import("IEMacFixes.css");
1218 /* tabs: border on the a, not the div */
1219 * > html #p-cactions li
{ border: none
; }
1220 * > html #p-cactions li a
{
1221 border: 1px solid
#aaa;
1222 border-bottom: none
;
1224 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1225 /* footer icons need a fixed width */
1226 * > html #f-poweredbyico
,
1227 * > html #f-copyrightico
{ width: 88px; }
1228 * > html #bodyContent
,
1229 * > html #bodyContent pre
{
1232 padding-bottom: 25px;
1237 /* float/negative margin brokenness */
1238 * html #footer
{margin-top: 0;}
1239 * html #column-content
{
1243 * html div
.editsection
{ font-size: smaller
; }
1244 #pagehistory li
.selected
{ position: relative
; }
1246 /* Mac IE 5.0 fix; floated content turns invisible */
1247 * > html #column-content
{
1250 * > html #column-one
{
1256 margin-left: 13.2em;
1268 background-color: #ffa;
1274 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
1285 .sharedUploadNotice {
1289 span
.updatedmarker
{
1291 background-color: #0f0;
1295 border: 1px solid
#ccc;
1298 background-color: white
;
1302 vertical-align: top
;
1306 vertical-align: top
;
1307 background-color: #f9f9f9;
1308 border: solid
2px white
;
1310 /* Keep this temporarily so that cached pages will display right */
1311 table
.gallery td
.galleryheader
{
1315 table
.gallery caption
{
1323 div
.gallerybox div
.thumb
{
1325 border: 1px solid
#ccc;
1345 border-bottom: 1px solid
#aaa;
1346 padding-bottom: 1em;
1356 border: 1px solid gray
;
1357 background-color: #ffffff;
1364 .editExternallyHelp {
1369 li span
.deleted
, span
.history-deleted
{
1370 text-decoration: line-through
;
1380 /* Classes for EXIF data display */
1384 margin-bottom: 0.5em;
1388 table
.mw_metadata caption
{
1392 table
.mw_metadata th
{
1393 font-weight: normal
;
1396 table
.mw_metadata td
{
1402 border-collapse: collapse
;
1405 table
.mw_metadata td
, table
.mw_metadata th
{
1407 border: 1px solid
#aaaaaa;
1408 padding-left: 0.1em;
1409 padding-right: 0.1em;
1412 table
.mw_metadata th
{
1413 background-color: #f9f9f9;
1416 table
.mw_metadata td
{
1417 background-color: #fcfcfc;
1420 table
.collapsed tr
.collapsable
{
1428 border: 1px solid
#aaaaaa;
1429 background-color: #f9f9f9;
1432 margin-bottom: 0.5em;
1439 list-style-type: none
;
1448 input#wpSave
, input#wpDiff
{
1449 margin-right: 0.33em;
1452 #editform .editOptions
{
1460 /* Classes for article validation */
1462 table
.revisionform_default
{
1463 border: 1px solid
#000000;
1466 table
.revisionform_focus
{
1467 border: 1px solid
#000000;
1468 background-color:#00BBFF;
1471 tr
.revision_tr_default
{
1472 background-color:#EEEEEE;
1475 tr
.revision_tr_first
{
1476 background-color:#DDDDDD;
1485 border: solid
1px #bbbbff;
1486 background-color: #eeeeff;
1491 /* Allmessages table */
1493 #allmessagestable th
{
1494 background-color: #b2b2ff;
1497 #allmessagestable tr
.orig
{
1498 background-color: #ffe2e2;
1501 #allmessagestable tr
.new
{
1502 background-color: #e2ffe2;
1505 #allmessagestable tr
.def
{
1506 background-color: #f0f0ff;
1512 border: 1px solid
#ccc;
1518 div#searchTargetContainer
{
1528 background: #F0F0F0;
1529 border: solid
1px blue
;
1532 div#searchTarget ul li
{
1536 div#searchTarget ul
li:before
{
1538 content: "\00BB \0020";
1541 div
.multipageimagenavbox
{
1542 border: solid
1px silver
;
1545 -moz-border-radius: 6px;
1546 background: #f0f0f0;
1549 div
.multipageimagenavbox div
.thumb
{
1555 div
.multipageimagenavbox hr
{
1559 table
.multipageimage td
{
1563 /** Special:Version */
1565 table#sv-ext
, table#sv-hooks
{
1570 #sv-ext td
, #sv-hooks td
,
1571 #sv-ext th
, #sv-hooks th
{
1572 border: 1px solid
#A0A0A0;
1573 padding: 0 0.15em 0 0.15em;
1575 #sv-ext th
, #sv-hooks th
{
1576 background-color: #F0F0F0;
1578 padding: 0 0.15em 0 0.15em;
1584 tr
.sv-space td
{ display: none
; }
1587 Table pager (e.g. Special:Imagelist)
1588 - remove underlines from the navigation link
1590 - set the borders to outsets (similar to Special:Allmessages)
1591 - remove line wrapping for all td and th, set background color
1592 - restore line wrapping for the last two table cells (description and size)
1594 .TablePager_nav a { text-decoration: none
; }
1595 .TablePager { border-collapse: collapse
; }
1596 .TablePager, .TablePager td, .TablePager th {
1597 border: 0.15em solid
#777777;
1598 padding: 0 0.15em 0 0.15em;
1600 .TablePager th { background-color: #eeeeff }
1601 .TablePager td { background-color: #ffffff }
1602 .TablePager tr:hover td { background-color: #eeeeff }
1604 .imagelist td, .imagelist th { white-space: nowrap
}
1605 .imagelist .TablePager_col_links { background-color: #eeeeff }
1606 .imagelist .TablePager_col_img_description { white-space: normal
}
1607 .imagelist th.TablePager_sort { background-color: #ccccff }
1609 .templatesUsed { margin-top: 1.5em; }
1611 .mw-summary-preview {
1615 /* Convenience links on Special:Ipblocklist */
1616 p
.mw-ipb-conveniencelinks
{
1622 * Here is some stuff that's ACTUALLY COMMON TO ALL SKINS.
1623 * When the day comes, it can be moved to a *real* common.css.
1625 .mw-plusminus-null { color: #aaa; }
1626 .texvc { direction: ltr
; unicode-bidi: embed
; }
1627 /* Stop floats from intruding into edit area in previews */
1628 #toolbar, #wpTextbox1
{ clear: both
; }
1630 .MediaTransformError {
1631 background-color: #ccc;
1634 .MediaTransformError td {
1636 vertical-align: middle
;