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
;
433 /* OVERRIDDEN BY COMPLIANT BROWSERS */
434 div#simpleSearch button#searchButton img
{
441 div#simpleSearch button#searchButton
> img
{
452 div#mw-panel div
.portal
{
453 padding-bottom: 1.5em;
456 div#mw-panel div
.portal h5
{
461 padding-left: 1.75em;
466 div#mw-panel div
.portal div
.body
{
471 background-image: url
(images
/portal-break
.png
);
472 background-repeat: no-repeat
;
473 background-position: top left
;
475 div#mw-panel div
.portal div
.body ul
{
477 list-style-image: none
;
478 list-style-type: none
;
482 div#mw-panel div
.portal div
.body ul li
{
483 line-height: 1.125em;
485 padding-bottom: 0.5em;
490 div#mw-panel div
.portal div
.body ul li a
{
493 div#mw-panel div
.portal div
.body ul li
a:visited
{
502 background-image: url
(images/border.png);
503 background-position: top left
;
504 background-repeat: repeat-x
;
509 list-style-image: none
;
510 list-style-type: none
;
518 padding-bottom: 0.5em;
522 div#footer #footer-icons
{
526 body
.ltr div#footer #footer-places
{
529 div#footer #footer-info li
{
532 div#footer #footer-icons li
{
537 div#footer #footer-places li
{
554 background-repeat: no-repeat
;
555 background-position: center center
;
556 text-decoration: none
;
561 * The following code is highly modified from monobook. It would be nice if the
562 * preftoc id was more human readable like preferences-toc for instance,
563 * howerver this would require backporting the other skins.
572 margin: 0 !important
;
573 padding: 0 !important
;
575 background-image: url
(images
/preferences-break
.png
);
576 background-position: bottom left
;
577 background-repeat: no-repeat
;
587 list-style-type: none
;
588 list-style-image: none
;
590 background-image: url
(images
/preferences-break
.png
);
591 background-position: bottom right
;
592 background-repeat: no-repeat
;
594 /* Sadly, IE6 won't understand this */
595 #preftoc li:first-child
{
600 display: inline-block
;
604 text-decoration: none
;
605 background-image: none
;
610 text-decoration: underline
;
612 #preftoc li
.selected a
{
614 background-image: url
(images
/preferences-fade
.png
);
615 background-position: bottom
;
616 background-repeat: repeat-x
;
618 text-decoration: none
;
626 border: solid
1px #cccccc;
627 background-color: #f9f9f9;
629 background-image: url
(images
/preferences-base
.png
);
631 #preferences fieldset
{
633 border-top: solid
1px #cccccc;
635 #preferences fieldset
.prefsection
{
640 #preferences legend
{
643 #preferences fieldset
.prefsection legend
.mainLegend
{
648 padding-right: 0.5em;
650 #preferences td
.htmlform-tip
{
655 #preferences div
.mw-prefs-buttons
{
658 #preferences div
.mw-prefs-buttons input
{
659 margin-right: 0.25em;
663 * Styles for the user login and create account forms
665 #userlogin, #userloginForm
{
666 border: solid
1px #cccccc;
680 * The following code is slightly modified from monobook
691 text-decoration: none
;
702 text-decoration: underline
;
707 a
.new
, #p-personal a
.new
{
710 a
.new:visited
, #p-personal a
.new:visited
{
714 /* Inline Elements */
717 vertical-align: middle
;
722 background-color: #aaa;
724 margin: .2em 0 .2em 0;
727 /* Structural Elements */
740 padding-bottom: .17em;
741 border-bottom: 1px solid
#aaa;
744 h1
{ font-size: 188%; }
745 h1
.editsection
{ font-size: 53%; }
746 h2
{ font-size: 150%; }
747 h2
.editsection
{ font-size: 67%; }
755 h3
{ font-size: 132%; }
756 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
757 h4
{ font-size: 116%; }
758 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
759 h5
{ font-size: 100%; }
760 h5
.editsection
{ font-weight: normal
; }
761 h6
{ font-size: 80%; }
762 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
763 .editsection { float: right
; }
765 margin: .4em 0 .5em 0;
774 border-bottom: 1px dotted black
;
780 font-family: Times
, "Times New Roman", serif
;
785 font-family: Times, "Times New Roman", serif;
788 pre
, code
, tt
, kbd
, samp
{
790 * It's important for this rule to first reference an actual font name, some browsers will render the monospace text
791 * too small otherwise, namely Firefox, Chrome and Safari
793 font-family: monospace
, "Courier New";
796 background-color: #f9f9f9;
799 word-wrap: break-word
;
801 border: 1px solid
#EBEBEB;
803 background-color: #F7F7F7;
808 list-style-type: square
;
809 margin: .3em 0 0 1.5em;
812 list-style-image: url
(images
/bullet-icon
.png
);
816 margin: .3em 0 0 3.2em;
818 list-style-image: none
;
842 border: 1px solid
#2f6fab;
849 padding: 0 0.5em 0.5em;
866 /* Table of Contents */
870 border: 1px solid
#aaa;
871 background-color: #f9f9f9;
891 list-style-type: none
;
892 list-style-image: none
;
906 div
.floatright
, table
.floatright
{
910 margin: 0 0 .5em .5em;
913 div
.floatright p
{ font-style: italic
; }
914 div
.floatleft
, table
.floatleft
{
918 margin: 0 .5em .5em 0;
921 div
.floatleft p
{ font-style: italic
; }
926 background-color: transparent
;
929 border: 1px solid
#ccc;
930 padding: 3px !important
;
931 background-color: #f9f9f9;
937 border: 1px solid
#ccc;
943 padding: 3px !important
;
948 border: none
!important
;
949 background: none
!important
;
951 div
.magnify a
, div
.magnify img
{
953 border: none
!important
;
954 background: none
!important
;
960 margin: .5em 0 1.3em 1.4em;
966 margin: .5em 1.4em 1.3em 0;
969 border: 1px solid
#dddddd;
979 background-color: #ffce7b;
980 border: 1px solid
#ffa500;
985 vertical-align: middle
;
987 /* Site Notice (includes notices from CentralNotice extension) */
995 margin-bottom: 0.9em;
999 border: 1px solid
#aaa;
1000 background-color: #f9f9f9;
1005 /* Sub-navigation */
1012 #contentSub, #contentSub2
{
1015 margin: 0 0 1.4em 1em;
1022 /* Emulate Center */
1031 /* Small for tables and similar */
1038 /* Edge Cases for Content */
1040 margin-bottom: .6em;
1043 margin-bottom: .3em;
1049 margin-bottom: 0.1em;
1054 div#content a
.external
,
1055 div#content a
[href ^
="gopher://"] {
1057 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
1058 padding-right: 13px;
1060 div#content a
[href ^
="https://"],
1063 background: url
(images
/lock-icon
.png
) center right no-repeat
;
1064 padding-right: 13px;
1066 div#content a
[href ^
="mailto:"],
1069 background: url
(images
/mail-icon
.png
) center right no-repeat
;
1070 padding-right: 13px;
1072 div#content a
[href ^
="news://"] {
1074 background: url
(images
/news-icon
.png
) center right no-repeat
;
1075 padding-right: 13px;
1077 div#content a
[href ^
="ftp://"],
1080 background: url
(images
/file-icon
.png
) center right no-repeat
;
1081 padding-right: 13px;
1083 div#content a
[href ^
="irc://"],
1084 div#content a
.extiw
[href ^
="irc://"],
1085 div#content a
[href ^
="ircs://"],
1086 div#content a
.extiw
[href ^
="ircs://"],
1089 background: url
(images
/talk-icon
.png
) center right no-repeat
;
1090 padding-right: 13px;
1092 div#content a
.external
[href $
=".ogg"], div#content a
.external
[href $
=".OGG"],
1093 div#content a
.external
[href $
=".mid"], div#content a
.external
[href $
=".MID"],
1094 div#content a
.external
[href $
=".midi"], div#content a
.external
[href $
=".MIDI"],
1095 div#content a
.external
[href $
=".mp3"], div#content a
.external
[href $
=".MP3"],
1096 div#content a
.external
[href $
=".wav"], div#content a
.external
[href $
=".WAV"],
1097 div#content a
.external
[href $
=".wma"], div#content a
.external
[href $
=".WMA"],
1100 background: url
("images/audio-icon.png?2") center right no-repeat
;
1101 padding-right: 13px;
1103 div#content a
.external
[href $
=".ogm"], div#content a
.external
[href $
=".OGM"],
1104 div#content a
.external
[href $
=".avi"], div#content a
.external
[href $
=".AVI"],
1105 div#content a
.external
[href $
=".mpeg"], div#content a
.external
[href $
=".MPEG"],
1106 div#content a
.external
[href $
=".mpg"], div#content a
.external
[href $
=".MPG"],
1109 background: url
("images/video-icon.png?2") center right no-repeat
;
1110 padding-right: 13px;
1112 div#content a
.external
[href $
=".pdf"], div#content a
.external
[href $
=".PDF"],
1113 div#content a
.external
[href
*=".pdf#"], div#content a
.external
[href
*=".PDF#"],
1114 div#content a
.external
[href
*=".pdf?"], div#content a
.external
[href
*=".PDF?"],
1117 background: url
("images/document-icon.png?2") center right no-repeat
;
1118 padding-right: 13px;
1121 /* Interwiki Styling */
1122 div#content a
.extiw
,
1123 div#content a
.extiw:active
{
1125 /* Don't show icons for interwiki links */
1129 div#content a
.extiw:visited
{
1132 div#content a
.extiw:active
{
1136 /* External links */
1137 div#content a
.external
{
1140 div#content a
.external:visited
{
1141 color: #636; /* bug 3112 */
1143 div#content a
.external:active
{
1148 div#content
.printfooter
{
1151 /* Icon for Usernames */
1156 background: url
(images
/user-icon
.png
) left top no-repeat
;
1157 padding-left: 15px !important
;
1158 text-transform: none
;
1162 border: 1px solid
#aaa;
1163 background-color: #f9f9f9;
1178 /* Watch/Unwatch Icon Styling */
1186 /* This hides the text but shows the background image */
1189 /* Only applied in IE6 */
1190 margin-top: -0.8em !ie
;
1194 background-image: url
(images
/watch-icons
.png
);
1196 #ca-unwatch.icon a
{
1197 background-position: -43px 60%;
1200 background-position: 5px 60%;
1202 #ca-unwatch.icon
a:hover
,
1203 #ca-unwatch.icon
a:focus
{
1204 background-position: -67px 60%;
1206 #ca-watch.icon
a:hover
,
1207 #ca-watch.icon
a:focus
{
1208 background-position: -19px 60%;
1210 #ca-unwatch.icon a
.loading
,
1211 #ca-watch.icon a
.loading
{
1213 background-image: url
(images
/watch-icon-loading
.gif
);
1214 background-position: 5px 60%;
1216 #ca-unwatch.icon a span
,
1217 #ca-watch.icon a span
{
1222 background-image:url
(images
/tab-break
.png
);
1223 background-position:right bottom
;
1224 background-repeat:no-repeat
;
1227 /* Convenience links to edit block, delete and protect reasons */
1228 p
.mw-ipb-conveniencelinks
, p
.mw-protect-editreasons
,
1229 p
.mw-filedelete-editreasons
, p
.mw-delete-editreasons
{
1233 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */