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;
461 vertical-align: middle
;
468 ** classes for special content elements like town boxes
469 ** intended to be referenced directly from the wiki src
475 /* table standards */
484 border: 1px solid
#aaa;
485 background-color: #f9f9f9;
494 border: 1px solid gray
;
510 margin: .1em 0 0 1.1em;
511 background-color: #f3f3f3;
523 /* Page history styling */
524 /* the auto-generated edit comments */
528 #pagehistory span
.user
{
532 #pagehistory span
.minor
{
536 border: 1px solid white
;
538 #pagehistory li
.selected
{
539 background-color: #f9f9f9;
540 border: 1px dashed
#aaa;
544 ** keep the whitespace in front of the ^=, hides rule from konqueror
545 ** this is css3, the validator doesn't like it when validating as css2
547 #bodyContent a
.external
,
548 #bodyContent a
[href ^
="gopher://"] {
549 background: url
(external.png) center right no-repeat
;
552 #bodyContent a
[href ^
="https://"],
554 background: url
(lock_icon.gif) center right no-repeat
;
557 #bodyContent a
[href ^
="mailto:"],
559 background: url
(mail_icon.gif) center right no-repeat
;
562 #bodyContent a
[href ^
="news://"] {
563 background: url
(news_icon.png) center right no-repeat
;
566 #bodyContent a
[href ^
="ftp://"],
568 background: url
(file_icon.gif) center right no-repeat
;
571 #bodyContent a
[href ^
="irc://"],
573 background: url
(discussionitem_icon.gif) center right no-repeat
;
576 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
577 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
578 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
579 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
580 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
581 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
583 background: url
("audio.png") center right no-repeat
;
586 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
587 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
588 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
589 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
591 background: url
("video.png") center right no-repeat
;
594 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
595 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
596 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
598 background: url
("document.png") center right no-repeat
;
602 /* disable interwiki styling */
603 #bodyContent a
.extiw
,
604 #bodyContent a
.extiw:active
{
609 #bodyContent a
.external
{
612 /* this can be used in the content area to switch off
613 special external link styling */
614 #bodyContent .plainlinks a
{
615 background: none
!important
;
616 padding: 0 !important
;
619 ** Structural Elements
623 ** general portlet styles (elements in the quickbar)
639 background: transparent
;
640 padding: 0 1em 0 .5em;
643 text-transform: lowercase
;
650 border: 1px solid
#2f6fab;
651 border-style: solid solid none solid
;
652 padding: 0 1em 0 1em;
653 text-transform: lowercase
;
662 background-color: white
;
664 border-collapse: collapse
;
665 border: 1px solid
#aaa;
666 padding: 0 .8em .3em .5em;
677 list-style-type: square
;
678 list-style-image: url
(bullet.gif);
691 #p-logo { display: none
}
695 ** the navigation portlet
698 #p-navigation .pBody
{
702 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
703 text-decoration: none
;
726 padding: .5em .4em .4em .4em;
731 ** the personal toolbar
734 text-transform: lowercase
;
736 #p-personal li
.active
{
740 ** the page-related actions- page/talk, edit etc
742 #p-cactions .hiddenStructure
{
746 text-transform: lowercase
;
749 /* TODO: #t-iscite is only used by the Cite extension, come up with some
750 * system which allows extensions to add to this file on the fly
752 #t-ispermalink, #t-iscite
{
759 background-color: white
;
760 border-top: 1px solid
#fabd23;
761 border-bottom: 1px solid
#fabd23;
762 margin: .6em 0 1em 0;
763 padding: .4em 0 1.2em 0;
771 /* hide from incapable browsers */
772 head:first-child
+body #footer li
{ white-space: nowrap
; }
773 #f-poweredbyico, #f-copyrightico
{
776 top: -2px; /* Bump it up just a tad */
795 background-color: #f0f0f0;
798 #preftoc li
.selected
{
800 background-color: #f9f9f9;
801 border: 1px solid
#aaa;
808 #preftoc > li
.selected
{
817 text-decoration: none
;
819 #preftoc li
.selected a
{
821 text-decoration: none
;
829 border: 1px solid
#aaa;
832 background-color: #F9F9F9;
839 .prefsection fieldset {
840 border: 1px solid
#aaa;
844 .prefsection legend {
847 .prefsection table, .prefsection legend {
848 background-color: #F9F9F9;
862 margin-bottom: 1.5em;
870 div#userloginForm form
,
871 div#userlogin form#userlogin2
{
873 border: 1px solid
#aaa;
876 background-color: #f9f9f9;
880 div#userloginForm table
,
881 div#userlogin form#userlogin2 table
{
882 background-color: #f9f9f9;
885 div#userloginForm h2
,
886 div#userlogin form#userlogin2 h2
{
890 div#userlogin
.captcha
{
891 border: 1px solid
#bbb;
893 background-color: white
;
897 #userloginprompt, #languagelinks
{
907 #userlogin .loginText
, #userlogin
.loginPassword
{
911 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
916 /* float/negative margin brokenness */
917 * html #footer
{margin-top: 0;}
918 * html #column-content
{
922 * html div
.editsection
{ font-size: smaller
; }
923 #pagehistory li
.selected
{ position: relative
; }
925 /* Mac IE 5.0 fix; floated content turns invisible */
926 * > html #column-content
{
929 * > html #column-one
{
947 background-color: #ffa;
953 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
964 .sharedUploadNotice {
970 background-color: #0f0;
974 border: 1px solid
#ccc;
977 background-color: white
;
986 background-color: #f9f9f9;
987 border: solid
2px white
;
990 /* Keep this temporarily so that cached pages will display right */
991 table
.gallery td
.galleryheader
{
995 table
.gallery caption
{
1004 div
.gallerybox div
.thumb
{
1006 border: 1px solid
#ccc;
1027 border-bottom: 1px solid
#aaa;
1028 padding-bottom: 1em;
1038 border: 1px solid gray
;
1039 background-color: #ffffff;
1046 .editExternallyHelp {
1051 li span
.deleted
, span
.history-deleted
{
1052 text-decoration: line-through
;
1062 /* Classes for EXIF data display */
1066 margin-bottom: 0.5em;
1070 table
.mw_metadata caption
{
1074 table
.mw_metadata th
{
1075 font-weight: normal
;
1078 table
.mw_metadata td
{
1084 border-collapse: collapse
;
1087 table
.mw_metadata td
, table
.mw_metadata th
{
1089 border: 1px solid
#aaaaaa;
1090 padding-left: 0.1em;
1091 padding-right: 0.1em;
1094 table
.mw_metadata th
{
1095 background-color: #f9f9f9;
1098 table
.mw_metadata td
{
1099 background-color: #fcfcfc;
1102 table
.collapsed tr
.collapsable
{
1110 border: 1px solid
#aaaaaa;
1111 background-color: #f9f9f9;
1114 margin-bottom: 0.5em;
1121 list-style-type: none
;
1130 input#wpSave
, input#wpDiff
{
1131 margin-right: 0.33em;
1134 #editform .editOptions
{
1142 /* Classes for article validation */
1144 table
.revisionform_default
{
1145 border: 1px solid
#000000;
1148 table
.revisionform_focus
{
1149 border: 1px solid
#000000;
1150 background-color:#00BBFF;
1153 tr
.revision_tr_default
{
1154 background-color:#EEEEEE;
1157 tr
.revision_tr_first
{
1158 background-color:#DDDDDD;
1167 border: solid
1px #bbbbff;
1168 background-color: #eeeeff;
1173 /* Allmessages table */
1175 #allmessagestable th
{
1176 background-color: #b2b2ff;
1179 #allmessagestable tr
.orig
{
1180 background-color: #ffe2e2;
1183 #allmessagestable tr
.new
{
1184 background-color: #e2ffe2;
1187 #allmessagestable tr
.def
{
1188 background-color: #f0f0ff;
1194 border: 1px solid
#ccc;
1200 div#searchTargetContainer
{
1210 background: #F0F0F0;
1211 border: solid
1px blue
;
1214 div#searchTarget ul li
{
1218 div#searchTarget ul
li:before
{
1220 content: "\00BB \0020";
1223 div
.multipageimagenavbox
{
1224 border: solid
1px silver
;
1227 -moz-border-radius: 6px;
1228 background: #f0f0f0;
1231 div
.multipageimagenavbox div
.thumb
{
1237 div
.multipageimagenavbox hr
{
1241 table
.multipageimage td
{
1245 /** Special:Version */
1247 table#sv-ext
, table#sv-hooks
{
1252 #sv-ext td
, #sv-hooks td
,
1253 #sv-ext th
, #sv-hooks th
{
1254 border: 1px solid
#A0A0A0;
1255 padding: 0 0.15em 0 0.15em;
1257 #sv-ext th
, #sv-hooks th
{
1258 background-color: #F0F0F0;
1260 padding: 0 0.15em 0 0.15em;
1266 tr
.sv-space td
{ display: none
; }
1269 Table pager (e.g. Special:Imagelist)
1270 - remove underlines from the navigation link
1272 - set the borders to outsets (similar to Special:Allmessages)
1273 - remove line wrapping for all td and th, set background color
1274 - restore line wrapping for the last two table cells (description and size)
1276 .TablePager_nav a { text-decoration: none
; }
1277 .TablePager { border-collapse: collapse
; }
1278 .TablePager, .TablePager td, .TablePager th {
1279 border: 0.15em solid
#777777;
1280 padding: 0 0.15em 0 0.15em;
1282 .TablePager th { background-color: #eeeeff }
1283 .TablePager td { background-color: #ffffff }
1284 .TablePager tr:hover td { background-color: #eeeeff }
1286 .imagelist td, .imagelist th { white-space: nowrap
}
1287 .imagelist .TablePager_col_links { background-color: #eeeeff }
1288 .imagelist .TablePager_col_img_description { white-space: normal
}
1289 .imagelist th.TablePager_sort { background-color: #ccccff }
1291 .templatesUsed { margin-top: 1.5em; }
1293 .mw-summary-preview {
1298 /* Kill big bulky stuff that will clog up the screen */