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
;
379 /* @noflip */div
.floatright
, table
.floatright
{
380 margin: 0 0 .5em .5em;
383 border: .5em solid white;
384 border-width: .5em 0 .8em 1.4em;
387 div
.floatright p
{ font-style: italic
; }
388 /* @noflip */div
.floatleft
, table
.floatleft
{
389 margin: 0 .5em .5em 0;
392 margin: .3em .5em .5em 0;
393 border: .5em solid white;
394 border-width: .5em 1.4em .8em 0;
397 div
.floatleft p
{ font-style: italic
; }
404 border: 1px solid
#ccc;
405 padding: 3px !important
;
406 background-color: #f9f9f9;
412 border: 1px solid
#ccc;
418 padding: 3px !important
;
423 border: none
!important
;
424 background: none
!important
;
426 div
.magnify a
, div
.magnify img
{
428 border: none
!important
;
429 background: none
!important
;
431 /* @noflip */div
.tright
{
432 margin: .5em 0 1.3em 1.4em;
434 /* @noflip */div
.tleft
{
435 margin: .5em 1.4em 1.3em 0;
438 border: 1px solid
#dddddd;
442 ** classes for special content elements like town boxes
443 ** intended to be referenced directly from the wiki src
449 /* table standards */
458 border: 1px solid
#aaa;
459 background-color: #f9f9f9;
474 ** keep the whitespace in front of the ^=, hides rule from konqueror
475 ** this is css3, the validator doesn't like it when validating as css2
477 #bodyContent a
.external
,
478 #bodyContent a
.external
[href ^
="gopher://"] {
480 background: url
(external-ltr
.png
) center right no-repeat
;
483 #bodyContent a
.external
[href ^
="https://"],
486 background: url
(lock_icon.gif) center right no-repeat
;
489 #bodyContent a
.external
[href ^
="mailto:"],
492 background: url
(mail_icon.gif) center right no-repeat
;
495 #bodyContent a
.external
[href ^
="news://"] {
497 background: url
(news_icon.png) center right no-repeat
;
500 #bodyContent a
.external
[href ^
="ftp://"],
503 background: url
(file_icon.gif) center right no-repeat
;
506 #bodyContent a
.external
[href ^
="irc://"],
507 #bodyContent a
.external
[href ^
="ircs://"],
510 background: url
(discussionitem_icon.gif) center right no-repeat
;
513 #bodyContent a
.external
[href $
=".ogg"], #bodyContent a
.external
[href $
=".OGG"],
514 #bodyContent a
.external
[href $
=".mid"], #bodyContent a
.external
[href $
=".MID"],
515 #bodyContent a
.external
[href $
=".midi"], #bodyContent a
.external
[href $
=".MIDI"],
516 #bodyContent a
.external
[href $
=".mp3"], #bodyContent a
.external
[href $
=".MP3"],
517 #bodyContent a
.external
[href $
=".wav"], #bodyContent a
.external
[href $
=".WAV"],
518 #bodyContent a
.external
[href $
=".wma"], #bodyContent a
.external
[href $
=".WMA"],
521 background: url
("audio.png") center right no-repeat
;
524 #bodyContent a
.external
[href $
=".ogm"], #bodyContent a
.external
[href $
=".OGM"],
525 #bodyContent a
.external
[href $
=".avi"], #bodyContent a
.external
[href $
=".AVI"],
526 #bodyContent a
.external
[href $
=".mpeg"], #bodyContent a
.external
[href $
=".MPEG"],
527 #bodyContent a
.external
[href $
=".mpg"], #bodyContent a
.external
[href $
=".MPG"],
530 background: url
("video.png") center right no-repeat
;
533 #bodyContent a
.external
[href $
=".pdf"], #bodyContent a
.external
[href $
=".PDF"],
534 #bodyContent a
.external
[href
*=".pdf#"], #bodyContent a
.external
[href
*=".PDF#"],
535 #bodyContent a
.external
[href
*=".pdf?"], #bodyContent a
.external
[href
*=".PDF?"],
538 background: url
("document.png") center right no-repeat
;
542 /* Interwiki Styling */
543 #bodyContent a
.extiw
,
544 #bodyContent a
.extiw:active
{
546 /* Don't show icons for interwiki links */
550 #bodyContent a
.extiw:visited
{
553 #bodyContent a
.extiw:active
{
558 #bodyContent a
.external
{
561 #bodyContent a
.external:visited
{
562 color: #636; /* bug 3112 */
564 #bodyContent a
.external:active
{
569 ** Structural Elements
573 ** general portlet styles (elements in the quickbar)
583 html
> body
.portlet
{
587 /* recover IEMac (might be fine with the float, but usually it's close to IE */
598 background: transparent
;
599 padding: 0 1em 0 .5em;
602 text-transform: lowercase
;
609 border: 1px solid
#2f6fab;
610 border-style: solid solid none solid
;
611 padding: 0 1em 0 1em;
612 text-transform: lowercase
;
621 background-color: white
;
623 border-collapse: collapse
;
624 border: 1px solid
#aaa;
625 padding: 0 .8em .3em .5em;
636 list-style-type: square
;
638 list-style-image: url
(bullet.gif);
653 position: absolute
; /*needed to use z-index */
667 background-repeat: no-repeat
;
668 background-position: 35% 50% !important
;
669 text-decoration: none
;
694 padding: .5em .4em .4em .4em;
697 #p-search #searchform div div
{
702 ** the personal toolbar
723 #p-personal .portlet
,
732 /* this is the ul contained in the portlet */
737 padding: 0 2em 0 3em;
756 text-decoration: none
;
758 padding-bottom: .2em;
761 #p-personal li
a:hover
{
762 background-color: white
;
763 padding-bottom: .2em;
764 text-decoration: none
;
766 #p-personal li
.active
a:hover
{
767 background-color: transparent
;
769 /* the icon in front of the user name, single quotes
770 in bg url to hide it from iemac */
775 background: url
(user.gif) top left no-repeat
;
777 text-transform: none
;
780 text-transform: lowercase
;
782 #p-personal li
.active
{
786 ** the page-related actions- page/talk, edit etc
798 border-collapse: collapse
;
808 border: 1px solid
#aaa;
815 #p-cactions li
.selected
{
816 border-color: #fabd23;
821 background-color: #fbfbfb;
824 padding: 0 .8em .3em;
828 text-decoration: none
;
830 #p-cactions li
.selected a
{
832 background-color: white
;
837 #p-cactions li
a:hover
{
839 text-decoration: none
;
840 background-color: white
;
845 #p-cactions li
.istalk
{
848 #p-cactions li
.istalk a
{
851 #p-cactions #ca-addsection a
{
855 /* offsets to distinguish the tab groups */
859 li#ca-watch
, li#ca-unwatch
, li#ca-varlang-0
, li#ca-print
{
864 background-color: transparent
;
866 border-collapse: inherit
;
871 text-transform: lowercase
;
879 /* Override text-transform on languages where capitalization is significant */
880 .capitalize-all-nouns
.portlet h5
,
881 .capitalize-all-nouns
.portlet h6
,
882 .capitalize-all-nouns #p-personal ul
,
883 .capitalize-all-nouns #p-cactions ul li a {
884 text-transform: none
;
887 /* TODO: #t-iscite is only used by the Cite extension, come up with some
888 * system which allows extensions to add to this file on the fly
890 #t-ispermalink, #t-iscite
{
897 background-color: white
;
898 border-top: 1px solid
#fabd23;
899 border-bottom: 1px solid
#fabd23;
900 margin: .6em 0 1em 0;
901 padding: .4em 0 1.2em 0;
909 #f-poweredbyico, #f-copyrightico
{
912 top: -2px; /* Bump it up just a tad */
923 .mw-htmlform-submit {
938 background-color: #f0f0f0;
942 margin: 1px -2px 1px 2px;
944 padding: 2px 0 3px 0;
945 border: 1px solid
#fff;
946 border-right-color: #716f64;
950 list-style-type: none
;
951 list-style-image: none
;
954 #preftoc li
.selected
{
956 background-color: #f9f9f9;
957 border: 1px solid
#aaa;
964 #preftoc > li
.selected
{
973 text-decoration: none
;
975 #preftoc li
.selected a
{
977 text-decoration: none
;
981 border: 1px solid
#aaa;
984 background-color: #F9F9F9;
992 .prefsection legend {
995 .prefsection table, .prefsection legend {
996 background-color: #F9F9F9;
1007 .preferences-login {
1009 margin-bottom: 1.5em;
1017 div#userloginForm form
,
1018 div#userlogin form#userlogin2
{
1019 margin: 0 3em 1em 0;
1020 border: 1px solid
#aaa;
1023 background-color: #f9f9f9;
1027 div#userloginForm table
,
1028 div#userlogin form#userlogin2 table
{
1029 background-color: #f9f9f9;
1032 div#userloginForm h2
,
1033 div#userlogin form#userlogin2 h2
{
1037 div#userlogin
.captcha
,
1038 div#userloginForm
.captcha
{
1039 border: 1px solid
#bbb;
1041 background-color: white
;
1044 #loginend, #signupend
{
1048 #userloginprompt, #languagelinks
{
1058 #userlogin .loginText
, #userlogin
.loginPassword
{
1062 #userloginlink a
, #wpLoginattempt
, #wpCreateaccount
{
1067 ** IE/Mac fixes, hope to find a validating way to move this
1068 ** to a separate stylesheet. This would work but doesn't validate:
1069 ** @import("IEMacFixes.css");
1071 /* tabs: border on the a, not the div */
1072 * > html #p-cactions li
{ border: none
; }
1073 * > html #p-cactions li a
{
1074 border: 1px solid
#aaa;
1075 border-bottom: none
;
1077 * > html #p-cactions li
.selected a
{ border-color: #fabd23; }
1078 /* footer icons need a fixed width */
1079 * > html #f-poweredbyico
,
1080 * > html #f-copyrightico
{ width: 88px; }
1081 * > html #bodyContent
,
1082 * > html #bodyContent pre
{
1085 padding-bottom: 25px;
1089 /* float/negative margin brokenness */
1090 * html div#footer
{margin-top: 0;}
1091 * html div#column-content
{
1095 #pagehistory li
.selected
{ position: relative
; }
1097 /* Mac IE 5.0 fix; floated content turns invisible */
1098 * > html div#column-content
{
1101 * > html div#column-one
{
1106 * > html div#footer
{
1107 margin-left: 13.2em;
1122 .sharedUploadNotice {
1126 span
.updatedmarker
{
1128 background-color: #0f0;
1132 border: 1px solid gray
;
1133 background-color: #ffffff;
1140 .editExternallyHelp {
1151 input#wpSave
, input#wpDiff
{
1152 margin-right: 0.33em;
1161 border: 1px solid
#ccc;
1167 div#searchTargetContainer
{
1177 background: #F0F0F0;
1178 border: solid
1px blue
;
1181 div#searchTarget ul li
{
1185 div#searchTarget ul
li:before
{
1187 content: "\00BB \0020";
1190 div#searchTargetHide
{
1192 border:solid
1px black
;
1201 div
.multipageimagenavbox
{
1202 border: solid
1px silver
;
1205 background: #f0f0f0;
1208 div
.multipageimagenavbox div
.thumb
{
1214 div
.multipageimagenavbox hr
{
1218 table
.multipageimage td
{
1222 .templatesUsed { margin-top: 1.5em; }
1224 .mw-summary-preview {
1228 /* Friendlier slave lag warnings */
1229 div
.mw-lag-warn-normal
,
1230 div
.mw-lag-warn-high
{
1235 div
.mw-lag-warn-normal
{
1236 border: 1px solid
#FFCC66;
1237 background-color: #FFFFCC;
1239 div
.mw-lag-warn-high
{
1241 border: 2px solid
#FF0033;
1242 background-color: #FFCCCC;
1245 .MediaTransformError {
1246 background-color: #ccc;
1249 .MediaTransformError td {
1251 vertical-align: middle
;
1255 /* God-damned hack for the crappy layout */
1257 font-size: 127%!important
;
1260 /* Sometimes people don't want personal tools to be lowercase! */
1261 .no-text-transform {
1262 text-transform: none
;
1265 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */