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;
665 * Styles for the user login and create account forms
667 #userlogin, #userloginForm
{
668 border: solid
1px #cccccc;
682 * The following code is slightly modified from monobook
693 text-decoration: none
;
704 text-decoration: underline
;
709 a
.new
, #p-personal a
.new
{
712 a
.new:visited
, #p-personal a
.new:visited
{
716 /* Inline Elements */
719 vertical-align: middle
;
724 background-color: #aaa;
726 margin: .2em 0 .2em 0;
729 /* Structural Elements */
742 padding-bottom: .17em;
743 border-bottom: 1px solid
#aaa;
746 h1
{ font-size: 188%; }
747 h1
.editsection
{ font-size: 53%; }
748 h2
{ font-size: 150%; }
749 h2
.editsection
{ font-size: 67%; }
757 h3
{ font-size: 132%; }
758 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
759 h4
{ font-size: 116%; }
760 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
761 h5
{ font-size: 100%; }
762 h5
.editsection
{ font-weight: normal
; }
763 h6
{ font-size: 80%; }
764 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
765 .editsection { float: right
; }
767 margin: .4em 0 .5em 0;
774 font-family: Times
, "Times New Roman", serif
;
779 font-family: Times, "Times New Roman", serif;
782 pre
, code
, tt
, kbd
, samp
{
784 * It's important for this rule to first reference an actual font name, some browsers will render the monospace text
785 * too small otherwise, namely Firefox, Chrome and Safari
787 font-family: monospace
, "Courier New";
790 background-color: #f9f9f9;
794 border: 1px dashed
#2f6fab;
796 background-color: #f9f9f9;
801 list-style-type: square
;
802 margin: .3em 0 0 1.5em;
805 list-style-image: url
(images
/bullet-icon
.png
);
809 margin: .3em 0 0 3.2em;
811 list-style-image: none
;
835 border: 1px solid
#2f6fab;
842 padding: 0 0.5em 0.5em;
859 /* Table of Contents */
863 border: 1px solid
#aaa;
864 background-color: #f9f9f9;
884 list-style-type: none
;
885 list-style-image: none
;
899 /* @noflip */div
.floatright
, table
.floatright
{
900 margin: 0 0 .5em .5em;
903 div
.floatright p
{ font-style: italic
; }
904 /* @noflip */div
.floatleft
, table
.floatleft
{
905 margin: 0 .5em .5em 0;
908 div
.floatleft p
{ font-style: italic
; }
913 background-color: transparent
;
916 border: 1px solid
#ccc;
917 padding: 3px !important
;
918 background-color: #f9f9f9;
924 border: 1px solid
#ccc;
930 padding: 3px !important
;
935 border: none
!important
;
936 background: none
!important
;
938 div
.magnify a
, div
.magnify img
{
940 border: none
!important
;
941 background: none
!important
;
943 /* @noflip */div
.tright
{
944 margin: .5em 0 1.3em 1.4em;
946 /* @noflip */div
.tleft
{
947 margin: .5em 1.4em 1.3em 0;
950 border: 1px solid
#dddddd;
960 background-color: #ffce7b;
961 border: 1px solid
#ffa500;
966 vertical-align: middle
;
968 /* Site Notice (includes notices from CentralNotice extension) */
976 margin-bottom: 0.9em;
980 border: 1px solid
#aaa;
981 background-color: #f9f9f9;
993 #contentSub, #contentSub2
{
996 margin: 0 0 1.4em 1em;
1001 #contentSub:empty
, #
contentSub2:empty
{
1008 /* Emulate Center */
1017 /* Small for tables and similar */
1024 /* Edge Cases for Content */
1026 margin-bottom: .6em;
1029 margin-bottom: .3em;
1035 margin-bottom: 0.1em;
1040 div#content a
.external
,
1041 div#content a
[href ^
="gopher://"] {
1043 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
1044 padding-right: 13px;
1046 div#content a
[href ^
="https://"],
1049 background: url
(images
/lock-icon
.png
) center right no-repeat
;
1050 padding-right: 13px;
1052 div#content a
[href ^
="mailto:"],
1055 background: url
(images
/mail-icon
.png
) center right no-repeat
;
1056 padding-right: 13px;
1058 div#content a
[href ^
="news://"] {
1060 background: url
(images
/news-icon
.png
) center right no-repeat
;
1061 padding-right: 13px;
1063 div#content a
[href ^
="ftp://"],
1066 background: url
(images
/file-icon
.png
) center right no-repeat
;
1067 padding-right: 13px;
1069 div#content a
[href ^
="irc://"],
1070 div#content a
.extiw
[href ^
="irc://"],
1071 div#content a
[href ^
="ircs://"],
1072 div#content a
.extiw
[href ^
="ircs://"],
1075 background: url
(images
/talk-icon
.png
) center right no-repeat
;
1076 padding-right: 13px;
1078 div#content a
.external
[href $
=".ogg"], div#content a
.external
[href $
=".OGG"],
1079 div#content a
.external
[href $
=".mid"], div#content a
.external
[href $
=".MID"],
1080 div#content a
.external
[href $
=".midi"], div#content a
.external
[href $
=".MIDI"],
1081 div#content a
.external
[href $
=".mp3"], div#content a
.external
[href $
=".MP3"],
1082 div#content a
.external
[href $
=".wav"], div#content a
.external
[href $
=".WAV"],
1083 div#content a
.external
[href $
=".wma"], div#content a
.external
[href $
=".WMA"],
1086 background: url
("images/audio-icon.png?2") center right no-repeat
;
1087 padding-right: 13px;
1089 div#content a
.external
[href $
=".ogm"], div#content a
.external
[href $
=".OGM"],
1090 div#content a
.external
[href $
=".avi"], div#content a
.external
[href $
=".AVI"],
1091 div#content a
.external
[href $
=".mpeg"], div#content a
.external
[href $
=".MPEG"],
1092 div#content a
.external
[href $
=".mpg"], div#content a
.external
[href $
=".MPG"],
1095 background: url
("images/video-icon.png?2") center right no-repeat
;
1096 padding-right: 13px;
1098 div#content a
.external
[href $
=".pdf"], div#content a
.external
[href $
=".PDF"],
1099 div#content a
.external
[href
*=".pdf#"], div#content a
.external
[href
*=".PDF#"],
1100 div#content a
.external
[href
*=".pdf?"], div#content a
.external
[href
*=".PDF?"],
1103 background: url
("images/document-icon.png?2") center right no-repeat
;
1104 padding-right: 13px;
1107 /* Interwiki Styling */
1108 div#content a
.extiw
,
1109 div#content a
.extiw:active
{
1111 /* Don't show icons for interwiki links */
1115 div#content a
.extiw:visited
{
1118 div#content a
.extiw:active
{
1122 /* External links */
1123 div#content a
.external
{
1126 div#content a
.external:visited
{
1127 color: #636; /* bug 3112 */
1129 div#content a
.external:active
{
1134 div#content
.printfooter
{
1137 /* Icon for Usernames */
1142 background: url
(images
/user-icon
.png
) left top no-repeat
;
1143 padding-left: 15px !important
;
1144 text-transform: none
;
1148 border: 1px solid
#aaa;
1149 background-color: #f9f9f9;
1164 /* Watch/Unwatch Icon Styling */
1172 /* This hides the text but shows the background image */
1175 /* Only applied in IE6 */
1176 margin-top: -0.8em !ie
;
1180 background-image: url
(images
/watch-icons
.png
);
1182 #ca-unwatch.icon a
{
1183 background-position: -43px 60%;
1186 background-position: 5px 60%;
1188 #ca-unwatch.icon
a:hover
,
1189 #ca-unwatch.icon
a:focus
{
1190 background-position: -67px 60%;
1192 #ca-watch.icon
a:hover
,
1193 #ca-watch.icon
a:focus
{
1194 background-position: -19px 60%;
1196 #ca-unwatch.icon a
.loading
,
1197 #ca-watch.icon a
.loading
{
1199 background-image: url
(images
/watch-icon-loading
.gif
);
1200 background-position: 5px 60%;
1202 #ca-unwatch.icon a span
,
1203 #ca-watch.icon a span
{
1208 background-image:url
(images
/tab-break
.png
);
1209 background-position:right bottom
;
1210 background-repeat:no-repeat
;
1213 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */