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
;
73 /* Hide empty portlets */
82 /* Display on top of page tabs - bug 37158 */
89 list-style-type: none
;
90 list-style-image: none
;
92 padding-left: 10em; /* Keep from overlapping logo */
106 /* Navigation Containers */
116 /* Navigation Labels */
118 div
.vectorMenu h3 span
{
121 /* Namespaces and Views */
129 background-image: url
(images
/tab-break
.png
);
130 background-position: bottom left
;
131 background-repeat: no-repeat
;
140 list-style-type: none
;
141 list-style-image: none
;
146 div
.vectorTabs ul li
{
149 /* OVERRIDDEN BY COMPLIANT BROWSERS */
150 div
.vectorTabs ul li
{
151 line-height: 1.125em;
152 display: inline-block
;
156 background-color: #f3f3f3;
158 background-image: url
(images
/tab-normal-fade
.png
);
159 background-position: bottom left
;
160 background-repeat: repeat-x
;
164 div
.vectorTabs ul
> li
{
167 div
.vectorTabs li
.selected
{
169 background-image: url
(images
/tab-current-fade
.png
);
171 /* OVERRIDDEN BY COMPLIANT BROWSERS */
172 div
.vectorTabs li a
{
173 display: inline-block
;
176 padding-right: 0.5em;
182 div
.vectorTabs li
> a
{
185 div
.vectorTabs li
.icon a
{
186 background-position: bottom right
;
187 background-repeat: no-repeat
;
189 /* OVERRIDDEN BY COMPLIANT BROWSERS */
190 div
.vectorTabs span a
{
191 display: inline-block
;
196 div
.vectorTabs span
> a
{
200 div
.vectorTabs span
{
201 display: inline-block
;
203 background-image: url
(images
/tab-break
.png
);
204 background-position: bottom right
;
205 background-repeat: no-repeat
;
207 div
.vectorTabs li
.selected a
,
208 div
.vectorTabs li
.selected
a:visited
{
210 text-decoration: none
;
212 div
.vectorTabs li
.new a
,
213 div
.vectorTabs li
.new
a:visited
{
216 /* Variants and Actions */
222 background-image: url
(images
/arrow-down-icon
.png
);
223 background-position: 100% 60%;
224 background-repeat: no-repeat
;
227 div
.vectorMenuFocus
{
229 background-image: url
(images
/arrow-down-focus-icon
.png
);
230 background-position: 100% 60%;
233 body
.rtl div
.vectorMenu
{
236 /* OVERRIDDEN BY COMPLIANT BROWSERS */
238 div#mw-head div
.vectorMenu h3
{
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 background-position: bottom left
;
250 div#mw-head div
.vectorMenu
> h3
{
251 background-image: none
;
253 div
.vectorMenu#p-variants #mw-vector-current-variant
{
254 display: inline-block
;
258 padding-top: 1.375em;
262 /* OVERRIDDEN BY COMPLIANT BROWSERS */
264 div
.vectorMenu h3 a
{
265 display: inline-block
;
268 text-decoration: none
;
270 background-image: url
(images
/tab-break
.png
);
271 background-repeat: no-repeat
;
273 /* This will be flipped - unlike the one above it */
274 div
.vectorMenu h3 a
{
275 background-position: bottom right
;
278 div
.vectorMenu h3
> a
{
281 div
.vectorMenu div
.menu
{
287 /* OVERRIDDEN BY COMPLIANT BROWSERS */
289 body
.rtl div
.vectorMenu div
.menu
{
294 body
.rtl div
.vectorMenu
> div
.menu
{
298 /* Also fixes old versions of FireFox */
300 body
.rtl div
.vectorMenu
> div
.menu
,
304 /* Enable forcing showing of the menu for accessibility */
305 div
.vectorMenu:hover div
.menu
,
306 div
.vectorMenu div
.menuForceShow
{
311 background-color: white
;
312 border: solid
1px silver
;
314 list-style-type: none
;
315 list-style-image: none
;
321 /* Fixes old versions of FireFox */
326 /* Returns things back to normal in modern versions of FireFox */
338 /* OVERRIDDEN BY COMPLIANT BROWSERS */
339 div
.vectorMenu li a
{
340 display: inline-block
;
348 div
.vectorMenu li
> a
{
351 div
.vectorMenu li
.selected a
,
352 div
.vectorMenu li
.selected
a:visited
{
354 text-decoration: none
;
379 min-height: 1px; /* Gotta trigger hasLayout for IE7 */
380 border: solid
1px #aaa;
382 background-color: white
;
384 background-image: url
(images
/search-fade
.png
);
385 background-position: top left
;
386 background-repeat: repeat-x
;
388 div#simpleSearch label
{
390 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
391 * this from ever being shown anyways.
397 div#simpleSearch input
{
401 div#simpleSearch
input:focus
{
404 div#simpleSearch input
.placeholder
{
407 div#simpleSearch
input::-webkit-input-placeholder
{
410 div#simpleSearch
input:-moz-placeholder
{
413 div#simpleSearch
input:-ms-input-placeholder
{
416 div#simpleSearch input#searchInput
{
425 padding-bottom: 0.2em;
429 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
430 * this from ever being shown anyways.
433 background-color: transparent
;
436 div#simpleSearch button#searchButton
{
443 padding-bottom: 0.2em;
444 padding-right: 0.4em;
448 background-color: transparent
;
449 background-image: none
;
451 /* OVERRIDDEN BY COMPLIANT BROWSERS */
452 div#simpleSearch button#searchButton img
{
459 div#simpleSearch button#searchButton
> img
{
470 div#mw-panel div
.portal
{
471 padding-bottom: 1.5em;
474 div#mw-panel div
.portal h3
{
479 padding-left: 1.75em;
484 div#mw-panel div
.portal div
.body
{
489 background-image: url
(images
/portal-break
.png
);
490 background-repeat: no-repeat
;
491 background-position: top left
;
493 div#mw-panel div
.portal div
.body ul
{
494 list-style-type: none
;
495 list-style-image: none
;
499 div#mw-panel div
.portal div
.body ul li
{
500 line-height: 1.125em;
502 padding-bottom: 0.5em;
505 word-wrap: break-word
;
507 div#mw-panel div
.portal div
.body ul li a
{
510 div#mw-panel div
.portal div
.body ul li
a:visited
{
519 background-image: url
(images/border.png);
520 background-position: top left
;
521 background-repeat: repeat-x
;
525 list-style-type: none
;
526 list-style-image: none
;
534 padding-bottom: 0.5em;
538 div#footer #footer-icons
{
542 body
.ltr div#footer #footer-places
{
545 div#footer #footer-info li
{
548 div#footer #footer-icons li
{
554 div#footer #footer-places li
{
571 background-repeat: no-repeat
;
572 background-position: center center
;
573 text-decoration: none
;
578 * The following code is highly modified from monobook. It would be nice if the
579 * preftoc id was more human readable like preferences-toc for instance,
580 * howerver this would require backporting the other skins.
589 margin: 0 !important
;
590 padding: 0 !important
;
592 background-image: url
(images
/preferences-break
.png
);
593 background-position: bottom left
;
594 background-repeat: no-repeat
;
604 list-style-type: none
;
605 list-style-image: none
;
607 background-image: url
(images
/preferences-break
.png
);
608 background-position: bottom right
;
609 background-repeat: no-repeat
;
611 /* Sadly, IE6 won't understand this */
612 #preftoc li:first-child
{
617 display: inline-block
;
621 text-decoration: none
;
622 background-image: none
;
627 text-decoration: underline
;
629 #preftoc li
.selected a
{
631 background-image: url
(images
/preferences-fade
.png
);
632 background-position: bottom
;
633 background-repeat: repeat-x
;
635 text-decoration: none
;
643 border: solid
1px #ccc;
644 background-color: #f9f9f9;
646 background-image: url
(images
/preferences-base
.png
);
648 #preferences fieldset
{
650 border-top: solid
1px #ccc;
652 #preferences fieldset
.prefsection
{
657 #preferences legend
{
660 #preferences fieldset
.prefsection legend
.mainLegend
{
665 padding-right: 0.5em;
672 #preferences div
.mw-prefs-buttons
{
675 #preferences div
.mw-prefs-buttons input
{
676 margin-right: 0.25em;
680 * The following code is slightly modified from monobook
694 list-style-type: disc
;
696 list-style-image: url
(images
/bullet-icon
.png
);
703 /* Site Notice (includes notices from CentralNotice extension) */
713 div#content a
.external
,
714 div#content a
.external
[href ^
="gopher://"] {
716 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
719 div#content a
.external
[href ^
="https://"],
722 background: url
(images
/lock-icon
.png
) center right no-repeat
;
725 div#content a
.external
[href ^
="mailto:"],
728 background: url
(images
/mail-icon
.png
) center right no-repeat
;
731 div#content a
.external
[href ^
="news:"] {
733 background: url
(images
/news-icon
.png
) center right no-repeat
;
736 div#content a
.external
[href ^
="ftp://"],
739 background: url
(images
/file-icon
.png
) center right no-repeat
;
742 div#content a
.external
[href ^
="irc://"],
743 div#content a
.external
[href ^
="ircs://"],
746 background: url
(images
/talk-icon
.png
) center right no-repeat
;
749 div#content a
.external
[href $
=".ogg"], div#content a
.external
[href $
=".OGG"],
750 div#content a
.external
[href $
=".mid"], div#content a
.external
[href $
=".MID"],
751 div#content a
.external
[href $
=".midi"], div#content a
.external
[href $
=".MIDI"],
752 div#content a
.external
[href $
=".mp3"], div#content a
.external
[href $
=".MP3"],
753 div#content a
.external
[href $
=".wav"], div#content a
.external
[href $
=".WAV"],
754 div#content a
.external
[href $
=".wma"], div#content a
.external
[href $
=".WMA"],
757 background: url
(images
/audio-icon
.png
) center right no-repeat
;
760 div#content a
.external
[href $
=".ogm"], div#content a
.external
[href $
=".OGM"],
761 div#content a
.external
[href $
=".avi"], div#content a
.external
[href $
=".AVI"],
762 div#content a
.external
[href $
=".mpeg"], div#content a
.external
[href $
=".MPEG"],
763 div#content a
.external
[href $
=".mpg"], div#content a
.external
[href $
=".MPG"],
766 background: url
(images
/video-icon
.png
) center right no-repeat
;
769 div#content a
.external
[href $
=".pdf"], div#content a
.external
[href $
=".PDF"],
770 div#content a
.external
[href
*=".pdf#"], div#content a
.external
[href
*=".PDF#"],
771 div#content a
.external
[href
*=".pdf?"], div#content a
.external
[href
*=".PDF?"],
774 background: url
(images
/document-icon
.png
) center right no-repeat
;
778 /* Icon for Usernames */
783 background: url
(images
/user-icon
.png
) left top no-repeat
;
784 padding-left: 15px !important
;
785 text-transform: none
;
793 vertical-align: text-bottom
;
804 /* mediawiki.notification */
805 .skin-vector #mw-notification-area {
809 .skin-vector .mw-notification {
810 background-color: #fff;
811 background-color: rgba
(255, 255, 255, 0.93);
812 padding: 0.75em 1.5em;
813 border: solid
1px #a7d7f9;
814 border-radius: 0.75em;
815 -webkit-box-shadow: 0 2px 10px 0 rgba
(0, 0, 0, 0.125);
816 -moz-box-shadow: 0 2px 10px 0 rgba
(0, 0, 0, 0.125);
817 box-shadow: 0 2px 10px 0 rgba
(0, 0, 0, 0.125);
820 /* Watch/Unwatch Icon Styling */
828 /* This hides the text but shows the background image */
831 /* Only applied in IE6 */
832 margin-top: -0.8em !ie
;
836 background-image: url
(images
/watch-icons
.png
);
839 background-position: -43px 60%;
842 background-position: 5px 60%;
844 #ca-unwatch.icon
a:hover
,
845 #ca-unwatch.icon
a:focus
{
846 background-position: -67px 60%;
848 #ca-watch.icon
a:hover
,
849 #ca-watch.icon
a:focus
{
850 background-position: -19px 60%;
852 #ca-unwatch.icon a
.loading
,
853 #ca-watch.icon a
.loading
{
855 background-image: url
(images
/watch-icon-loading
.gif
);
856 background-position: 5px 60%;
858 #ca-unwatch.icon a span
,
859 #ca-watch.icon a span
{
864 background-image: url
(images
/tab-break
.png
);
865 background-position: right bottom
;
866 background-repeat: no-repeat
;
869 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
874 /* Animate between standard and high definition layouts */
876 body
.vector-animateLayout div#content
,
877 body
.vector-animateLayout div#footer
{
878 -moz-transition: margin-left
250ms, padding
250ms;
879 -webkit-transition: margin-left
250ms, padding
250ms;
880 -o-transition: margin-left
250ms, padding
250ms;
881 transition: margin-left
250ms, padding
250ms;
883 body
.vector-animateLayout #p-logo
,
884 body
.vector-animateLayout #left-navigation
{
885 -moz-transition: left
250ms;
886 -webkit-transition: left
250ms;
887 -o-transition: left
250ms;
888 transition: left
250ms;
890 body
.vector-animateLayout #mw-panel
{
891 -moz-transition: padding-left
250ms;
892 -webkit-transition: padding-left
250ms;
893 -o-transition: padding-left
250ms;
894 transition: padding-left
250ms;
896 body
.vector-animateLayout #p-search
{
897 -moz-transition: margin-right
250ms;
898 -webkit-transition: margin-right
250ms;
899 -o-transition: margin-right
250ms;
900 transition: margin-right
250ms;
902 body
.vector-animateLayout #p-personal
{
903 -moz-transition: right
250ms;
904 -webkit-transition: right
250ms;
905 -o-transition: right
250ms;
906 transition: right
250ms;
908 body
.vector-animateLayout #mw-head-base
{
909 -moz-transition: margin-left
250ms;
910 -webkit-transition: margin-left
250ms;
911 -o-transition: margin-left
250ms;
912 transition: margin-left
250ms;