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: 0px 60%;
208 background-repeat: no-repeat
;
211 div
.vectorMenuFocus
{
212 background-position: -22px 60%;
215 body
.rtl div
.vectorMenu
{
218 /* OVERRIDDEN BY COMPLIANT BROWSERS */
220 div#mw-head div
.vectorMenu h5
{
223 background-image: url
(images
/tab-break
.png
);
224 background-repeat: no-repeat
;
226 /* This will be flipped - unlike the one above it */
227 div#mw-head div
.vectorMenu h5
{
228 background-position: bottom left
;
232 div#mw-head div
.vectorMenu
> h5
{
233 background-image: none
;
235 div#mw-head div
.vectorMenu h4
{
236 display: inline-block
;
240 padding-top: 1.375em;
244 /* OVERRIDDEN BY COMPLIANT BROWSERS */
246 div
.vectorMenu h5 a
{
247 display: inline-block
;
250 text-decoration: none
;
252 background-image: url
(images
/tab-break
.png
);
253 background-repeat: no-repeat
;
255 /* This will be flipped - unlike the one above it */
256 div
.vectorMenu h5 a
{
257 background-position: bottom right
;
260 div
.vectorMenu h5
> a
{
263 div
.vectorMenu div
.menu
{
269 /* OVERRIDDEN BY COMPLIANT BROWSERS */
271 body
.rtl div
.vectorMenu div
.menu
{
276 body
.rtl div
.vectorMenu
> div
.menu
{
280 /* Also fixes old versions of FireFox */
282 body
.rtl div
.vectorMenu
> div
.menu
,
286 /* Enable forcing showing of the menu for accessibility */
287 div
.vectorMenu:hover div
.menu
, div
.vectorMenu div
.menuForceShow
{
292 background-color: white
;
293 border: solid
1px silver
;
296 list-style-image: none
;
297 list-style-type: none
;
303 /* Fixes old versions of FireFox */
308 /* Returns things back to normal in modern versions of FireFox */
320 /* OVERRIDDEN BY COMPLIANT BROWSERS */
321 div
.vectorMenu li a
{
322 display: inline-block
;
330 div
.vectorMenu li
> a
{
333 div
.vectorMenu li
.selected a
,
334 div
.vectorMenu li
.selected
a:visited
{
336 text-decoration: none
;
361 min-height: 1px; /* Gotta trigger hasLayout for IE7 */
362 border: solid
1px #AAAAAA;
364 background-color: white
;
366 background-image: url
(images
/search-fade
.png
);
367 background-position: top left
;
368 background-repeat: repeat-x
;
370 div#simpleSearch label
{
372 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
373 * this from ever being shown anyways.
379 div#simpleSearch input
{
383 div#simpleSearch
input:focus
{
386 div#simpleSearch input
.placeholder
{
389 div#simpleSearch
input::-webkit-input-placeholder
{
392 div#simpleSearch input#searchInput
{
401 padding-bottom: 0.2em;
405 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
406 * this from ever being shown anyways.
409 background-color: transparent
;
412 div#simpleSearch button#searchButton
{
419 padding-bottom: 0.2em;
420 padding-right: 0.4em;
424 background-color: transparent
;
426 /* OVERRIDDEN BY COMPLIANT BROWSERS */
427 div#simpleSearch button#searchButton img
{
434 div#simpleSearch button#searchButton
> img
{
445 div#mw-panel div
.portal
{
446 padding-bottom: 1.5em;
449 div#mw-panel div
.portal h5
{
454 padding-left: 1.75em;
459 div#mw-panel div
.portal div
.body
{
464 background-image: url
(images
/portal-break
.png
);
465 background-repeat: no-repeat
;
466 background-position: top left
;
468 div#mw-panel div
.portal div
.body ul
{
470 list-style-image: none
;
471 list-style-type: none
;
475 div#mw-panel div
.portal div
.body ul li
{
476 line-height: 1.125em;
478 padding-bottom: 0.5em;
483 div#mw-panel div
.portal div
.body ul li a
{
486 div#mw-panel div
.portal div
.body ul li
a:visited
{
495 background-image: url
(images/border.png);
496 background-position: top left
;
497 background-repeat: repeat-x
;
502 list-style-image: none
;
503 list-style-type: none
;
511 padding-bottom: 0.5em;
515 div#footer #footer-icons
{
519 body
.ltr div#footer #footer-places
{
522 div#footer #footer-info li
{
525 div#footer #footer-icons li
{
530 div#footer #footer-places li
{
547 background-repeat: no-repeat
;
548 background-position: center center
;
549 text-decoration: none
;
554 * The following code is highly modified from monobook. It would be nice if the
555 * preftoc id was more human readable like preferences-toc for instance,
556 * howerver this would require backporting the other skins.
565 margin: 0 !important
;
566 padding: 0 !important
;
568 background-image: url
(images
/preferences-break
.png
);
569 background-position: bottom left
;
570 background-repeat: no-repeat
;
580 list-style-type: none
;
581 list-style-image: none
;
583 background-image: url
(images
/preferences-break
.png
);
584 background-position: bottom right
;
585 background-repeat: no-repeat
;
587 /* Sadly, IE6 won't understand this */
588 #preftoc li:first-child
{
593 display: inline-block
;
597 text-decoration: none
;
598 background-image: none
;
603 text-decoration: underline
;
605 #preftoc li
.selected a
{
607 background-image: url
(images
/preferences-fade
.png
);
608 background-position: bottom
;
609 background-repeat: repeat-x
;
611 text-decoration: none
;
619 border: solid
1px #cccccc;
620 background-color: #f9f9f9;
622 background-image: url
(images
/preferences-base
.png
);
624 #preferences fieldset
{
626 border-top: solid
1px #cccccc;
628 #preferences fieldset
.prefsection
{
633 #preferences legend
{
636 #preferences fieldset
.prefsection legend
.mainLegend
{
641 padding-right: 0.5em;
643 #preferences td
.htmlform-tip
{
648 #preferences div
.mw-prefs-buttons
{
651 #preferences div
.mw-prefs-buttons input
{
652 margin-right: 0.25em;
656 * Styles for the user login and create account forms
658 #userlogin, #userloginForm
{
659 border: solid
1px #cccccc;
673 * The following code is slightly modified from monobook
684 text-decoration: none
;
695 text-decoration: underline
;
700 a
.new
, #p-personal a
.new
{
703 a
.new:visited
, #p-personal a
.new:visited
{
707 /* Inline Elements */
710 vertical-align: middle
;
715 background-color: #aaa;
717 margin: .2em 0 .2em 0;
720 /* Structural Elements */
733 padding-bottom: .17em;
734 border-bottom: 1px solid
#aaa;
737 h1
{ font-size: 188%; }
738 h1
.editsection
{ font-size: 53%; }
739 h2
{ font-size: 150%; }
740 h2
.editsection
{ font-size: 67%; }
748 h3
{ font-size: 132%; }
749 h3
.editsection
{ font-size: 76%; font-weight: normal
; }
750 h4
{ font-size: 116%; }
751 h4
.editsection
{ font-size: 86%; font-weight: normal
; }
752 h5
{ font-size: 100%; }
753 h5
.editsection
{ font-weight: normal
; }
754 h6
{ font-size: 80%; }
755 h6
.editsection
{ font-size: 125%; font-weight: normal
; }
756 .editsection { float: right
; }
758 margin: .4em 0 .5em 0;
767 border-bottom: 1px dotted black
;
773 font-family: Times
, "Times New Roman", serif
;
778 font-family: Times, "Times New Roman", serif;
781 pre
, code
, tt
, kbd
, samp
{
783 * It's important for this rule to first reference an actual font name, some browsers will render the monospace text
784 * too small otherwise, namely Firefox, Chrome and Safari
786 font-family: monospace
, "Courier New";
789 background-color: #f9f9f9;
793 border: 1px dashed
#2f6fab;
795 background-color: #f9f9f9;
800 list-style-type: square
;
801 margin: .3em 0 0 1.5em;
804 list-style-image: url
(images
/bullet-icon
.png
);
808 margin: .3em 0 0 3.2em;
810 list-style-image: none
;
834 border: 1px solid
#2f6fab;
841 padding: 0 0.5em 0.5em;
858 /* Table of Contents */
862 border: 1px solid
#aaa;
863 background-color: #f9f9f9;
883 list-style-type: none
;
884 list-style-image: none
;
898 div
.floatright
, table
.floatright
{
902 margin: 0 0 .5em .5em;
905 div
.floatright p
{ font-style: italic
; }
906 div
.floatleft
, table
.floatleft
{
910 margin: 0 .5em .5em 0;
913 div
.floatleft p
{ font-style: italic
; }
918 background-color: transparent
;
921 border: 1px solid
#ccc;
922 padding: 3px !important
;
923 background-color: #f9f9f9;
929 border: 1px solid
#ccc;
935 padding: 3px !important
;
940 border: none
!important
;
941 background: none
!important
;
943 div
.magnify a
, div
.magnify img
{
945 border: none
!important
;
946 background: none
!important
;
952 margin: .5em 0 1.3em 1.4em;
958 margin: .5em 1.4em 1.3em 0;
961 border: 1px solid
#dddddd;
971 background-color: #ffce7b;
972 border: 1px solid
#ffa500;
977 vertical-align: middle
;
979 /* Site Notice (includes notices from CentralNotice extension) */
987 margin-bottom: 0.9em;
991 border: 1px solid
#aaa;
992 background-color: #f9f9f9;
1004 #contentSub, #contentSub2
{
1007 margin: 0 0 1.4em 1em;
1014 /* Emulate Center */
1023 /* Small for tables and similar */
1030 /* Edge Cases for Content */
1032 margin-bottom: .6em;
1035 margin-bottom: .3em;
1041 margin-bottom: 0.1em;
1046 div#content a
.external
,
1047 div#content a
[href ^
="gopher://"] {
1049 background: url
(images
/external-link-ltr-icon
.png
) center right no-repeat
;
1050 padding-right: 13px;
1052 div#content a
[href ^
="https://"],
1055 background: url
(images
/lock-icon
.png
) center right no-repeat
;
1056 padding-right: 13px;
1058 div#content a
[href ^
="mailto:"],
1061 background: url
(images
/mail-icon
.png
) center right no-repeat
;
1062 padding-right: 13px;
1064 div#content a
[href ^
="news://"] {
1066 background: url
(images
/news-icon
.png
) center right no-repeat
;
1067 padding-right: 13px;
1069 div#content a
[href ^
="ftp://"],
1072 background: url
(images
/file-icon
.png
) center right no-repeat
;
1073 padding-right: 13px;
1075 div#content a
[href ^
="irc://"],
1076 div#content a
.extiw
[href ^
="irc://"],
1079 background: url
(images
/talk-icon
.png
) center right no-repeat
;
1080 padding-right: 13px;
1082 div#content a
.external
[href $
=".ogg"], div#content a
.external
[href $
=".OGG"],
1083 div#content a
.external
[href $
=".mid"], div#content a
.external
[href $
=".MID"],
1084 div#content a
.external
[href $
=".midi"], div#content a
.external
[href $
=".MIDI"],
1085 div#content a
.external
[href $
=".mp3"], div#content a
.external
[href $
=".MP3"],
1086 div#content a
.external
[href $
=".wav"], div#content a
.external
[href $
=".WAV"],
1087 div#content a
.external
[href $
=".wma"], div#content a
.external
[href $
=".WMA"],
1090 background: url
("images/audio-icon.png?2") center right no-repeat
;
1091 padding-right: 13px;
1093 div#content a
.external
[href $
=".ogm"], div#content a
.external
[href $
=".OGM"],
1094 div#content a
.external
[href $
=".avi"], div#content a
.external
[href $
=".AVI"],
1095 div#content a
.external
[href $
=".mpeg"], div#content a
.external
[href $
=".MPEG"],
1096 div#content a
.external
[href $
=".mpg"], div#content a
.external
[href $
=".MPG"],
1099 background: url
("images/video-icon.png?2") center right no-repeat
;
1100 padding-right: 13px;
1102 div#content a
.external
[href $
=".pdf"], div#content a
.external
[href $
=".PDF"],
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?"],
1107 background: url
("images/document-icon.png?2") center right no-repeat
;
1108 padding-right: 13px;
1111 /* Interwiki Styling */
1112 div#content a
.extiw
,
1113 div#content a
.extiw:active
{
1115 /* Don't show icons for interwiki links */
1119 div#content a
.extiw:visited
{
1122 div#content a
.extiw:active
{
1126 /* External links */
1127 div#content a
.external
{
1130 div#content a
.external:visited
{
1131 color: #636; /* bug 3112 */
1133 div#content a
.external:active
{
1138 div#content
.printfooter
{
1141 /* Icon for Usernames */
1146 background: url
(images
/user-icon
.png
) left top no-repeat
;
1147 padding-left: 15px !important
;
1148 text-transform: none
;
1152 border: 1px solid
#aaa;
1153 background-color: #f9f9f9;
1168 /* Watch/Unwatch Icon Styling */
1180 /* This hides the text but shows the background image */
1183 /* Only applied in IE6 */
1184 margin-top: -0.8em !ie
;
1188 background-image: url
(images
/watch-icons
.png
);
1190 #ca-unwatch.icon a
{
1191 background-position: -43px 60%;
1194 background-position: 5px 60%;
1196 #ca-unwatch.icon
a:hover
,
1197 #ca-unwatch.icon
a:focus
{
1198 background-position: -67px 60%;
1200 #ca-watch.icon
a:hover
,
1201 #ca-watch.icon
a:focus
{
1202 background-position: -19px 60%;
1204 #ca-unwatch.icon a
.loading
,
1205 #ca-watch.icon a
.loading
{
1207 background-image: url
(images
/watch-icon-loading
.gif
);
1208 background-position: 5px 60%;
1210 #ca-unwatch.icon a span
,
1211 #ca-watch.icon a span
{
1216 background-image:url
(images
/tab-break
.png
);
1217 background-position:right bottom
;
1218 background-repeat:no-repeat
;
1221 /* Convenience links to edit block, delete and protect reasons */
1222 p
.mw-ipb-conveniencelinks
, p
.mw-protect-editreasons
,
1223 p
.mw-filedelete-editreasons
, p
.mw-delete-editreasons
{
1227 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */