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
;
68 /* Hide empty portlets */
77 /* Display on top of page tabs - bugs 37158, 48078 */
84 list-style-type: none
;
85 list-style-image: none
;
87 padding-left: 10em; /* Keep from overlapping logo */
101 /* Navigation Containers */
111 /* Navigation Labels */
113 div
.vectorMenu h3 span
{
116 /* Namespaces and Views */
124 background-image: url
(images
/tab-break
.png
);
125 background-position: bottom left
;
126 background-repeat: no-repeat
;
135 list-style-type: none
;
136 list-style-image: none
;
141 div
.vectorTabs ul li
{
144 /* OVERRIDDEN BY COMPLIANT BROWSERS */
145 div
.vectorTabs ul li
{
146 line-height: 1.125em;
147 display: inline-block
;
151 background-color: #f3f3f3;
153 background-image: url
(images
/tab-normal-fade
.png
);
154 background-position: bottom left
;
155 background-repeat: repeat-x
;
159 div
.vectorTabs ul
> li
{
162 div
.vectorTabs li
.selected
{
164 background-image: url
(images
/tab-current-fade
.png
);
166 /* OVERRIDDEN BY COMPLIANT BROWSERS */
167 div
.vectorTabs li a
{
168 display: inline-block
;
171 padding-right: 0.5em;
177 div
.vectorTabs li
> a
{
180 div
.vectorTabs li
.icon a
{
181 background-position: bottom right
;
182 background-repeat: no-repeat
;
184 /* OVERRIDDEN BY COMPLIANT BROWSERS */
185 div
.vectorTabs span a
{
186 display: inline-block
;
191 div
.vectorTabs span
> a
{
195 div
.vectorTabs span
{
196 display: inline-block
;
198 background-image: url
(images
/tab-break
.png
);
199 background-position: bottom right
;
200 background-repeat: no-repeat
;
202 div
.vectorTabs li
.selected a
,
203 div
.vectorTabs li
.selected
a:visited
{
205 text-decoration: none
;
207 div
.vectorTabs li
.new a
,
208 div
.vectorTabs li
.new
a:visited
{
211 /* Variants and Actions */
217 background-image: url
(images
/arrow-down-icon
.png
);
218 /* SVG support using a transparent gradient to guarantee cross-browser
219 * compatibility (browsers able to understand gradient syntax support also SVG) */
221 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images
/arrow-down-icon
.svg
);
223 background-image: linear-gradient
(transparent
, transparent
), url
(images
/arrow-down-icon
.svg
);
224 background-position: 100% 60%;
225 background-repeat: no-repeat
;
228 div
.vectorMenuFocus
{
230 background-image: url
(images
/arrow-down-focus-icon
.png
);
231 /* SVG support using a transparent gradient to guarantee cross-browser
232 * compatibility (browsers able to understand gradient syntax support also SVG) */
234 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images
/arrow-down-focus-icon
.svg
);
236 background-image: linear-gradient
(transparent
, transparent
), url
(images
/arrow-down-focus-icon
.svg
);
237 background-position: 100% 60%;
240 body
.rtl div
.vectorMenu
{
243 /* OVERRIDDEN BY COMPLIANT BROWSERS */
245 div#mw-head div
.vectorMenu h3
{
248 background-image: url
(images
/tab-break
.png
);
249 background-repeat: no-repeat
;
251 /* This will be flipped - unlike the one above it */
252 div#mw-head div
.vectorMenu h3
{
253 background-position: bottom left
;
257 div#mw-head div
.vectorMenu
> h3
{
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 */
272 div
.vectorMenu h3 a
{
273 display: inline-block
;
276 text-decoration: none
;
278 background-image: url
(images
/tab-break
.png
);
279 background-repeat: no-repeat
;
281 /* This will be flipped - unlike the one above it */
282 div
.vectorMenu h3 a
{
283 background-position: bottom right
;
286 div
.vectorMenu h3
> a
{
289 div
.vectorMenu div
.menu
{
295 /* OVERRIDDEN BY COMPLIANT BROWSERS */
297 body
.rtl div
.vectorMenu div
.menu
{
302 body
.rtl div
.vectorMenu
> div
.menu
{
306 /* Also fixes old versions of FireFox */
308 body
.rtl div
.vectorMenu
> div
.menu
,
312 /* Enable forcing showing of the menu for accessibility */
313 div
.vectorMenu:hover div
.menu
,
314 div
.vectorMenu div
.menuForceShow
{
319 background-color: white
;
320 border: solid
1px silver
;
322 list-style-type: none
;
323 list-style-image: none
;
329 /* Fixes old versions of FireFox */
334 /* Returns things back to normal in modern versions of FireFox */
346 /* OVERRIDDEN BY COMPLIANT BROWSERS */
347 div
.vectorMenu li a
{
348 display: inline-block
;
356 div
.vectorMenu li
> a
{
359 div
.vectorMenu li
.selected a
,
360 div
.vectorMenu li
.selected
a:visited
{
362 text-decoration: none
;
387 min-height: 1px; /* Gotta trigger hasLayout for IE7 */
388 border: solid
1px #aaa;
390 background-color: white
;
392 background-image: url
(images
/search-fade
.png
);
393 background-position: top left
;
394 background-repeat: repeat-x
;
396 div#simpleSearch label
{
398 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
399 * this from ever being shown anyways.
405 div#simpleSearch input
{
409 div#simpleSearch
input:focus
{
412 div#simpleSearch input
.placeholder
{
415 div#simpleSearch
input::-webkit-input-placeholder
{
418 div#simpleSearch
input:-moz-placeholder
{
421 div#simpleSearch
input:-ms-input-placeholder
{
424 div#simpleSearch input#searchInput
{
433 padding-bottom: 0.2em;
437 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
438 * this from ever being shown anyways.
441 background-color: transparent
;
444 div#simpleSearch button#searchButton
{
451 padding-bottom: 0.2em;
452 padding-right: 0.4em;
456 background-color: transparent
;
457 background-image: none
;
459 /* OVERRIDDEN BY COMPLIANT BROWSERS */
460 div#simpleSearch button#searchButton img
{
467 div#simpleSearch button#searchButton
> img
{
478 div#mw-panel div
.portal
{
479 padding-bottom: 1.5em;
482 div#mw-panel div
.portal h3
{
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 {
810 .skin-vector .mw-notification-area-layout {
813 .skin-vector .mw-notification {
814 background-color: #fff;
815 background-color: rgba
(255, 255, 255, 0.93);
816 padding: 0.75em 1.5em;
817 border: solid
1px #a7d7f9;
818 border-radius: 0.75em;
819 -webkit-box-shadow: 0 2px 10px 0 rgba
(0, 0, 0, 0.125);
820 -moz-box-shadow: 0 2px 10px 0 rgba
(0, 0, 0, 0.125);
821 box-shadow: 0 2px 10px 0 rgba
(0, 0, 0, 0.125);
824 /* Watch/Unwatch Icon Styling */
832 /* This hides the text but shows the background image */
835 /* Only applied in IE6 */
836 margin-top: -0.8em !ie
;
840 background-image: url
(images
/watch-icons
.png
);
843 background-position: -43px 60%;
846 background-position: 5px 60%;
848 #ca-unwatch.icon
a:hover
,
849 #ca-unwatch.icon
a:focus
{
850 background-position: -67px 60%;
852 #ca-watch.icon
a:hover
,
853 #ca-watch.icon
a:focus
{
854 background-position: -19px 60%;
856 #ca-unwatch.icon a
.loading
,
857 #ca-watch.icon a
.loading
{
859 background-image: url
(images
/watch-icon-loading
.gif
);
860 background-position: 5px 60%;
862 #ca-unwatch.icon a span
,
863 #ca-watch.icon a span
{
868 background-image: url
(images
/tab-break
.png
);
869 background-position: right bottom
;
870 background-repeat: no-repeat
;
873 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
878 /* Animate between standard and high definition layouts */
880 body
.vector-animateLayout div#content
,
881 body
.vector-animateLayout div#footer
{
882 -moz-transition: margin-left
250ms, padding
250ms;
883 -webkit-transition: margin-left
250ms, padding
250ms;
884 -o-transition: margin-left
250ms, padding
250ms;
885 transition: margin-left
250ms, padding
250ms;
887 body
.vector-animateLayout #p-logo
,
888 body
.vector-animateLayout #left-navigation
{
889 -moz-transition: left
250ms;
890 -webkit-transition: left
250ms;
891 -o-transition: left
250ms;
892 transition: left
250ms;
894 body
.vector-animateLayout #mw-panel
{
895 -moz-transition: padding-left
250ms;
896 -webkit-transition: padding-left
250ms;
897 -o-transition: padding-left
250ms;
898 transition: padding-left
250ms;
900 body
.vector-animateLayout #p-search
{
901 -moz-transition: margin-right
250ms;
902 -webkit-transition: margin-right
250ms;
903 -o-transition: margin-right
250ms;
904 transition: margin-right
250ms;
906 body
.vector-animateLayout #p-personal
{
907 -moz-transition: right
250ms;
908 -webkit-transition: right
250ms;
909 -o-transition: right
250ms;
910 transition: right
250ms;
912 body
.vector-animateLayout #mw-head-base
{
913 -moz-transition: margin-left
250ms;
914 -webkit-transition: margin-left
250ms;
915 -o-transition: margin-left
250ms;
916 transition: margin-left
250ms;