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
;
355 min-height: 1px; /* Gotta trigger hasLayout for IE7 */
356 border: solid
1px #AAAAAA;
358 background-color: white
;
360 background-image: url
(images
/search-fade
.png
);
361 background-position: top left
;
362 background-repeat: repeat-x
;
364 div#simpleSearch label
{
366 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
367 * this from ever being shown anyways.
372 div#simpleSearch input
{
375 div#simpleSearch
input:focus
{
378 div#simpleSearch input
.placeholder
{
381 div#simpleSearch
input::-webkit-input-placeholder
{
384 div#simpleSearch input#searchInput
{
390 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
391 * this from ever being shown anyways.
395 background-color: transparent
;
398 div#simpleSearch button#searchButton
{
403 background-color: transparent
;
406 /* OVERRIDDEN BY COMPLIANT BROWSERS */
407 div#simpleSearch button#searchButton img
{
412 vertical-align: middle
;
415 div#simpleSearch button#searchButton
> img
{
427 div#mw-panel div
.portal
{
428 padding-bottom: 1.5em;
431 div#mw-panel div
.portal h5
{
436 padding-left: 1.75em;
441 div#mw-panel div
.portal div
.body
{
446 background-image: url
(images
/portal-break
.png
);
447 background-repeat: no-repeat
;
448 background-position: top left
;
450 div#mw-panel div
.portal div
.body ul
{
452 list-style-image: none
;
453 list-style-type: none
;
457 div#mw-panel div
.portal div
.body ul li
{
458 line-height: 1.125em;
460 padding-bottom: 0.5em;
465 div#mw-panel div
.portal div
.body ul li a
{
468 div#mw-panel div
.portal div
.body ul li
a:visited
{
477 background-image: url
(images/border.png);
478 background-position: top left
;
479 background-repeat: repeat-x
;
484 list-style-image: none
;
485 list-style-type: none
;
493 padding-bottom: 0.5em;
497 div#footer #footer-icons
{
501 body
.ltr div#footer #footer-places
{
504 div#footer #footer-info li
{
507 div#footer #footer-icons li
{
512 div#footer #footer-places li
{
529 background-repeat: no-repeat
;
530 background-position: center center
;
531 text-decoration: none
;
536 * The following code is highly modified from monobook. It would be nice if the
537 * preftoc id was more human readable like preferences-toc for instance,
538 * howerver this would require backporting the other skins.
547 margin: 0 !important
;
548 padding: 0 !important
;
550 background-image: url
(images
/preferences-break
.png
);
551 background-position: bottom left
;
552 background-repeat: no-repeat
;
562 list-style-type: none
;
563 list-style-image: none
;
565 background-image: url
(images
/preferences-break
.png
);
566 background-position: bottom right
;
567 background-repeat: no-repeat
;
569 /* Sadly, IE6 won't understand this */
570 #preftoc li:first-child
{
575 display: inline-block
;
579 text-decoration: none
;
580 background-image: none
;
585 text-decoration: underline
;
587 #preftoc li
.selected a
{
589 background-image: url
(images
/preferences-fade
.png
);
590 background-position: bottom
;
591 background-repeat: repeat-x
;
593 text-decoration: none
;
601 border: solid
1px #cccccc;
602 background-color: #f9f9f9;
604 background-image: url
(images
/preferences-base
.png
);
606 #preferences fieldset
.prefsection
{
611 #preferences fieldset
.prefsection fieldset
{
613 border-top: solid
1px #cccccc;
615 #preferences legend
{
618 #preferences fieldset
.prefsection legend
.mainLegend
{
623 padding-right: 0.5em;
625 #preferences td
.htmlform-tip
{
630 #preferences div
.mw-prefs-buttons
{
633 #preferences div
.mw-prefs-buttons input
{
634 margin-right: 0.25em;
638 * Styles for the user login and create account forms
640 #userlogin, #userloginForm
{
641 border: solid
1px #cccccc;
655 * The following code is slightly modified from monobook
666 text-decoration: none
;
677 text-decoration: underline
;
682 a
.new
, #p-personal a
.new
{
685 a
.new:visited
, #p-personal a
.new:visited
{
689 /* Inline Elements */
692 vertical-align: middle
;
697 background-color: #aaa;
699 margin: .2em 0 .2em 0;
702 /* Structural Elements */
715 padding-bottom: .17em;
716 border-bottom: 1px solid
#aaa;
719 h1
{ font-size: 188%; }
720 h1
.editsection
{ font-size: 53%; }
721 h2
{ font-size: 150%; }
722 h2
.editsection
{ font-size: 67%; }
730 h3
{ font-size: 132%; }
731 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
732 h4
{ font-size: 116%; }
733 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
734 h5
{ font-size: 100%; }
735 h5
.editsection
{ font-weight: normal
; }
736 h6
{ font-size: 80%; }
737 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
738 .editsection { float: right
; }
740 margin: .4em 0 .5em 0;
749 border-bottom: 1px dotted black
;
755 font-family: Times
, "Times New Roman", serif
;
760 font-family: Times, "Times New Roman", serif;
763 pre
, code
, tt
, kbd
, samp
{
765 * It's important for this rule to first reference an actual font name, some browsers will render the monospace text
766 * too small otherwise, namely Firefox, Chrome and Safari
768 font-family: monospace
, "Courier New";
771 background-color: #f9f9f9;
775 border: 1px dashed
#2f6fab;
777 background-color: #f9f9f9;
782 list-style-type: square
;
783 margin: .3em 0 0 1.5em;
786 list-style-image: url
(images
/bullet-icon
.png
);
790 margin: .3em 0 0 3.2em;
792 list-style-image: none
;
817 border: 1px solid
#2f6fab;
824 padding: 0 0.5em 0.5em;
841 /* Table of Contents */
845 border: 1px solid
#aaa;
846 background-color: #f9f9f9;
866 list-style-type: none
;
867 list-style-image: none
;
881 div
.floatright
, table
.floatright
{
885 margin: 0 0 .5em .5em;
888 div
.floatright p
{ font-style: italic
; }
889 div
.floatleft
, table
.floatleft
{
893 margin: 0 .5em .5em 0;
896 div
.floatleft p
{ font-style: italic
; }
901 background-color: transparent
;
904 border: 1px solid
#ccc;
905 padding: 3px !important
;
906 background-color: #f9f9f9;
912 border: 1px solid
#ccc;
918 padding: 3px !important
;
923 border: none
!important
;
924 background: none
!important
;
926 div
.magnify a
, div
.magnify img
{
928 border: none
!important
;
929 background: none
!important
;
935 margin: .5em 0 1.3em 1.4em;
941 margin: .5em 1.4em 1.3em 0;
944 border: 1px solid
#dddddd;
957 background-color: #e0e8ff;
958 border: 1px solid
#99b3ff;
963 vertical-align: middle
;
965 /* Site Notice (includes notices from CentralNotice extension) */
973 margin-bottom: 0.9em;
977 border: 1px solid
#aaa;
978 background-color: #f9f9f9;
990 #contentSub, #contentSub2
{
993 margin: 0 0 1.4em 1em;
1000 /* Emulate Center */
1009 /* Small for tables and similar */
1016 /* Edge Cases for Content */
1018 margin-bottom: .6em;
1021 margin-bottom: .3em;
1027 margin-bottom: 0.1em;
1032 div#content a
.external
,
1033 div#content a
[href ^
="gopher://"] {
1035 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
1036 padding-right: 13px;
1038 div#content a
[href ^
="https://"],
1041 background: url
(images
/lock-icon
.png
) center right no-repeat
;
1042 padding-right: 13px;
1044 div#content a
[href ^
="mailto:"],
1047 background: url
(images
/mail-icon
.png
) center right no-repeat
;
1048 padding-right: 13px;
1050 div#content a
[href ^
="news://"] {
1052 background: url
(images
/news-icon
.png
) center right no-repeat
;
1053 padding-right: 13px;
1055 div#content a
[href ^
="ftp://"],
1058 background: url
(images
/file-icon
.png
) center right no-repeat
;
1059 padding-right: 13px;
1061 div#content a
[href ^
="irc://"],
1062 div#content a
.extiw
[href ^
="irc://"],
1065 background: url
(images
/talk-icon
.png
) center right no-repeat
;
1066 padding-right: 13px;
1068 div#content a
.external
[href $
=".ogg"], div#content a
.external
[href $
=".OGG"],
1069 div#content a
.external
[href $
=".mid"], div#content a
.external
[href $
=".MID"],
1070 div#content a
.external
[href $
=".midi"], div#content a
.external
[href $
=".MIDI"],
1071 div#content a
.external
[href $
=".mp3"], div#content a
.external
[href $
=".MP3"],
1072 div#content a
.external
[href $
=".wav"], div#content a
.external
[href $
=".WAV"],
1073 div#content a
.external
[href $
=".wma"], div#content a
.external
[href $
=".WMA"],
1076 background: url
("images/audio-icon.png?2") center right no-repeat
;
1077 padding-right: 13px;
1079 div#content a
.external
[href $
=".ogm"], div#content a
.external
[href $
=".OGM"],
1080 div#content a
.external
[href $
=".avi"], div#content a
.external
[href $
=".AVI"],
1081 div#content a
.external
[href $
=".mpeg"], div#content a
.external
[href $
=".MPEG"],
1082 div#content a
.external
[href $
=".mpg"], div#content a
.external
[href $
=".MPG"],
1085 background: url
("images/video-icon.png?2") center right no-repeat
;
1086 padding-right: 13px;
1088 div#content a
.external
[href $
=".pdf"], div#content a
.external
[href $
=".PDF"],
1089 div#content a
.external
[href
*=".pdf#"], div#content a
.external
[href
*=".PDF#"],
1090 div#content a
.external
[href
*=".pdf?"], div#content a
.external
[href
*=".PDF?"],
1093 background: url
("images/document-icon.png?2") center right no-repeat
;
1094 padding-right: 13px;
1096 /* Interwiki Styling (Disabled) */
1097 div#content a
.extiw
,
1098 div#content a
.extiw:active
{
1103 div#content a
.external
{
1106 div#content
.printfooter
{
1109 /* Icon for Usernames */
1114 background: url
(images
/user-icon
.png
) left top no-repeat
;
1115 padding-left: 15px !important
;
1116 text-transform: none
;
1120 border: 1px solid
#aaa;
1121 background-color: #f9f9f9;
1136 /* Watch/Unwatch Icon Styling */
1141 /* OVERRIDDEN BY COMPLIANT BROWSERS */
1149 /* This hides the text but shows the background image */
1155 background-image: url
(images
/watch-icons
.png
);
1157 /* IGNORED BY IE6 */
1158 html
> body #ca-unwatch
.icon a
,
1159 html
> body #ca-watch
.icon a
{
1162 #ca-unwatch.icon a
{
1163 background-position: -43px 60%;
1166 background-position: 5px 60%;
1168 #ca-unwatch.icon
a:hover
,
1169 #ca-unwatch.icon
a:focus
{
1170 background-position: -67px 60%;
1172 #ca-watch.icon
a:hover
,
1173 #ca-watch.icon
a:focus
{
1174 background-position: -19px 60%;
1176 #ca-unwatch.icon a
.loading
,
1177 #ca-watch.icon a
.loading
{
1179 background-image: url
(images
/watch-icon-loading
.gif
);
1180 background-position: center
60%;
1182 #ca-unwatch.icon a span
,
1183 #ca-watch.icon a span
{
1188 background-image:url
(images
/tab-break
.png
);
1189 background-position:right bottom
;
1190 background-repeat:no-repeat
;
1193 /* Convenience links to edit block, delete and protect reasons */
1194 p
.mw-ipb-conveniencelinks
, p
.mw-protect-editreasons
,
1195 p
.mw-filedelete-editreasons
, p
.mw-delete-editreasons
{
1199 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */