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 handhelds. All rules not marked media-specific are shared
14 * with main.css and should be updated in tandem. The rules can't be in the
15 * same file because old browsers like IE5 won't obey @media rules.
17 * Rules that are handheld-specific are given @media rules in case old browsers
18 * don't recognize the media attribute and load this file anyway.
24 border: 1px solid
#aaa;
28 /* the left column width is specified in class .portlet */
31 ** We take advantage of keyword scaling- browsers won't go below 9px
32 ** More at http://www.w3.org/2003/07/30-font-size
33 ** http://style.cleverchimp.com/font_size_intervals/altintervals.html
37 font: x-small sans-serif
;
38 background: #f9f9f9 url
(headbg.jpg) 0 0 no-repeat
;
44 /* scale back up to a sane default */
60 /* we don't want the bottom borders of <h2>s to be visible through
62 background-color: white
;
65 text-decoration: none
;
76 text-decoration: underline
;
81 a
.new
, #p-personal a
.new
{
84 a
.new:visited
, #p-personal a
.new:visited
{
90 vertical-align: middle
;
99 background-color: #aaa;
101 margin: .2em 0 .2em 0;
104 h1
, h2
, h3
, h4
, h5
, h6
{
110 padding-bottom: .17em;
111 border-bottom: 1px solid
#aaa;
113 h1
{ font-size: 188%; }
114 h1
.editsection
{ font-size: 53%; }
115 h2
{ font-size: 150%; }
116 h2
.editsection
{ font-size: 67%; }
121 h3
{ font-size: 132%; }
122 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
123 h4
{ font-size: 116%; }
124 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
125 h5
{ font-size: 100%; }
126 h5
.editsection
{ font-weight: normal
; }
127 h6
{ font-size: 80%; }
128 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
137 list-style-type: square
;
138 margin: .3em 0 0 1.5em;
140 list-style-image: url
(bullet.gif);
144 margin: .3em 0 0 3.2em;
146 list-style-image: none
;
166 border: 1px solid
#2f6fab;
185 input
.historysubmit
{
186 padding: 0 .3em .3em .3em !important
;
189 height: 1.7em !important
;
195 abbr
, acronym
, .explain
{
196 border-bottom: 1px dotted black
;
202 font-family: Times
, "Times New Roman", serif
;
207 font-family: Times, "Times New Roman", serif;
211 background-color: #f9f9f9;
215 border: 1px dashed
#2f6fab;
217 background-color: #f9f9f9;
222 ** the main content area
225 #contentSub, #contentSub2
{
228 margin: 0 0 1.4em 1em;
236 /* Some space under the headers in the content area */
237 #bodyContent h1
, #bodyContent h2
{
240 #bodyContent h3
, #bodyContent h4
, #bodyContent h5
{
247 /* user notification thing */
249 background-color: #ffce7b;
250 border: 1px solid
#ffa500;
255 vertical-align: middle
;
270 .errorbox, .successbox {
280 background-color: #fff2f2;
284 background-color: #dfd;
286 .errorbox h2, .successbox h2 {
295 border: 1px solid
#aaa;
296 background-color: #f9f9f9;
301 /* currently unused, intended to be used by a metadata box
302 in the bottom-right corner of the content area */
303 .documentDescription {
304 /* The summary text describing the document */
327 /* small for tables and similar */
342 border: 1px solid
#aaa;
343 background-color: #f9f9f9;
363 list-style-type: none
;
364 list-style-image: none
;
385 div
.floatright
, table
.floatright
{
389 margin: 0 0 .5em .5em;
392 border: .5em solid white;
393 border-width: .5em 0 .8em 1.4em;
396 div
.floatright p
{ font-style: italic
; }
397 div
.floatleft
, table
.floatleft
{
401 margin: 0 .5em .5em 0;
404 margin: .3em .5em .5em 0;
405 border: .5em solid white;
406 border-width: .5em 1.4em .8em 0;
409 div
.floatleft p
{ font-style: italic
; }
418 border: 1px solid
#ccc;
419 padding: 3px !important
;
420 background-color: #f9f9f9;
426 border: 1px solid
#ccc;
432 padding: 3px !important
;
437 border: none
!important
;
438 background: none
!important
;
440 div
.magnify a
, div
.magnify img
{
442 border: none
!important
;
443 background: none
!important
;
448 border-width: .5em 0 .8em 1.4em;
454 border-width: .5em 1.4em .8em 0;
462 vertical-align: middle
;
469 ** classes for special content elements like town boxes
470 ** intended to be referenced directly from the wiki src
476 /* table standards */
485 border: 1px solid
#aaa;
486 background-color: #f9f9f9;
495 border: 1px solid gray
;
511 margin: .1em 0 0 1.1em;
512 background-color: #f3f3f3;
524 /* Page history styling */
525 /* the auto-generated edit comments */
529 #pagehistory span
.user
{
533 #pagehistory span
.minor
{
537 border: 1px solid white
;
539 #pagehistory li
.selected
{
540 background-color: #f9f9f9;
541 border: 1px dashed
#aaa;
545 ** keep the whitespace in front of the ^=, hides rule from konqueror
546 ** this is css3, the validator doesn't like it when validating as css2
548 #bodyContent a
.external
,
549 #bodyContent a
[href ^
="gopher://"] {
550 background: url
(external.png) center right no-repeat
;
553 #bodyContent a
[href ^
="https://"],
555 background: url
(lock_icon.gif) center right no-repeat
;
558 #bodyContent a
[href ^
="mailto:"],
560 background: url
(mail_icon.gif) center right no-repeat
;
563 #bodyContent a
[href ^
="news://"] {
564 background: url
(news_icon.png) center right no-repeat
;
567 #bodyContent a
[href ^
="ftp://"],
569 background: url
(file_icon.gif) center right no-repeat
;
572 #bodyContent a
[href ^
="irc://"],
574 background: url
(discussionitem_icon.gif) center right no-repeat
;
577 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
578 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
579 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
580 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
581 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
582 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
584 background: url
("audio.png") center right no-repeat
;
587 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
588 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
589 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
590 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
592 background: url
("video.png") center right no-repeat
;
595 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
596 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
597 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
599 background: url
("document.png") center right no-repeat
;
603 /* disable interwiki styling */
604 #bodyContent a
.extiw
,
605 #bodyContent a
.extiw:active
{
610 #bodyContent a
.external
{
613 /* this can be used in the content area to switch off
614 special external link styling */
615 #bodyContent .plainlinks a
{
616 background: none
!important
;
617 padding: 0 !important
;
620 ** Structural Elements
624 ** general portlet styles (elements in the quickbar)
640 background: transparent
;
641 padding: 0 1em 0 .5em;
644 text-transform: lowercase
;
651 border: 1px solid
#2f6fab;
652 border-style: solid solid none solid
;
653 padding: 0 1em 0 1em;
654 text-transform: lowercase
;
663 background-color: white
;
665 border-collapse: collapse
;
666 border: 1px solid
#aaa;
667 padding: 0 .8em .3em .5em;
678 list-style-type: square
;
679 list-style-image: url
(bullet.gif);
692 #p-logo { display: none
}
696 ** the navigation portlet
699 #p-navigation .pBody
{
703 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
704 text-decoration: none
;
727 padding: .5em .4em .4em .4em;
732 ** the personal toolbar
735 text-transform: lowercase
;
737 #p-personal li
.active
{
741 ** the page-related actions- page/talk, edit etc
743 #p-cactions .hiddenStructure
{
747 text-transform: lowercase
;
750 /* TODO: #t-iscite is only used by the Cite extension, come up with some
751 * system which allows extensions to add to this file on the fly
753 #t-ispermalink, #t-iscite
{
760 background-color: white
;
761 border-top: 1px solid
#fabd23;
762 border-bottom: 1px solid
#fabd23;
763 margin: .6em 0 1em 0;
764 padding: .4em 0 1.2em 0;
772 /* hide from incapable browsers */
773 head:first-child
+body #footer li
{ white-space: nowrap
; }
774 #f-poweredbyico, #f-copyrightico
{
777 top: -2px; /* Bump it up just a tad */
796 background-color: #f0f0f0;
799 #preftoc li
.selected
{
801 background-color: #f9f9f9;
802 border: 1px solid
#aaa;
809 #preftoc > li
.selected
{
818 text-decoration: none
;
820 #preftoc li
.selected a
{
822 text-decoration: none
;
830 border: 1px solid
#aaa;
833 background-color: #F9F9F9;
840 .prefsection fieldset {
841 border: 1px solid
#aaa;
845 .prefsection legend {
848 .prefsection table, .prefsection legend {
849 background-color: #F9F9F9;
863 margin-bottom: 1.5em;
871 div#userloginForm form
,
872 div#userlogin form#userlogin2
{
874 border: 1px solid
#aaa;
877 background-color: #f9f9f9;
881 div#userloginForm table
,
882 div#userlogin form#userlogin2 table
{
883 background-color: #f9f9f9;
886 div#userloginForm h2
,
887 div#userlogin form#userlogin2 h2
{
891 div#userlogin
.captcha
{
892 border: 1px solid
#bbb;
894 background-color: white
;
898 #userloginprompt, #languagelinks
{
908 #userlogin .loginText
, #userlogin
.loginPassword
{
912 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
917 /* float/negative margin brokenness */
918 * html #footer
{margin-top: 0;}
919 * html #column-content
{
923 * html div
.editsection
{ font-size: smaller
; }
924 #pagehistory li
.selected
{ position: relative
; }
926 /* Mac IE 5.0 fix; floated content turns invisible */
927 * > html #column-content
{
930 * > html #column-one
{
948 background-color: #ffa;
954 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
965 .sharedUploadNotice {
971 background-color: #0f0;
975 border: 1px solid
#ccc;
978 background-color: white
;
987 background-color: #f9f9f9;
988 border: solid
2px white
;
991 /* Keep this temporarily so that cached pages will display right */
992 table
.gallery td
.galleryheader
{
996 table
.gallery caption
{
1005 div
.gallerybox div
.thumb
{
1007 border: 1px solid
#ccc;
1028 border-bottom: 1px solid
#aaa;
1029 padding-bottom: 1em;
1039 border: 1px solid gray
;
1040 background-color: #ffffff;
1047 .editExternallyHelp {
1052 li span
.deleted
, span
.history-deleted
{
1053 text-decoration: line-through
;
1063 /* Classes for EXIF data display */
1067 margin-bottom: 0.5em;
1071 table
.mw_metadata caption
{
1075 table
.mw_metadata th
{
1076 font-weight: normal
;
1079 table
.mw_metadata td
{
1085 border-collapse: collapse
;
1088 table
.mw_metadata td
, table
.mw_metadata th
{
1090 border: 1px solid
#aaaaaa;
1091 padding-left: 0.1em;
1092 padding-right: 0.1em;
1095 table
.mw_metadata th
{
1096 background-color: #f9f9f9;
1099 table
.mw_metadata td
{
1100 background-color: #fcfcfc;
1103 table
.collapsed tr
.collapsable
{
1111 border: 1px solid
#aaaaaa;
1112 background-color: #f9f9f9;
1115 margin-bottom: 0.5em;
1122 list-style-type: none
;
1131 input#wpSave
, input#wpDiff
{
1132 margin-right: 0.33em;
1135 #editform .editOptions
{
1143 /* Classes for article validation */
1145 table
.revisionform_default
{
1146 border: 1px solid
#000000;
1149 table
.revisionform_focus
{
1150 border: 1px solid
#000000;
1151 background-color:#00BBFF;
1154 tr
.revision_tr_default
{
1155 background-color:#EEEEEE;
1158 tr
.revision_tr_first
{
1159 background-color:#DDDDDD;
1168 border: solid
1px #bbbbff;
1169 background-color: #eeeeff;
1174 /* Allmessages table */
1176 #allmessagestable th
{
1177 background-color: #b2b2ff;
1180 #allmessagestable tr
.orig
{
1181 background-color: #ffe2e2;
1184 #allmessagestable tr
.new
{
1185 background-color: #e2ffe2;
1188 #allmessagestable tr
.def
{
1189 background-color: #f0f0ff;
1195 border: 1px solid
#ccc;
1201 div#searchTargetContainer
{
1211 background: #F0F0F0;
1212 border: solid
1px blue
;
1215 div#searchTarget ul li
{
1219 div#searchTarget ul
li:before
{
1221 content: "\00BB \0020";
1224 div
.multipageimagenavbox
{
1225 border: solid
1px silver
;
1228 -moz-border-radius: 6px;
1229 background: #f0f0f0;
1232 div
.multipageimagenavbox div
.thumb
{
1238 div
.multipageimagenavbox hr
{
1242 table
.multipageimage td
{
1246 /** Special:Version */
1248 table#sv-ext
, table#sv-hooks
{
1253 #sv-ext td
, #sv-hooks td
,
1254 #sv-ext th
, #sv-hooks th
{
1255 border: 1px solid
#A0A0A0;
1256 padding: 0 0.15em 0 0.15em;
1258 #sv-ext th
, #sv-hooks th
{
1259 background-color: #F0F0F0;
1261 padding: 0 0.15em 0 0.15em;
1267 tr
.sv-space td
{ display: none
; }
1270 Table pager (e.g. Special:Imagelist)
1271 - remove underlines from the navigation link
1273 - set the borders to outsets (similar to Special:Allmessages)
1274 - remove line wrapping for all td and th, set background color
1275 - restore line wrapping for the last two table cells (description and size)
1277 .TablePager_nav a { text-decoration: none
; }
1278 .TablePager { border-collapse: collapse
; }
1279 .TablePager, .TablePager td, .TablePager th {
1280 border: 0.15em solid
#777777;
1281 padding: 0 0.15em 0 0.15em;
1283 .TablePager th { background-color: #eeeeff }
1284 .TablePager td { background-color: #ffffff }
1285 .TablePager tr:hover td { background-color: #eeeeff }
1287 .imagelist td, .imagelist th { white-space: nowrap
}
1288 .imagelist .TablePager_col_links { background-color: #eeeeff }
1289 .imagelist .TablePager_col_img_description { white-space: normal
}
1290 .imagelist th.TablePager_sort { background-color: #ccccff }
1292 .templatesUsed { margin-top: 1.5em; }
1294 .mw-summary-preview {
1299 /* Kill big bulky stuff that will clog up the screen */