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 #AAAAAA;
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#searchInput
{
411 padding-bottom: 0.2em;
415 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
416 * this from ever being shown anyways.
419 background-color: transparent
;
422 div#simpleSearch button#searchButton
{
429 padding-bottom: 0.2em;
430 padding-right: 0.4em;
434 background-color: transparent
;
435 background-image: none
;
437 /* OVERRIDDEN BY COMPLIANT BROWSERS */
438 div#simpleSearch button#searchButton img
{
445 div#simpleSearch button#searchButton
> img
{
456 div#mw-panel div
.portal
{
457 padding-bottom: 1.5em;
460 div#mw-panel div
.portal h5
{
465 padding-left: 1.75em;
470 div#mw-panel div
.portal div
.body
{
475 background-image: url
(images
/portal-break
.png
);
476 background-repeat: no-repeat
;
477 background-position: top left
;
479 div#mw-panel div
.portal div
.body ul
{
481 list-style-image: none
;
482 list-style-type: none
;
486 div#mw-panel div
.portal div
.body ul li
{
487 line-height: 1.125em;
489 padding-bottom: 0.5em;
494 div#mw-panel div
.portal div
.body ul li a
{
497 div#mw-panel div
.portal div
.body ul li
a:visited
{
506 background-image: url
(images/border.png);
507 background-position: top left
;
508 background-repeat: repeat-x
;
513 list-style-image: none
;
514 list-style-type: none
;
522 padding-bottom: 0.5em;
526 div#footer #footer-icons
{
530 body
.ltr div#footer #footer-places
{
533 div#footer #footer-info li
{
536 div#footer #footer-icons li
{
542 div#footer #footer-places li
{
559 background-repeat: no-repeat
;
560 background-position: center center
;
561 text-decoration: none
;
566 * The following code is highly modified from monobook. It would be nice if the
567 * preftoc id was more human readable like preferences-toc for instance,
568 * howerver this would require backporting the other skins.
577 margin: 0 !important
;
578 padding: 0 !important
;
580 background-image: url
(images
/preferences-break
.png
);
581 background-position: bottom left
;
582 background-repeat: no-repeat
;
592 list-style-type: none
;
593 list-style-image: none
;
595 background-image: url
(images
/preferences-break
.png
);
596 background-position: bottom right
;
597 background-repeat: no-repeat
;
599 /* Sadly, IE6 won't understand this */
600 #preftoc li:first-child
{
605 display: inline-block
;
609 text-decoration: none
;
610 background-image: none
;
615 text-decoration: underline
;
617 #preftoc li
.selected a
{
619 background-image: url
(images
/preferences-fade
.png
);
620 background-position: bottom
;
621 background-repeat: repeat-x
;
623 text-decoration: none
;
631 border: solid
1px #cccccc;
632 background-color: #f9f9f9;
634 background-image: url
(images
/preferences-base
.png
);
636 #preferences fieldset
{
638 border-top: solid
1px #cccccc;
640 #preferences fieldset
.prefsection
{
645 #preferences legend
{
648 #preferences fieldset
.prefsection legend
.mainLegend
{
653 padding-right: 0.5em;
655 #preferences td
.htmlform-tip
{
660 #preferences div
.mw-prefs-buttons
{
663 #preferences div
.mw-prefs-buttons input
{
664 margin-right: 0.25em;
668 * The following code is slightly modified from monobook
683 list-style-image: url
(images
/bullet-icon
.png
);
690 /* Site Notice (includes notices from CentralNotice extension) */
700 div#content a
.external
,
701 div#content a
.external
[href ^
="gopher://"] {
703 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
706 div#content a
.external
[href ^
="https://"],
709 background: url
(images
/lock-icon
.png
) center right no-repeat
;
712 div#content a
.external
[href ^
="mailto:"],
715 background: url
(images
/mail-icon
.png
) center right no-repeat
;
718 div#content a
.external
[href ^
="news:"] {
720 background: url
(images
/news-icon
.png
) center right no-repeat
;
723 div#content a
.external
[href ^
="ftp://"],
726 background: url
(images
/file-icon
.png
) center right no-repeat
;
729 div#content a
.external
[href ^
="irc://"],
730 div#content a
.external
[href ^
="ircs://"],
733 background: url
(images
/talk-icon
.png
) center right no-repeat
;
736 div#content a
.external
[href $
=".ogg"], div#content a
.external
[href $
=".OGG"],
737 div#content a
.external
[href $
=".mid"], div#content a
.external
[href $
=".MID"],
738 div#content a
.external
[href $
=".midi"], div#content a
.external
[href $
=".MIDI"],
739 div#content a
.external
[href $
=".mp3"], div#content a
.external
[href $
=".MP3"],
740 div#content a
.external
[href $
=".wav"], div#content a
.external
[href $
=".WAV"],
741 div#content a
.external
[href $
=".wma"], div#content a
.external
[href $
=".WMA"],
744 background: url
(images
/audio-icon
.png
) center right no-repeat
;
747 div#content a
.external
[href $
=".ogm"], div#content a
.external
[href $
=".OGM"],
748 div#content a
.external
[href $
=".avi"], div#content a
.external
[href $
=".AVI"],
749 div#content a
.external
[href $
=".mpeg"], div#content a
.external
[href $
=".MPEG"],
750 div#content a
.external
[href $
=".mpg"], div#content a
.external
[href $
=".MPG"],
753 background: url
(images
/video-icon
.png
) center right no-repeat
;
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#"],
758 div#content a
.external
[href
*=".pdf?"], div#content a
.external
[href
*=".PDF?"],
761 background: url
(images
/document-icon
.png
) center right no-repeat
;
765 /* Icon for Usernames */
770 background: url
(images
/user-icon
.png
) left top no-repeat
;
771 padding-left: 15px !important
;
772 text-transform: none
;
780 vertical-align: text-bottom
;
794 /* Watch/Unwatch Icon Styling */
802 /* This hides the text but shows the background image */
805 /* Only applied in IE6 */
806 margin-top: -0.8em !ie
;
810 background-image: url
(images
/watch-icons
.png
);
813 background-position: -43px 60%;
816 background-position: 5px 60%;
818 #ca-unwatch.icon
a:hover
,
819 #ca-unwatch.icon
a:focus
{
820 background-position: -67px 60%;
822 #ca-watch.icon
a:hover
,
823 #ca-watch.icon
a:focus
{
824 background-position: -19px 60%;
826 #ca-unwatch.icon a
.loading
,
827 #ca-watch.icon a
.loading
{
829 background-image: url
(images
/watch-icon-loading
.gif
);
830 background-position: 5px 60%;
832 #ca-unwatch.icon a span
,
833 #ca-watch.icon a span
{
838 background-image:url
(images
/tab-break
.png
);
839 background-position:right bottom
;
840 background-repeat:no-repeat
;
843 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */