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;
169 background-image: url
(images
/tab-break
.png
);
170 background-position: bottom right
;
171 background-repeat: no-repeat
;
177 div
.vectorTabs li
> a
{
180 /* OVERRIDDEN BY COMPLIANT BROWSERS */
181 div
.vectorTabs span a
{
182 display: inline-block
;
187 div
.vectorTabs span
> a
{
191 div
.vectorTabs li
.selected a
,
192 div
.vectorTabs li
.selected
a:visited
{
194 text-decoration: none
;
196 div
.vectorTabs li
.new a
,
197 div
.vectorTabs li
.new
a:visited
{
200 /* Variants and Actions */
206 background-image: url
(images
/arrow-down-icon
.png
);
207 background-position: 100% 60%;
208 background-repeat: no-repeat
;
212 body
.rtl div
.vectorMenu
{
215 /* OVERRIDDEN BY COMPLIANT BROWSERS */
217 div#mw-head div
.vectorMenu h5
{
220 background-image: url
(images
/tab-break
.png
);
221 background-repeat: no-repeat
;
223 /* This will be flipped - unlike the one above it */
224 div#mw-head div
.vectorMenu h5
{
225 background-position: bottom left
;
229 div#mw-head div
.vectorMenu
> h5
{
230 background-image: none
;
232 div#mw-head div
.vectorMenu h4
{
233 display: inline-block
;
237 padding-top: 1.375em;
241 /* OVERRIDDEN BY COMPLIANT BROWSERS */
243 div
.vectorMenu h5 a
{
244 display: inline-block
;
247 text-decoration: none
;
249 background-image: url
(images
/tab-break
.png
);
250 background-repeat: no-repeat
;
252 /* This will be flipped - unlike the one above it */
253 div
.vectorMenu h5 a
{
254 background-position: bottom right
;
257 div
.vectorMenu h5
> a
{
260 div
.vectorMenu div
.menu
{
266 /* OVERRIDDEN BY COMPLIANT BROWSERS */
268 body
.rtl div
.vectorMenu div
.menu
{
273 body
.rtl div
.vectorMenu
> div
.menu
{
277 /* Also fixes old versions of FireFox */
279 body
.rtl div
.vectorMenu
> div
.menu
,
283 div
.vectorMenu:hover div
.menu
{
288 background-color: white
;
289 border: solid
1px silver
;
292 list-style-image: none
;
293 list-style-type: none
;
299 /* Fixes old versions of FireFox */
304 /* Returns things back to normal in modern versions of FireFox */
316 /* OVERRIDDEN BY COMPLIANT BROWSERS */
317 div
.vectorMenu li a
{
318 display: inline-block
;
326 div
.vectorMenu li
> a
{
329 div
.vectorMenu li
.selected a
,
330 div
.vectorMenu li
.selected
a:visited
{
332 text-decoration: none
;
357 min-height: 1px; /* Gotta trigger hasLayout for IE7 */
358 border: solid
1px #AAAAAA;
360 background-color: white
;
362 background-image: url
(images
/search-fade
.png
);
363 background-position: top left
;
364 background-repeat: repeat-x
;
366 div#simpleSearch label
{
368 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
369 * this from ever being shown anyways.
375 div#simpleSearch input
{
379 div#simpleSearch
input:focus
{
382 div#simpleSearch input
.placeholder
{
385 div#simpleSearch
input::-webkit-input-placeholder
{
388 div#simpleSearch input#searchInput
{
397 padding-bottom: 0.2em;
401 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
402 * this from ever being shown anyways.
405 background-color: transparent
;
408 div#simpleSearch button#searchButton
{
415 padding-bottom: 0.2em;
416 padding-right: 0.4em;
420 background-color: transparent
;
422 /* OVERRIDDEN BY COMPLIANT BROWSERS */
423 div#simpleSearch button#searchButton img
{
430 div#simpleSearch button#searchButton
> img
{
441 div#mw-panel div
.portal
{
442 padding-bottom: 1.5em;
445 div#mw-panel div
.portal h5
{
450 padding-left: 1.75em;
455 div#mw-panel div
.portal div
.body
{
460 background-image: url
(images
/portal-break
.png
);
461 background-repeat: no-repeat
;
462 background-position: top left
;
464 div#mw-panel div
.portal div
.body ul
{
466 list-style-image: none
;
467 list-style-type: none
;
471 div#mw-panel div
.portal div
.body ul li
{
472 line-height: 1.125em;
474 padding-bottom: 0.5em;
479 div#mw-panel div
.portal div
.body ul li a
{
482 div#mw-panel div
.portal div
.body ul li
a:visited
{
491 background-image: url
(images/border.png);
492 background-position: top left
;
493 background-repeat: repeat-x
;
498 list-style-image: none
;
499 list-style-type: none
;
507 padding-bottom: 0.5em;
511 div#footer #footer-icons
{
515 body
.ltr div#footer #footer-places
{
518 div#footer #footer-info li
{
521 div#footer #footer-icons li
{
526 div#footer #footer-places li
{
543 background-repeat: no-repeat
;
544 background-position: center center
;
545 text-decoration: none
;
550 * The following code is highly modified from monobook. It would be nice if the
551 * preftoc id was more human readable like preferences-toc for instance,
552 * howerver this would require backporting the other skins.
561 margin: 0 !important
;
562 padding: 0 !important
;
564 background-image: url
(images
/preferences-break
.png
);
565 background-position: bottom left
;
566 background-repeat: no-repeat
;
576 list-style-type: none
;
577 list-style-image: none
;
579 background-image: url
(images
/preferences-break
.png
);
580 background-position: bottom right
;
581 background-repeat: no-repeat
;
583 /* Sadly, IE6 won't understand this */
584 #preftoc li:first-child
{
589 display: inline-block
;
593 text-decoration: none
;
594 background-image: none
;
599 text-decoration: underline
;
601 #preftoc li
.selected a
{
603 background-image: url
(images
/preferences-fade
.png
);
604 background-position: bottom
;
605 background-repeat: repeat-x
;
607 text-decoration: none
;
615 border: solid
1px #cccccc;
616 background-color: #f9f9f9;
618 background-image: url
(images
/preferences-base
.png
);
620 #preferences fieldset
{
622 border-top: solid
1px #cccccc;
624 #preferences fieldset
.prefsection
{
629 #preferences legend
{
632 #preferences fieldset
.prefsection legend
.mainLegend
{
637 padding-right: 0.5em;
639 #preferences td
.htmlform-tip
{
644 #preferences div
.mw-prefs-buttons
{
647 #preferences div
.mw-prefs-buttons input
{
648 margin-right: 0.25em;
652 * Styles for the user login and create account forms
654 #userlogin, #userloginForm
{
655 border: solid
1px #cccccc;
669 * The following code is slightly modified from monobook
680 text-decoration: none
;
691 text-decoration: underline
;
696 a
.new
, #p-personal a
.new
{
699 a
.new:visited
, #p-personal a
.new:visited
{
703 /* Inline Elements */
706 vertical-align: middle
;
711 background-color: #aaa;
713 margin: .2em 0 .2em 0;
716 /* Structural Elements */
729 padding-bottom: .17em;
730 border-bottom: 1px solid
#aaa;
733 h1
{ font-size: 188%; }
734 h1
.editsection
{ font-size: 53%; }
735 h2
{ font-size: 150%; }
736 h2
.editsection
{ font-size: 67%; }
744 h3
{ font-size: 132%; }
745 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
746 h4
{ font-size: 116%; }
747 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
748 h5
{ font-size: 100%; }
749 h5
.editsection
{ font-weight: normal
; }
750 h6
{ font-size: 80%; }
751 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
752 .editsection { float: right
; }
754 margin: .4em 0 .5em 0;
763 border-bottom: 1px dotted black
;
769 font-family: Times
, "Times New Roman", serif
;
774 font-family: Times, "Times New Roman", serif;
777 pre
, code
, tt
, kbd
, samp
{
779 * It's important for this rule to first reference an actual font name, some browsers will render the monospace text
780 * too small otherwise, namely Firefox, Chrome and Safari
782 font-family: monospace
, "Courier New";
785 background-color: #f9f9f9;
789 border: 1px dashed
#2f6fab;
791 background-color: #f9f9f9;
796 list-style-type: square
;
797 margin: .3em 0 0 1.5em;
800 list-style-image: url
(images
/bullet-icon
.png
);
804 margin: .3em 0 0 3.2em;
806 list-style-image: none
;
830 border: 1px solid
#2f6fab;
837 padding: 0 0.5em 0.5em;
854 /* Table of Contents */
858 border: 1px solid
#aaa;
859 background-color: #f9f9f9;
879 list-style-type: none
;
880 list-style-image: none
;
894 div
.floatright
, table
.floatright
{
898 margin: 0 0 .5em .5em;
901 div
.floatright p
{ font-style: italic
; }
902 div
.floatleft
, table
.floatleft
{
906 margin: 0 .5em .5em 0;
909 div
.floatleft p
{ font-style: italic
; }
914 background-color: transparent
;
917 border: 1px solid
#ccc;
918 padding: 3px !important
;
919 background-color: #f9f9f9;
925 border: 1px solid
#ccc;
931 padding: 3px !important
;
936 border: none
!important
;
937 background: none
!important
;
939 div
.magnify a
, div
.magnify img
{
941 border: none
!important
;
942 background: none
!important
;
948 margin: .5em 0 1.3em 1.4em;
954 margin: .5em 1.4em 1.3em 0;
957 border: 1px solid
#dddddd;
967 background-color: #ffce7b;
968 border: 1px solid
#ffa500;
973 vertical-align: middle
;
975 /* Site Notice (includes notices from CentralNotice extension) */
983 margin-bottom: 0.9em;
987 border: 1px solid
#aaa;
988 background-color: #f9f9f9;
1000 #contentSub, #contentSub2
{
1003 margin: 0 0 1.4em 1em;
1010 /* Emulate Center */
1019 /* Small for tables and similar */
1026 /* Edge Cases for Content */
1028 margin-bottom: .6em;
1031 margin-bottom: .3em;
1037 margin-bottom: 0.1em;
1042 div#content a
.external
,
1043 div#content a
[href ^
="gopher://"] {
1045 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
1046 padding-right: 13px;
1048 div#content a
[href ^
="https://"],
1051 background: url
(images
/lock-icon
.png
) center right no-repeat
;
1052 padding-right: 13px;
1054 div#content a
[href ^
="mailto:"],
1057 background: url
(images
/mail-icon
.png
) center right no-repeat
;
1058 padding-right: 13px;
1060 div#content a
[href ^
="news://"] {
1062 background: url
(images
/news-icon
.png
) center right no-repeat
;
1063 padding-right: 13px;
1065 div#content a
[href ^
="ftp://"],
1068 background: url
(images
/file-icon
.png
) center right no-repeat
;
1069 padding-right: 13px;
1071 div#content a
[href ^
="irc://"],
1072 div#content a
.extiw
[href ^
="irc://"],
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 */
1176 /* This hides the text but shows the background image */
1179 /* Only applied in IE6 */
1180 margin-top: -0.8em !ie
;
1184 background-image: url
(images
/watch-icons
.png
);
1186 #ca-unwatch.icon a
{
1187 background-position: -43px 60%;
1190 background-position: 5px 60%;
1192 #ca-unwatch.icon
a:hover
,
1193 #ca-unwatch.icon
a:focus
{
1194 background-position: -67px 60%;
1196 #ca-watch.icon
a:hover
,
1197 #ca-watch.icon
a:focus
{
1198 background-position: -19px 60%;
1200 #ca-unwatch.icon a
.loading
,
1201 #ca-watch.icon a
.loading
{
1203 background-image: url
(images
/watch-icon-loading
.gif
);
1204 background-position: 5px 60%;
1206 #ca-unwatch.icon a span
,
1207 #ca-watch.icon a span
{
1212 background-image:url
(images
/tab-break
.png
);
1213 background-position:right bottom
;
1214 background-repeat:no-repeat
;
1217 /* Convenience links to edit block, delete and protect reasons */
1218 p
.mw-ipb-conveniencelinks
, p
.mw-protect-editreasons
,
1219 p
.mw-filedelete-editreasons
, p
.mw-delete-editreasons
{
1223 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */