2 * Any rules which should not be flipped automatically in right-to-left situations should be
3 * prepended with @noflip in a comment block. Images that should be embedded as base64 data-URLs
4 * should be prepended with @embed in a comment block.
6 * This style-sheet employs a few CSS trick to accomplish compatibility with a wide range of web
7 * browsers. The most common trick is to use some styles in IE6 only. This is accomplished by using
8 * a rule that makes things work in IE6, and then following it with a rule that begins with
9 * "html > body" or use a child selector ">", which is ignored by IE6 because it does not support
10 * the child selector. You can spot this by looking for the "OVERRIDDEN BY COMPLIANT BROWSERS" and
11 * "IGNORED BY IE6" comments.
20 font-family: sans-serif
;
24 background-color: #f3f3f3;
26 background-image: url
(images
/page-base
.png
);
33 background-image: url
(images/border.png);
34 background-position: top left
;
35 background-repeat: repeat-y
;
36 background-color: white
;
43 background-color: white
;
45 background-image: url
(images
/page-fade
.png
);
46 background-position: bottom left
;
47 background-repeat: repeat-x
;
54 background-image: url
(images/border.png);
55 background-position: bottom left
;
56 background-repeat: repeat-x
;
68 /* Hide empty portlets */
84 padding-left: 10em; /* Keep from overlapping logo */
98 /* Navigation Containers */
108 /* Navigation Labels */
110 div
.vectorMenu h5 span
{
113 /* Namespaces and Views */
121 background-image: url
(images
/tab-break
.png
);
122 background-position: bottom left
;
123 background-repeat: no-repeat
;
137 div
.vectorTabs ul li
{
140 /* OVERRIDDEN BY COMPLIANT BROWSERS */
141 div
.vectorTabs ul li
{
142 line-height: 1.125em;
143 display: inline-block
;
147 background-color: #f3f3f3;
149 background-image: url
(images
/tab-normal-fade
.png
);
150 background-position: bottom left
;
151 background-repeat: repeat-x
;
155 div
.vectorTabs ul
> li
{
158 div
.vectorTabs li
.selected
{
160 background-image: url
(images
/tab-current-fade
.png
);
162 /* OVERRIDDEN BY COMPLIANT BROWSERS */
163 div
.vectorTabs li a
{
164 display: inline-block
;
167 padding-right: 0.5em;
173 div
.vectorTabs li
> a
{
176 div
.vectorTabs li
.icon a
{
177 background-position: bottom right
;
178 background-repeat: no-repeat
;
180 /* OVERRIDDEN BY COMPLIANT BROWSERS */
181 div
.vectorTabs span a
{
182 display: inline-block
;
187 div
.vectorTabs span
> a
{
191 div
.vectorTabs span
{
192 display: inline-block
;
194 background-image: url
(images
/tab-break
.png
);
195 background-position: bottom right
;
196 background-repeat: no-repeat
;
198 div
.vectorTabs li
.selected a
,
199 div
.vectorTabs li
.selected
a:visited
{
201 text-decoration: none
;
203 div
.vectorTabs li
.new a
,
204 div
.vectorTabs li
.new
a:visited
{
207 /* Variants and Actions */
213 background-image: url
(images
/arrow-down-icon
.png
);
214 background-position: 0px 60%;
215 background-repeat: no-repeat
;
218 div
.vectorMenuFocus
{
219 background-position: -22px 60%;
222 body
.rtl div
.vectorMenu
{
225 /* OVERRIDDEN BY COMPLIANT BROWSERS */
227 div#mw-head div
.vectorMenu h5
{
230 background-image: url
(images
/tab-break
.png
);
231 background-repeat: no-repeat
;
233 /* This will be flipped - unlike the one above it */
234 div#mw-head div
.vectorMenu h5
{
235 background-position: bottom left
;
239 div#mw-head div
.vectorMenu
> h5
{
240 background-image: none
;
242 div#mw-head div
.vectorMenu h4
{
243 display: inline-block
;
247 padding-top: 1.375em;
251 /* OVERRIDDEN BY COMPLIANT BROWSERS */
253 div
.vectorMenu h5 a
{
254 display: inline-block
;
257 text-decoration: none
;
259 background-image: url
(images
/tab-break
.png
);
260 background-repeat: no-repeat
;
262 /* This will be flipped - unlike the one above it */
263 div
.vectorMenu h5 a
{
264 background-position: bottom right
;
267 div
.vectorMenu h5
> a
{
270 div
.vectorMenu div
.menu
{
276 /* OVERRIDDEN BY COMPLIANT BROWSERS */
278 body
.rtl div
.vectorMenu div
.menu
{
283 body
.rtl div
.vectorMenu
> div
.menu
{
287 /* Also fixes old versions of FireFox */
289 body
.rtl div
.vectorMenu
> div
.menu
,
293 /* Enable forcing showing of the menu for accessibility */
294 div
.vectorMenu:hover div
.menu
, div
.vectorMenu div
.menuForceShow
{
299 background-color: white
;
300 border: solid
1px silver
;
303 list-style-image: none
;
304 list-style-type: none
;
310 /* Fixes old versions of FireFox */
315 /* Returns things back to normal in modern versions of FireFox */
327 /* OVERRIDDEN BY COMPLIANT BROWSERS */
328 div
.vectorMenu li a
{
329 display: inline-block
;
337 div
.vectorMenu li
> a
{
340 div
.vectorMenu li
.selected a
,
341 div
.vectorMenu li
.selected
a:visited
{
343 text-decoration: none
;
368 min-height: 1px; /* Gotta trigger hasLayout for IE7 */
369 border: solid
1px #AAAAAA;
371 background-color: white
;
373 background-image: url
(images
/search-fade
.png
);
374 background-position: top left
;
375 background-repeat: repeat-x
;
377 div#simpleSearch label
{
379 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
380 * this from ever being shown anyways.
386 div#simpleSearch input
{
390 div#simpleSearch
input:focus
{
393 div#simpleSearch input
.placeholder
{
396 div#simpleSearch
input::-webkit-input-placeholder
{
399 div#simpleSearch input#searchInput
{
408 padding-bottom: 0.2em;
412 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
413 * this from ever being shown anyways.
416 background-color: transparent
;
419 div#simpleSearch button#searchButton
{
426 padding-bottom: 0.2em;
427 padding-right: 0.4em;
431 background-color: transparent
;
432 background-image: none
;
434 /* OVERRIDDEN BY COMPLIANT BROWSERS */
435 div#simpleSearch button#searchButton img
{
442 div#simpleSearch button#searchButton
> img
{
453 div#mw-panel div
.portal
{
454 padding-bottom: 1.5em;
457 div#mw-panel div
.portal h5
{
462 padding-left: 1.75em;
467 div#mw-panel div
.portal div
.body
{
472 background-image: url
(images
/portal-break
.png
);
473 background-repeat: no-repeat
;
474 background-position: top left
;
476 div#mw-panel div
.portal div
.body ul
{
478 list-style-image: none
;
479 list-style-type: none
;
483 div#mw-panel div
.portal div
.body ul li
{
484 line-height: 1.125em;
486 padding-bottom: 0.5em;
491 div#mw-panel div
.portal div
.body ul li a
{
494 div#mw-panel div
.portal div
.body ul li
a:visited
{
503 background-image: url
(images/border.png);
504 background-position: top left
;
505 background-repeat: repeat-x
;
510 list-style-image: none
;
511 list-style-type: none
;
519 padding-bottom: 0.5em;
523 div#footer #footer-icons
{
527 body
.ltr div#footer #footer-places
{
530 div#footer #footer-info li
{
533 div#footer #footer-icons li
{
539 div#footer #footer-places li
{
556 background-repeat: no-repeat
;
557 background-position: center center
;
558 text-decoration: none
;
563 * The following code is highly modified from monobook. It would be nice if the
564 * preftoc id was more human readable like preferences-toc for instance,
565 * howerver this would require backporting the other skins.
574 margin: 0 !important
;
575 padding: 0 !important
;
577 background-image: url
(images
/preferences-break
.png
);
578 background-position: bottom left
;
579 background-repeat: no-repeat
;
589 list-style-type: none
;
590 list-style-image: none
;
592 background-image: url
(images
/preferences-break
.png
);
593 background-position: bottom right
;
594 background-repeat: no-repeat
;
596 /* Sadly, IE6 won't understand this */
597 #preftoc li:first-child
{
602 display: inline-block
;
606 text-decoration: none
;
607 background-image: none
;
612 text-decoration: underline
;
614 #preftoc li
.selected a
{
616 background-image: url
(images
/preferences-fade
.png
);
617 background-position: bottom
;
618 background-repeat: repeat-x
;
620 text-decoration: none
;
628 border: solid
1px #cccccc;
629 background-color: #f9f9f9;
631 background-image: url
(images
/preferences-base
.png
);
633 #preferences fieldset
{
635 border-top: solid
1px #cccccc;
637 #preferences fieldset
.prefsection
{
642 #preferences legend
{
645 #preferences fieldset
.prefsection legend
.mainLegend
{
650 padding-right: 0.5em;
652 #preferences td
.htmlform-tip
{
657 #preferences div
.mw-prefs-buttons
{
660 #preferences div
.mw-prefs-buttons input
{
661 margin-right: 0.25em;
665 * Styles for the user login and create account forms
667 #userlogin, #userloginForm
{
668 border: solid
1px #cccccc;
682 * The following code is slightly modified from monobook
693 text-decoration: none
;
704 text-decoration: underline
;
709 a
.new
, #p-personal a
.new
{
712 a
.new:visited
, #p-personal a
.new:visited
{
716 /* Inline Elements */
719 vertical-align: middle
;
724 background-color: #aaa;
726 margin: .2em 0 .2em 0;
729 /* Structural Elements */
740 border-bottom: 1px solid
#aaa;
743 .mw-h3, .mw-h4, .mw-h5, .mw-h6 {
746 h1
, h2
{ font-weight: normal
; }
747 h1
{ font-size: 188%; }
748 h2
{ font-size: 150%; }
749 h3
{ font-size: 132%; }
750 h4
{ font-size: 116%; }
751 h5
{ font-size: 100%; }
752 h6
{ font-size: 80%; }
754 /* To replicate the old padding, where h# were block-level elements and edit
755 * links were floated, we need to multiply .5em top padding and .17em bottom
756 * padding by the header text sizes. */
757 .mw-h1 { padding: .94em 0 .32em; } /* (0.5*1.88)em 0 (0.17*1.88)em */
758 .mw-h2 { padding: .75em 0 .26em; } /* (0.5*1.50)em 0 (0.17*1.50)em */
759 .mw-h3 { padding: .66em 0 .22em; } /* etc. */
760 .mw-h4 { padding: .58em 0 .20em; }
761 .mw-h5 { padding: .50em 0 .17em; }
762 .mw-h6 { padding: .40em 0 .14em; }
766 margin: .4em 0 .5em 0;
773 font-family: Times
, "Times New Roman", serif
;
778 font-family: Times, "Times New Roman", serif;
781 pre
, code
, tt
, kbd
, samp
{
783 * It's important for this rule to first reference an actual font name, some browsers will render the monospace text
784 * too small otherwise, namely Firefox, Chrome and Safari
786 font-family: monospace
, "Courier New";
789 background-color: #f9f9f9;
794 border: 1px solid
#EBEBEB;
796 background-color: #F7F7F7;
801 list-style-type: square
;
802 margin: .3em 0 0 1.5em;
805 list-style-image: url
(images
/bullet-icon
.png
);
809 margin: .3em 0 0 3.2em;
811 list-style-image: none
;
835 border: 1px solid
#2f6fab;
842 padding: 0 0.5em 0.5em;
859 /* Table of Contents */
863 border: 1px solid
#aaa;
864 background-color: #f9f9f9;
884 list-style-type: none
;
885 list-style-image: none
;
899 /* @noflip */div
.floatright
, table
.floatright
{
900 margin: 0 0 .5em .5em;
903 div
.floatright p
{ font-style: italic
; }
904 /* @noflip */div
.floatleft
, table
.floatleft
{
905 margin: 0 .5em .5em 0;
908 div
.floatleft p
{ font-style: italic
; }
913 background-color: transparent
;
916 border: 1px solid
#ccc;
917 padding: 3px !important
;
918 background-color: #f9f9f9;
924 border: 1px solid
#ccc;
930 padding: 3px !important
;
935 border: none
!important
;
936 background: none
!important
;
938 div
.magnify a
, div
.magnify img
{
940 border: none
!important
;
941 background: none
!important
;
943 /* @noflip */div
.tright
{
944 margin: .5em 0 1.3em 1.4em;
946 /* @noflip */div
.tleft
{
947 margin: .5em 1.4em 1.3em 0;
950 border: 1px solid
#dddddd;
960 background-color: #ffce7b;
961 border: 1px solid
#ffa500;
966 vertical-align: middle
;
968 /* Site Notice (includes notices from CentralNotice extension) */
976 margin-bottom: 0.9em;
980 border: 1px solid
#aaa;
981 background-color: #f9f9f9;
993 #contentSub, #contentSub2
{
996 margin: 0 0 1.4em 1em;
1003 /* Emulate Center */
1012 /* Small for tables and similar */
1019 /* Edge Cases for Content */
1021 margin-bottom: .6em;
1024 margin-bottom: .3em;
1030 margin-bottom: 0.1em;
1035 div#content a
.external
,
1036 div#content a
[href ^
="gopher://"] {
1038 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
1039 padding-right: 13px;
1041 div#content a
[href ^
="https://"],
1044 background: url
(images
/lock-icon
.png
) center right no-repeat
;
1045 padding-right: 13px;
1047 div#content a
[href ^
="mailto:"],
1050 background: url
(images
/mail-icon
.png
) center right no-repeat
;
1051 padding-right: 13px;
1053 div#content a
[href ^
="news://"] {
1055 background: url
(images
/news-icon
.png
) center right no-repeat
;
1056 padding-right: 13px;
1058 div#content a
[href ^
="ftp://"],
1061 background: url
(images
/file-icon
.png
) center right no-repeat
;
1062 padding-right: 13px;
1064 div#content a
[href ^
="irc://"],
1065 div#content a
.extiw
[href ^
="irc://"],
1066 div#content a
[href ^
="ircs://"],
1067 div#content a
.extiw
[href ^
="ircs://"],
1070 background: url
(images
/talk-icon
.png
) center right no-repeat
;
1071 padding-right: 13px;
1073 div#content a
.external
[href $
=".ogg"], div#content a
.external
[href $
=".OGG"],
1074 div#content a
.external
[href $
=".mid"], div#content a
.external
[href $
=".MID"],
1075 div#content a
.external
[href $
=".midi"], div#content a
.external
[href $
=".MIDI"],
1076 div#content a
.external
[href $
=".mp3"], div#content a
.external
[href $
=".MP3"],
1077 div#content a
.external
[href $
=".wav"], div#content a
.external
[href $
=".WAV"],
1078 div#content a
.external
[href $
=".wma"], div#content a
.external
[href $
=".WMA"],
1081 background: url
("images/audio-icon.png?2") center right no-repeat
;
1082 padding-right: 13px;
1084 div#content a
.external
[href $
=".ogm"], div#content a
.external
[href $
=".OGM"],
1085 div#content a
.external
[href $
=".avi"], div#content a
.external
[href $
=".AVI"],
1086 div#content a
.external
[href $
=".mpeg"], div#content a
.external
[href $
=".MPEG"],
1087 div#content a
.external
[href $
=".mpg"], div#content a
.external
[href $
=".MPG"],
1090 background: url
("images/video-icon.png?2") center right no-repeat
;
1091 padding-right: 13px;
1093 div#content a
.external
[href $
=".pdf"], div#content a
.external
[href $
=".PDF"],
1094 div#content a
.external
[href
*=".pdf#"], div#content a
.external
[href
*=".PDF#"],
1095 div#content a
.external
[href
*=".pdf?"], div#content a
.external
[href
*=".PDF?"],
1098 background: url
("images/document-icon.png?2") center right no-repeat
;
1099 padding-right: 13px;
1102 /* Interwiki Styling */
1103 div#content a
.extiw
,
1104 div#content a
.extiw:active
{
1106 /* Don't show icons for interwiki links */
1110 div#content a
.extiw:visited
{
1113 div#content a
.extiw:active
{
1117 /* External links */
1118 div#content a
.external
{
1121 div#content a
.external:visited
{
1122 color: #636; /* bug 3112 */
1124 div#content a
.external:active
{
1129 div#content
.printfooter
{
1132 /* Icon for Usernames */
1137 background: url
(images
/user-icon
.png
) left top no-repeat
;
1138 padding-left: 15px !important
;
1139 text-transform: none
;
1147 vertical-align: text-bottom
;
1151 border: 1px solid
#aaa;
1152 background-color: #f9f9f9;
1167 /* Watch/Unwatch Icon Styling */
1175 /* This hides the text but shows the background image */
1178 /* Only applied in IE6 */
1179 margin-top: -0.8em !ie
;
1183 background-image: url
(images
/watch-icons
.png
);
1185 #ca-unwatch.icon a
{
1186 background-position: -43px 60%;
1189 background-position: 5px 60%;
1191 #ca-unwatch.icon
a:hover
,
1192 #ca-unwatch.icon
a:focus
{
1193 background-position: -67px 60%;
1195 #ca-watch.icon
a:hover
,
1196 #ca-watch.icon
a:focus
{
1197 background-position: -19px 60%;
1199 #ca-unwatch.icon a
.loading
,
1200 #ca-watch.icon a
.loading
{
1202 background-image: url
(images
/watch-icon-loading
.gif
);
1203 background-position: 5px 60%;
1205 #ca-unwatch.icon a span
,
1206 #ca-watch.icon a span
{
1211 background-image:url
(images
/tab-break
.png
);
1212 background-position:right bottom
;
1213 background-repeat:no-repeat
;
1216 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */