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
, div
.vectorMenu div
.menuForceShow
{
301 background-color: white
;
302 border: solid
1px silver
;
305 list-style-image: none
;
306 list-style-type: none
;
312 /* Fixes old versions of FireFox */
317 /* Returns things back to normal in modern versions of FireFox */
329 /* OVERRIDDEN BY COMPLIANT BROWSERS */
330 div
.vectorMenu li a
{
331 display: inline-block
;
339 div
.vectorMenu li
> a
{
342 div
.vectorMenu li
.selected a
,
343 div
.vectorMenu li
.selected
a:visited
{
345 text-decoration: none
;
370 min-height: 1px; /* Gotta trigger hasLayout for IE7 */
371 border: solid
1px #AAAAAA;
373 background-color: white
;
375 background-image: url
(images
/search-fade
.png
);
376 background-position: top left
;
377 background-repeat: repeat-x
;
379 div#simpleSearch label
{
381 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
382 * this from ever being shown anyways.
388 div#simpleSearch input
{
392 div#simpleSearch
input:focus
{
395 div#simpleSearch input
.placeholder
{
398 div#simpleSearch
input::-webkit-input-placeholder
{
401 div#simpleSearch input#searchInput
{
410 padding-bottom: 0.2em;
414 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
415 * this from ever being shown anyways.
418 background-color: transparent
;
421 div#simpleSearch button#searchButton
{
428 padding-bottom: 0.2em;
429 padding-right: 0.4em;
433 background-color: transparent
;
434 background-image: none
;
436 /* OVERRIDDEN BY COMPLIANT BROWSERS */
437 div#simpleSearch button#searchButton img
{
444 div#simpleSearch button#searchButton
> img
{
455 div#mw-panel div
.portal
{
456 padding-bottom: 1.5em;
459 div#mw-panel div
.portal h5
{
464 padding-left: 1.75em;
469 div#mw-panel div
.portal div
.body
{
474 background-image: url
(images
/portal-break
.png
);
475 background-repeat: no-repeat
;
476 background-position: top left
;
478 div#mw-panel div
.portal div
.body ul
{
480 list-style-image: none
;
481 list-style-type: none
;
485 div#mw-panel div
.portal div
.body ul li
{
486 line-height: 1.125em;
488 padding-bottom: 0.5em;
493 div#mw-panel div
.portal div
.body ul li a
{
496 div#mw-panel div
.portal div
.body ul li
a:visited
{
505 background-image: url
(images/border.png);
506 background-position: top left
;
507 background-repeat: repeat-x
;
512 list-style-image: none
;
513 list-style-type: none
;
521 padding-bottom: 0.5em;
525 div#footer #footer-icons
{
529 body
.ltr div#footer #footer-places
{
532 div#footer #footer-info li
{
535 div#footer #footer-icons li
{
541 div#footer #footer-places li
{
558 background-repeat: no-repeat
;
559 background-position: center center
;
560 text-decoration: none
;
565 * The following code is highly modified from monobook. It would be nice if the
566 * preftoc id was more human readable like preferences-toc for instance,
567 * howerver this would require backporting the other skins.
576 margin: 0 !important
;
577 padding: 0 !important
;
579 background-image: url
(images
/preferences-break
.png
);
580 background-position: bottom left
;
581 background-repeat: no-repeat
;
591 list-style-type: none
;
592 list-style-image: none
;
594 background-image: url
(images
/preferences-break
.png
);
595 background-position: bottom right
;
596 background-repeat: no-repeat
;
598 /* Sadly, IE6 won't understand this */
599 #preftoc li:first-child
{
604 display: inline-block
;
608 text-decoration: none
;
609 background-image: none
;
614 text-decoration: underline
;
616 #preftoc li
.selected a
{
618 background-image: url
(images
/preferences-fade
.png
);
619 background-position: bottom
;
620 background-repeat: repeat-x
;
622 text-decoration: none
;
630 border: solid
1px #cccccc;
631 background-color: #f9f9f9;
633 background-image: url
(images
/preferences-base
.png
);
635 #preferences fieldset
{
637 border-top: solid
1px #cccccc;
639 #preferences fieldset
.prefsection
{
644 #preferences legend
{
647 #preferences fieldset
.prefsection legend
.mainLegend
{
652 padding-right: 0.5em;
654 #preferences td
.htmlform-tip
{
659 #preferences div
.mw-prefs-buttons
{
662 #preferences div
.mw-prefs-buttons input
{
663 margin-right: 0.25em;
668 * The following code is slightly modified from monobook
678 .editsection { float: right
; }
682 list-style-image: url
(images
/bullet-icon
.png
);
689 /* Site Notice (includes notices from CentralNotice extension) */
699 div#content a
.external
,
700 div#content a
.external
[href ^
="gopher://"] {
702 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
705 div#content a
.external
[href ^
="https://"],
708 background: url
(images
/lock-icon
.png
) center right no-repeat
;
711 div#content a
.external
[href ^
="mailto:"],
714 background: url
(images
/mail-icon
.png
) center right no-repeat
;
717 div#content a
.external
[href ^
="news://"] {
719 background: url
(images
/news-icon
.png
) center right no-repeat
;
722 div#content a
.external
[href ^
="ftp://"],
725 background: url
(images
/file-icon
.png
) center right no-repeat
;
728 div#content a
.external
[href ^
="irc://"],
729 div#content a
.external
[href ^
="ircs://"],
732 background: url
(images
/talk-icon
.png
) center right no-repeat
;
735 div#content a
.external
[href $
=".ogg"], div#content a
.external
[href $
=".OGG"],
736 div#content a
.external
[href $
=".mid"], div#content a
.external
[href $
=".MID"],
737 div#content a
.external
[href $
=".midi"], div#content a
.external
[href $
=".MIDI"],
738 div#content a
.external
[href $
=".mp3"], div#content a
.external
[href $
=".MP3"],
739 div#content a
.external
[href $
=".wav"], div#content a
.external
[href $
=".WAV"],
740 div#content a
.external
[href $
=".wma"], div#content a
.external
[href $
=".WMA"],
743 background: url
("images/audio-icon.png?2") center right no-repeat
;
746 div#content a
.external
[href $
=".ogm"], div#content a
.external
[href $
=".OGM"],
747 div#content a
.external
[href $
=".avi"], div#content a
.external
[href $
=".AVI"],
748 div#content a
.external
[href $
=".mpeg"], div#content a
.external
[href $
=".MPEG"],
749 div#content a
.external
[href $
=".mpg"], div#content a
.external
[href $
=".MPG"],
752 background: url
("images/video-icon.png?2") center right no-repeat
;
755 div#content a
.external
[href $
=".pdf"], div#content a
.external
[href $
=".PDF"],
756 div#content a
.external
[href
*=".pdf#"], div#content a
.external
[href
*=".PDF#"],
757 div#content a
.external
[href
*=".pdf?"], div#content a
.external
[href
*=".PDF?"],
760 background: url
("images/document-icon.png?2") center right no-repeat
;
764 div#content
.printfooter
{
767 /* Icon for Usernames */
772 background: url
(images
/user-icon
.png
) left top no-repeat
;
773 padding-left: 15px !important
;
774 text-transform: none
;
782 vertical-align: text-bottom
;
796 /* Watch/Unwatch Icon Styling */
804 /* This hides the text but shows the background image */
807 /* Only applied in IE6 */
808 margin-top: -0.8em !ie
;
812 background-image: url
(images
/watch-icons
.png
);
815 background-position: -43px 60%;
818 background-position: 5px 60%;
820 #ca-unwatch.icon
a:hover
,
821 #ca-unwatch.icon
a:focus
{
822 background-position: -67px 60%;
824 #ca-watch.icon
a:hover
,
825 #ca-watch.icon
a:focus
{
826 background-position: -19px 60%;
828 #ca-unwatch.icon a
.loading
,
829 #ca-watch.icon a
.loading
{
831 background-image: url
(images
/watch-icon-loading
.gif
);
832 background-position: 5px 60%;
834 #ca-unwatch.icon a span
,
835 #ca-watch.icon a span
{
840 background-image:url
(images
/tab-break
.png
);
841 background-position:right bottom
;
842 background-repeat:no-repeat
;
845 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */