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 /* SVG support using a transparent gradient to guarantee cross-browser
223 * compatibility (browsers able to understand gradient syntax support also SVG) */
225 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images
/arrow-down-icon
.svg
);
227 background-image: linear-gradient
(transparent
, transparent
), url
(images
/arrow-down-icon
.svg
);
228 background-position: 100% 60%;
229 background-repeat: no-repeat
;
232 div
.vectorMenuFocus
{
234 background-image: url
(images
/arrow-down-focus-icon
.png
);
235 /* SVG support using a transparent gradient to guarantee cross-browser
236 * compatibility (browsers able to understand gradient syntax support also SVG) */
238 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images
/arrow-down-focus-icon
.svg
);
240 background-image: linear-gradient
(transparent
, transparent
), url
(images
/arrow-down-focus-icon
.svg
);
241 background-position: 100% 60%;
244 body
.rtl div
.vectorMenu
{
247 /* OVERRIDDEN BY COMPLIANT BROWSERS */
249 div#mw-head div
.vectorMenu h3
,
250 div#mw-head div
.vectorMenu h5
{
253 background-image: url
(images
/tab-break
.png
);
254 background-repeat: no-repeat
;
256 /* This will be flipped - unlike the one above it */
257 div#mw-head div
.vectorMenu h3
,
258 div#mw-head div
.vectorMenu h5
{
259 background-position: bottom left
;
263 div#mw-head div
.vectorMenu
> h3
,
264 div#mw-head div
.vectorMenu
> h5
{
265 background-image: none
;
267 div#mw-head div
.vectorMenu h4
,
268 div
.vectorMenu#p-variants #mw-vector-current-variant
{
269 display: inline-block
;
273 padding-top: 1.375em;
277 /* OVERRIDDEN BY COMPLIANT BROWSERS */
280 div
.vectorMenu h5 a
{
281 display: inline-block
;
284 text-decoration: none
;
286 background-image: url
(images
/tab-break
.png
);
287 background-repeat: no-repeat
;
289 /* This will be flipped - unlike the one above it */
291 div
.vectorMenu h5 a
{
292 background-position: bottom right
;
295 div
.vectorMenu h3
> a
,
296 div
.vectorMenu h5
> a
{
299 div
.vectorMenu div
.menu
{
305 /* OVERRIDDEN BY COMPLIANT BROWSERS */
307 body
.rtl div
.vectorMenu div
.menu
{
312 body
.rtl div
.vectorMenu
> div
.menu
{
316 /* Also fixes old versions of FireFox */
318 body
.rtl div
.vectorMenu
> div
.menu
,
322 /* Enable forcing showing of the menu for accessibility */
323 div
.vectorMenu:hover div
.menu
,
324 div
.vectorMenu div
.menuForceShow
{
329 background-color: white
;
330 border: solid
1px silver
;
332 list-style-type: none
;
333 list-style-image: none
;
339 /* Fixes old versions of FireFox */
344 /* Returns things back to normal in modern versions of FireFox */
356 /* OVERRIDDEN BY COMPLIANT BROWSERS */
357 div
.vectorMenu li a
{
358 display: inline-block
;
366 div
.vectorMenu li
> a
{
369 div
.vectorMenu li
.selected a
,
370 div
.vectorMenu li
.selected
a:visited
{
372 text-decoration: none
;
398 min-height: 1px; /* Gotta trigger hasLayout for IE7 */
399 border: solid
1px #aaa;
401 background-color: white
;
403 background-image: url
(images
/search-fade
.png
);
404 background-position: top left
;
405 background-repeat: repeat-x
;
407 div#simpleSearch label
{
409 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
410 * this from ever being shown anyways.
416 div#simpleSearch input
{
420 div#simpleSearch
input:focus
{
423 div#simpleSearch input
.placeholder
{
426 div#simpleSearch
input::-webkit-input-placeholder
{
429 div#simpleSearch
input:-moz-placeholder
{
432 div#simpleSearch
input:-ms-input-placeholder
{
435 div#simpleSearch input#searchInput
{
444 padding-bottom: 0.2em;
448 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
449 * this from ever being shown anyways.
452 background-color: transparent
;
455 div#simpleSearch button#searchButton
{
462 padding-bottom: 0.2em;
463 padding-right: 0.4em;
467 background-color: transparent
;
468 background-image: none
;
470 /* OVERRIDDEN BY COMPLIANT BROWSERS */
471 div#simpleSearch button#searchButton img
{
478 div#simpleSearch button#searchButton
> img
{
489 div#mw-panel div
.portal
{
490 padding-bottom: 1.5em;
493 div#mw-panel div
.portal h3
,
494 div#mw-panel div
.portal h5
{
499 padding-left: 1.75em;
504 div#mw-panel div
.portal div
.body
{
509 background-image: url
(images
/portal-break
.png
);
510 background-repeat: no-repeat
;
511 background-position: top left
;
513 div#mw-panel div
.portal div
.body ul
{
514 list-style-type: none
;
515 list-style-image: none
;
519 div#mw-panel div
.portal div
.body ul li
{
520 line-height: 1.125em;
522 padding-bottom: 0.5em;
525 word-wrap: break-word
;
527 div#mw-panel div
.portal div
.body ul li a
{
530 div#mw-panel div
.portal div
.body ul li
a:visited
{
541 list-style-type: none
;
542 list-style-image: none
;
550 padding-bottom: 0.5em;
554 div#footer #footer-icons
{
558 body
.ltr div#footer #footer-places
{
561 div#footer #footer-info li
{
564 div#footer #footer-icons li
{
570 div#footer #footer-places li
{
587 background-repeat: no-repeat
;
588 background-position: center center
;
589 text-decoration: none
;
594 * The following code is highly modified from monobook. It would be nice if the
595 * preftoc id was more human readable like preferences-toc for instance,
596 * howerver this would require backporting the other skins.
605 margin: 0 !important
;
606 padding: 0 !important
;
608 background-image: url
(images
/preferences-break
.png
);
609 background-position: bottom left
;
610 background-repeat: no-repeat
;
620 list-style-type: none
;
621 list-style-image: none
;
623 background-image: url
(images
/preferences-break
.png
);
624 background-position: bottom right
;
625 background-repeat: no-repeat
;
627 /* Sadly, IE6 won't understand this */
628 #preftoc li:first-child
{
633 display: inline-block
;
637 text-decoration: none
;
638 background-image: none
;
643 text-decoration: underline
;
645 #preftoc li
.selected a
{
647 background-image: url
(images
/preferences-fade
.png
);
648 background-position: bottom
;
649 background-repeat: repeat-x
;
651 text-decoration: none
;
659 border: solid
1px #ccc;
660 background-color: #fafafa;
662 #preferences fieldset
{
664 border-top: solid
1px #ccc;
666 #preferences fieldset
.prefsection
{
671 #preferences legend
{
674 #preferences fieldset
.prefsection legend
.mainLegend
{
679 padding-right: 0.5em;
686 #preferences div
.mw-prefs-buttons
{
689 #preferences div
.mw-prefs-buttons input
{
690 margin-right: 0.25em;
694 * The following code is slightly modified from monobook
704 list-style-type: disc
;
706 list-style-image: url
(images
/bullet-icon
.png
);
713 /* Site Notice (includes notices from CentralNotice extension) */
722 div#content a
.external
,
723 div#content a
.external
[href ^
="gopher://"] {
725 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
728 div#content a
.external
[href ^
="https://"],
731 background: url
(images
/lock-icon
.png
) center right no-repeat
;
734 div#content a
.external
[href ^
="mailto:"],
737 background: url
(images
/mail-icon
.png
) center right no-repeat
;
740 div#content a
.external
[href ^
="news:"] {
742 background: url
(images
/news-icon
.png
) center right no-repeat
;
745 div#content a
.external
[href ^
="ftp://"],
748 background: url
(images
/file-icon
.png
) center right no-repeat
;
751 div#content a
.external
[href ^
="irc://"],
752 div#content a
.external
[href ^
="ircs://"],
755 background: url
(images
/talk-icon
.png
) center right no-repeat
;
758 div#content a
.external
[href $
=".ogg"], div#content a
.external
[href $
=".OGG"],
759 div#content a
.external
[href $
=".mid"], div#content a
.external
[href $
=".MID"],
760 div#content a
.external
[href $
=".midi"], div#content a
.external
[href $
=".MIDI"],
761 div#content a
.external
[href $
=".mp3"], div#content a
.external
[href $
=".MP3"],
762 div#content a
.external
[href $
=".wav"], div#content a
.external
[href $
=".WAV"],
763 div#content a
.external
[href $
=".wma"], div#content a
.external
[href $
=".WMA"],
766 background: url
(images
/audio-icon
.png
) center right no-repeat
;
769 div#content a
.external
[href $
=".ogm"], div#content a
.external
[href $
=".OGM"],
770 div#content a
.external
[href $
=".avi"], div#content a
.external
[href $
=".AVI"],
771 div#content a
.external
[href $
=".mpeg"], div#content a
.external
[href $
=".MPEG"],
772 div#content a
.external
[href $
=".mpg"], div#content a
.external
[href $
=".MPG"],
775 background: url
(images
/video-icon
.png
) center right no-repeat
;
778 div#content a
.external
[href $
=".pdf"], div#content a
.external
[href $
=".PDF"],
779 div#content a
.external
[href
*=".pdf#"], div#content a
.external
[href
*=".PDF#"],
780 div#content a
.external
[href
*=".pdf?"], div#content a
.external
[href
*=".PDF?"],
783 background: url
(images
/document-icon
.png
) center right no-repeat
;
787 /* Icon for Usernames */
792 background: url
(images
/user-icon
.png
) left top no-repeat
;
793 /* SVG support using a transparent gradient to guarantee cross-browser
794 * compatibility (browsers able to understand gradient syntax support also SVG) */
796 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images
/user-icon
.svg
);
798 background-image: linear-gradient
(transparent
, transparent
), url
(images
/user-icon
.svg
);
799 padding-left: 15px !important
;
807 vertical-align: text-bottom
;
818 /* mediawiki.notification */
819 .skin-vector #mw-notification-area {
823 .skin-vector .mw-notification {
824 background-color: #fff;
825 background-color: rgba
(255, 255, 255, 0.93);
826 padding: 0.75em 1.5em;
827 border: solid
1px #a7d7f9;
828 border-radius: 0.75em;
829 -webkit-box-shadow: 0 2px 10px 0 rgba
(0, 0, 0, 0.125);
830 -moz-box-shadow: 0 2px 10px 0 rgba
(0, 0, 0, 0.125);
831 box-shadow: 0 2px 10px 0 rgba
(0, 0, 0, 0.125);
834 /* Watch/Unwatch Icon Styling */
842 /* This hides the text but shows the background image */
845 /* Only applied in IE6 */
846 margin-top: -0.8em !ie
;
850 background-image: url
(images
/watch-icons
.png
);
853 background-position: -43px 60%;
856 background-position: 5px 60%;
858 #ca-unwatch.icon
a:hover
,
859 #ca-unwatch.icon
a:focus
{
860 background-position: -67px 60%;
862 #ca-watch.icon
a:hover
,
863 #ca-watch.icon
a:focus
{
864 background-position: -19px 60%;
866 #ca-unwatch.icon a
.loading
,
867 #ca-watch.icon a
.loading
{
869 background-image: url
(images
/watch-icon-loading
.gif
);
870 background-position: 5px 60%;
872 #ca-unwatch.icon a span
,
873 #ca-watch.icon a span
{
878 background-image: url
(images
/tab-break
.png
);
879 background-position: right bottom
;
880 background-repeat: no-repeat
;
883 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
888 /* Animate between standard and high definition layouts */
890 body
.vector-animateLayout div#content
,
891 body
.vector-animateLayout div#footer
{
892 -moz-transition: margin-left
250ms, padding
250ms;
893 -webkit-transition: margin-left
250ms, padding
250ms;
894 -o-transition: margin-left
250ms, padding
250ms;
895 transition: margin-left
250ms, padding
250ms;
897 body
.vector-animateLayout #p-logo
,
898 body
.vector-animateLayout #left-navigation
{
899 -moz-transition: left
250ms;
900 -webkit-transition: left
250ms;
901 -o-transition: left
250ms;
902 transition: left
250ms;
904 body
.vector-animateLayout #mw-panel
{
905 -moz-transition: padding-left
250ms;
906 -webkit-transition: padding-left
250ms;
907 -o-transition: padding-left
250ms;
908 transition: padding-left
250ms;
910 body
.vector-animateLayout #p-search
{
911 -moz-transition: margin-right
250ms;
912 -webkit-transition: margin-right
250ms;
913 -o-transition: margin-right
250ms;
914 transition: margin-right
250ms;
916 body
.vector-animateLayout #p-personal
{
917 -moz-transition: right
250ms;
918 -webkit-transition: right
250ms;
919 -o-transition: right
250ms;
920 transition: right
250ms;
922 body
.vector-animateLayout #mw-head-base
{
923 -moz-transition: margin-left
250ms;
924 -webkit-transition: margin-left
250ms;
925 -o-transition: margin-left
250ms;
926 transition: margin-left
250ms;