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: #f6f6f6;
30 /* Border on top, left, and bottom side */
31 border: 1px solid
#a7d7f9;
32 border-right-width: 0;
33 /* Merge the border with tabs' one (in their background image) */
35 background-color: white
;
39 /* Hide, but keep accessible for screen-readers */
47 background-color: white
;
49 background-image: url
(images
/page-fade
.png
);
50 background-position: bottom left
;
51 background-repeat: repeat-x
;
69 /* Hide empty portlets */
78 /* Display on top of page tabs - bugs 37158, 48078 */
86 list-style-type: none
;
87 list-style-image: none
;
89 padding-left: 10em; /* Keep from overlapping logo */
103 /* Navigation Containers */
113 /* Navigation Labels */
116 div
.vectorMenu h3 span
,
117 div
.vectorMenu h5 span
{
120 /* Namespaces and Views */
128 background-image: url
(images
/tab-break
.png
);
129 background-position: bottom left
;
130 background-repeat: no-repeat
;
139 list-style-type: none
;
140 list-style-image: none
;
145 div
.vectorTabs ul li
{
148 /* OVERRIDDEN BY COMPLIANT BROWSERS */
149 div
.vectorTabs ul li
{
150 line-height: 1.125em;
151 display: inline-block
;
155 background-color: #f3f3f3;
157 background-image: url
(images
/tab-normal-fade
.png
);
158 background-position: bottom left
;
159 background-repeat: repeat-x
;
163 div
.vectorTabs ul
> li
{
166 div
.vectorTabs li
.selected
{
168 background-image: url
(images
/tab-current-fade
.png
);
170 /* OVERRIDDEN BY COMPLIANT BROWSERS */
171 div
.vectorTabs li a
{
172 display: inline-block
;
175 padding-right: 0.5em;
181 div
.vectorTabs li
> a
{
184 div
.vectorTabs li
.icon a
{
185 background-position: bottom right
;
186 background-repeat: no-repeat
;
188 /* OVERRIDDEN BY COMPLIANT BROWSERS */
189 div
.vectorTabs span a
{
190 display: inline-block
;
195 div
.vectorTabs span
> a
{
199 div
.vectorTabs span
{
200 display: inline-block
;
202 background-image: url
(images
/tab-break
.png
);
203 background-position: bottom right
;
204 background-repeat: no-repeat
;
206 div
.vectorTabs li
.selected a
,
207 div
.vectorTabs li
.selected
a:visited
{
209 text-decoration: none
;
211 div
.vectorTabs li
.new a
,
212 div
.vectorTabs li
.new
a:visited
{
215 /* Variants and Actions */
221 background-image: url
(images
/arrow-down-icon
.png
);
222 background-position: 100% 60%;
223 background-repeat: no-repeat
;
226 div
.vectorMenuFocus
{
228 background-image: url
(images
/arrow-down-focus-icon
.png
);
229 background-position: 100% 60%;
232 body
.rtl div
.vectorMenu
{
235 /* OVERRIDDEN BY COMPLIANT BROWSERS */
237 div#mw-head div
.vectorMenu h3
,
238 div#mw-head div
.vectorMenu h5
{
241 background-image: url
(images
/tab-break
.png
);
242 background-repeat: no-repeat
;
244 /* This will be flipped - unlike the one above it */
245 div#mw-head div
.vectorMenu h3
,
246 div#mw-head div
.vectorMenu h5
{
247 background-position: bottom left
;
251 div#mw-head div
.vectorMenu
> h3
,
252 div#mw-head div
.vectorMenu
> h5
{
253 background-image: none
;
255 div#mw-head div
.vectorMenu h4
,
256 div
.vectorMenu#p-variants #mw-vector-current-variant
{
257 display: inline-block
;
261 padding-top: 1.375em;
265 /* OVERRIDDEN BY COMPLIANT BROWSERS */
268 div
.vectorMenu h5 a
{
269 display: inline-block
;
272 text-decoration: none
;
274 background-image: url
(images
/tab-break
.png
);
275 background-repeat: no-repeat
;
277 /* This will be flipped - unlike the one above it */
279 div
.vectorMenu h5 a
{
280 background-position: bottom right
;
283 div
.vectorMenu h3
> a
,
284 div
.vectorMenu h5
> a
{
287 div
.vectorMenu div
.menu
{
293 /* OVERRIDDEN BY COMPLIANT BROWSERS */
295 body
.rtl div
.vectorMenu div
.menu
{
300 body
.rtl div
.vectorMenu
> div
.menu
{
304 /* Also fixes old versions of FireFox */
306 body
.rtl div
.vectorMenu
> div
.menu
,
310 /* Enable forcing showing of the menu for accessibility */
311 div
.vectorMenu:hover div
.menu
,
312 div
.vectorMenu div
.menuForceShow
{
317 background-color: white
;
318 border: solid
1px silver
;
320 list-style-type: none
;
321 list-style-image: none
;
327 /* Fixes old versions of FireFox */
332 /* Returns things back to normal in modern versions of FireFox */
344 /* OVERRIDDEN BY COMPLIANT BROWSERS */
345 div
.vectorMenu li a
{
346 display: inline-block
;
354 div
.vectorMenu li
> a
{
357 div
.vectorMenu li
.selected a
,
358 div
.vectorMenu li
.selected
a:visited
{
360 text-decoration: none
;
386 min-height: 1px; /* Gotta trigger hasLayout for IE7 */
387 border: solid
1px #aaa;
389 background-color: white
;
391 background-image: url
(images
/search-fade
.png
);
392 background-position: top left
;
393 background-repeat: repeat-x
;
395 div#simpleSearch label
{
397 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
398 * this from ever being shown anyways.
404 div#simpleSearch input
{
408 div#simpleSearch
input:focus
{
411 div#simpleSearch input
.placeholder
{
414 div#simpleSearch
input::-webkit-input-placeholder
{
417 div#simpleSearch
input:-moz-placeholder
{
420 div#simpleSearch
input:-ms-input-placeholder
{
423 div#simpleSearch input#searchInput
{
432 padding-bottom: 0.2em;
436 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
437 * this from ever being shown anyways.
440 background-color: transparent
;
443 div#simpleSearch button#searchButton
{
450 padding-bottom: 0.2em;
451 padding-right: 0.4em;
455 background-color: transparent
;
456 background-image: none
;
458 /* OVERRIDDEN BY COMPLIANT BROWSERS */
459 div#simpleSearch button#searchButton img
{
466 div#simpleSearch button#searchButton
> img
{
477 div#mw-panel div
.portal
{
478 padding-bottom: 1.5em;
481 div#mw-panel div
.portal h3
,
482 div#mw-panel div
.portal h5
{
487 padding-left: 1.75em;
492 div#mw-panel div
.portal div
.body
{
497 background-image: url
(images
/portal-break
.png
);
498 background-repeat: no-repeat
;
499 background-position: top left
;
501 div#mw-panel div
.portal div
.body ul
{
502 list-style-type: none
;
503 list-style-image: none
;
507 div#mw-panel div
.portal div
.body ul li
{
508 line-height: 1.125em;
510 padding-bottom: 0.5em;
513 word-wrap: break-word
;
515 div#mw-panel div
.portal div
.body ul li a
{
518 div#mw-panel div
.portal div
.body ul li
a:visited
{
529 list-style-type: none
;
530 list-style-image: none
;
538 padding-bottom: 0.5em;
542 div#footer #footer-icons
{
546 body
.ltr div#footer #footer-places
{
549 div#footer #footer-info li
{
552 div#footer #footer-icons li
{
558 div#footer #footer-places li
{
575 background-repeat: no-repeat
;
576 background-position: center center
;
577 text-decoration: none
;
582 * The following code is highly modified from monobook. It would be nice if the
583 * preftoc id was more human readable like preferences-toc for instance,
584 * howerver this would require backporting the other skins.
593 margin: 0 !important
;
594 padding: 0 !important
;
596 background-image: url
(images
/preferences-break
.png
);
597 background-position: bottom left
;
598 background-repeat: no-repeat
;
608 list-style-type: none
;
609 list-style-image: none
;
611 background-image: url
(images
/preferences-break
.png
);
612 background-position: bottom right
;
613 background-repeat: no-repeat
;
615 /* Sadly, IE6 won't understand this */
616 #preftoc li:first-child
{
621 display: inline-block
;
625 text-decoration: none
;
626 background-image: none
;
631 text-decoration: underline
;
633 #preftoc li
.selected a
{
635 background-image: url
(images
/preferences-fade
.png
);
636 background-position: bottom
;
637 background-repeat: repeat-x
;
639 text-decoration: none
;
647 border: solid
1px #ccc;
648 background-color: #fafafa;
650 #preferences fieldset
{
652 border-top: solid
1px #ccc;
654 #preferences fieldset
.prefsection
{
659 #preferences legend
{
662 #preferences fieldset
.prefsection legend
.mainLegend
{
667 padding-right: 0.5em;
674 #preferences div
.mw-prefs-buttons
{
677 #preferences div
.mw-prefs-buttons input
{
678 margin-right: 0.25em;
682 * The following code is slightly modified from monobook
692 list-style-type: disc
;
694 list-style-image: url
(images
/bullet-icon
.png
);
701 /* Site Notice (includes notices from CentralNotice extension) */
710 div#content a
.external
,
711 div#content a
.external
[href ^
="gopher://"] {
713 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
716 div#content a
.external
[href ^
="https://"],
719 background: url
(images
/lock-icon
.png
) center right no-repeat
;
722 div#content a
.external
[href ^
="mailto:"],
725 background: url
(images
/mail-icon
.png
) center right no-repeat
;
728 div#content a
.external
[href ^
="news:"] {
730 background: url
(images
/news-icon
.png
) center right no-repeat
;
733 div#content a
.external
[href ^
="ftp://"],
736 background: url
(images
/file-icon
.png
) center right no-repeat
;
739 div#content a
.external
[href ^
="irc://"],
740 div#content a
.external
[href ^
="ircs://"],
743 background: url
(images
/talk-icon
.png
) center right no-repeat
;
746 div#content a
.external
[href $
=".ogg"], div#content a
.external
[href $
=".OGG"],
747 div#content a
.external
[href $
=".mid"], div#content a
.external
[href $
=".MID"],
748 div#content a
.external
[href $
=".midi"], div#content a
.external
[href $
=".MIDI"],
749 div#content a
.external
[href $
=".mp3"], div#content a
.external
[href $
=".MP3"],
750 div#content a
.external
[href $
=".wav"], div#content a
.external
[href $
=".WAV"],
751 div#content a
.external
[href $
=".wma"], div#content a
.external
[href $
=".WMA"],
754 background: url
(images
/audio-icon
.png
) center right no-repeat
;
757 div#content a
.external
[href $
=".ogm"], div#content a
.external
[href $
=".OGM"],
758 div#content a
.external
[href $
=".avi"], div#content a
.external
[href $
=".AVI"],
759 div#content a
.external
[href $
=".mpeg"], div#content a
.external
[href $
=".MPEG"],
760 div#content a
.external
[href $
=".mpg"], div#content a
.external
[href $
=".MPG"],
763 background: url
(images
/video-icon
.png
) center right no-repeat
;
766 div#content a
.external
[href $
=".pdf"], div#content a
.external
[href $
=".PDF"],
767 div#content a
.external
[href
*=".pdf#"], div#content a
.external
[href
*=".PDF#"],
768 div#content a
.external
[href
*=".pdf?"], div#content a
.external
[href
*=".PDF?"],
771 background: url
(images
/document-icon
.png
) center right no-repeat
;
775 /* Icon for Usernames */
780 background: url
(images
/user-icon
.png
) left top no-repeat
;
781 /* SVG support using a transparent gradient to guarantee cross-browser
782 * compatibility (browsers able to understand gradient syntax support also SVG) */
784 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images
/user-icon
.svg
);
786 background-image: linear-gradient
(transparent
, transparent
), url
(images
/user-icon
.svg
);
787 padding-left: 15px !important
;
795 vertical-align: text-bottom
;
806 /* mediawiki.notification */
807 .skin-vector #mw-notification-area {
811 .skin-vector .mw-notification {
812 background-color: #fff;
813 background-color: rgba
(255, 255, 255, 0.93);
814 padding: 0.75em 1.5em;
815 border: solid
1px #a7d7f9;
816 border-radius: 0.75em;
817 -webkit-box-shadow: 0 2px 10px 0 rgba
(0, 0, 0, 0.125);
818 -moz-box-shadow: 0 2px 10px 0 rgba
(0, 0, 0, 0.125);
819 box-shadow: 0 2px 10px 0 rgba
(0, 0, 0, 0.125);
822 /* Watch/Unwatch Icon Styling */
830 /* This hides the text but shows the background image */
833 /* Only applied in IE6 */
834 margin-top: -0.8em !ie
;
838 background-image: url
(images
/watch-icons
.png
);
841 background-position: -43px 60%;
844 background-position: 5px 60%;
846 #ca-unwatch.icon
a:hover
,
847 #ca-unwatch.icon
a:focus
{
848 background-position: -67px 60%;
850 #ca-watch.icon
a:hover
,
851 #ca-watch.icon
a:focus
{
852 background-position: -19px 60%;
854 #ca-unwatch.icon a
.loading
,
855 #ca-watch.icon a
.loading
{
857 background-image: url
(images
/watch-icon-loading
.gif
);
858 background-position: 5px 60%;
860 #ca-unwatch.icon a span
,
861 #ca-watch.icon a span
{
866 background-image: url
(images
/tab-break
.png
);
867 background-position: right bottom
;
868 background-repeat: no-repeat
;
871 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
876 /* Animate between standard and high definition layouts */
878 body
.vector-animateLayout div#content
,
879 body
.vector-animateLayout div#footer
{
880 -moz-transition: margin-left
250ms, padding
250ms;
881 -webkit-transition: margin-left
250ms, padding
250ms;
882 -o-transition: margin-left
250ms, padding
250ms;
883 transition: margin-left
250ms, padding
250ms;
885 body
.vector-animateLayout #p-logo
,
886 body
.vector-animateLayout #left-navigation
{
887 -moz-transition: left
250ms;
888 -webkit-transition: left
250ms;
889 -o-transition: left
250ms;
890 transition: left
250ms;
892 body
.vector-animateLayout #mw-panel
{
893 -moz-transition: padding-left
250ms;
894 -webkit-transition: padding-left
250ms;
895 -o-transition: padding-left
250ms;
896 transition: padding-left
250ms;
898 body
.vector-animateLayout #p-search
{
899 -moz-transition: margin-right
250ms;
900 -webkit-transition: margin-right
250ms;
901 -o-transition: margin-right
250ms;
902 transition: margin-right
250ms;
904 body
.vector-animateLayout #p-personal
{
905 -moz-transition: right
250ms;
906 -webkit-transition: right
250ms;
907 -o-transition: right
250ms;
908 transition: right
250ms;
910 body
.vector-animateLayout #mw-head-base
{
911 -moz-transition: margin-left
250ms;
912 -webkit-transition: margin-left
250ms;
913 -o-transition: margin-left
250ms;
914 transition: margin-left
250ms;