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 */
84 padding-left: 10em; /* Keep from overlapping logo */
98 /* Navigation Containers */
108 /* Navigation Labels */
110 div
.vectorMenu h5 span
{
113 /* Namespaces and Views */
121 background-image: url
(images
/tab-break
.png
);
122 background-position: bottom left
;
123 background-repeat: no-repeat
;
137 div
.vectorTabs ul li
{
140 /* OVERRIDDEN BY COMPLIANT BROWSERS */
141 div
.vectorTabs ul li
{
142 line-height: 1.125em;
143 display: inline-block
;
147 background-color: #f3f3f3;
149 background-image: url
(images
/tab-normal-fade
.png
);
150 background-position: bottom left
;
151 background-repeat: repeat-x
;
155 div
.vectorTabs ul
> li
{
158 div
.vectorTabs li
.selected
{
160 background-image: url
(images
/tab-current-fade
.png
);
162 /* OVERRIDDEN BY COMPLIANT BROWSERS */
163 div
.vectorTabs li a
{
164 display: inline-block
;
167 padding-right: 0.5em;
173 div
.vectorTabs li
> a
{
176 div
.vectorTabs li
.icon a
{
177 background-position: bottom right
;
178 background-repeat: no-repeat
;
180 /* OVERRIDDEN BY COMPLIANT BROWSERS */
181 div
.vectorTabs span a
{
182 display: inline-block
;
187 div
.vectorTabs span
> a
{
191 div
.vectorTabs span
{
192 display: inline-block
;
194 background-image: url
(images
/tab-break
.png
);
195 background-position: bottom right
;
196 background-repeat: no-repeat
;
198 div
.vectorTabs li
.selected a
,
199 div
.vectorTabs li
.selected
a:visited
{
201 text-decoration: none
;
203 div
.vectorTabs li
.new a
,
204 div
.vectorTabs li
.new
a:visited
{
207 /* Variants and Actions */
213 background-image: url
(images
/arrow-down-icon
.png
);
214 background-position: 100% 60%;
215 background-repeat: no-repeat
;
218 div
.vectorMenuFocus
{
220 background-image: url
(images
/arrow-down-focus-icon
.png
);
221 background-position: 100% 60%;
224 body
.rtl div
.vectorMenu
{
227 /* OVERRIDDEN BY COMPLIANT BROWSERS */
229 div#mw-head div
.vectorMenu h5
{
232 background-image: url
(images
/tab-break
.png
);
233 background-repeat: no-repeat
;
235 /* This will be flipped - unlike the one above it */
236 div#mw-head div
.vectorMenu h5
{
237 background-position: bottom left
;
241 div#mw-head div
.vectorMenu
> h5
{
242 background-image: none
;
244 div#mw-head div
.vectorMenu h4
{
245 display: inline-block
;
249 padding-top: 1.375em;
253 /* OVERRIDDEN BY COMPLIANT BROWSERS */
255 div
.vectorMenu h5 a
{
256 display: inline-block
;
259 text-decoration: none
;
261 background-image: url
(images
/tab-break
.png
);
262 background-repeat: no-repeat
;
264 /* This will be flipped - unlike the one above it */
265 div
.vectorMenu h5 a
{
266 background-position: bottom right
;
269 div
.vectorMenu h5
> a
{
272 div
.vectorMenu div
.menu
{
278 /* OVERRIDDEN BY COMPLIANT BROWSERS */
280 body
.rtl div
.vectorMenu div
.menu
{
285 body
.rtl div
.vectorMenu
> div
.menu
{
289 /* Also fixes old versions of FireFox */
291 body
.rtl div
.vectorMenu
> div
.menu
,
295 /* Enable forcing showing of the menu for accessibility */
296 div
.vectorMenu:hover div
.menu
,
297 div
.vectorMenu div
.menuForceShow
{
302 background-color: white
;
303 border: solid
1px silver
;
306 list-style-image: none
;
307 list-style-type: none
;
313 /* Fixes old versions of FireFox */
318 /* Returns things back to normal in modern versions of FireFox */
330 /* OVERRIDDEN BY COMPLIANT BROWSERS */
331 div
.vectorMenu li a
{
332 display: inline-block
;
340 div
.vectorMenu li
> a
{
343 div
.vectorMenu li
.selected a
,
344 div
.vectorMenu li
.selected
a:visited
{
346 text-decoration: none
;
371 min-height: 1px; /* Gotta trigger hasLayout for IE7 */
372 border: solid
1px #aaa;
374 background-color: white
;
376 background-image: url
(images
/search-fade
.png
);
377 background-position: top left
;
378 background-repeat: repeat-x
;
380 div#simpleSearch label
{
382 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
383 * this from ever being shown anyways.
389 div#simpleSearch input
{
393 div#simpleSearch
input:focus
{
396 div#simpleSearch input
.placeholder
{
399 div#simpleSearch
input::-webkit-input-placeholder
{
402 div#simpleSearch
input:-moz-placeholder
{
405 div#simpleSearch
input:-ms-input-placeholder
{
408 div#simpleSearch input#searchInput
{
417 padding-bottom: 0.2em;
421 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
422 * this from ever being shown anyways.
425 background-color: transparent
;
428 div#simpleSearch button#searchButton
{
435 padding-bottom: 0.2em;
436 padding-right: 0.4em;
440 background-color: transparent
;
441 background-image: none
;
443 /* OVERRIDDEN BY COMPLIANT BROWSERS */
444 div#simpleSearch button#searchButton img
{
451 div#simpleSearch button#searchButton
> img
{
462 div#mw-panel div
.portal
{
463 padding-bottom: 1.5em;
466 div#mw-panel div
.portal h5
{
471 padding-left: 1.75em;
476 div#mw-panel div
.portal div
.body
{
481 background-image: url
(images
/portal-break
.png
);
482 background-repeat: no-repeat
;
483 background-position: top left
;
485 div#mw-panel div
.portal div
.body ul
{
487 list-style-image: none
;
488 list-style-type: none
;
492 div#mw-panel div
.portal div
.body ul li
{
493 line-height: 1.125em;
495 padding-bottom: 0.5em;
498 word-wrap: break-word
;
500 div#mw-panel div
.portal div
.body ul li a
{
503 div#mw-panel div
.portal div
.body ul li
a:visited
{
512 background-image: url
(images/border.png);
513 background-position: top left
;
514 background-repeat: repeat-x
;
519 list-style-image: none
;
520 list-style-type: none
;
528 padding-bottom: 0.5em;
532 div#footer #footer-icons
{
536 body
.ltr div#footer #footer-places
{
539 div#footer #footer-info li
{
542 div#footer #footer-icons li
{
548 div#footer #footer-places li
{
565 background-repeat: no-repeat
;
566 background-position: center center
;
567 text-decoration: none
;
572 * The following code is highly modified from monobook. It would be nice if the
573 * preftoc id was more human readable like preferences-toc for instance,
574 * howerver this would require backporting the other skins.
583 margin: 0 !important
;
584 padding: 0 !important
;
586 background-image: url
(images
/preferences-break
.png
);
587 background-position: bottom left
;
588 background-repeat: no-repeat
;
598 list-style-type: none
;
599 list-style-image: none
;
601 background-image: url
(images
/preferences-break
.png
);
602 background-position: bottom right
;
603 background-repeat: no-repeat
;
605 /* Sadly, IE6 won't understand this */
606 #preftoc li:first-child
{
611 display: inline-block
;
615 text-decoration: none
;
616 background-image: none
;
621 text-decoration: underline
;
623 #preftoc li
.selected a
{
625 background-image: url
(images
/preferences-fade
.png
);
626 background-position: bottom
;
627 background-repeat: repeat-x
;
629 text-decoration: none
;
637 border: solid
1px #ccc;
638 background-color: #f9f9f9;
640 background-image: url
(images
/preferences-base
.png
);
642 #preferences fieldset
{
644 border-top: solid
1px #ccc;
646 #preferences fieldset
.prefsection
{
651 #preferences legend
{
654 #preferences fieldset
.prefsection legend
.mainLegend
{
659 padding-right: 0.5em;
666 #preferences div
.mw-prefs-buttons
{
669 #preferences div
.mw-prefs-buttons input
{
670 margin-right: 0.25em;
674 * The following code is slightly modified from monobook
689 list-style-image: url
(images
/bullet-icon
.png
);
696 /* Site Notice (includes notices from CentralNotice extension) */
706 div#content a
.external
,
707 div#content a
.external
[href ^
="gopher://"] {
709 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
712 div#content a
.external
[href ^
="https://"],
715 background: url
(images
/lock-icon
.png
) center right no-repeat
;
718 div#content a
.external
[href ^
="mailto:"],
721 background: url
(images
/mail-icon
.png
) center right no-repeat
;
724 div#content a
.external
[href ^
="news:"] {
726 background: url
(images
/news-icon
.png
) center right no-repeat
;
729 div#content a
.external
[href ^
="ftp://"],
732 background: url
(images
/file-icon
.png
) center right no-repeat
;
735 div#content a
.external
[href ^
="irc://"],
736 div#content a
.external
[href ^
="ircs://"],
739 background: url
(images
/talk-icon
.png
) center right no-repeat
;
742 div#content a
.external
[href $
=".ogg"], div#content a
.external
[href $
=".OGG"],
743 div#content a
.external
[href $
=".mid"], div#content a
.external
[href $
=".MID"],
744 div#content a
.external
[href $
=".midi"], div#content a
.external
[href $
=".MIDI"],
745 div#content a
.external
[href $
=".mp3"], div#content a
.external
[href $
=".MP3"],
746 div#content a
.external
[href $
=".wav"], div#content a
.external
[href $
=".WAV"],
747 div#content a
.external
[href $
=".wma"], div#content a
.external
[href $
=".WMA"],
750 background: url
(images
/audio-icon
.png
) center right no-repeat
;
753 div#content a
.external
[href $
=".ogm"], div#content a
.external
[href $
=".OGM"],
754 div#content a
.external
[href $
=".avi"], div#content a
.external
[href $
=".AVI"],
755 div#content a
.external
[href $
=".mpeg"], div#content a
.external
[href $
=".MPEG"],
756 div#content a
.external
[href $
=".mpg"], div#content a
.external
[href $
=".MPG"],
759 background: url
(images
/video-icon
.png
) center right no-repeat
;
762 div#content a
.external
[href $
=".pdf"], div#content a
.external
[href $
=".PDF"],
763 div#content a
.external
[href
*=".pdf#"], div#content a
.external
[href
*=".PDF#"],
764 div#content a
.external
[href
*=".pdf?"], div#content a
.external
[href
*=".PDF?"],
767 background: url
(images
/document-icon
.png
) center right no-repeat
;
771 /* Icon for Usernames */
776 background: url
(images
/user-icon
.png
) left top no-repeat
;
777 padding-left: 15px !important
;
778 text-transform: none
;
786 vertical-align: text-bottom
;
797 /* mediawiki.notification */
798 .skin-vector #mw-notification-area {
802 .skin-vector .mw-notification {
803 background-color: #fff;
804 background-color: rgba
(255, 255, 255, 0.93);
805 padding: 0.75em 1.5em;
806 border: solid
1px #a7d7f9;
807 border-radius: 0.75em;
808 -webkit-box-shadow: 0 2px 10px 0 rgba
(0, 0, 0, 0.125);
809 -moz-box-shadow: 0 2px 10px 0 rgba
(0, 0, 0, 0.125);
810 box-shadow: 0 2px 10px 0 rgba
(0, 0, 0, 0.125);
813 /* Watch/Unwatch Icon Styling */
821 /* This hides the text but shows the background image */
824 /* Only applied in IE6 */
825 margin-top: -0.8em !ie
;
829 background-image: url
(images
/watch-icons
.png
);
832 background-position: -43px 60%;
835 background-position: 5px 60%;
837 #ca-unwatch.icon
a:hover
,
838 #ca-unwatch.icon
a:focus
{
839 background-position: -67px 60%;
841 #ca-watch.icon
a:hover
,
842 #ca-watch.icon
a:focus
{
843 background-position: -19px 60%;
845 #ca-unwatch.icon a
.loading
,
846 #ca-watch.icon a
.loading
{
848 background-image: url
(images
/watch-icon-loading
.gif
);
849 background-position: 5px 60%;
851 #ca-unwatch.icon a span
,
852 #ca-watch.icon a span
{
857 background-image: url
(images
/tab-break
.png
);
858 background-position: right bottom
;
859 background-repeat: no-repeat
;
862 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
867 /* Animate between standard and high definition layouts */
869 body
.vector-animateLayout div#content
,
870 body
.vector-animateLayout div#footer
{
871 -moz-transition: margin-left
250ms, padding
250ms;
872 -webkit-transition: margin-left
250ms, padding
250ms;
873 -o-transition: margin-left
250ms, padding
250ms;
874 transition: margin-left
250ms, padding
250ms;
876 body
.vector-animateLayout #p-logo
,
877 body
.vector-animateLayout #left-navigation
{
878 -moz-transition: left
250ms;
879 -webkit-transition: left
250ms;
880 -o-transition: left
250ms;
881 transition: left
250ms;
883 body
.vector-animateLayout #mw-panel
{
884 -moz-transition: padding-left
250ms;
885 -webkit-transition: padding-left
250ms;
886 -o-transition: padding-left
250ms;
887 transition: padding-left
250ms;
889 body
.vector-animateLayout #p-search
{
890 -moz-transition: margin-right
250ms;
891 -webkit-transition: margin-right
250ms;
892 -o-transition: margin-right
250ms;
893 transition: margin-right
250ms;
895 body
.vector-animateLayout #p-personal
{
896 -moz-transition: right
250ms;
897 -webkit-transition: right
250ms;
898 -o-transition: right
250ms;
899 transition: right
250ms;
901 body
.vector-animateLayout #mw-head-base
{
902 -moz-transition: margin-left
250ms;
903 -webkit-transition: margin-left
250ms;
904 -o-transition: margin-left
250ms;
905 transition: margin-left
250ms;