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
;
43 background-color: white
;
45 background-image: url
(images
/page-fade
.png
);
46 background-position: bottom left
;
47 background-repeat: repeat-x
;
54 background-image: url
(images/border.png);
55 background-position: bottom left
;
56 background-repeat: repeat-x
;
68 /* Hide empty portlets */
77 /* Display on top of page tabs - bug 37158 */
86 padding-left: 10em; /* Keep from overlapping logo */
100 /* Navigation Containers */
110 /* Navigation Labels */
112 div
.vectorMenu h5 span
{
115 /* Namespaces and Views */
123 background-image: url
(images
/tab-break
.png
);
124 background-position: bottom left
;
125 background-repeat: no-repeat
;
139 div
.vectorTabs ul li
{
142 /* OVERRIDDEN BY COMPLIANT BROWSERS */
143 div
.vectorTabs ul li
{
144 line-height: 1.125em;
145 display: inline-block
;
149 background-color: #f3f3f3;
151 background-image: url
(images
/tab-normal-fade
.png
);
152 background-position: bottom left
;
153 background-repeat: repeat-x
;
157 div
.vectorTabs ul
> li
{
160 div
.vectorTabs li
.selected
{
162 background-image: url
(images
/tab-current-fade
.png
);
164 /* OVERRIDDEN BY COMPLIANT BROWSERS */
165 div
.vectorTabs li a
{
166 display: inline-block
;
169 padding-right: 0.5em;
175 div
.vectorTabs li
> a
{
178 div
.vectorTabs li
.icon a
{
179 background-position: bottom right
;
180 background-repeat: no-repeat
;
182 /* OVERRIDDEN BY COMPLIANT BROWSERS */
183 div
.vectorTabs span a
{
184 display: inline-block
;
189 div
.vectorTabs span
> a
{
193 div
.vectorTabs span
{
194 display: inline-block
;
196 background-image: url
(images
/tab-break
.png
);
197 background-position: bottom right
;
198 background-repeat: no-repeat
;
200 div
.vectorTabs li
.selected a
,
201 div
.vectorTabs li
.selected
a:visited
{
203 text-decoration: none
;
205 div
.vectorTabs li
.new a
,
206 div
.vectorTabs li
.new
a:visited
{
209 /* Variants and Actions */
215 background-image: url
(images
/arrow-down-icon
.png
);
216 background-position: 100% 60%;
217 background-repeat: no-repeat
;
220 div
.vectorMenuFocus
{
222 background-image: url
(images
/arrow-down-focus-icon
.png
);
223 background-position: 100% 60%;
226 body
.rtl div
.vectorMenu
{
229 /* OVERRIDDEN BY COMPLIANT BROWSERS */
231 div#mw-head div
.vectorMenu h5
{
234 background-image: url
(images
/tab-break
.png
);
235 background-repeat: no-repeat
;
237 /* This will be flipped - unlike the one above it */
238 div#mw-head div
.vectorMenu h5
{
239 background-position: bottom left
;
243 div#mw-head div
.vectorMenu
> h5
{
244 background-image: none
;
246 div#mw-head div
.vectorMenu h4
{
247 display: inline-block
;
251 padding-top: 1.375em;
255 /* OVERRIDDEN BY COMPLIANT BROWSERS */
257 div
.vectorMenu h5 a
{
258 display: inline-block
;
261 text-decoration: none
;
263 background-image: url
(images
/tab-break
.png
);
264 background-repeat: no-repeat
;
266 /* This will be flipped - unlike the one above it */
267 div
.vectorMenu h5 a
{
268 background-position: bottom right
;
271 div
.vectorMenu h5
> a
{
274 div
.vectorMenu div
.menu
{
280 /* OVERRIDDEN BY COMPLIANT BROWSERS */
282 body
.rtl div
.vectorMenu div
.menu
{
287 body
.rtl div
.vectorMenu
> div
.menu
{
291 /* Also fixes old versions of FireFox */
293 body
.rtl div
.vectorMenu
> div
.menu
,
297 /* Enable forcing showing of the menu for accessibility */
298 div
.vectorMenu:hover div
.menu
,
299 div
.vectorMenu div
.menuForceShow
{
304 background-color: white
;
305 border: solid
1px silver
;
308 list-style-image: none
;
309 list-style-type: none
;
315 /* Fixes old versions of FireFox */
320 /* Returns things back to normal in modern versions of FireFox */
332 /* OVERRIDDEN BY COMPLIANT BROWSERS */
333 div
.vectorMenu li a
{
334 display: inline-block
;
342 div
.vectorMenu li
> a
{
345 div
.vectorMenu li
.selected a
,
346 div
.vectorMenu li
.selected
a:visited
{
348 text-decoration: none
;
373 min-height: 1px; /* Gotta trigger hasLayout for IE7 */
374 border: solid
1px #aaa;
376 background-color: white
;
378 background-image: url
(images
/search-fade
.png
);
379 background-position: top left
;
380 background-repeat: repeat-x
;
382 div#simpleSearch label
{
384 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
385 * this from ever being shown anyways.
391 div#simpleSearch input
{
395 div#simpleSearch
input:focus
{
398 div#simpleSearch input
.placeholder
{
401 div#simpleSearch
input::-webkit-input-placeholder
{
404 div#simpleSearch
input:-moz-placeholder
{
407 div#simpleSearch
input:-ms-input-placeholder
{
410 div#simpleSearch input#searchInput
{
419 padding-bottom: 0.2em;
423 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
424 * this from ever being shown anyways.
427 background-color: transparent
;
430 div#simpleSearch button#searchButton
{
437 padding-bottom: 0.2em;
438 padding-right: 0.4em;
442 background-color: transparent
;
443 background-image: none
;
445 /* OVERRIDDEN BY COMPLIANT BROWSERS */
446 div#simpleSearch button#searchButton img
{
453 div#simpleSearch button#searchButton
> img
{
464 div#mw-panel div
.portal
{
465 padding-bottom: 1.5em;
468 div#mw-panel div
.portal h5
{
473 padding-left: 1.75em;
478 div#mw-panel div
.portal div
.body
{
483 background-image: url
(images
/portal-break
.png
);
484 background-repeat: no-repeat
;
485 background-position: top left
;
487 div#mw-panel div
.portal div
.body ul
{
489 list-style-image: none
;
490 list-style-type: none
;
494 div#mw-panel div
.portal div
.body ul li
{
495 line-height: 1.125em;
497 padding-bottom: 0.5em;
500 word-wrap: break-word
;
502 div#mw-panel div
.portal div
.body ul li a
{
505 div#mw-panel div
.portal div
.body ul li
a:visited
{
514 background-image: url
(images/border.png);
515 background-position: top left
;
516 background-repeat: repeat-x
;
521 list-style-image: none
;
522 list-style-type: none
;
530 padding-bottom: 0.5em;
534 div#footer #footer-icons
{
538 body
.ltr div#footer #footer-places
{
541 div#footer #footer-info li
{
544 div#footer #footer-icons li
{
550 div#footer #footer-places li
{
567 background-repeat: no-repeat
;
568 background-position: center center
;
569 text-decoration: none
;
574 * The following code is highly modified from monobook. It would be nice if the
575 * preftoc id was more human readable like preferences-toc for instance,
576 * howerver this would require backporting the other skins.
585 margin: 0 !important
;
586 padding: 0 !important
;
588 background-image: url
(images
/preferences-break
.png
);
589 background-position: bottom left
;
590 background-repeat: no-repeat
;
600 list-style-type: none
;
601 list-style-image: none
;
603 background-image: url
(images
/preferences-break
.png
);
604 background-position: bottom right
;
605 background-repeat: no-repeat
;
607 /* Sadly, IE6 won't understand this */
608 #preftoc li:first-child
{
613 display: inline-block
;
617 text-decoration: none
;
618 background-image: none
;
623 text-decoration: underline
;
625 #preftoc li
.selected a
{
627 background-image: url
(images
/preferences-fade
.png
);
628 background-position: bottom
;
629 background-repeat: repeat-x
;
631 text-decoration: none
;
639 border: solid
1px #ccc;
640 background-color: #f9f9f9;
642 background-image: url
(images
/preferences-base
.png
);
644 #preferences fieldset
{
646 border-top: solid
1px #ccc;
648 #preferences fieldset
.prefsection
{
653 #preferences legend
{
656 #preferences fieldset
.prefsection legend
.mainLegend
{
661 padding-right: 0.5em;
668 #preferences div
.mw-prefs-buttons
{
671 #preferences div
.mw-prefs-buttons input
{
672 margin-right: 0.25em;
676 * The following code is slightly modified from monobook
691 list-style-image: url
(images
/bullet-icon
.png
);
698 /* Site Notice (includes notices from CentralNotice extension) */
708 div#content a
.external
,
709 div#content a
.external
[href ^
="gopher://"] {
711 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
714 div#content a
.external
[href ^
="https://"],
717 background: url
(images
/lock-icon
.png
) center right no-repeat
;
720 div#content a
.external
[href ^
="mailto:"],
723 background: url
(images
/mail-icon
.png
) center right no-repeat
;
726 div#content a
.external
[href ^
="news:"] {
728 background: url
(images
/news-icon
.png
) center right no-repeat
;
731 div#content a
.external
[href ^
="ftp://"],
734 background: url
(images
/file-icon
.png
) center right no-repeat
;
737 div#content a
.external
[href ^
="irc://"],
738 div#content a
.external
[href ^
="ircs://"],
741 background: url
(images
/talk-icon
.png
) center right no-repeat
;
744 div#content a
.external
[href $
=".ogg"], div#content a
.external
[href $
=".OGG"],
745 div#content a
.external
[href $
=".mid"], div#content a
.external
[href $
=".MID"],
746 div#content a
.external
[href $
=".midi"], div#content a
.external
[href $
=".MIDI"],
747 div#content a
.external
[href $
=".mp3"], div#content a
.external
[href $
=".MP3"],
748 div#content a
.external
[href $
=".wav"], div#content a
.external
[href $
=".WAV"],
749 div#content a
.external
[href $
=".wma"], div#content a
.external
[href $
=".WMA"],
752 background: url
(images
/audio-icon
.png
) center right no-repeat
;
755 div#content a
.external
[href $
=".ogm"], div#content a
.external
[href $
=".OGM"],
756 div#content a
.external
[href $
=".avi"], div#content a
.external
[href $
=".AVI"],
757 div#content a
.external
[href $
=".mpeg"], div#content a
.external
[href $
=".MPEG"],
758 div#content a
.external
[href $
=".mpg"], div#content a
.external
[href $
=".MPG"],
761 background: url
(images
/video-icon
.png
) center right no-repeat
;
764 div#content a
.external
[href $
=".pdf"], div#content a
.external
[href $
=".PDF"],
765 div#content a
.external
[href
*=".pdf#"], div#content a
.external
[href
*=".PDF#"],
766 div#content a
.external
[href
*=".pdf?"], div#content a
.external
[href
*=".PDF?"],
769 background: url
(images
/document-icon
.png
) center right no-repeat
;
773 /* Icon for Usernames */
778 background: url
(images
/user-icon
.png
) left top no-repeat
;
779 padding-left: 15px !important
;
780 text-transform: none
;
788 vertical-align: text-bottom
;
799 /* mediawiki.notification */
800 .skin-vector #mw-notification-area {
804 .skin-vector .mw-notification {
805 background-color: #fff;
806 background-color: rgba
(255, 255, 255, 0.93);
807 padding: 0.75em 1.5em;
808 border: solid
1px #a7d7f9;
809 border-radius: 0.75em;
810 -webkit-box-shadow: 0 2px 10px 0 rgba
(0, 0, 0, 0.125);
811 -moz-box-shadow: 0 2px 10px 0 rgba
(0, 0, 0, 0.125);
812 box-shadow: 0 2px 10px 0 rgba
(0, 0, 0, 0.125);
815 /* Watch/Unwatch Icon Styling */
823 /* This hides the text but shows the background image */
826 /* Only applied in IE6 */
827 margin-top: -0.8em !ie
;
831 background-image: url
(images
/watch-icons
.png
);
834 background-position: -43px 60%;
837 background-position: 5px 60%;
839 #ca-unwatch.icon
a:hover
,
840 #ca-unwatch.icon
a:focus
{
841 background-position: -67px 60%;
843 #ca-watch.icon
a:hover
,
844 #ca-watch.icon
a:focus
{
845 background-position: -19px 60%;
847 #ca-unwatch.icon a
.loading
,
848 #ca-watch.icon a
.loading
{
850 background-image: url
(images
/watch-icon-loading
.gif
);
851 background-position: 5px 60%;
853 #ca-unwatch.icon a span
,
854 #ca-watch.icon a span
{
859 background-image: url
(images
/tab-break
.png
);
860 background-position: right bottom
;
861 background-repeat: no-repeat
;
864 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
869 /* Animate between standard and high definition layouts */
871 body
.vector-animateLayout div#content
,
872 body
.vector-animateLayout div#footer
{
873 -moz-transition: margin-left
250ms, padding
250ms;
874 -webkit-transition: margin-left
250ms, padding
250ms;
875 -o-transition: margin-left
250ms, padding
250ms;
876 transition: margin-left
250ms, padding
250ms;
878 body
.vector-animateLayout #p-logo
,
879 body
.vector-animateLayout #left-navigation
{
880 -moz-transition: left
250ms;
881 -webkit-transition: left
250ms;
882 -o-transition: left
250ms;
883 transition: left
250ms;
885 body
.vector-animateLayout #mw-panel
{
886 -moz-transition: padding-left
250ms;
887 -webkit-transition: padding-left
250ms;
888 -o-transition: padding-left
250ms;
889 transition: padding-left
250ms;
891 body
.vector-animateLayout #p-search
{
892 -moz-transition: margin-right
250ms;
893 -webkit-transition: margin-right
250ms;
894 -o-transition: margin-right
250ms;
895 transition: margin-right
250ms;
897 body
.vector-animateLayout #p-personal
{
898 -moz-transition: right
250ms;
899 -webkit-transition: right
250ms;
900 -o-transition: right
250ms;
901 transition: right
250ms;
903 body
.vector-animateLayout #mw-head-base
{
904 -moz-transition: margin-left
250ms;
905 -webkit-transition: margin-left
250ms;
906 -o-transition: margin-left
250ms;
907 transition: margin-left
250ms;