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
;
501 ** classes for special content elements like town boxes
502 ** intended to be referenced directly from the wiki src
508 /* table standards */
517 border: 1px solid
#aaa;
518 background-color: #f9f9f9;
527 border: 1px solid gray
;
543 margin: .1em 0 0 1.1em;
544 background-color: #f3f3f3;
556 /* Page history styling */
557 /* the auto-generated edit comments */
561 #pagehistory span
.user
{
565 #pagehistory span
.minor
{
569 border: 1px solid white
;
571 #pagehistory li
.selected
{
572 background-color: #f9f9f9;
573 border: 1px dashed
#aaa;
579 table
.diff
, td
.diff-otitle
, td
.diff-ntitle
{
580 background-color: white
;
586 td
.diff-deletedline
{
597 text-decoration: none
;
602 text-decoration: none
;
606 ** keep the whitespace in front of the ^=, hides rule from konqueror
607 ** this is css3, the validator doesn't like it when validating as css2
609 #bodyContent a
.external
,
610 #bodyContent a
[href ^
="gopher://"] {
611 background: url
(external.png) center right no-repeat
;
614 #bodyContent a
[href ^
="https://"],
616 background: url
(lock_icon.gif) center right no-repeat
;
619 #bodyContent a
[href ^
="mailto:"],
621 background: url
(mail_icon.gif) center right no-repeat
;
624 #bodyContent a
[href ^
="news://"] {
625 background: url
(news_icon.png) center right no-repeat
;
628 #bodyContent a
[href ^
="ftp://"],
630 background: url
(file_icon.gif) center right no-repeat
;
633 #bodyContent a
[href ^
="irc://"],
635 background: url
(discussionitem_icon.gif) center right no-repeat
;
638 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
639 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
640 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
641 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
642 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
643 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
645 background: url
("audio.png") center right no-repeat
;
648 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
649 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
650 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
651 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
653 background: url
("video.png") center right no-repeat
;
656 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
657 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
658 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
660 background: url
("document.png") center right no-repeat
;
664 /* disable interwiki styling */
665 #bodyContent a
.extiw
,
666 #bodyContent a
.extiw:active
{
671 #bodyContent a
.external
{
674 /* this can be used in the content area to switch off
675 special external link styling */
676 #bodyContent .plainlinks a
{
677 background: none
!important
;
678 padding: 0 !important
;
681 ** Structural Elements
685 ** general portlet styles (elements in the quickbar)
701 background: transparent
;
702 padding: 0 1em 0 .5em;
705 text-transform: lowercase
;
712 border: 1px solid
#2f6fab;
713 border-style: solid solid none solid
;
714 padding: 0 1em 0 1em;
715 text-transform: lowercase
;
724 background-color: white
;
726 border-collapse: collapse
;
727 border: 1px solid
#aaa;
728 padding: 0 .8em .3em .5em;
739 list-style-type: square
;
740 list-style-image: url
(bullet.gif);
752 /* @media screen, projection { */
756 position: absolute
; /*needed to use z-index */
770 background-repeat: no-repeat
;
771 background-position: 35% 50% !important
;
772 text-decoration: none
;
776 ** the navigation portlet
779 /* @media screen, projection { */
787 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
792 #p-navigation .pBody
{
796 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
797 text-decoration: none
;
805 /* @media screen, projection { */
826 padding: .5em .4em .4em .4em;
831 ** the personal toolbar
833 /* @media screen, projection { */
853 #p-personal .portlet
,
862 /* this is the ul contained in the portlet */
867 padding: 0 2em 0 3em;
886 text-decoration: none
;
888 padding-bottom: .2em;
891 #p-personal li
a:hover
{
892 background-color: white
;
893 padding-bottom: .2em;
894 text-decoration: none
;
896 #p-personal li
.active
a:hover
{
897 background-color: transparent
;
899 /* the icon in front of the user name, single quotes
900 in bg url to hide it from iemac */
904 background: url
(user.gif) top left no-repeat
;
906 text-transform: none
;
910 text-transform: lowercase
;
912 #p-personal li
.active
{
916 ** the page-related actions- page/talk, edit etc
918 /* @media screen, projection { */
929 border-collapse: collapse
;
939 border: 1px solid
#aaa;
946 #p-cactions li
.selected
{
947 border-color: #fabd23;
952 background-color: #fbfbfb;
955 padding: 0 .8em .3em;
959 text-decoration: none
;
961 #p-cactions li
.selected a
{
963 padding: 0 1em .2em!important
;
964 background-color: white
;
969 #p-cactions li
a:hover
{
971 text-decoration: none
;
972 background-color: white
;
977 #p-cactions li
.istalk
{
980 #p-cactions li
.istalk a
{
983 #p-cactions #ca-addsection a
{
987 /* offsets to distinguish the tab groups */
991 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
996 background-color: transparent
;
998 border-collapse: inherit
;
1003 #p-cactions .hiddenStructure
{
1007 text-transform: lowercase
;
1011 ** the remaining portlets
1013 /* @media screen, projection { */
1021 /* TODO: #t-iscite is only used by the Cite extension, come up with some
1022 * system which allows extensions to add to this file on the fly
1024 #t-ispermalink, #t-iscite
{
1031 background-color: white
;
1032 border-top: 1px solid
#fabd23;
1033 border-bottom: 1px solid
#fabd23;
1034 margin: .6em 0 1em 0;
1035 padding: .4em 0 1.2em 0;
1043 /* hide from incapable browsers */
1044 head:first-child
+body #footer li
{ white-space: nowrap
; }
1045 #f-poweredbyico, #f-copyrightico
{
1048 top: -2px; /* Bump it up just a tad */
1067 background-color: #f0f0f0;
1070 /* @media screen, projection { */
1072 margin: 1px -2px 1px 2px;
1074 padding: 2px 0 3px 0;
1075 border: 1px solid
#fff;
1076 border-right-color: #716f64;
1079 white-space: nowrap
;
1080 list-style-type: none
;
1081 list-style-image: none
;
1085 #preftoc li
.selected
{
1087 background-color: #f9f9f9;
1088 border: 1px solid
#aaa;
1089 border-bottom: none
;
1095 #preftoc > li
.selected
{
1104 text-decoration: none
;
1106 #preftoc li
.selected a
{
1108 text-decoration: none
;
1116 border: 1px solid
#aaa;
1119 background-color: #F9F9F9;
1126 .prefsection fieldset {
1127 border: 1px solid
#aaa;
1131 .prefsection legend {
1134 .prefsection table, .prefsection legend {
1135 background-color: #F9F9F9;
1137 /* @media screen, projection { */
1142 div
.prefsectiontip
{
1145 background-color: #FFC1C1;
1152 padding-right: .3em;
1155 .preferences-login {
1157 margin-bottom: 1.5em;
1165 div#userloginForm form
,
1166 div#userlogin form#userlogin2
{
1167 margin: 0 3em 1em 0;
1168 border: 1px solid
#aaa;
1171 background-color: #f9f9f9;
1175 div#userloginForm table
,
1176 div#userlogin form#userlogin2 table
{
1177 background-color: #f9f9f9;
1180 div#userloginForm h2
,
1181 div#userlogin form#userlogin2 h2
{
1185 div#userlogin
.captcha
{
1186 border: 1px solid
#bbb;
1189 background-color: white
;
1193 #userloginprompt, #languagelinks
{
1203 #userlogin .loginText
, #userlogin
.loginPassword
{
1207 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1211 /* @media screen, projection { */
1213 ** IE/Mac fixes, hope to find a validating way to move this
1214 ** to a separate stylesheet. This would work but doesn't validate:
1215 ** @import("IEMacFixes.css");
1217 /* tabs: border on the a, not the div */
1218 * > html #p-cactions li
{ border: none
; }
1219 * > html #p-cactions li a
{
1220 border: 1px solid
#aaa;
1221 border-bottom: none
;
1223 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1224 /* footer icons need a fixed width */
1225 * > html #f-poweredbyico
,
1226 * > html #f-copyrightico
{ width: 88px; }
1227 * > html #bodyContent
,
1228 * > html #bodyContent pre
{
1231 padding-bottom: 25px;
1236 /* float/negative margin brokenness */
1237 * html #footer
{margin-top: 0;}
1238 * html #column-content
{
1242 * html div
.editsection
{ font-size: smaller
; }
1243 #pagehistory li
.selected
{ position: relative
; }
1245 /* Mac IE 5.0 fix; floated content turns invisible */
1246 * > html #column-content
{
1249 * > html #column-one
{
1255 margin-left: 13.2em;
1267 background-color: #ffa;
1273 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
1284 .sharedUploadNotice {
1288 span
.updatedmarker
{
1290 background-color: #0f0;
1294 border: 1px solid
#ccc;
1297 background-color: white
;
1301 vertical-align: top
;
1305 vertical-align: top
;
1306 background-color: #f9f9f9;
1307 border: solid
2px white
;
1310 table
.gallery caption
{
1318 div
.gallerybox div
.thumb
{
1320 border: 1px solid
#ccc;
1340 border-bottom: 1px solid
#aaa;
1341 padding-bottom: 1em;
1351 border: 1px solid gray
;
1352 background-color: #ffffff;
1359 .editExternallyHelp {
1364 li span
.deleted
, span
.history-deleted
{
1365 text-decoration: line-through
;
1375 /* Classes for EXIF data display */
1379 margin-bottom: 0.5em;
1383 table
.mw_metadata caption
{
1387 table
.mw_metadata th
{
1388 font-weight: normal
;
1391 table
.mw_metadata td
{
1397 border-collapse: collapse
;
1400 table
.mw_metadata td
, table
.mw_metadata th
{
1402 border: 1px solid
#aaaaaa;
1403 padding-left: 0.1em;
1404 padding-right: 0.1em;
1407 table
.mw_metadata th
{
1408 background-color: #f9f9f9;
1411 table
.mw_metadata td
{
1412 background-color: #fcfcfc;
1415 table
.collapsed tr
.collapsable
{
1423 border: 1px solid
#aaaaaa;
1424 background-color: #f9f9f9;
1427 margin-bottom: 0.5em;
1434 list-style-type: none
;
1443 input#wpSave
, input#wpDiff
{
1444 margin-right: 0.33em;
1447 #editform .editOptions
{
1455 /* Classes for article validation */
1457 table
.revisionform_default
{
1458 border: 1px solid
#000000;
1461 table
.revisionform_focus
{
1462 border: 1px solid
#000000;
1463 background-color:#00BBFF;
1466 tr
.revision_tr_default
{
1467 background-color:#EEEEEE;
1470 tr
.revision_tr_first
{
1471 background-color:#DDDDDD;
1480 border: solid
1px #bbbbff;
1481 background-color: #eeeeff;
1486 /* Allmessages table */
1488 #allmessagestable th
{
1489 background-color: #b2b2ff;
1492 #allmessagestable tr
.orig
{
1493 background-color: #ffe2e2;
1496 #allmessagestable tr
.new
{
1497 background-color: #e2ffe2;
1500 #allmessagestable tr
.def
{
1501 background-color: #f0f0ff;
1507 border: 1px solid
#ccc;
1513 div#searchTargetContainer
{
1523 background: #F0F0F0;
1524 border: solid
1px blue
;
1527 div#searchTarget ul li
{
1531 div#searchTarget ul
li:before
{
1533 content: "\00BB \0020";
1536 div
.multipageimagenavbox
{
1537 border: solid
1px silver
;
1540 -moz-border-radius: 6px;
1541 background: #f0f0f0;
1544 div
.multipageimagenavbox div
.thumb
{
1550 div
.multipageimagenavbox hr
{
1554 table
.multipageimage td
{
1558 /** Special:Version */
1560 table#sv-ext
, table#sv-hooks
{
1565 #sv-ext td
, #sv-hooks td
,
1566 #sv-ext th
, #sv-hooks th
{
1567 border: 1px solid
#A0A0A0;
1568 padding: 0 0.15em 0 0.15em;
1570 #sv-ext th
, #sv-hooks th
{
1571 background-color: #F0F0F0;
1573 padding: 0 0.15em 0 0.15em;
1579 tr
.sv-space td
{ display: none
; }
1582 Table pager (e.g. Special:Imagelist)
1583 - remove underlines from the navigation link
1585 - set the borders to outsets (similar to Special:Allmessages)
1586 - remove line wrapping for all td and th, set background color
1587 - restore line wrapping for the last two table cells (description and size)
1589 .TablePager_nav a { text-decoration: none
; }
1590 .TablePager { border-collapse: collapse
; }
1591 .TablePager, .TablePager td, .TablePager th {
1592 border: 0.15em solid
#777777;
1593 padding: 0 0.15em 0 0.15em;
1595 .TablePager th { background-color: #eeeeff }
1596 .TablePager td { background-color: #ffffff }
1597 .TablePager tr:hover td { background-color: #eeeeff }
1599 .imagelist td, .imagelist th { white-space: nowrap
}
1600 .imagelist .TablePager_col_links { background-color: #eeeeff }
1601 .imagelist .TablePager_col_img_description { white-space: normal
}
1602 .imagelist th.TablePager_sort { background-color: #ccccff }
1604 .templatesUsed { margin-top: 1.5em; }
1606 .mw-summary-preview {
1610 /* Convenience links on Special:Ipblocklist */
1611 p
.mw-ipb-conveniencelinks
{
1617 * Here is some stuff that's ACTUALLY COMMON TO ALL SKINS.
1618 * When the day comes, it can be moved to a *real* common.css.
1620 .mw-plusminus-null { color: #aaa; }
1621 .texvc { direction: ltr
; unicode-bidi: embed
; }
1622 /* Stop floats from intruding into edit area in previews */
1623 #toolbar, #wpTextbox1
{ clear: both
; }