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;
877 background-color: #FFC1C1;
889 margin-bottom: 1.5em;
897 div#userloginForm form
,
898 div#userlogin form#userlogin2
{
900 border: 1px solid
#aaa;
903 background-color: #f9f9f9;
907 div#userloginForm table
,
908 div#userlogin form#userlogin2 table
{
909 background-color: #f9f9f9;
912 div#userloginForm h2
,
913 div#userlogin form#userlogin2 h2
{
917 div#userlogin
.captcha
{
918 border: 1px solid
#bbb;
921 background-color: white
;
925 #userloginprompt, #languagelinks
{
935 #userlogin .loginText
, #userlogin
.loginPassword
{
939 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
944 /* float/negative margin brokenness */
945 * html #footer
{margin-top: 0;}
946 * html #column-content
{
950 * html div
.editsection
{ font-size: smaller
; }
951 #pagehistory li
.selected
{ position: relative
; }
953 /* Mac IE 5.0 fix; floated content turns invisible */
954 * > html #column-content
{
957 * > html #column-one
{
975 background-color: #ffa;
981 span
.newpage
, span
.minor
, span
.searchmatch
, span
.bot
{
992 .sharedUploadNotice {
998 background-color: #0f0;
1002 border: 1px solid
#ccc;
1005 background-color: white
;
1009 vertical-align: top
;
1013 vertical-align: top
;
1014 background-color: #f9f9f9;
1015 border: solid
2px white
;
1018 table
.gallery td
.galleryheader
{
1028 div
.gallerybox div
.thumb
{
1030 border: 1px solid
#ccc;
1050 border-bottom: 1px solid
#aaa;
1051 padding-bottom: 1em;
1061 border: 1px solid gray
;
1062 background-color: #ffffff;
1069 .editExternallyHelp {
1074 li span
.deleted
, span
.history-deleted
{
1075 text-decoration: line-through
;
1085 /* Classes for EXIF data display */
1089 margin-bottom: 0.5em;
1093 table
.mw_metadata caption
{
1097 table
.mw_metadata th
{
1098 font-weight: normal
;
1101 table
.mw_metadata td
{
1107 border-collapse: collapse
;
1110 table
.mw_metadata td
, table
.mw_metadata th
{
1112 border: 1px solid
#aaaaaa;
1113 padding-left: 0.1em;
1114 padding-right: 0.1em;
1117 table
.mw_metadata th
{
1118 background-color: #f9f9f9;
1121 table
.mw_metadata td
{
1122 background-color: #fcfcfc;
1125 table
.collapsed tr
.collapsable
{
1133 border: 1px solid
#aaaaaa;
1134 background-color: #f9f9f9;
1137 margin-bottom: 0.5em;
1144 list-style-type: none
;
1153 input#wpSave
, input#wpDiff
{
1154 margin-right: 0.33em;
1157 #editform .editOptions
{
1165 /* Classes for article validation */
1167 table
.revisionform_default
{
1168 border: 1px solid
#000000;
1171 table
.revisionform_focus
{
1172 border: 1px solid
#000000;
1173 background-color:#00BBFF;
1176 tr
.revision_tr_default
{
1177 background-color:#EEEEEE;
1180 tr
.revision_tr_first
{
1181 background-color:#DDDDDD;
1190 border: solid
1px #bbbbff;
1191 background-color: #eeeeff;
1196 /* Allmessages table */
1198 #allmessagestable th
{
1199 background-color: #b2b2ff;
1202 #allmessagestable tr
.orig
{
1203 background-color: #ffe2e2;
1206 #allmessagestable tr
.new
{
1207 background-color: #e2ffe2;
1210 #allmessagestable tr
.def
{
1211 background-color: #f0f0ff;
1217 border: 1px solid
#ccc;
1223 div#searchTargetContainer
{
1233 background: #F0F0F0;
1234 border: solid
1px blue
;
1237 div#searchTarget ul li
{
1241 div#searchTarget ul
li:before
{
1243 content: "\00BB \0020";
1246 div
.multipageimagenavbox
{
1247 border: solid
1px silver
;
1250 -moz-border-radius: 6px;
1251 background: #f0f0f0;
1254 div
.multipageimagenavbox div
.thumb
{
1260 div
.multipageimagenavbox hr
{
1264 table
.multipageimage td
{
1268 /** Special:Version */
1270 table#sv-ext
, table#sv-hooks
{
1275 #sv-ext td
, #sv-hooks td
,
1276 #sv-ext th
, #sv-hooks th
{
1277 border: 1px solid
#A0A0A0;
1278 padding: 0 0.15em 0 0.15em;
1280 #sv-ext th
, #sv-hooks th
{
1281 background-color: #F0F0F0;
1283 padding: 0 0.15em 0 0.15em;
1289 tr
.sv-space td
{ display: none
; }
1292 Table pager (e.g. Special:Imagelist)
1293 - remove underlines from the navigation link
1295 - set the borders to outsets (similar to Special:Allmessages)
1296 - remove line wrapping for all td and th, set background color
1297 - restore line wrapping for the last two table cells (description and size)
1299 .TablePager_nav a { text-decoration: none
; }
1300 .TablePager { border-collapse: collapse
; }
1301 .TablePager, .TablePager td, .TablePager th {
1302 border: 0.15em solid
#777777;
1303 padding: 0 0.15em 0 0.15em;
1305 .TablePager th { background-color: #eeeeff }
1306 .TablePager td { background-color: #ffffff }
1307 .TablePager tr:hover td { background-color: #eeeeff }
1309 .imagelist td, .imagelist th { white-space: nowrap
}
1310 .imagelist .TablePager_col_links { background-color: #eeeeff }
1311 .imagelist .TablePager_col_img_description { white-space: normal
}
1312 .imagelist th.TablePager_sort { background-color: #ccccff }
1314 .templatesUsed { margin-top: 1.5em; }
1316 .mw-summary-preview {
1321 /* Kill big bulky stuff that will clog up the screen */
1327 * Here is some stuff that's ACTUALLY COMMON TO ALL SKINS.
1328 * When the day comes, it can be moved to a *real* common.css.
1330 .mw-plusminus-null { color: #aaa; }
1331 .texvc { direction: ltr
; unicode-bidi: embed
; }
1332 /* Stop floats from intruding into edit area in previews */
1333 #toolbar, #wpTextbox1
{ clear: both
; }