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 */
106 /* When right nav would overlap left nav, it's placed below it
107 (normal CSS floats behavior). This rule ensures that no empty space
108 is shown between them due to right nav's margin-top. Page layout
109 is still broken, but at least the nav overlaps only the page title
110 instead of half the content. */
111 margin-bottom: -2.5em;
112 /* IE 6 double-margin bug fix */
119 /* Navigation Labels */
121 div
.vectorMenu h3 span
{
124 /* Namespaces and Views */
132 background-image: url
(images
/tab-break
.png
);
133 background-position: bottom left
;
134 background-repeat: no-repeat
;
143 list-style-type: none
;
144 list-style-image: none
;
149 div
.vectorTabs ul li
{
152 /* OVERRIDDEN BY COMPLIANT BROWSERS */
153 div
.vectorTabs ul li
{
154 line-height: 1.125em;
155 display: inline-block
;
159 background-color: #f3f3f3;
161 background-image: url
(images
/tab-normal-fade
.png
);
162 background-position: bottom left
;
163 background-repeat: repeat-x
;
167 div
.vectorTabs ul
> li
{
170 div
.vectorTabs li
.selected
{
172 background-image: url
(images
/tab-current-fade
.png
);
174 /* OVERRIDDEN BY COMPLIANT BROWSERS */
175 div
.vectorTabs li a
{
176 display: inline-block
;
179 padding-right: 0.5em;
185 div
.vectorTabs li
> a
{
188 div
.vectorTabs li
.icon a
{
189 background-position: bottom right
;
190 background-repeat: no-repeat
;
192 /* OVERRIDDEN BY COMPLIANT BROWSERS */
193 div
.vectorTabs span a
{
194 display: inline-block
;
199 div
.vectorTabs span
> a
{
203 div
.vectorTabs span
{
204 display: inline-block
;
206 background-image: url
(images
/tab-break
.png
);
207 background-position: bottom right
;
208 background-repeat: no-repeat
;
210 div
.vectorTabs li
.selected a
,
211 div
.vectorTabs li
.selected
a:visited
{
213 text-decoration: none
;
215 div
.vectorTabs li
.new a
,
216 div
.vectorTabs li
.new
a:visited
{
219 /* Variants and Actions */
225 background-image: url
(images
/arrow-down-icon
.png
);
226 /* SVG support using a transparent gradient to guarantee cross-browser
227 * compatibility (browsers able to understand gradient syntax support also SVG) */
229 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images
/arrow-down-icon
.svg
);
231 background-image: linear-gradient
(transparent
, transparent
), url
(images
/arrow-down-icon
.svg
);
232 background-position: 100% 60%;
233 background-repeat: no-repeat
;
236 div
.vectorMenuFocus
{
238 background-image: url
(images
/arrow-down-focus-icon
.png
);
239 /* SVG support using a transparent gradient to guarantee cross-browser
240 * compatibility (browsers able to understand gradient syntax support also SVG) */
242 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images
/arrow-down-focus-icon
.svg
);
244 background-image: linear-gradient
(transparent
, transparent
), url
(images
/arrow-down-focus-icon
.svg
);
245 background-position: 100% 60%;
248 body
.rtl div
.vectorMenu
{
251 /* OVERRIDDEN BY COMPLIANT BROWSERS */
253 div#mw-head div
.vectorMenu h3
{
256 background-image: url
(images
/tab-break
.png
);
257 background-repeat: no-repeat
;
259 /* This will be flipped - unlike the one above it */
260 div#mw-head div
.vectorMenu h3
{
261 background-position: bottom left
;
265 div#mw-head div
.vectorMenu
> h3
{
266 background-image: none
;
268 div#mw-head div
.vectorMenu h4
,
269 div
.vectorMenu#p-variants #mw-vector-current-variant
{
270 display: inline-block
;
274 padding-top: 1.375em;
278 /* OVERRIDDEN BY COMPLIANT BROWSERS */
280 div
.vectorMenu h3 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 */
290 div
.vectorMenu h3 a
{
291 background-position: bottom right
;
294 div
.vectorMenu h3
> a
{
297 div
.vectorMenu div
.menu
{
303 /* OVERRIDDEN BY COMPLIANT BROWSERS */
305 body
.rtl div
.vectorMenu div
.menu
{
310 body
.rtl div
.vectorMenu
> div
.menu
{
314 /* Also fixes old versions of FireFox */
316 body
.rtl div
.vectorMenu
> div
.menu
,
320 /* Enable forcing showing of the menu for accessibility */
321 div
.vectorMenu:hover div
.menu
,
322 div
.vectorMenu div
.menuForceShow
{
327 background-color: white
;
328 border: solid
1px silver
;
330 list-style-type: none
;
331 list-style-image: none
;
337 /* Fixes old versions of FireFox */
342 /* Returns things back to normal in modern versions of FireFox */
354 /* OVERRIDDEN BY COMPLIANT BROWSERS */
355 div
.vectorMenu li a
{
356 display: inline-block
;
364 div
.vectorMenu li
> a
{
367 div
.vectorMenu li
.selected a
,
368 div
.vectorMenu li
.selected
a:visited
{
370 text-decoration: none
;
395 min-height: 1px; /* Gotta trigger hasLayout for IE7 */
396 border: solid
1px #aaa;
398 background-color: white
;
400 background-image: url
(images
/search-fade
.png
);
401 background-position: top left
;
402 background-repeat: repeat-x
;
404 div#simpleSearch label
{
406 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
407 * this from ever being shown anyways.
413 div#simpleSearch input
{
417 div#simpleSearch
input:focus
{
420 div#simpleSearch input
.placeholder
{
423 div#simpleSearch
input::-webkit-input-placeholder
{
426 div#simpleSearch
input:-moz-placeholder
{
429 div#simpleSearch
input:-ms-input-placeholder
{
432 div#simpleSearch input#searchInput
{
441 padding-bottom: 0.2em;
445 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
446 * this from ever being shown anyways.
449 background-color: transparent
;
452 div#simpleSearch button#searchButton
{
459 padding-bottom: 0.2em;
460 padding-right: 0.4em;
464 background-color: transparent
;
465 background-image: none
;
467 /* OVERRIDDEN BY COMPLIANT BROWSERS */
468 div#simpleSearch button#searchButton img
{
475 div#simpleSearch button#searchButton
> img
{
486 div#mw-panel div
.portal
{
487 padding-bottom: 1.5em;
490 div#mw-panel div
.portal h3
{
495 padding-left: 1.75em;
500 div#mw-panel div
.portal div
.body
{
505 background-image: url
(images
/portal-break
.png
);
506 background-repeat: no-repeat
;
507 background-position: top left
;
509 div#mw-panel div
.portal div
.body ul
{
510 list-style-type: none
;
511 list-style-image: none
;
515 div#mw-panel div
.portal div
.body ul li
{
516 line-height: 1.125em;
518 padding-bottom: 0.5em;
521 word-wrap: break-word
;
523 div#mw-panel div
.portal div
.body ul li a
{
526 div#mw-panel div
.portal div
.body ul li
a:visited
{
537 list-style-type: none
;
538 list-style-image: none
;
546 padding-bottom: 0.5em;
550 div#footer #footer-icons
{
554 body
.ltr div#footer #footer-places
{
557 div#footer #footer-info li
{
560 div#footer #footer-icons li
{
566 div#footer #footer-places li
{
583 background-repeat: no-repeat
;
584 background-position: center center
;
585 text-decoration: none
;
590 * The following code is highly modified from monobook. It would be nice if the
591 * preftoc id was more human readable like preferences-toc for instance,
592 * howerver this would require backporting the other skins.
601 margin: 0 !important
;
602 padding: 0 !important
;
604 background-image: url
(images
/preferences-break
.png
);
605 background-position: bottom left
;
606 background-repeat: no-repeat
;
616 list-style-type: none
;
617 list-style-image: none
;
619 background-image: url
(images
/preferences-break
.png
);
620 background-position: bottom right
;
621 background-repeat: no-repeat
;
623 /* Sadly, IE6 won't understand this */
624 #preftoc li:first-child
{
629 display: inline-block
;
633 text-decoration: none
;
634 background-image: none
;
639 text-decoration: underline
;
641 #preftoc li
.selected a
{
643 background-image: url
(images
/preferences-fade
.png
);
644 background-position: bottom
;
645 background-repeat: repeat-x
;
647 text-decoration: none
;
655 border: solid
1px #ccc;
656 background-color: #fafafa;
658 #preferences fieldset
{
660 border-top: solid
1px #ccc;
662 #preferences fieldset
.prefsection
{
667 #preferences legend
{
670 #preferences fieldset
.prefsection legend
.mainLegend
{
675 padding-right: 0.5em;
682 #preferences div
.mw-prefs-buttons
{
685 #preferences div
.mw-prefs-buttons input
{
686 margin-right: 0.25em;
690 * The following code is slightly modified from monobook
700 list-style-type: disc
;
702 list-style-image: url
(images
/bullet-icon
.png
);
709 /* Site Notice (includes notices from CentralNotice extension) */
718 div#content a
.external
,
719 div#content a
.external
[href ^
="gopher://"] {
721 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
724 div#content a
.external
[href ^
="https://"],
727 background: url
(images
/lock-icon
.png
) center right no-repeat
;
730 div#content a
.external
[href ^
="mailto:"],
733 background: url
(images
/mail-icon
.png
) center right no-repeat
;
736 div#content a
.external
[href ^
="news:"] {
738 background: url
(images
/news-icon
.png
) center right no-repeat
;
741 div#content a
.external
[href ^
="ftp://"],
744 background: url
(images
/file-icon
.png
) center right no-repeat
;
747 div#content a
.external
[href ^
="irc://"],
748 div#content a
.external
[href ^
="ircs://"],
751 background: url
(images
/talk-icon
.png
) center right no-repeat
;
754 div#content a
.external
[href $
=".ogg"], div#content a
.external
[href $
=".OGG"],
755 div#content a
.external
[href $
=".mid"], div#content a
.external
[href $
=".MID"],
756 div#content a
.external
[href $
=".midi"], div#content a
.external
[href $
=".MIDI"],
757 div#content a
.external
[href $
=".mp3"], div#content a
.external
[href $
=".MP3"],
758 div#content a
.external
[href $
=".wav"], div#content a
.external
[href $
=".WAV"],
759 div#content a
.external
[href $
=".wma"], div#content a
.external
[href $
=".WMA"],
762 background: url
(images
/audio-icon
.png
) center right no-repeat
;
765 div#content a
.external
[href $
=".ogm"], div#content a
.external
[href $
=".OGM"],
766 div#content a
.external
[href $
=".avi"], div#content a
.external
[href $
=".AVI"],
767 div#content a
.external
[href $
=".mpeg"], div#content a
.external
[href $
=".MPEG"],
768 div#content a
.external
[href $
=".mpg"], div#content a
.external
[href $
=".MPG"],
771 background: url
(images
/video-icon
.png
) center right no-repeat
;
774 div#content a
.external
[href $
=".pdf"], div#content a
.external
[href $
=".PDF"],
775 div#content a
.external
[href
*=".pdf#"], div#content a
.external
[href
*=".PDF#"],
776 div#content a
.external
[href
*=".pdf?"], div#content a
.external
[href
*=".PDF?"],
779 background: url
(images
/document-icon
.png
) center right no-repeat
;
783 /* Icon for Usernames */
788 background: url
(images
/user-icon
.png
) left top no-repeat
;
789 /* SVG support using a transparent gradient to guarantee cross-browser
790 * compatibility (browsers able to understand gradient syntax support also SVG) */
792 background-image: -webkit-linear-gradient
(transparent
, transparent
), url
(images
/user-icon
.svg
);
794 background-image: linear-gradient
(transparent
, transparent
), url
(images
/user-icon
.svg
);
795 padding-left: 15px !important
;
803 vertical-align: text-bottom
;
814 /* mediawiki.notification */
815 .skin-vector .mw-notification-area {
818 .skin-vector .mw-notification-area-layout {
821 .skin-vector .mw-notification {
822 background-color: #fff;
823 background-color: rgba
(255, 255, 255, 0.93);
824 padding: 0.75em 1.5em;
825 border: solid
1px #a7d7f9;
826 border-radius: 0.75em;
827 -webkit-box-shadow: 0 2px 10px 0 rgba
(0, 0, 0, 0.125);
828 box-shadow: 0 2px 10px 0 rgba
(0, 0, 0, 0.125);
831 /* Watch/Unwatch Icon Styling */
839 /* This hides the text but shows the background image */
842 /* Only applied in IE6 */
843 margin-top: -0.8em !ie
;
847 background-image: url
(images
/watch-icons
.png
);
850 background-position: -43px 60%;
853 background-position: 5px 60%;
855 #ca-unwatch.icon
a:hover
,
856 #ca-unwatch.icon
a:focus
{
857 background-position: -67px 60%;
859 #ca-watch.icon
a:hover
,
860 #ca-watch.icon
a:focus
{
861 background-position: -19px 60%;
863 #ca-unwatch.icon a
.loading
,
864 #ca-watch.icon a
.loading
{
866 background-image: url
(images
/watch-icon-loading
.gif
);
867 background-position: 5px 60%;
869 #ca-unwatch.icon a span
,
870 #ca-watch.icon a span
{
875 background-image: url
(images
/tab-break
.png
);
876 background-position: right bottom
;
877 background-repeat: no-repeat
;
880 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
885 /* Animate between standard and high definition layouts */
887 body
.vector-animateLayout div#content
,
888 body
.vector-animateLayout div#footer
,
889 body
.vector-animateLayout #left-navigation
{
890 -moz-transition: margin-left
250ms, padding
250ms;
891 -webkit-transition: margin-left
250ms, padding
250ms;
892 -o-transition: margin-left
250ms, padding
250ms;
893 transition: margin-left
250ms, padding
250ms;
895 body
.vector-animateLayout #p-logo
{
896 -moz-transition: left
250ms;
897 -webkit-transition: left
250ms;
898 -o-transition: left
250ms;
899 transition: left
250ms;
901 body
.vector-animateLayout #mw-panel
{
902 -moz-transition: padding-left
250ms;
903 -webkit-transition: padding-left
250ms;
904 -o-transition: padding-left
250ms;
905 transition: padding-left
250ms;
907 body
.vector-animateLayout #p-search
{
908 -moz-transition: margin-right
250ms;
909 -webkit-transition: margin-right
250ms;
910 -o-transition: margin-right
250ms;
911 transition: margin-right
250ms;
913 body
.vector-animateLayout #p-personal
{
914 -moz-transition: right
250ms;
915 -webkit-transition: right
250ms;
916 -o-transition: right
250ms;
917 transition: right
250ms;
919 body
.vector-animateLayout #mw-head-base
{
920 -moz-transition: margin-left
250ms;
921 -webkit-transition: margin-left
250ms;
922 -o-transition: margin-left
250ms;
923 transition: margin-left
250ms;