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: 0px 60%;
215 background-repeat: no-repeat
;
218 div
.vectorMenuFocus
{
219 background-position: -22px 60%;
222 body
.rtl div
.vectorMenu
{
225 /* OVERRIDDEN BY COMPLIANT BROWSERS */
227 div#mw-head div
.vectorMenu h5
{
230 background-image: url
(images
/tab-break
.png
);
231 background-repeat: no-repeat
;
233 /* This will be flipped - unlike the one above it */
234 div#mw-head div
.vectorMenu h5
{
235 background-position: bottom left
;
239 div#mw-head div
.vectorMenu
> h5
{
240 background-image: none
;
242 div#mw-head div
.vectorMenu h4
{
243 display: inline-block
;
247 padding-top: 1.375em;
251 /* OVERRIDDEN BY COMPLIANT BROWSERS */
253 div
.vectorMenu h5 a
{
254 display: inline-block
;
257 text-decoration: none
;
259 background-image: url
(images
/tab-break
.png
);
260 background-repeat: no-repeat
;
262 /* This will be flipped - unlike the one above it */
263 div
.vectorMenu h5 a
{
264 background-position: bottom right
;
267 div
.vectorMenu h5
> a
{
270 div
.vectorMenu div
.menu
{
276 /* OVERRIDDEN BY COMPLIANT BROWSERS */
278 body
.rtl div
.vectorMenu div
.menu
{
283 body
.rtl div
.vectorMenu
> div
.menu
{
287 /* Also fixes old versions of FireFox */
289 body
.rtl div
.vectorMenu
> div
.menu
,
293 /* Enable forcing showing of the menu for accessibility */
294 div
.vectorMenu:hover div
.menu
, div
.vectorMenu div
.menuForceShow
{
299 background-color: white
;
300 border: solid
1px silver
;
303 list-style-image: none
;
304 list-style-type: none
;
310 /* Fixes old versions of FireFox */
315 /* Returns things back to normal in modern versions of FireFox */
327 /* OVERRIDDEN BY COMPLIANT BROWSERS */
328 div
.vectorMenu li a
{
329 display: inline-block
;
337 div
.vectorMenu li
> a
{
340 div
.vectorMenu li
.selected a
,
341 div
.vectorMenu li
.selected
a:visited
{
343 text-decoration: none
;
368 min-height: 1px; /* Gotta trigger hasLayout for IE7 */
369 border: solid
1px #AAAAAA;
371 background-color: white
;
373 background-image: url
(images
/search-fade
.png
);
374 background-position: top left
;
375 background-repeat: repeat-x
;
377 div#simpleSearch label
{
379 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
380 * this from ever being shown anyways.
386 div#simpleSearch input
{
390 div#simpleSearch
input:focus
{
393 div#simpleSearch input
.placeholder
{
396 div#simpleSearch
input::-webkit-input-placeholder
{
399 div#simpleSearch input#searchInput
{
408 padding-bottom: 0.2em;
412 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
413 * this from ever being shown anyways.
416 background-color: transparent
;
419 div#simpleSearch button#searchButton
{
426 padding-bottom: 0.2em;
427 padding-right: 0.4em;
431 background-color: transparent
;
432 background-image: none
;
434 /* OVERRIDDEN BY COMPLIANT BROWSERS */
435 div#simpleSearch button#searchButton img
{
442 div#simpleSearch button#searchButton
> img
{
453 div#mw-panel div
.portal
{
454 padding-bottom: 1.5em;
457 div#mw-panel div
.portal h5
{
462 padding-left: 1.75em;
467 div#mw-panel div
.portal div
.body
{
472 background-image: url
(images
/portal-break
.png
);
473 background-repeat: no-repeat
;
474 background-position: top left
;
476 div#mw-panel div
.portal div
.body ul
{
478 list-style-image: none
;
479 list-style-type: none
;
483 div#mw-panel div
.portal div
.body ul li
{
484 line-height: 1.125em;
486 padding-bottom: 0.5em;
491 div#mw-panel div
.portal div
.body ul li a
{
494 div#mw-panel div
.portal div
.body ul li
a:visited
{
503 background-image: url
(images/border.png);
504 background-position: top left
;
505 background-repeat: repeat-x
;
510 list-style-image: none
;
511 list-style-type: none
;
519 padding-bottom: 0.5em;
523 div#footer #footer-icons
{
527 body
.ltr div#footer #footer-places
{
530 div#footer #footer-info li
{
533 div#footer #footer-icons li
{
539 div#footer #footer-places li
{
556 background-repeat: no-repeat
;
557 background-position: center center
;
558 text-decoration: none
;
563 * The following code is highly modified from monobook. It would be nice if the
564 * preftoc id was more human readable like preferences-toc for instance,
565 * howerver this would require backporting the other skins.
574 margin: 0 !important
;
575 padding: 0 !important
;
577 background-image: url
(images
/preferences-break
.png
);
578 background-position: bottom left
;
579 background-repeat: no-repeat
;
589 list-style-type: none
;
590 list-style-image: none
;
592 background-image: url
(images
/preferences-break
.png
);
593 background-position: bottom right
;
594 background-repeat: no-repeat
;
596 /* Sadly, IE6 won't understand this */
597 #preftoc li:first-child
{
602 display: inline-block
;
606 text-decoration: none
;
607 background-image: none
;
612 text-decoration: underline
;
614 #preftoc li
.selected a
{
616 background-image: url
(images
/preferences-fade
.png
);
617 background-position: bottom
;
618 background-repeat: repeat-x
;
620 text-decoration: none
;
628 border: solid
1px #cccccc;
629 background-color: #f9f9f9;
631 background-image: url
(images
/preferences-base
.png
);
633 #preferences fieldset
{
635 border-top: solid
1px #cccccc;
637 #preferences fieldset
.prefsection
{
642 #preferences legend
{
645 #preferences fieldset
.prefsection legend
.mainLegend
{
650 padding-right: 0.5em;
652 #preferences td
.htmlform-tip
{
657 #preferences div
.mw-prefs-buttons
{
660 #preferences div
.mw-prefs-buttons input
{
661 margin-right: 0.25em;
666 * The following code is slightly modified from monobook
676 .editsection { float: right
; }
680 list-style-image: url
(images
/bullet-icon
.png
);
687 /* Site Notice (includes notices from CentralNotice extension) */
695 div#content a
.external
,
696 div#content a
[href ^
="gopher://"] {
698 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
701 div#content a
[href ^
="https://"],
704 background: url
(images
/lock-icon
.png
) center right no-repeat
;
707 div#content a
[href ^
="mailto:"],
710 background: url
(images
/mail-icon
.png
) center right no-repeat
;
713 div#content a
[href ^
="news://"] {
715 background: url
(images
/news-icon
.png
) center right no-repeat
;
718 div#content a
[href ^
="ftp://"],
721 background: url
(images
/file-icon
.png
) center right no-repeat
;
724 div#content a
[href ^
="irc://"],
725 div#content a
.extiw
[href ^
="irc://"],
726 div#content a
[href ^
="ircs://"],
727 div#content a
.extiw
[href ^
="ircs://"],
730 background: url
(images
/talk-icon
.png
) center right no-repeat
;
733 div#content a
.external
[href $
=".ogg"], div#content a
.external
[href $
=".OGG"],
734 div#content a
.external
[href $
=".mid"], div#content a
.external
[href $
=".MID"],
735 div#content a
.external
[href $
=".midi"], div#content a
.external
[href $
=".MIDI"],
736 div#content a
.external
[href $
=".mp3"], div#content a
.external
[href $
=".MP3"],
737 div#content a
.external
[href $
=".wav"], div#content a
.external
[href $
=".WAV"],
738 div#content a
.external
[href $
=".wma"], div#content a
.external
[href $
=".WMA"],
741 background: url
("images/audio-icon.png?2") center right no-repeat
;
744 div#content a
.external
[href $
=".ogm"], div#content a
.external
[href $
=".OGM"],
745 div#content a
.external
[href $
=".avi"], div#content a
.external
[href $
=".AVI"],
746 div#content a
.external
[href $
=".mpeg"], div#content a
.external
[href $
=".MPEG"],
747 div#content a
.external
[href $
=".mpg"], div#content a
.external
[href $
=".MPG"],
750 background: url
("images/video-icon.png?2") center right no-repeat
;
753 div#content a
.external
[href $
=".pdf"], div#content a
.external
[href $
=".PDF"],
754 div#content a
.external
[href
*=".pdf#"], div#content a
.external
[href
*=".PDF#"],
755 div#content a
.external
[href
*=".pdf?"], div#content a
.external
[href
*=".PDF?"],
758 background: url
("images/document-icon.png?2") center right no-repeat
;
762 div#content
.printfooter
{
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 */