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 */
99 /* Navigation Containers */
109 /* Navigation Labels */
111 div
.vectorMenu h5 span
{
114 /* Namespaces and Views */
122 background-image: url
(images
/tab-break
.png
);
123 background-position: bottom left
;
124 background-repeat: no-repeat
;
138 div
.vectorTabs ul li
{
141 /* OVERRIDDEN BY COMPLIANT BROWSERS */
142 div
.vectorTabs ul li
{
143 line-height: 1.125em;
144 display: inline-block
;
148 background-color: #f3f3f3;
150 background-image: url
(images
/tab-normal-fade
.png
);
151 background-position: bottom left
;
152 background-repeat: repeat-x
;
156 div
.vectorTabs ul
> li
{
159 div
.vectorTabs li
.selected
{
161 background-image: url
(images
/tab-current-fade
.png
);
163 /* OVERRIDDEN BY COMPLIANT BROWSERS */
164 div
.vectorTabs li a
{
165 display: inline-block
;
168 padding-right: 0.5em;
170 background-image: url
(images
/tab-break
.png
);
171 background-position: bottom right
;
172 background-repeat: no-repeat
;
178 div
.vectorTabs li
> a
{
181 /* OVERRIDDEN BY COMPLIANT BROWSERS */
182 div
.vectorTabs span a
{
183 display: inline-block
;
188 div
.vectorTabs span
> a
{
192 div
.vectorTabs li
.selected a
,
193 div
.vectorTabs li
.selected
a:visited
{
195 text-decoration: none
;
197 div
.vectorTabs li
.new a
,
198 div
.vectorTabs li
.new
a:visited
{
201 /* Variants and Actions */
207 background-image: url
(images
/arrow-down-icon
.png
);
208 background-position: 100% 60%;
209 background-repeat: no-repeat
;
213 body
.rtl div
.vectorMenu
{
216 /* OVERRIDDEN BY COMPLIANT BROWSERS */
218 div#mw-head div
.vectorMenu h5
{
221 background-image: url
(images
/tab-break
.png
);
222 background-repeat: no-repeat
;
224 /* This will be flipped - unlike the one above it */
225 div#mw-head div
.vectorMenu h5
{
226 background-position: bottom left
;
230 div#mw-head div
.vectorMenu
> h5
{
231 background-image: none
;
233 div#mw-head div
.vectorMenu h4
{
234 display: inline-block
;
238 padding-top: 1.375em;
242 /* OVERRIDDEN BY COMPLIANT BROWSERS */
244 div
.vectorMenu h5 a
{
245 display: inline-block
;
248 text-decoration: none
;
250 background-image: url
(images
/tab-break
.png
);
251 background-repeat: no-repeat
;
253 /* This will be flipped - unlike the one above it */
254 div
.vectorMenu h5 a
{
255 background-position: bottom right
;
258 div
.vectorMenu h5
> a
{
261 div
.vectorMenu div
.menu
{
267 /* OVERRIDDEN BY COMPLIANT BROWSERS */
269 body
.rtl div
.vectorMenu div
.menu
{
274 body
.rtl div
.vectorMenu
> div
.menu
{
278 /* Also fixes old versions of FireFox */
280 body
.rtl div
.vectorMenu
> div
.menu
,
284 div
.vectorMenu:hover div
.menu
{
289 background-color: white
;
290 border: solid
1px silver
;
293 list-style-image: none
;
294 list-style-type: none
;
300 /* Fixes old versions of FireFox */
305 /* Returns things back to normal in modern versions of FireFox */
317 /* OVERRIDDEN BY COMPLIANT BROWSERS */
318 div
.vectorMenu li a
{
319 display: inline-block
;
327 div
.vectorMenu li
> a
{
330 div
.vectorMenu li
.selected a
,
331 div
.vectorMenu li
.selected
a:visited
{
333 text-decoration: none
;
358 min-height: 1px; /* Gotta trigger hasLayout for IE7 */
359 border: solid
1px #AAAAAA;
361 background-color: white
;
363 background-image: url
(images
/search-fade
.png
);
364 background-position: top left
;
365 background-repeat: repeat-x
;
367 div#simpleSearch label
{
369 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
370 * this from ever being shown anyways.
376 div#simpleSearch input
{
380 div#simpleSearch
input:focus
{
383 div#simpleSearch input
.placeholder
{
386 div#simpleSearch
input::-webkit-input-placeholder
{
389 div#simpleSearch input#searchInput
{
398 padding-bottom: 0.2em;
402 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
403 * this from ever being shown anyways.
406 background-color: transparent
;
409 div#simpleSearch button#searchButton
{
416 padding-bottom: 0.2em;
417 padding-right: 0.4em;
421 background-color: transparent
;
423 /* OVERRIDDEN BY COMPLIANT BROWSERS */
424 div#simpleSearch button#searchButton img
{
431 div#simpleSearch button#searchButton
> img
{
442 div#mw-panel div
.portal
{
443 padding-bottom: 1.5em;
446 div#mw-panel div
.portal h5
{
451 padding-left: 1.75em;
456 div#mw-panel div
.portal div
.body
{
461 background-image: url
(images
/portal-break
.png
);
462 background-repeat: no-repeat
;
463 background-position: top left
;
465 div#mw-panel div
.portal div
.body ul
{
467 list-style-image: none
;
468 list-style-type: none
;
472 div#mw-panel div
.portal div
.body ul li
{
473 line-height: 1.125em;
475 padding-bottom: 0.5em;
480 div#mw-panel div
.portal div
.body ul li a
{
483 div#mw-panel div
.portal div
.body ul li
a:visited
{
492 background-image: url
(images/border.png);
493 background-position: top left
;
494 background-repeat: repeat-x
;
499 list-style-image: none
;
500 list-style-type: none
;
508 padding-bottom: 0.5em;
512 div#footer #footer-icons
{
516 body
.ltr div#footer #footer-places
{
519 div#footer #footer-info li
{
522 div#footer #footer-icons li
{
527 div#footer #footer-places li
{
544 background-repeat: no-repeat
;
545 background-position: center center
;
546 text-decoration: none
;
551 * The following code is highly modified from monobook. It would be nice if the
552 * preftoc id was more human readable like preferences-toc for instance,
553 * howerver this would require backporting the other skins.
562 margin: 0 !important
;
563 padding: 0 !important
;
565 background-image: url
(images
/preferences-break
.png
);
566 background-position: bottom left
;
567 background-repeat: no-repeat
;
577 list-style-type: none
;
578 list-style-image: none
;
580 background-image: url
(images
/preferences-break
.png
);
581 background-position: bottom right
;
582 background-repeat: no-repeat
;
584 /* Sadly, IE6 won't understand this */
585 #preftoc li:first-child
{
590 display: inline-block
;
594 text-decoration: none
;
595 background-image: none
;
600 text-decoration: underline
;
602 #preftoc li
.selected a
{
604 background-image: url
(images
/preferences-fade
.png
);
605 background-position: bottom
;
606 background-repeat: repeat-x
;
608 text-decoration: none
;
616 border: solid
1px #cccccc;
617 background-color: #f9f9f9;
619 background-image: url
(images
/preferences-base
.png
);
621 #preferences fieldset
.prefsection
{
626 #preferences fieldset
.prefsection fieldset
{
628 border-top: solid
1px #cccccc;
630 #preferences legend
{
633 #preferences fieldset
.prefsection legend
.mainLegend
{
638 padding-right: 0.5em;
640 #preferences td
.htmlform-tip
{
645 #preferences div
.mw-prefs-buttons
{
648 #preferences div
.mw-prefs-buttons input
{
649 margin-right: 0.25em;
653 * Styles for the user login and create account forms
655 #userlogin, #userloginForm
{
656 border: solid
1px #cccccc;
670 * The following code is slightly modified from monobook
681 text-decoration: none
;
692 text-decoration: underline
;
697 a
.new
, #p-personal a
.new
{
700 a
.new:visited
, #p-personal a
.new:visited
{
704 /* Inline Elements */
707 vertical-align: middle
;
712 background-color: #aaa;
714 margin: .2em 0 .2em 0;
717 /* Structural Elements */
730 padding-bottom: .17em;
731 border-bottom: 1px solid
#aaa;
734 h1
{ font-size: 188%; }
735 h1
.editsection
{ font-size: 53%; }
736 h2
{ font-size: 150%; }
737 h2
.editsection
{ font-size: 67%; }
745 h3
{ font-size: 132%; }
746 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
747 h4
{ font-size: 116%; }
748 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
749 h5
{ font-size: 100%; }
750 h5
.editsection
{ font-weight: normal
; }
751 h6
{ font-size: 80%; }
752 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
753 .editsection { float: right
; }
755 margin: .4em 0 .5em 0;
764 border-bottom: 1px dotted black
;
770 font-family: Times
, "Times New Roman", serif
;
775 font-family: Times, "Times New Roman", serif;
778 pre
, code
, tt
, kbd
, samp
{
780 * It's important for this rule to first reference an actual font name, some browsers will render the monospace text
781 * too small otherwise, namely Firefox, Chrome and Safari
783 font-family: monospace
, "Courier New";
786 background-color: #f9f9f9;
790 border: 1px dashed
#2f6fab;
792 background-color: #f9f9f9;
797 list-style-type: square
;
798 margin: .3em 0 0 1.5em;
801 list-style-image: url
(images
/bullet-icon
.png
);
805 margin: .3em 0 0 3.2em;
807 list-style-image: none
;
832 border: 1px solid
#2f6fab;
839 padding: 0 0.5em 0.5em;
856 /* Table of Contents */
860 border: 1px solid
#aaa;
861 background-color: #f9f9f9;
881 list-style-type: none
;
882 list-style-image: none
;
896 div
.floatright
, table
.floatright
{
900 margin: 0 0 .5em .5em;
903 div
.floatright p
{ font-style: italic
; }
904 div
.floatleft
, table
.floatleft
{
908 margin: 0 .5em .5em 0;
911 div
.floatleft p
{ font-style: italic
; }
916 background-color: transparent
;
919 border: 1px solid
#ccc;
920 padding: 3px !important
;
921 background-color: #f9f9f9;
927 border: 1px solid
#ccc;
933 padding: 3px !important
;
938 border: none
!important
;
939 background: none
!important
;
941 div
.magnify a
, div
.magnify img
{
943 border: none
!important
;
944 background: none
!important
;
950 margin: .5em 0 1.3em 1.4em;
956 margin: .5em 1.4em 1.3em 0;
959 border: 1px solid
#dddddd;
972 background-color: #ffce7b;
973 border: 1px solid
#ffa500;
978 vertical-align: middle
;
980 /* Site Notice (includes notices from CentralNotice extension) */
988 margin-bottom: 0.9em;
992 border: 1px solid
#aaa;
993 background-color: #f9f9f9;
1005 #contentSub, #contentSub2
{
1008 margin: 0 0 1.4em 1em;
1015 /* Emulate Center */
1024 /* Small for tables and similar */
1031 /* Edge Cases for Content */
1033 margin-bottom: .6em;
1036 margin-bottom: .3em;
1042 margin-bottom: 0.1em;
1047 div#content a
.external
,
1048 div#content a
[href ^
="gopher://"] {
1050 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
1051 padding-right: 13px;
1053 div#content a
[href ^
="https://"],
1056 background: url
(images
/lock-icon
.png
) center right no-repeat
;
1057 padding-right: 13px;
1059 div#content a
[href ^
="mailto:"],
1062 background: url
(images
/mail-icon
.png
) center right no-repeat
;
1063 padding-right: 13px;
1065 div#content a
[href ^
="news://"] {
1067 background: url
(images
/news-icon
.png
) center right no-repeat
;
1068 padding-right: 13px;
1070 div#content a
[href ^
="ftp://"],
1073 background: url
(images
/file-icon
.png
) center right no-repeat
;
1074 padding-right: 13px;
1076 div#content a
[href ^
="irc://"],
1077 div#content a
.extiw
[href ^
="irc://"],
1080 background: url
(images
/talk-icon
.png
) center right no-repeat
;
1081 padding-right: 13px;
1083 div#content a
.external
[href $
=".ogg"], div#content a
.external
[href $
=".OGG"],
1084 div#content a
.external
[href $
=".mid"], div#content a
.external
[href $
=".MID"],
1085 div#content a
.external
[href $
=".midi"], div#content a
.external
[href $
=".MIDI"],
1086 div#content a
.external
[href $
=".mp3"], div#content a
.external
[href $
=".MP3"],
1087 div#content a
.external
[href $
=".wav"], div#content a
.external
[href $
=".WAV"],
1088 div#content a
.external
[href $
=".wma"], div#content a
.external
[href $
=".WMA"],
1091 background: url
("images/audio-icon.png?2") center right no-repeat
;
1092 padding-right: 13px;
1094 div#content a
.external
[href $
=".ogm"], div#content a
.external
[href $
=".OGM"],
1095 div#content a
.external
[href $
=".avi"], div#content a
.external
[href $
=".AVI"],
1096 div#content a
.external
[href $
=".mpeg"], div#content a
.external
[href $
=".MPEG"],
1097 div#content a
.external
[href $
=".mpg"], div#content a
.external
[href $
=".MPG"],
1100 background: url
("images/video-icon.png?2") center right no-repeat
;
1101 padding-right: 13px;
1103 div#content a
.external
[href $
=".pdf"], div#content a
.external
[href $
=".PDF"],
1104 div#content a
.external
[href
*=".pdf#"], div#content a
.external
[href
*=".PDF#"],
1105 div#content a
.external
[href
*=".pdf?"], div#content a
.external
[href
*=".PDF?"],
1108 background: url
("images/document-icon.png?2") center right no-repeat
;
1109 padding-right: 13px;
1112 /* Interwiki Styling */
1113 div#content a
.extiw
,
1114 div#content a
.extiw:active
{
1116 /* Don't show icons for interwiki links */
1120 div#content a
.extiw:visited
{
1123 div#content a
.extiw:active
{
1127 /* External links */
1128 div#content a
.external
{
1131 div#content a
.external:visited
{
1132 color: #636; /* bug 3112 */
1134 div#content a
.external:active
{
1139 div#content
.printfooter
{
1142 /* Icon for Usernames */
1147 background: url
(images
/user-icon
.png
) left top no-repeat
;
1148 padding-left: 15px !important
;
1149 text-transform: none
;
1153 border: 1px solid
#aaa;
1154 background-color: #f9f9f9;
1169 /* Watch/Unwatch Icon Styling */
1181 /* This hides the text but shows the background image */
1184 /* Only applied in IE6 */
1185 margin-top: -0.8em !ie
;
1189 background-image: url
(images
/watch-icons
.png
);
1191 #ca-unwatch.icon a
{
1192 background-position: -43px 60%;
1195 background-position: 5px 60%;
1197 #ca-unwatch.icon
a:hover
,
1198 #ca-unwatch.icon
a:focus
{
1199 background-position: -67px 60%;
1201 #ca-watch.icon
a:hover
,
1202 #ca-watch.icon
a:focus
{
1203 background-position: -19px 60%;
1205 #ca-unwatch.icon a
.loading
,
1206 #ca-watch.icon a
.loading
{
1208 background-image: url
(images
/watch-icon-loading
.gif
);
1209 background-position: 5px 60%;
1211 #ca-unwatch.icon a span
,
1212 #ca-watch.icon a span
{
1217 background-image:url
(images
/tab-break
.png
);
1218 background-position:right bottom
;
1219 background-repeat:no-repeat
;
1222 /* Convenience links to edit block, delete and protect reasons */
1223 p
.mw-ipb-conveniencelinks
, p
.mw-protect-editreasons
,
1224 p
.mw-filedelete-editreasons
, p
.mw-delete-editreasons
{
1228 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */