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;
547 table
.diff
, td
.diff-otitle
, td
.diff-ntitle
{
548 background-color: white
;
554 td
.diff-deletedline
{
568 ** keep the whitespace in front of the ^=, hides rule from konqueror
569 ** this is css3, the validator doesn't like it when validating as css2
571 #bodyContent a
.external
,
572 #bodyContent a
[href ^
="gopher://"] {
573 background: url
(external.png) center right no-repeat
;
576 #bodyContent a
[href ^
="https://"],
578 background: url
(lock_icon.gif) center right no-repeat
;
581 #bodyContent a
[href ^
="mailto:"],
583 background: url
(mail_icon.gif) center right no-repeat
;
586 #bodyContent a
[href ^
="news://"] {
587 background: url
(news_icon.png) center right no-repeat
;
590 #bodyContent a
[href ^
="ftp://"],
592 background: url
(file_icon.gif) center right no-repeat
;
595 #bodyContent a
[href ^
="irc://"],
597 background: url
(discussionitem_icon.gif) center right no-repeat
;
600 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
601 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
602 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
603 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
604 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
605 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
607 background: url
("audio.png") center right no-repeat
;
610 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
611 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
612 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
613 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
615 background: url
("video.png") center right no-repeat
;
618 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
619 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
620 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
622 background: url
("document.png") center right no-repeat
;
626 /* disable interwiki styling */
627 #bodyContent a
.extiw
,
628 #bodyContent a
.extiw:active
{
633 #bodyContent a
.external
{
636 /* this can be used in the content area to switch off
637 special external link styling */
638 #bodyContent .plainlinks a
{
639 background: none
!important
;
640 padding: 0 !important
;
643 ** Structural Elements
647 ** general portlet styles (elements in the quickbar)
663 background: transparent
;
664 padding: 0 1em 0 .5em;
667 text-transform: lowercase
;
674 border: 1px solid
#2f6fab;
675 border-style: solid solid none solid
;
676 padding: 0 1em 0 1em;
677 text-transform: lowercase
;
686 background-color: white
;
688 border-collapse: collapse
;
689 border: 1px solid
#aaa;
690 padding: 0 .8em .3em .5em;
701 list-style-type: square
;
702 list-style-image: url
(bullet.gif);
715 #p-logo { display: none
}
719 ** the navigation portlet
722 #p-navigation .pBody
{
726 #p-navigation li
.active a
, #p-navigation li
.active
a:hover
{
727 text-decoration: none
;
750 padding: .5em .4em .4em .4em;
755 ** the personal toolbar
758 text-transform: lowercase
;
760 #p-personal li
.active
{
764 ** the page-related actions- page/talk, edit etc
766 #p-cactions .hiddenStructure
{
770 text-transform: lowercase
;
773 /* TODO: #t-iscite is only used by the Cite extension, come up with some
774 * system which allows extensions to add to this file on the fly
776 #t-ispermalink, #t-iscite
{
783 background-color: white
;
784 border-top: 1px solid
#fabd23;
785 border-bottom: 1px solid
#fabd23;
786 margin: .6em 0 1em 0;
787 padding: .4em 0 1.2em 0;
795 /* hide from incapable browsers */
796 head:first-child
+body #footer li
{ white-space: nowrap
; }
797 #f-poweredbyico, #f-copyrightico
{
800 top: -2px; /* Bump it up just a tad */
819 background-color: #f0f0f0;
822 #preftoc li
.selected
{
824 background-color: #f9f9f9;
825 border: 1px solid
#aaa;
832 #preftoc > li
.selected
{
841 text-decoration: none
;
843 #preftoc li
.selected a
{
845 text-decoration: none
;
853 border: 1px solid
#aaa;
856 background-color: #F9F9F9;
863 .prefsection fieldset {
864 border: 1px solid
#aaa;
868 .prefsection legend {
871 .prefsection table, .prefsection legend {
872 background-color: #F9F9F9;
886 margin-bottom: 1.5em;
894 div#userloginForm form
,
895 div#userlogin form#userlogin2
{
897 border: 1px solid
#aaa;
900 background-color: #f9f9f9;
904 div#userloginForm table
,
905 div#userlogin form#userlogin2 table
{
906 background-color: #f9f9f9;
909 div#userloginForm h2
,
910 div#userlogin form#userlogin2 h2
{
914 div#userlogin
.captcha
{
915 border: 1px solid
#bbb;
917 background-color: white
;
921 #userloginprompt, #languagelinks
{
931 #userlogin .loginText
, #userlogin
.loginPassword
{
935 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
940 /* float/negative margin brokenness */
941 * html #footer
{margin-top: 0;}
942 * html #column-content
{
946 * html div
.editsection
{ font-size: smaller
; }
947 #pagehistory li
.selected
{ position: relative
; }
949 /* Mac IE 5.0 fix; floated content turns invisible */
950 * > html #column-content
{
953 * > html #column-one
{
971 background-color: #ffa;
977 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
988 .sharedUploadNotice {
994 background-color: #0f0;
998 border: 1px solid
#ccc;
1001 background-color: white
;
1005 vertical-align: top
;
1009 vertical-align: top
;
1010 background-color: #f9f9f9;
1011 border: solid
2px white
;
1014 /* Keep this temporarily so that cached pages will display right */
1015 table
.gallery td
.galleryheader
{
1019 table
.gallery caption
{
1028 div
.gallerybox div
.thumb
{
1030 border: 1px solid
#ccc;
1051 border-bottom: 1px solid
#aaa;
1052 padding-bottom: 1em;
1062 border: 1px solid gray
;
1063 background-color: #ffffff;
1070 .editExternallyHelp {
1075 li span
.deleted
, span
.history-deleted
{
1076 text-decoration: line-through
;
1086 /* Classes for EXIF data display */
1090 margin-bottom: 0.5em;
1094 table
.mw_metadata caption
{
1098 table
.mw_metadata th
{
1099 font-weight: normal
;
1102 table
.mw_metadata td
{
1108 border-collapse: collapse
;
1111 table
.mw_metadata td
, table
.mw_metadata th
{
1113 border: 1px solid
#aaaaaa;
1114 padding-left: 0.1em;
1115 padding-right: 0.1em;
1118 table
.mw_metadata th
{
1119 background-color: #f9f9f9;
1122 table
.mw_metadata td
{
1123 background-color: #fcfcfc;
1126 table
.collapsed tr
.collapsable
{
1134 border: 1px solid
#aaaaaa;
1135 background-color: #f9f9f9;
1138 margin-bottom: 0.5em;
1145 list-style-type: none
;
1154 input#wpSave
, input#wpDiff
{
1155 margin-right: 0.33em;
1158 #editform .editOptions
{
1166 /* Classes for article validation */
1168 table
.revisionform_default
{
1169 border: 1px solid
#000000;
1172 table
.revisionform_focus
{
1173 border: 1px solid
#000000;
1174 background-color:#00BBFF;
1177 tr
.revision_tr_default
{
1178 background-color:#EEEEEE;
1181 tr
.revision_tr_first
{
1182 background-color:#DDDDDD;
1191 border: solid
1px #bbbbff;
1192 background-color: #eeeeff;
1197 /* Allmessages table */
1199 #allmessagestable th
{
1200 background-color: #b2b2ff;
1203 #allmessagestable tr
.orig
{
1204 background-color: #ffe2e2;
1207 #allmessagestable tr
.new
{
1208 background-color: #e2ffe2;
1211 #allmessagestable tr
.def
{
1212 background-color: #f0f0ff;
1218 border: 1px solid
#ccc;
1224 div#searchTargetContainer
{
1234 background: #F0F0F0;
1235 border: solid
1px blue
;
1238 div#searchTarget ul li
{
1242 div#searchTarget ul
li:before
{
1244 content: "\00BB \0020";
1247 div
.multipageimagenavbox
{
1248 border: solid
1px silver
;
1251 -moz-border-radius: 6px;
1252 background: #f0f0f0;
1255 div
.multipageimagenavbox div
.thumb
{
1261 div
.multipageimagenavbox hr
{
1265 table
.multipageimage td
{
1269 /** Special:Version */
1271 table#sv-ext
, table#sv-hooks
{
1276 #sv-ext td
, #sv-hooks td
,
1277 #sv-ext th
, #sv-hooks th
{
1278 border: 1px solid
#A0A0A0;
1279 padding: 0 0.15em 0 0.15em;
1281 #sv-ext th
, #sv-hooks th
{
1282 background-color: #F0F0F0;
1284 padding: 0 0.15em 0 0.15em;
1290 tr
.sv-space td
{ display: none
; }
1293 Table pager (e.g. Special:Imagelist)
1294 - remove underlines from the navigation link
1296 - set the borders to outsets (similar to Special:Allmessages)
1297 - remove line wrapping for all td and th, set background color
1298 - restore line wrapping for the last two table cells (description and size)
1300 .TablePager_nav a { text-decoration: none
; }
1301 .TablePager { border-collapse: collapse
; }
1302 .TablePager, .TablePager td, .TablePager th {
1303 border: 0.15em solid
#777777;
1304 padding: 0 0.15em 0 0.15em;
1306 .TablePager th { background-color: #eeeeff }
1307 .TablePager td { background-color: #ffffff }
1308 .TablePager tr:hover td { background-color: #eeeeff }
1310 .imagelist td, .imagelist th { white-space: nowrap
}
1311 .imagelist .TablePager_col_links { background-color: #eeeeff }
1312 .imagelist .TablePager_col_img_description { white-space: normal
}
1313 .imagelist th.TablePager_sort { background-color: #ccccff }
1315 .templatesUsed { margin-top: 1.5em; }
1317 .mw-summary-preview {
1322 /* Kill big bulky stuff that will clog up the screen */
1328 * Here is some stuff that's ACTUALLY COMMON TO ALL SKINS.
1329 * When the day comes, it can be moved to a *real* common.css.
1331 .mw-plusminus-null { color: #aaa; }
1332 .texvc { direction: ltr
; unicode-bidi: embed
; }
1333 /* Stop floats from intruding into edit area in previews */
1334 #toolbar, #wpTextbox1
{ clear: both
; }