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
;
40 /* Hide, but keep accessible for screen-readers */
48 background-color: white
;
50 background-image: url
(images
/page-fade
.png
);
51 background-position: bottom left
;
52 background-repeat: repeat-x
;
59 background-image: url
(images/border.png);
60 background-position: bottom left
;
61 background-repeat: repeat-x
;
74 /* Hide empty portlets */
83 /* Display on top of page tabs - bug 37158 */
91 list-style-type: none
;
92 list-style-image: none
;
94 padding-left: 10em; /* Keep from overlapping logo */
101 /* This one flips! */
108 /* Navigation Containers */
118 /* Navigation Labels */
121 div
.vectorMenu h3 span
,
122 div
.vectorMenu h5 span
{
125 /* Namespaces and Views */
133 background-image: url
(images
/tab-break
.png
);
134 background-position: bottom left
;
135 background-repeat: no-repeat
;
144 list-style-type: none
;
145 list-style-image: none
;
150 div
.vectorTabs ul li
{
153 /* OVERRIDDEN BY COMPLIANT BROWSERS */
154 div
.vectorTabs ul li
{
155 line-height: 1.125em;
156 display: inline-block
;
160 background-color: #f3f3f3;
162 background-image: url
(images
/tab-normal-fade
.png
);
163 background-position: bottom left
;
164 background-repeat: repeat-x
;
168 div
.vectorTabs ul
> li
{
171 div
.vectorTabs li
.selected
{
173 background-image: url
(images
/tab-current-fade
.png
);
175 /* OVERRIDDEN BY COMPLIANT BROWSERS */
176 div
.vectorTabs li a
{
177 display: inline-block
;
180 padding-right: 0.5em;
186 div
.vectorTabs li
> a
{
189 div
.vectorTabs li
.icon a
{
190 background-position: bottom right
;
191 background-repeat: no-repeat
;
193 /* OVERRIDDEN BY COMPLIANT BROWSERS */
194 div
.vectorTabs span a
{
195 display: inline-block
;
200 div
.vectorTabs span
> a
{
204 div
.vectorTabs span
{
205 display: inline-block
;
207 background-image: url
(images
/tab-break
.png
);
208 background-position: bottom right
;
209 background-repeat: no-repeat
;
211 div
.vectorTabs li
.selected a
,
212 div
.vectorTabs li
.selected
a:visited
{
214 text-decoration: none
;
216 div
.vectorTabs li
.new a
,
217 div
.vectorTabs li
.new
a:visited
{
220 /* Variants and Actions */
226 background-image: url
(images
/arrow-down-icon
.png
);
227 background-position: 100% 60%;
228 background-repeat: no-repeat
;
231 div
.vectorMenuFocus
{
233 background-image: url
(images
/arrow-down-focus-icon
.png
);
234 background-position: 100% 60%;
237 body
.rtl div
.vectorMenu
{
240 /* OVERRIDDEN BY COMPLIANT BROWSERS */
242 div#mw-head div
.vectorMenu h3
,
243 div#mw-head div
.vectorMenu h5
{
246 background-image: url
(images
/tab-break
.png
);
247 background-repeat: no-repeat
;
249 /* This will be flipped - unlike the one above it */
250 div#mw-head div
.vectorMenu h3
,
251 div#mw-head div
.vectorMenu h5
{
252 background-position: bottom left
;
256 div#mw-head div
.vectorMenu
> h3
,
257 div#mw-head div
.vectorMenu
> h5
{
258 background-image: none
;
260 div#mw-head div
.vectorMenu h4
,
261 div
.vectorMenu#p-variants #mw-vector-current-variant
{
262 display: inline-block
;
266 padding-top: 1.375em;
270 /* OVERRIDDEN BY COMPLIANT BROWSERS */
273 div
.vectorMenu h5 a
{
274 display: inline-block
;
277 text-decoration: none
;
279 background-image: url
(images
/tab-break
.png
);
280 background-repeat: no-repeat
;
282 /* This will be flipped - unlike the one above it */
284 div
.vectorMenu h5 a
{
285 background-position: bottom right
;
288 div
.vectorMenu h3
> a
,
289 div
.vectorMenu h5
> a
{
292 div
.vectorMenu div
.menu
{
298 /* OVERRIDDEN BY COMPLIANT BROWSERS */
300 body
.rtl div
.vectorMenu div
.menu
{
305 body
.rtl div
.vectorMenu
> div
.menu
{
309 /* Also fixes old versions of FireFox */
311 body
.rtl div
.vectorMenu
> div
.menu
,
315 /* Enable forcing showing of the menu for accessibility */
316 div
.vectorMenu:hover div
.menu
,
317 div
.vectorMenu div
.menuForceShow
{
322 background-color: white
;
323 border: solid
1px silver
;
325 list-style-type: none
;
326 list-style-image: none
;
332 /* Fixes old versions of FireFox */
337 /* Returns things back to normal in modern versions of FireFox */
349 /* OVERRIDDEN BY COMPLIANT BROWSERS */
350 div
.vectorMenu li a
{
351 display: inline-block
;
359 div
.vectorMenu li
> a
{
362 div
.vectorMenu li
.selected a
,
363 div
.vectorMenu li
.selected
a:visited
{
365 text-decoration: none
;
391 min-height: 1px; /* Gotta trigger hasLayout for IE7 */
392 border: solid
1px #aaa;
394 background-color: white
;
396 background-image: url
(images
/search-fade
.png
);
397 background-position: top left
;
398 background-repeat: repeat-x
;
400 div#simpleSearch label
{
402 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
403 * this from ever being shown anyways.
409 div#simpleSearch input
{
413 div#simpleSearch
input:focus
{
416 div#simpleSearch input
.placeholder
{
419 div#simpleSearch
input::-webkit-input-placeholder
{
422 div#simpleSearch
input:-moz-placeholder
{
425 div#simpleSearch
input:-ms-input-placeholder
{
428 div#simpleSearch input#searchInput
{
437 padding-bottom: 0.2em;
441 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
442 * this from ever being shown anyways.
445 background-color: transparent
;
448 div#simpleSearch button#searchButton
{
455 padding-bottom: 0.2em;
456 padding-right: 0.4em;
460 background-color: transparent
;
461 background-image: none
;
463 /* OVERRIDDEN BY COMPLIANT BROWSERS */
464 div#simpleSearch button#searchButton img
{
471 div#simpleSearch button#searchButton
> img
{
482 div#mw-panel div
.portal
{
483 padding-bottom: 1.5em;
486 div#mw-panel div
.portal h3
,
487 div#mw-panel div
.portal h5
{
492 padding-left: 1.75em;
497 div#mw-panel div
.portal div
.body
{
502 background-image: url
(images
/portal-break
.png
);
503 background-repeat: no-repeat
;
504 background-position: top left
;
506 div#mw-panel div
.portal div
.body ul
{
507 list-style-type: none
;
508 list-style-image: none
;
512 div#mw-panel div
.portal div
.body ul li
{
513 line-height: 1.125em;
515 padding-bottom: 0.5em;
518 word-wrap: break-word
;
520 div#mw-panel div
.portal div
.body ul li a
{
523 div#mw-panel div
.portal div
.body ul li
a:visited
{
532 background-image: url
(images/border.png);
533 background-position: top left
;
534 background-repeat: repeat-x
;
538 list-style-type: none
;
539 list-style-image: none
;
547 padding-bottom: 0.5em;
551 div#footer #footer-icons
{
555 body
.ltr div#footer #footer-places
{
558 div#footer #footer-info li
{
561 div#footer #footer-icons li
{
567 div#footer #footer-places li
{
584 background-repeat: no-repeat
;
585 background-position: center center
;
586 text-decoration: none
;
591 * The following code is highly modified from monobook. It would be nice if the
592 * preftoc id was more human readable like preferences-toc for instance,
593 * howerver this would require backporting the other skins.
602 margin: 0 !important
;
603 padding: 0 !important
;
605 background-image: url
(images
/preferences-break
.png
);
606 background-position: bottom left
;
607 background-repeat: no-repeat
;
617 list-style-type: none
;
618 list-style-image: none
;
620 background-image: url
(images
/preferences-break
.png
);
621 background-position: bottom right
;
622 background-repeat: no-repeat
;
624 /* Sadly, IE6 won't understand this */
625 #preftoc li:first-child
{
630 display: inline-block
;
634 text-decoration: none
;
635 background-image: none
;
640 text-decoration: underline
;
642 #preftoc li
.selected a
{
644 background-image: url
(images
/preferences-fade
.png
);
645 background-position: bottom
;
646 background-repeat: repeat-x
;
648 text-decoration: none
;
656 border: solid
1px #ccc;
657 background-color: #f9f9f9;
659 background-image: url
(images
/preferences-base
.png
);
661 #preferences fieldset
{
663 border-top: solid
1px #ccc;
665 #preferences fieldset
.prefsection
{
670 #preferences legend
{
673 #preferences fieldset
.prefsection legend
.mainLegend
{
678 padding-right: 0.5em;
685 #preferences div
.mw-prefs-buttons
{
688 #preferences div
.mw-prefs-buttons input
{
689 margin-right: 0.25em;
693 * The following code is slightly modified from monobook
707 list-style-type: disc
;
709 list-style-image: url
(images
/bullet-icon
.png
);
716 /* Site Notice (includes notices from CentralNotice extension) */
726 div#content a
.external
,
727 div#content a
.external
[href ^
="gopher://"] {
729 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
732 div#content a
.external
[href ^
="https://"],
735 background: url
(images
/lock-icon
.png
) center right no-repeat
;
738 div#content a
.external
[href ^
="mailto:"],
741 background: url
(images
/mail-icon
.png
) center right no-repeat
;
744 div#content a
.external
[href ^
="news:"] {
746 background: url
(images
/news-icon
.png
) center right no-repeat
;
749 div#content a
.external
[href ^
="ftp://"],
752 background: url
(images
/file-icon
.png
) center right no-repeat
;
755 div#content a
.external
[href ^
="irc://"],
756 div#content a
.external
[href ^
="ircs://"],
759 background: url
(images
/talk-icon
.png
) center right no-repeat
;
762 div#content a
.external
[href $
=".ogg"], div#content a
.external
[href $
=".OGG"],
763 div#content a
.external
[href $
=".mid"], div#content a
.external
[href $
=".MID"],
764 div#content a
.external
[href $
=".midi"], div#content a
.external
[href $
=".MIDI"],
765 div#content a
.external
[href $
=".mp3"], div#content a
.external
[href $
=".MP3"],
766 div#content a
.external
[href $
=".wav"], div#content a
.external
[href $
=".WAV"],
767 div#content a
.external
[href $
=".wma"], div#content a
.external
[href $
=".WMA"],
770 background: url
(images
/audio-icon
.png
) center right no-repeat
;
773 div#content a
.external
[href $
=".ogm"], div#content a
.external
[href $
=".OGM"],
774 div#content a
.external
[href $
=".avi"], div#content a
.external
[href $
=".AVI"],
775 div#content a
.external
[href $
=".mpeg"], div#content a
.external
[href $
=".MPEG"],
776 div#content a
.external
[href $
=".mpg"], div#content a
.external
[href $
=".MPG"],
779 background: url
(images
/video-icon
.png
) center right no-repeat
;
782 div#content a
.external
[href $
=".pdf"], div#content a
.external
[href $
=".PDF"],
783 div#content a
.external
[href
*=".pdf#"], div#content a
.external
[href
*=".PDF#"],
784 div#content a
.external
[href
*=".pdf?"], div#content a
.external
[href
*=".PDF?"],
787 background: url
(images
/document-icon
.png
) center right no-repeat
;
791 /* Icon for Usernames */
796 background: url
(images
/user-icon
.png
) left top no-repeat
;
797 padding-left: 15px !important
;
798 text-transform: none
;
806 vertical-align: text-bottom
;
817 /* mediawiki.notification */
818 .skin-vector #mw-notification-area {
822 .skin-vector .mw-notification {
823 background-color: #fff;
824 background-color: rgba
(255, 255, 255, 0.93);
825 padding: 0.75em 1.5em;
826 border: solid
1px #a7d7f9;
827 border-radius: 0.75em;
828 -webkit-box-shadow: 0 2px 10px 0 rgba
(0, 0, 0, 0.125);
829 -moz-box-shadow: 0 2px 10px 0 rgba
(0, 0, 0, 0.125);
830 box-shadow: 0 2px 10px 0 rgba
(0, 0, 0, 0.125);
833 /* Watch/Unwatch Icon Styling */
841 /* This hides the text but shows the background image */
844 /* Only applied in IE6 */
845 margin-top: -0.8em !ie
;
849 background-image: url
(images
/watch-icons
.png
);
852 background-position: -43px 60%;
855 background-position: 5px 60%;
857 #ca-unwatch.icon
a:hover
,
858 #ca-unwatch.icon
a:focus
{
859 background-position: -67px 60%;
861 #ca-watch.icon
a:hover
,
862 #ca-watch.icon
a:focus
{
863 background-position: -19px 60%;
865 #ca-unwatch.icon a
.loading
,
866 #ca-watch.icon a
.loading
{
868 background-image: url
(images
/watch-icon-loading
.gif
);
869 background-position: 5px 60%;
871 #ca-unwatch.icon a span
,
872 #ca-watch.icon a span
{
877 background-image: url
(images
/tab-break
.png
);
878 background-position: right bottom
;
879 background-repeat: no-repeat
;
882 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
887 /* Animate between standard and high definition layouts */
889 body
.vector-animateLayout div#content
,
890 body
.vector-animateLayout div#footer
{
891 -moz-transition: margin-left
250ms, padding
250ms;
892 -webkit-transition: margin-left
250ms, padding
250ms;
893 -o-transition: margin-left
250ms, padding
250ms;
894 transition: margin-left
250ms, padding
250ms;
896 body
.vector-animateLayout #p-logo
,
897 body
.vector-animateLayout #left-navigation
{
898 -moz-transition: left
250ms;
899 -webkit-transition: left
250ms;
900 -o-transition: left
250ms;
901 transition: left
250ms;
903 body
.vector-animateLayout #mw-panel
{
904 -moz-transition: padding-left
250ms;
905 -webkit-transition: padding-left
250ms;
906 -o-transition: padding-left
250ms;
907 transition: padding-left
250ms;
909 body
.vector-animateLayout #p-search
{
910 -moz-transition: margin-right
250ms;
911 -webkit-transition: margin-right
250ms;
912 -o-transition: margin-right
250ms;
913 transition: margin-right
250ms;
915 body
.vector-animateLayout #p-personal
{
916 -moz-transition: right
250ms;
917 -webkit-transition: right
250ms;
918 -o-transition: right
250ms;
919 transition: right
250ms;
921 body
.vector-animateLayout #mw-head-base
{
922 -moz-transition: margin-left
250ms;
923 -webkit-transition: margin-left
250ms;
924 -o-transition: margin-left
250ms;
925 transition: margin-left
250ms;