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
{
600 ** keep the whitespace in front of the ^=, hides rule from konqueror
601 ** this is css3, the validator doesn't like it when validating as css2
603 #bodyContent a
.external
,
604 #bodyContent a
[href ^
="gopher://"] {
605 background: url
(external.png) center right no-repeat
;
608 #bodyContent a
[href ^
="https://"],
610 background: url
(lock_icon.gif) center right no-repeat
;
613 #bodyContent a
[href ^
="mailto:"],
615 background: url
(mail_icon.gif) center right no-repeat
;
618 #bodyContent a
[href ^
="news://"] {
619 background: url
(news_icon.png) center right no-repeat
;
622 #bodyContent a
[href ^
="ftp://"],
624 background: url
(file_icon.gif) center right no-repeat
;
627 #bodyContent a
[href ^
="irc://"],
629 background: url
(discussionitem_icon.gif) center right no-repeat
;
632 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
633 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
634 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
635 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
636 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
637 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
639 background: url
("audio.png") center right no-repeat
;
642 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
643 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
644 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
645 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
647 background: url
("video.png") center right no-repeat
;
650 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
651 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
652 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
654 background: url
("document.png") center right no-repeat
;
658 /* disable interwiki styling */
659 #bodyContent a
.extiw
,
660 #bodyContent a
.extiw:active
{
665 #bodyContent a
.external
{
668 /* this can be used in the content area to switch off
669 special external link styling */
670 #bodyContent .plainlinks a
{
671 background: none
!important
;
672 padding: 0 !important
;
675 ** Structural Elements
679 ** general portlet styles (elements in the quickbar)
695 background: transparent
;
696 padding: 0 1em 0 .5em;
699 text-transform: lowercase
;
706 border: 1px solid
#2f6fab;
707 border-style: solid solid none solid
;
708 padding: 0 1em 0 1em;
709 text-transform: lowercase
;
718 background-color: white
;
720 border-collapse: collapse
;
721 border: 1px solid
#aaa;
722 padding: 0 .8em .3em .5em;
733 list-style-type: square
;
734 list-style-image: url
(bullet.gif);
746 /* @media screen, projection { */
750 position: absolute
; /*needed to use z-index */
764 background-repeat: no-repeat
;
765 background-position: 35% 50% !important
;
766 text-decoration: none
;
770 ** the navigation portlet
773 /* @media screen, projection { */
781 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
786 #p-navigation .pBody
{
790 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
791 text-decoration: none
;
799 /* @media screen, projection { */
820 padding: .5em .4em .4em .4em;
825 ** the personal toolbar
827 /* @media screen, projection { */
847 #p-personal .portlet
,
856 /* this is the ul contained in the portlet */
861 padding: 0 2em 0 3em;
880 text-decoration: none
;
882 padding-bottom: .2em;
885 #p-personal li
a:hover
{
886 background-color: white
;
887 padding-bottom: .2em;
888 text-decoration: none
;
890 #p-personal li
.active
a:hover
{
891 background-color: transparent
;
893 /* the icon in front of the user name, single quotes
894 in bg url to hide it from iemac */
898 background: url
(user.gif) top left no-repeat
;
900 text-transform: none
;
904 text-transform: lowercase
;
906 #p-personal li
.active
{
910 ** the page-related actions- page/talk, edit etc
912 /* @media screen, projection { */
923 border-collapse: collapse
;
933 border: 1px solid
#aaa;
940 #p-cactions li
.selected
{
941 border-color: #fabd23;
946 background-color: #fbfbfb;
949 padding: 0 .8em .3em;
953 text-decoration: none
;
955 #p-cactions li
.selected a
{
957 padding: 0 1em .2em!important
;
958 background-color: white
;
963 #p-cactions li
a:hover
{
965 text-decoration: none
;
966 background-color: white
;
971 #p-cactions li
.istalk
{
974 #p-cactions li
.istalk a
{
977 #p-cactions #ca-addsection a
{
981 /* offsets to distinguish the tab groups */
985 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
990 background-color: transparent
;
992 border-collapse: inherit
;
997 #p-cactions .hiddenStructure
{
1001 text-transform: lowercase
;
1005 ** the remaining portlets
1007 /* @media screen, projection { */
1015 /* TODO: #t-iscite is only used by the Cite extension, come up with some
1016 * system which allows extensions to add to this file on the fly
1018 #t-ispermalink, #t-iscite
{
1025 background-color: white
;
1026 border-top: 1px solid
#fabd23;
1027 border-bottom: 1px solid
#fabd23;
1028 margin: .6em 0 1em 0;
1029 padding: .4em 0 1.2em 0;
1037 /* hide from incapable browsers */
1038 head:first-child
+body #footer li
{ white-space: nowrap
; }
1039 #f-poweredbyico, #f-copyrightico
{
1042 top: -2px; /* Bump it up just a tad */
1061 background-color: #f0f0f0;
1064 /* @media screen, projection { */
1066 margin: 1px -2px 1px 2px;
1068 padding: 2px 0 3px 0;
1069 border: 1px solid
#fff;
1070 border-right-color: #716f64;
1073 white-space: nowrap
;
1074 list-style-type: none
;
1075 list-style-image: none
;
1079 #preftoc li
.selected
{
1081 background-color: #f9f9f9;
1082 border: 1px solid
#aaa;
1083 border-bottom: none
;
1089 #preftoc > li
.selected
{
1098 text-decoration: none
;
1100 #preftoc li
.selected a
{
1102 text-decoration: none
;
1110 border: 1px solid
#aaa;
1113 background-color: #F9F9F9;
1120 .prefsection fieldset {
1121 border: 1px solid
#aaa;
1125 .prefsection legend {
1128 .prefsection table, .prefsection legend {
1129 background-color: #F9F9F9;
1131 /* @media screen, projection { */
1136 div
.prefsectiontip
{
1139 background-color: #FFC1C1;
1146 padding-right: .3em;
1149 .preferences-login {
1151 margin-bottom: 1.5em;
1159 div#userloginForm form
,
1160 div#userlogin form#userlogin2
{
1161 margin: 0 3em 1em 0;
1162 border: 1px solid
#aaa;
1165 background-color: #f9f9f9;
1169 div#userloginForm table
,
1170 div#userlogin form#userlogin2 table
{
1171 background-color: #f9f9f9;
1174 div#userloginForm h2
,
1175 div#userlogin form#userlogin2 h2
{
1179 div#userlogin
.captcha
{
1180 border: 1px solid
#bbb;
1183 background-color: white
;
1187 #userloginprompt, #languagelinks
{
1197 #userlogin .loginText
, #userlogin
.loginPassword
{
1201 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1205 /* @media screen, projection { */
1207 ** IE/Mac fixes, hope to find a validating way to move this
1208 ** to a separate stylesheet. This would work but doesn't validate:
1209 ** @import("IEMacFixes.css");
1211 /* tabs: border on the a, not the div */
1212 * > html #p-cactions li
{ border: none
; }
1213 * > html #p-cactions li a
{
1214 border: 1px solid
#aaa;
1215 border-bottom: none
;
1217 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1218 /* footer icons need a fixed width */
1219 * > html #f-poweredbyico
,
1220 * > html #f-copyrightico
{ width: 88px; }
1221 * > html #bodyContent
,
1222 * > html #bodyContent pre
{
1225 padding-bottom: 25px;
1230 /* float/negative margin brokenness */
1231 * html #footer
{margin-top: 0;}
1232 * html #column-content
{
1236 * html div
.editsection
{ font-size: smaller
; }
1237 #pagehistory li
.selected
{ position: relative
; }
1239 /* Mac IE 5.0 fix; floated content turns invisible */
1240 * > html #column-content
{
1243 * > html #column-one
{
1249 margin-left: 13.2em;
1261 background-color: #ffa;
1267 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
1278 .sharedUploadNotice {
1282 span
.updatedmarker
{
1284 background-color: #0f0;
1288 border: 1px solid
#ccc;
1291 background-color: white
;
1295 vertical-align: top
;
1299 vertical-align: top
;
1300 background-color: #f9f9f9;
1301 border: solid
2px white
;
1304 table
.gallery td
.galleryheader
{
1314 div
.gallerybox div
.thumb
{
1316 border: 1px solid
#ccc;
1336 border-bottom: 1px solid
#aaa;
1337 padding-bottom: 1em;
1347 border: 1px solid gray
;
1348 background-color: #ffffff;
1355 .editExternallyHelp {
1360 li span
.deleted
, span
.history-deleted
{
1361 text-decoration: line-through
;
1371 /* Classes for EXIF data display */
1375 margin-bottom: 0.5em;
1379 table
.mw_metadata caption
{
1383 table
.mw_metadata th
{
1384 font-weight: normal
;
1387 table
.mw_metadata td
{
1393 border-collapse: collapse
;
1396 table
.mw_metadata td
, table
.mw_metadata th
{
1398 border: 1px solid
#aaaaaa;
1399 padding-left: 0.1em;
1400 padding-right: 0.1em;
1403 table
.mw_metadata th
{
1404 background-color: #f9f9f9;
1407 table
.mw_metadata td
{
1408 background-color: #fcfcfc;
1411 table
.collapsed tr
.collapsable
{
1419 border: 1px solid
#aaaaaa;
1420 background-color: #f9f9f9;
1423 margin-bottom: 0.5em;
1430 list-style-type: none
;
1439 input#wpSave
, input#wpDiff
{
1440 margin-right: 0.33em;
1443 #editform .editOptions
{
1451 /* Classes for article validation */
1453 table
.revisionform_default
{
1454 border: 1px solid
#000000;
1457 table
.revisionform_focus
{
1458 border: 1px solid
#000000;
1459 background-color:#00BBFF;
1462 tr
.revision_tr_default
{
1463 background-color:#EEEEEE;
1466 tr
.revision_tr_first
{
1467 background-color:#DDDDDD;
1476 border: solid
1px #bbbbff;
1477 background-color: #eeeeff;
1482 /* Allmessages table */
1484 #allmessagestable th
{
1485 background-color: #b2b2ff;
1488 #allmessagestable tr
.orig
{
1489 background-color: #ffe2e2;
1492 #allmessagestable tr
.new
{
1493 background-color: #e2ffe2;
1496 #allmessagestable tr
.def
{
1497 background-color: #f0f0ff;
1503 border: 1px solid
#ccc;
1509 div#searchTargetContainer
{
1519 background: #F0F0F0;
1520 border: solid
1px blue
;
1523 div#searchTarget ul li
{
1527 div#searchTarget ul
li:before
{
1529 content: "\00BB \0020";
1532 div
.multipageimagenavbox
{
1533 border: solid
1px silver
;
1536 -moz-border-radius: 6px;
1537 background: #f0f0f0;
1540 div
.multipageimagenavbox div
.thumb
{
1546 div
.multipageimagenavbox hr
{
1550 table
.multipageimage td
{
1554 /** Special:Version */
1556 table#sv-ext
, table#sv-hooks
{
1561 #sv-ext td
, #sv-hooks td
,
1562 #sv-ext th
, #sv-hooks th
{
1563 border: 1px solid
#A0A0A0;
1564 padding: 0 0.15em 0 0.15em;
1566 #sv-ext th
, #sv-hooks th
{
1567 background-color: #F0F0F0;
1569 padding: 0 0.15em 0 0.15em;
1575 tr
.sv-space td
{ display: none
; }
1578 Table pager (e.g. Special:Imagelist)
1579 - remove underlines from the navigation link
1581 - set the borders to outsets (similar to Special:Allmessages)
1582 - remove line wrapping for all td and th, set background color
1583 - restore line wrapping for the last two table cells (description and size)
1585 .TablePager_nav a { text-decoration: none
; }
1586 .TablePager { border-collapse: collapse
; }
1587 .TablePager, .TablePager td, .TablePager th {
1588 border: 0.15em solid
#777777;
1589 padding: 0 0.15em 0 0.15em;
1591 .TablePager th { background-color: #eeeeff }
1592 .TablePager td { background-color: #ffffff }
1593 .TablePager tr:hover td { background-color: #eeeeff }
1595 .imagelist td, .imagelist th { white-space: nowrap
}
1596 .imagelist .TablePager_col_links { background-color: #eeeeff }
1597 .imagelist .TablePager_col_img_description { white-space: normal
}
1598 .imagelist th.TablePager_sort { background-color: #ccccff }
1600 .templatesUsed { margin-top: 1.5em; }
1602 .mw-summary-preview {
1606 /* Convenience links on Special:Ipblocklist */
1607 p
.mw-ipb-conveniencelinks
{
1613 * Here is some stuff that's ACTUALLY COMMON TO ALL SKINS.
1614 * When the day comes, it can be moved to a *real* common.css.
1616 #toolbar { clear: both
; }
1617 .mw-plusminus-null { color: #aaa; }
1618 .texvc { direction: ltr
; unicode-bidi: embed
; }