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 :)
15 margin: 0 0 .6em -12.2em;
19 margin: 2.8em 0 0 12.2em;
20 padding: 0 1em 1em 1em;
30 border: 1px solid
#aaa;
34 /* the left column width is specified in class .portlet */
37 ** We take advantage of keyword scaling- browsers won't go below 9px
38 ** More at http://www.w3.org/2003/07/30-font-size
39 ** http://style.cleverchimp.com/font_size_intervals/altintervals.html
43 font: x-small sans-serif
;
45 background: #f9f9f9 url
(headbg.jpg) 0 0 no-repeat
;
49 direction: ltr
; /* Needed for RTL flipping */
53 /* scale back up to a sane default */
67 text-decoration: none
;
78 text-decoration: underline
;
83 a
.new
, #p-personal a
.new
{
86 a
.new:visited
, #p-personal a
.new:visited
{
92 vertical-align: middle
;
95 margin: .4em 0 .5em 0;
105 background-color: #aaa;
107 margin: .2em 0 .2em 0;
111 .mw-h1, .mw-h2, .mw-h3, .mw-h4, .mw-h5, .mw-h6 {
116 border-bottom: 1px solid
#aaa;
118 .mw-h3, .mw-h4, .mw-h5, .mw-h6 {
121 h1
, h2
{ font-weight: normal
; }
123 h1
{ font-size: 188%; }
124 h2
{ font-size: 150%; }
129 h3
{ font-size: 132%; }
130 h4
{ font-size: 116%; }
131 h5
{ font-size: 100%; }
132 h6
{ font-size: 80%; }
134 /* To replicate the old padding, where h# were block-level elements and edit
135 * links were floated, we need to multiply .5em top padding and .17em bottom
136 * padding by the header text sizes. */
137 .mw-h1 { padding: .94em 0 .32em; } /* (0.5*1.88)em 0 (0.17*1.88)em */
138 .mw-h2 { padding: .75em 0 .26em; } /* (0.5*1.50)em 0 (0.17*1.50)em */
139 .mw-h3 { padding: .66em 0 .22em; } /* etc. */
140 .mw-h4 { padding: .58em 0 .20em; }
141 .mw-h5 { padding: .50em 0 .17em; }
142 .mw-h6 { padding: .40em 0 .14em; }
147 list-style-type: square
;
148 margin: .3em 0 0 1.5em;
151 list-style-image: url
(bullet.gif);
155 margin: .3em 0 0 3.2em;
157 list-style-image: none
;
177 border: 1px solid
#2f6fab;
184 padding: 0 0.5em 0.5em;
200 input
.historysubmit
{
201 padding: 0 .3em .3em .3em !important
;
204 height: 1.7em !important
;
211 font-family: Times
, "Times New Roman", serif
;
216 font-family: Times, "Times New Roman", serif;
220 background-color: #f9f9f9;
224 border: 1px dashed
#2f6fab;
226 background-color: #f9f9f9;
231 ** the main content area
241 #contentSub, #contentSub2
{
244 margin: 0 0 1.4em 1em;
252 /* Some space under the headers in the content area */
253 #bodyContent h1
, #bodyContent h2
{
256 #bodyContent h3
, #bodyContent h4
, #bodyContent h5
{
261 /* These two rules hack around bug 2013 (fix for more limited bug 11325).
262 When bug 2013 is fixed properly, they should be removed. */
267 /* user notification thing */
269 background-color: #ffce7b;
270 border: 1px solid
#ffa500;
275 vertical-align: middle
;
289 border: 1px solid
#aaa;
290 background-color: #f9f9f9;
295 /* currently unused, intended to be used by a metadata box
296 in the bottom-right corner of the content area */
297 .documentDescription {
298 /* The summary text describing the document */
321 /* small for tables and similar */
336 border: 1px solid
#aaa;
337 background-color: #f9f9f9;
357 list-style-type: none
;
358 list-style-image: none
;
378 /* @noflip */div
.floatright
, table
.floatright
{
379 margin: 0 0 .5em .5em;
382 border: .5em solid white;
383 border-width: .5em 0 .8em 1.4em;
386 div
.floatright p
{ font-style: italic
; }
387 /* @noflip */div
.floatleft
, table
.floatleft
{
388 margin: 0 .5em .5em 0;
391 margin: .3em .5em .5em 0;
392 border: .5em solid white;
393 border-width: .5em 1.4em .8em 0;
396 div
.floatleft p
{ font-style: italic
; }
403 border: 1px solid
#ccc;
404 padding: 3px !important
;
405 background-color: #f9f9f9;
411 border: 1px solid
#ccc;
417 padding: 3px !important
;
422 border: none
!important
;
423 background: none
!important
;
425 div
.magnify a
, div
.magnify img
{
427 border: none
!important
;
428 background: none
!important
;
430 /* @noflip */div
.tright
{
431 margin: .5em 0 1.3em 1.4em;
433 /* @noflip */div
.tleft
{
434 margin: .5em 1.4em 1.3em 0;
437 border: 1px solid
#dddddd;
441 ** classes for special content elements like town boxes
442 ** intended to be referenced directly from the wiki src
448 /* table standards */
457 border: 1px solid
#aaa;
458 background-color: #f9f9f9;
473 ** keep the whitespace in front of the ^=, hides rule from konqueror
474 ** this is css3, the validator doesn't like it when validating as css2
476 #bodyContent a
.external
,
477 #bodyContent a
.external
[href ^
="gopher://"] {
479 background: url
(external-ltr
.png
) center right no-repeat
;
482 #bodyContent a
.external
[href ^
="https://"],
485 background: url
(lock_icon.gif) center right no-repeat
;
488 #bodyContent a
.external
[href ^
="mailto:"],
491 background: url
(mail_icon.gif) center right no-repeat
;
494 #bodyContent a
.external
[href ^
="news://"] {
496 background: url
(news_icon.png) center right no-repeat
;
499 #bodyContent a
.external
[href ^
="ftp://"],
502 background: url
(file_icon.gif) center right no-repeat
;
505 #bodyContent a
.external
[href ^
="irc://"],
506 #bodyContent a
.external
[href ^
="ircs://"],
509 background: url
(discussionitem_icon.gif) center right no-repeat
;
512 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
513 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
514 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
515 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
516 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
517 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
520 background: url
("audio.png") center right no-repeat
;
523 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
524 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
525 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
526 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
529 background: url
("video.png") center right no-repeat
;
532 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
533 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
534 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
537 background: url
("document.png") center right no-repeat
;
541 /* Interwiki Styling */
542 #bodyContent a
.extiw
,
543 #bodyContent a
.extiw:active
{
545 /* Don't show icons for interwiki links */
549 #bodyContent a
.extiw:visited
{
552 #bodyContent a
.extiw:active
{
557 #bodyContent a
.external
{
560 #bodyContent a
.external:visited
{
561 color: #636; /* bug 3112 */
563 #bodyContent a
.external:active
{
568 ** Structural Elements
572 ** general portlet styles (elements in the quickbar)
582 html
> body
.portlet
{
586 /* recover IEMac (might be fine with the float, but usually it's close to IE */
597 background: transparent
;
598 padding: 0 1em 0 .5em;
601 text-transform: lowercase
;
608 border: 1px solid
#2f6fab;
609 border-style: solid solid none solid
;
610 padding: 0 1em 0 1em;
611 text-transform: lowercase
;
620 background-color: white
;
622 border-collapse: collapse
;
623 border: 1px solid
#aaa;
624 padding: 0 .8em .3em .5em;
635 list-style-type: square
;
637 list-style-image: url
(bullet.gif);
652 position: absolute
; /*needed to use z-index */
666 background-repeat: no-repeat
;
667 background-position: 35% 50% !important
;
668 text-decoration: none
;
693 padding: .5em .4em .4em .4em;
696 #p-search #searchform div div
{
701 ** the personal toolbar
722 #p-personal .portlet
,
731 /* this is the ul contained in the portlet */
736 padding: 0 2em 0 3em;
755 text-decoration: none
;
757 padding-bottom: .2em;
760 #p-personal li
a:hover
{
761 background-color: white
;
762 padding-bottom: .2em;
763 text-decoration: none
;
765 #p-personal li
.active
a:hover
{
766 background-color: transparent
;
768 /* the icon in front of the user name, single quotes
769 in bg url to hide it from iemac */
774 background: url
(user.gif) top left no-repeat
;
776 text-transform: none
;
779 text-transform: lowercase
;
781 #p-personal li
.active
{
785 ** the page-related actions- page/talk, edit etc
797 border-collapse: collapse
;
807 border: 1px solid
#aaa;
814 #p-cactions li
.selected
{
815 border-color: #fabd23;
820 background-color: #fbfbfb;
823 padding: 0 .8em .3em;
827 text-decoration: none
;
829 #p-cactions li
.selected a
{
831 background-color: white
;
836 #p-cactions li
a:hover
{
838 text-decoration: none
;
839 background-color: white
;
844 #p-cactions li
.istalk
{
847 #p-cactions li
.istalk a
{
850 #p-cactions #ca-addsection a
{
854 /* offsets to distinguish the tab groups */
858 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
863 background-color: transparent
;
865 border-collapse: inherit
;
870 text-transform: lowercase
;
878 /* Override text-transform on languages where capitalization is significant */
879 .capitalize-all-nouns
.portlet h5
,
880 .capitalize-all-nouns
.portlet h6
,
881 .capitalize-all-nouns #p-personal ul
,
882 .capitalize-all-nouns #p-cactions ul li a {
883 text-transform: none
;
886 /* TODO: #t-iscite is only used by the Cite extension, come up with some
887 * system which allows extensions to add to this file on the fly
889 #t-ispermalink, #t-iscite
{
896 background-color: white
;
897 border-top: 1px solid
#fabd23;
898 border-bottom: 1px solid
#fabd23;
899 margin: .6em 0 1em 0;
900 padding: .4em 0 1.2em 0;
908 #f-poweredbyico, #f-copyrightico
{
911 top: -2px; /* Bump it up just a tad */
922 .mw-htmlform-submit {
937 background-color: #f0f0f0;
941 margin: 1px -2px 1px 2px;
943 padding: 2px 0 3px 0;
944 border: 1px solid
#fff;
945 border-right-color: #716f64;
949 list-style-type: none
;
950 list-style-image: none
;
953 #preftoc li
.selected
{
955 background-color: #f9f9f9;
956 border: 1px solid
#aaa;
963 #preftoc > li
.selected
{
972 text-decoration: none
;
974 #preftoc li
.selected a
{
976 text-decoration: none
;
980 border: 1px solid
#aaa;
983 background-color: #F9F9F9;
991 .prefsection legend {
994 .prefsection table, .prefsection legend {
995 background-color: #F9F9F9;
1006 .preferences-login {
1008 margin-bottom: 1.5em;
1016 div#userloginForm form
,
1017 div#userlogin form#userlogin2
{
1018 margin: 0 3em 1em 0;
1019 border: 1px solid
#aaa;
1022 background-color: #f9f9f9;
1026 div#userloginForm table
,
1027 div#userlogin form#userlogin2 table
{
1028 background-color: #f9f9f9;
1031 div#userloginForm h2
,
1032 div#userlogin form#userlogin2 h2
{
1036 div#userlogin
.captcha
,
1037 div#userloginForm
.captcha
{
1038 border: 1px solid
#bbb;
1040 background-color: white
;
1043 #loginend, #signupend
{
1047 #userloginprompt, #languagelinks
{
1057 #userlogin .loginText
, #userlogin
.loginPassword
{
1061 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1066 ** IE/Mac fixes, hope to find a validating way to move this
1067 ** to a separate stylesheet. This would work but doesn't validate:
1068 ** @import("IEMacFixes.css");
1070 /* tabs: border on the a, not the div */
1071 * > html #p-cactions li
{ border: none
; }
1072 * > html #p-cactions li a
{
1073 border: 1px solid
#aaa;
1074 border-bottom: none
;
1076 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1077 /* footer icons need a fixed width */
1078 * > html #f-poweredbyico
,
1079 * > html #f-copyrightico
{ width: 88px; }
1080 * > html #bodyContent
,
1081 * > html #bodyContent pre
{
1084 padding-bottom: 25px;
1088 /* float/negative margin brokenness */
1089 * html div#footer
{margin-top: 0;}
1090 * html div#column-content
{
1094 #pagehistory li
.selected
{ position: relative
; }
1096 /* Mac IE 5.0 fix; floated content turns invisible */
1097 * > html div#column-content
{
1100 * > html div#column-one
{
1105 * > html div#footer
{
1106 margin-left: 13.2em;
1121 .sharedUploadNotice {
1125 span
.updatedmarker
{
1127 background-color: #0f0;
1131 border: 1px solid gray
;
1132 background-color: #ffffff;
1139 .editExternallyHelp {
1150 input#wpSave
, input#wpDiff
{
1151 margin-right: 0.33em;
1160 border: 1px solid
#ccc;
1166 div#searchTargetContainer
{
1176 background: #F0F0F0;
1177 border: solid
1px blue
;
1180 div#searchTarget ul li
{
1184 div#searchTarget ul
li:before
{
1186 content: "\00BB \0020";
1189 div#searchTargetHide
{
1191 border:solid
1px black
;
1200 div
.multipageimagenavbox
{
1201 border: solid
1px silver
;
1204 background: #f0f0f0;
1207 div
.multipageimagenavbox div
.thumb
{
1213 div
.multipageimagenavbox hr
{
1217 table
.multipageimage td
{
1221 .templatesUsed { margin-top: 1.5em; }
1223 .mw-summary-preview {
1227 /* Friendlier slave lag warnings */
1228 div
.mw-lag-warn-normal
,
1229 div
.mw-lag-warn-high
{
1234 div
.mw-lag-warn-normal
{
1235 border: 1px solid
#FFCC66;
1236 background-color: #FFFFCC;
1238 div
.mw-lag-warn-high
{
1240 border: 2px solid
#FF0033;
1241 background-color: #FFCCCC;
1244 .MediaTransformError {
1245 background-color: #ccc;
1248 .MediaTransformError td {
1250 vertical-align: middle
;
1254 /* God-damned hack for the crappy layout */
1256 font-size: 127%!important
;
1259 /* Sometimes people don't want personal tools to be lowercase! */
1260 .no-text-transform {
1261 text-transform: none
;
1264 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */