MediaWiki:Common.css: Difference between revisions
Undo revision 4252 by Manomow (talk)
| Line 1: | Line 1: | ||
/* | /* Default styling for HTML elements */ | ||
dfn { | |||
font-style: inherit; | font-style: inherit; /* Reset default styling for <dfn> */ | ||
} | } | ||
q:before, | |||
q:after { | |||
q { | content: '"'; /* Consistent quote marks for <q> */ | ||
/* Consistent | |||
} | } | ||
/* Main page fixes */ | /* Main page fixes */ | ||
| Line 38: | Line 12: | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
body.page-Main_Page #ca-delete { | |||
display: none !important; | |||
display: none; | |||
} | } | ||
body.page-Main_Page #mp-topbanner { | |||
clear: both; | |||
} | } | ||
| Line 57: | Line 25: | ||
} | } | ||
/* | /* Highlight data points in the info action if specified in the URL */ | ||
body.action-info :target { | |||
background: #DEF; | |||
body.action-info | |||
background | |||
} | } | ||
| Line 94: | Line 42: | ||
div.reflist ol.references { | div.reflist ol.references { | ||
font-size: 100%; /* Reset font-size when nested in div.reflist */ | font-size: 100%; /* Reset font-size when nested in div.reflist */ | ||
list-style-type: inherit; /* Enable custom list style types */ | list-style-type: inherit; /* Enable custom list style types */ | ||
} | |||
/* Highlight clicked reference in blue to help navigation */ | |||
ol.references li:target, | |||
sup.reference:target, | |||
span.citation:target { | |||
background-color: #DEF; | |||
} | } | ||
| Line 109: | Line 63: | ||
} | } | ||
/* | /* Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box */ | ||
. | .citation { | ||
word-wrap: break-word; | |||
} | } | ||
/* For linked citation numbers and document IDs, where | |||
the number need not be shown on a screen or a handheld, | |||
but should be included in the printed version */ | |||
@media screen, handheld { | |||
.citation .printonly { | |||
display: none; | |||
} | |||
} | } | ||
| Line 157: | Line 112: | ||
/* Style for horizontal lists (separator following item). | /* Style for horizontal lists (separator following item). | ||
IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]]. | |||
@source mediawiki.org/wiki/Snippets/Horizontal_lists | @source mediawiki.org/wiki/Snippets/Horizontal_lists | ||
@revision | @revision 6 (2014-05-09) | ||
@author [[User:Edokter]] | @author [[User:Edokter]] | ||
*/ | */ | ||
| Line 183: | Line 139: | ||
.hlist ul dl, .hlist ul ol, .hlist ul ul { | .hlist ul dl, .hlist ul ol, .hlist ul ul { | ||
display: inline; | display: inline; | ||
} | } | ||
/* Generate interpuncts */ | /* Generate interpuncts */ | ||
| Line 200: | Line 152: | ||
.hlist dt:last-child:after, | .hlist dt:last-child:after, | ||
.hlist li:last-child:after { | .hlist li:last-child:after { | ||
content: none; | |||
} | |||
/* For IE8 */ | |||
.hlist dd.hlist-last-child:after, | |||
.hlist dt.hlist-last-child:after, | |||
.hlist li.hlist-last-child:after { | |||
content: none; | content: none; | ||
} | } | ||
| Line 212: | Line 170: | ||
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after, | .hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after, | ||
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after { | .hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after { | ||
content: ")"; | content: ") "; | ||
font-weight: normal; | |||
} | |||
/* For IE8 */ | |||
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after, | |||
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after, | |||
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after { | |||
content: ") "; | |||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
| Line 223: | Line 188: | ||
} | } | ||
.hlist ol > li:before { | .hlist ol > li:before { | ||
content: " " counter(listitem) " | content: " " counter(listitem) " "; | ||
white-space: nowrap; | |||
} | } | ||
.hlist dd ol > li:first-child:before, | .hlist dd ol > li:first-child:before, | ||
.hlist dt ol > li:first-child:before, | .hlist dt ol > li:first-child:before, | ||
.hlist li ol > li:first-child:before { | .hlist li ol > li:first-child:before { | ||
content: " (" counter(listitem) " | content: " (" counter(listitem) " "; | ||
} | } | ||
| Line 245: | Line 211: | ||
/* Default style for navigation boxes */ | /* Default style for navigation boxes */ | ||
.navbox { /* Navbox container style */ | .navbox { /* Navbox container style */ | ||
border: 1px solid #aaa; | |||
border: 1px solid # | |||
width: 100%; | width: 100%; | ||
margin: auto; | |||
clear: both; | clear: both; | ||
font-size: 88%; | font-size: 88%; | ||
text-align: center; | text-align: center; | ||
padding: 1px; | padding: 1px; | ||
} | } | ||
.navbox-inner, | .navbox-inner, | ||
| Line 281: | Line 240: | ||
} | } | ||
.navbox-list { | .navbox-list { | ||
line-height: 1. | line-height: 1.8em; | ||
border-color: #fdfdfd; /* Must match background color */ | border-color: #fdfdfd; /* Must match background color */ | ||
} | } | ||
.navbox th, | .navbox th, | ||
| Line 309: | Line 261: | ||
.navbox-odd { | .navbox-odd { | ||
background: transparent; /* Odd row striping */ | background: transparent; /* Odd row striping */ | ||
} | |||
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */ | |||
margin-top: -1px; /* (doesn't work for IE6, but that's okay) */ | |||
} | } | ||
.navbox .hlist td dl, | .navbox .hlist td dl, | ||
| Line 317: | Line 272: | ||
.navbox td.hlist ul { | .navbox td.hlist ul { | ||
padding: 0.125em 0; /* Adjust hlist padding in navboxes */ | padding: 0.125em 0; /* Adjust hlist padding in navboxes */ | ||
} | |||
ol + table.navbox, | |||
ul + table.navbox { | |||
margin-top: 0.5em; /* Prevent lists from clinging to navboxes */ | |||
} | } | ||
| Line 328: | Line 287: | ||
display: inline; | display: inline; | ||
white-space: nowrap; | white-space: nowrap; | ||
} | } | ||
.navbar li { | .navbar li { | ||
word-spacing: -0.125em; | word-spacing: -0.125em; | ||
} | } | ||
.navbar.mini li | .navbar.mini li span { | ||
font-variant: small-caps; | font-variant: small-caps; | ||
} | } | ||
/* Navbar styling when nested in infobox and navbox */ | /* Navbar styling when nested in infobox and navbox */ | ||
| Line 356: | Line 309: | ||
/* @noflip */ | /* @noflip */ | ||
margin-right: 0.5em; | margin-right: 0.5em; | ||
width: 6em; | |||
} | } | ||
| Line 369: | Line 323: | ||
text-align: right; | text-align: right; | ||
width: auto; | width: auto; | ||
} | |||
/* In navboxes, the show/hide button balances the v·d·e links | |||
from [[Template:Navbar]], so they need to be the same width. */ | |||
.navbox .collapseButton { | |||
width: 6em; | |||
} | } | ||
/* Styling for JQuery makeCollapsible, matching that of collapseButton */ | /* Styling for JQuery makeCollapsible, matching that of collapseButton */ | ||
.mw-collapsible-toggle { | |||
font-weight: normal; | font-weight: normal; | ||
/* @noflip */ | /* @noflip */ | ||
text-align: right; | text-align: right; | ||
} | } | ||
. | .navbox .mw-collapsible-toggle { | ||
width: 6em; | |||
} | } | ||
/* Infobox template style */ | /* Infobox template style */ | ||
.infobox { | .infobox { | ||
border: 1px solid # | border: 1px solid #aaa; | ||
background-color: #f9f9f9; | |||
background-color: # | |||
color: black; | color: black; | ||
/* @noflip */ | /* @noflip */ | ||
| Line 399: | Line 352: | ||
/* @noflip */ | /* @noflip */ | ||
clear: right; | clear: right; | ||
/* @noflip */ | |||
text-align: left; | |||
font-size: 88%; | font-size: 88%; | ||
line-height: 1.5em; | line-height: 1.5em; | ||
| Line 405: | Line 360: | ||
font-size: 125%; | font-size: 125%; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
.infobox td, | .infobox td, | ||
.infobox th { | .infobox th { | ||
vertical-align: top; | vertical-align: top; | ||
} | } | ||
.infobox.bordered { | .infobox.bordered { | ||
| Line 418: | Line 370: | ||
.infobox.bordered td, | .infobox.bordered td, | ||
.infobox.bordered th { | .infobox.bordered th { | ||
border: 1px solid # | border: 1px solid #aaa; | ||
} | } | ||
.infobox.bordered .borderless td, | .infobox.bordered .borderless td, | ||
| Line 443: | Line 395: | ||
.infobox.bordered .mergedtoprow th { | .infobox.bordered .mergedtoprow th { | ||
border: 0; | border: 0; | ||
border-top: 1px solid # | border-top: 1px solid #aaa; | ||
/* @noflip */ | /* @noflip */ | ||
border-right: 1px solid # | border-right: 1px solid #aaa; | ||
} | } | ||
| Line 452: | Line 404: | ||
border: 0; | border: 0; | ||
/* @noflip */ | /* @noflip */ | ||
border-right: 1px solid # | border-right: 1px solid #aaa; | ||
} | } | ||
| Line 465: | Line 417: | ||
.infobox.geography td, | .infobox.geography td, | ||
.infobox.geography th { | .infobox.geography th { | ||
border-top: 1px solid # | border-top: 1px solid #aaa; | ||
padding: 0.4em 0.6em 0.4em 0.6em; | padding: 0.4em 0.6em 0.4em 0.6em; | ||
} | } | ||
.infobox.geography .mergedtoprow td, | .infobox.geography .mergedtoprow td, | ||
.infobox.geography .mergedtoprow th { | .infobox.geography .mergedtoprow th { | ||
border-top: 1px solid # | border-top: 1px solid #aaa; | ||
padding: 0.4em 0.6em 0.2em 0.6em; | padding: 0.4em 0.6em 0.2em 0.6em; | ||
} | } | ||
| Line 483: | Line 435: | ||
.infobox.geography .mergedbottomrow th { | .infobox.geography .mergedbottomrow th { | ||
border-top: 0; | border-top: 0; | ||
border-bottom: 1px solid # | border-bottom: 1px solid #aaa; | ||
padding: 0 0.6em 0.4em 0.6em; | padding: 0 0.6em 0.4em 0.6em; | ||
} | } | ||
| Line 508: | Line 460: | ||
} | } | ||
/* ...unless they also use the hlist class */ | /* ...unless they also use the hlist class */ | ||
.wikitable.hlist td ul, | .wikitable.hlist td ul, | ||
.wikitable.hlist td ol, | .wikitable.hlist td ol, | ||
| Line 525: | Line 475: | ||
} | } | ||
/* Fix for hieroglyphs specificality issue in infoboxes ([[ | /* Fix for hieroglyphs specificality issue in infoboxes ([[Bugzilla:41869]]) */ | ||
table.mw-hiero-table td { | table.mw-hiero-table td { | ||
vertical-align: middle; | vertical-align: middle; | ||
| Line 565: | Line 515: | ||
div#mw_content a[href*=".PDF?"].external, | div#mw_content a[href*=".PDF?"].external, | ||
div#mw_content a[href*=".PDF#"].external { | div#mw_content a[href*=".PDF#"].external { | ||
background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right; | |||
/* @noflip */ | |||
padding-right: 18px; | |||
} | |||
/* Change the external link icon to an Adobe icon anywhere the PDFlink class | |||
is used (notably Template:PDFlink). This works in IE, unlike the above. */ | |||
div#content span.PDFlink a, | |||
div#mw_content span.PDFlink a { | |||
background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right; | background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right; | ||
/* @noflip */ | /* @noflip */ | ||
| Line 598: | Line 557: | ||
/* Messagebox templates */ | /* Messagebox templates */ | ||
.messagebox { | .messagebox { | ||
border: 1px solid # | border: 1px solid #aaa; | ||
background-color: # | background-color: #f9f9f9; | ||
width: 80%; | width: 80%; | ||
margin: 0 auto 1em auto; | margin: 0 auto 1em auto; | ||
| Line 678: | Line 637: | ||
table.ambox { | table.ambox { | ||
margin: 0 10%; /* 10% = Will not overlap with other elements */ | margin: 0 10%; /* 10% = Will not overlap with other elements */ | ||
border: 1px solid # | border: 1px solid #aaa; | ||
/* @noflip */ | /* @noflip */ | ||
border-left: 10px solid # | border-left: 10px solid #1e90ff; /* Default "notice" blue */ | ||
background: #fbfbfb; | background: #fbfbfb; | ||
} | } | ||
| Line 701: | Line 660: | ||
table.ambox-notice { | table.ambox-notice { | ||
/* @noflip */ | /* @noflip */ | ||
border-left: 10px solid # | border-left: 10px solid #1e90ff; /* Blue */ | ||
} | } | ||
table.ambox-speedy { | table.ambox-speedy { | ||
/* @noflip */ | /* @noflip */ | ||
border-left: 10px solid # | border-left: 10px solid #b22222; /* Red */ | ||
background: # | background: #fee; /* Pink */ | ||
} | } | ||
table.ambox-delete { | table.ambox-delete { | ||
/* @noflip */ | /* @noflip */ | ||
border-left: 10px solid # | border-left: 10px solid #b22222; /* Red */ | ||
} | } | ||
table.ambox-content { | table.ambox-content { | ||
| Line 718: | Line 677: | ||
table.ambox-style { | table.ambox-style { | ||
/* @noflip */ | /* @noflip */ | ||
border-left: 10px solid # | border-left: 10px solid #f4c430; /* Yellow */ | ||
} | } | ||
table.ambox-move { | table.ambox-move { | ||
| Line 726: | Line 685: | ||
table.ambox-protection { | table.ambox-protection { | ||
/* @noflip */ | /* @noflip */ | ||
border-left: 10px solid # | border-left: 10px solid #bba; /* Gray-gold */ | ||
} | } | ||
| Line 733: | Line 692: | ||
margin: 4px 10%; | margin: 4px 10%; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
border: 3px solid # | border: 3px solid #1e90ff; /* Default "notice" blue */ | ||
background: #fbfbfb; | background: #fbfbfb; | ||
} | } | ||
| Line 745: | Line 704: | ||
table.imbox-notice { | table.imbox-notice { | ||
border: 3px solid # | border: 3px solid #1e90ff; /* Blue */ | ||
} | } | ||
table.imbox-speedy { | table.imbox-speedy { | ||
border: 3px solid # | border: 3px solid #b22222; /* Red */ | ||
background: # | background: #fee; /* Pink */ | ||
} | } | ||
table.imbox-delete { | table.imbox-delete { | ||
border: 3px solid # | border: 3px solid #b22222; /* Red */ | ||
} | } | ||
table.imbox-content { | table.imbox-content { | ||
| Line 758: | Line 717: | ||
} | } | ||
table.imbox-style { | table.imbox-style { | ||
border: 3px solid # | border: 3px solid #f4c430; /* Yellow */ | ||
} | } | ||
table.imbox-move { | table.imbox-move { | ||
| Line 764: | Line 723: | ||
} | } | ||
table.imbox-protection { | table.imbox-protection { | ||
border: 3px solid # | border: 3px solid #bba; /* Gray-gold */ | ||
} | } | ||
table.imbox-license { | table.imbox-license { | ||
| Line 778: | Line 737: | ||
margin: 3px 10%; | margin: 3px 10%; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
border: 1px solid # | border: 1px solid #aaa; | ||
background: #DFE8FF; /* Default "notice" blue */ | background: #DFE8FF; /* Default "notice" blue */ | ||
} | } | ||
| Line 788: | Line 747: | ||
margin-top: 4px; | margin-top: 4px; | ||
margin-bottom: 4px; | margin-bottom: 4px; | ||
border: 4px solid # | border: 4px solid #b22222; /* Red */ | ||
background: #FFDBDB; /* Pink */ | background: #FFDBDB; /* Pink */ | ||
} | } | ||
| Line 811: | Line 770: | ||
margin: 4px 10%; | margin: 4px 10%; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
border: 1px solid # | border: 1px solid #aaa; /* Default "notice" gray */ | ||
background: # | background: #f9f9f9; | ||
} | } | ||
table.ombox-notice { | table.ombox-notice { | ||
border: 1px solid # | border: 1px solid #aaa; /* Gray */ | ||
} | } | ||
table.ombox-speedy { | table.ombox-speedy { | ||
border: 2px solid # | border: 2px solid #b22222; /* Red */ | ||
background: # | background: #fee; /* Pink */ | ||
} | } | ||
table.ombox-delete { | table.ombox-delete { | ||
border: 2px solid # | border: 2px solid #b22222; /* Red */ | ||
} | } | ||
table.ombox-content { | table.ombox-content { | ||
| Line 829: | Line 788: | ||
} | } | ||
table.ombox-style { | table.ombox-style { | ||
border: 1px solid # | border: 1px solid #f4c430; /* Yellow */ | ||
} | } | ||
table.ombox-move { | table.ombox-move { | ||
| Line 835: | Line 794: | ||
} | } | ||
table.ombox-protection { | table.ombox-protection { | ||
border: 2px solid # | border: 2px solid #bba; /* Gray-gold */ | ||
} | } | ||
| Line 855: | Line 814: | ||
table.tmbox-speedy { | table.tmbox-speedy { | ||
border: 2px solid # | border: 2px solid #b22222; /* Red */ | ||
background: # | background: #fee; /* Pink */ | ||
} | } | ||
table.tmbox-delete { | table.tmbox-delete { | ||
border: 2px solid # | border: 2px solid #b22222; /* Red */ | ||
} | } | ||
table.tmbox-content { | table.tmbox-content { | ||
| Line 865: | Line 824: | ||
} | } | ||
table.tmbox-style { | table.tmbox-style { | ||
border: 2px solid # | border: 2px solid #f4c430; /* Yellow */ | ||
} | } | ||
table.tmbox-move { | table.tmbox-move { | ||
| Line 889: | Line 848: | ||
margin: 0.2em 0; | margin: 0.2em 0; | ||
width: 100%; | width: 100%; | ||
border: 1px solid # | border: 1px solid #aaa; | ||
background: # | background: #f9f9f9; /* Default "system" gray */ | ||
} | } | ||
table.fmbox-system { | table.fmbox-system { | ||
background: # | background: #f9f9f9; | ||
} | } | ||
table.fmbox-warning { | table.fmbox-warning { | ||
| Line 907: | Line 866: | ||
div.mw-cascadeprotectedwarning, | div.mw-cascadeprotectedwarning, | ||
div#mw-protect-cascadeon, | div#mw-protect-cascadeon, | ||
div.titleblacklist | div.titleblacklist-warning { | ||
clear: both; | clear: both; | ||
margin: 0.2em 0; | margin: 0.2em 0; | ||
| Line 921: | Line 879: | ||
clear: both; | clear: both; | ||
margin: 0.2em 0; | margin: 0.2em 0; | ||
border: 1px solid # | border: 1px solid #aaa; | ||
background: # | background: #f9f9f9; | ||
padding: 0.25em 0.9em; | padding: 0.25em 0.9em; | ||
} | } | ||
/* These mbox-small classes must be placed after all other | /* These mbox-small classes must be placed after all other | ||
ambox/tmbox/ombox etc classes. " | ambox/tmbox/ombox etc classes. "body.mediawiki" is so | ||
they override "table.ambox + table.ambox" above. */ | they override "table.ambox + table.ambox" above. */ | ||
body.mediawiki table.mbox-small { /* For the "small=yes" option. */ | |||
/* @noflip */ | /* @noflip */ | ||
clear: right; | clear: right; | ||
| Line 936: | Line 894: | ||
/* @noflip */ | /* @noflip */ | ||
margin: 4px 0 4px 1em; | margin: 4px 0 4px 1em; | ||
width: 238px; | width: 238px; | ||
font-size: 88%; | font-size: 88%; | ||
line-height: 1.25em; | line-height: 1.25em; | ||
} | } | ||
body.mediawiki table.mbox-small-left { /* For the "small=left" option. */ | |||
/* @noflip */ | /* @noflip */ | ||
margin: 4px 1em 4px 0; | margin: 4px 1em 4px 0; | ||
width: 238px; | width: 238px; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
| Line 983: | Line 938: | ||
line-height: 1.5em; | line-height: 1.5em; | ||
list-style-type: square; | list-style-type: square; | ||
list-style-image: url(/ | list-style-image: url(//bits.wikimedia.org/static-current/skins/common/images/bullet.gif); | ||
} | } | ||
.skin-vector .compact-ambox table .mbox-text-span { | .skin-vector .compact-ambox table .mbox-text-span { | ||
list-style-type: | list-style-type: circle; | ||
list-style-image: url(/ | list-style-image: url(//bits.wikimedia.org/static-current/skins/Vector/images/bullet-icon.png) | ||
} | } | ||
/* Allow for hiding text in compact form */ | /* Allow for hiding text in compact form */ | ||
| Line 1,043: | Line 997: | ||
margin: 0; | margin: 0; | ||
padding: 4px; | padding: 4px; | ||
border: 1px solid # | border: 1px solid #aaa; | ||
text-align: center; | text-align: center; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
| Line 1,060: | Line 1,014: | ||
} | } | ||
div.NavFrame div.NavHead { | div.NavFrame div.NavHead { | ||
height: 1.6em; | |||
font-weight: bold; | font-weight: bold; | ||
background-color: #ccf; | background-color: #ccf; | ||
| Line 1,086: | Line 1,040: | ||
/* Hatnotes and disambiguation notices */ | /* Hatnotes and disambiguation notices */ | ||
.rellink, | |||
.dablink, | |||
.hatnote { | .hatnote { | ||
font-style: italic; | font-style: italic; | ||
} | } | ||
.rellink i, | |||
.dablink i, | |||
.hatnote i { | .hatnote i { | ||
font-style: normal; | font-style: normal; | ||
} | } | ||
div.rellink, | |||
div.dablink, | |||
div.hatnote { | div.hatnote { | ||
/* @noflip */ | /* @noflip */ | ||
padding-left: 1.6em; | padding-left: 1.6em; | ||
margin-bottom: 0.5em; | margin-bottom: 0.5em; | ||
} | } | ||
/* Allow transcluded pages to display in lists rather than a table. */ | /* Allow transcluded pages to display in lists rather than a table. | ||
Compatible in Firefox; incompatible in IE6. */ | |||
.listify td { display: list-item; } | .listify td { display: list-item; } | ||
.listify tr { display: block; } | .listify tr { display: block; } | ||
| Line 1,113: | Line 1,071: | ||
.longitude, .latitude { white-space: nowrap; } | .longitude, .latitude { white-space: nowrap; } | ||
/* When <div class="nonumtoc"> is used on the table of contents, | /* When <div class="nonumtoc"> is used on the table of contents, | ||
the ToC will display without numbers */ | the ToC will display without numbers */ | ||
| Line 1,151: | Line 1,104: | ||
/* Styling for Template:Quote */ | /* Styling for Template:Quote */ | ||
blockquote.templatequote { | |||
margin-top: 0; | |||
} | |||
blockquote.templatequote div.templatequotecite { | blockquote.templatequote div.templatequotecite { | ||
line-height: 1.5em; | line-height: 1.5em; | ||
| Line 1,171: | Line 1,127: | ||
1) Where desired | 1) Where desired | ||
2) Links when we don't want them to | 2) Links when we don't want them to | ||
3) Bold "links" to the page itself */ | 3) Bold "links" to the page itself | ||
4) Ref tags with group names <ref group="Note"> --> "[Note 1]" */ | |||
.nowrap, | .nowrap, | ||
.nowraplinks a, | .nowraplinks a, | ||
.nowraplinks .selflink { | .nowraplinks .selflink, | ||
sup.reference a { | |||
white-space: nowrap; | white-space: nowrap; | ||
} | } | ||
/* But allow wrapping where desired: */ | /* But allow wrapping where desired: */ | ||
| Line 1,190: | Line 1,145: | ||
clear: both; | clear: both; | ||
margin: 1em 0 0 0; | margin: 1em 0 0 0; | ||
border: 1px solid # | border: 1px solid #aaa; | ||
background-color: #ecfcf4; | background-color: #ecfcf4; | ||
padding: 1em; | padding: 1em; | ||
} | |||
/* Inline divs in ImageMaps (code borrowed from de.wiki) */ | |||
.imagemap-inline div { | |||
display: inline; | |||
} | } | ||
| Line 1,203: | Line 1,163: | ||
.thumbinner { | .thumbinner { | ||
min-width: 100px; | min-width: 100px; | ||
} | |||
/* Makes the background of a framed image white instead of gray. | |||
Only visible with transparent images. */ | |||
div.thumb .thumbimage { | |||
background-color: #fff; | |||
} | } | ||
| Line 1,208: | Line 1,174: | ||
div#content .gallerybox div.thumb { | div#content .gallerybox div.thumb { | ||
/* Light gray padding */ | /* Light gray padding */ | ||
background-color: # | background-color: #F9F9F9; | ||
} | } | ||
/* Put a chequered background behind images, only visible if they have transparency. | /* Put a chequered background behind images, only visible if they have transparency. | ||
| Line 1,228: | Line 1,194: | ||
#filehistory, #wikiPreview, #wikiDiff { | #filehistory, #wikiPreview, #wikiDiff { | ||
clear: both; | clear: both; | ||
} | |||
body.rtl #mw-articlefeedbackv5, body.rtl #mw-articlefeedback { | |||
display: block; /* Override inline block mode */ | |||
margin-bottom: 1em; | |||
/* @noflip */ | |||
clear: right; /* Clear any info boxes that stick out */ | |||
/* @noflip */ | |||
float: right; /* Prevents margin collapsing */ | |||
} | } | ||
| Line 1,238: | Line 1,213: | ||
/* Styling for Abuse Filter tags */ | /* Styling for Abuse Filter tags */ | ||
.mw-tag-markers { | .mw-tag-markers { | ||
font-family:sans-serif; | |||
font-style:italic; | font-style:italic; | ||
font-size:90%; | font-size:90%; | ||
| Line 1,244: | Line 1,220: | ||
/* Hide stuff meant for accounts with special permissions. Made visible again in | /* Hide stuff meant for accounts with special permissions. Made visible again in | ||
[[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-accountcreator.css]], | [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-accountcreator.css]], | ||
[[MediaWiki:Group-templateeditor | [[MediaWiki:Group-templateeditor.css]] and [[Mediawiki:Group-autoconfirmed.css]]. */ | ||
.sysop-show, | .sysop-show, | ||
.accountcreator-show, | .accountcreator-show, | ||
.templateeditor-show, | .templateeditor-show, | ||
.autoconfirmed-show { | |||
.autoconfirmed | |||
display: none; | display: none; | ||
} | } | ||
| Line 1,257: | Line 1,231: | ||
* Hide the redlink generated by {{Editnotice}}, | * Hide the redlink generated by {{Editnotice}}, | ||
* this overrides the ".sysop-show { display: none; }" above that applies | * this overrides the ".sysop-show { display: none; }" above that applies | ||
* to the same link as well. | * to the same link as well. | ||
* | * | ||
* | * See [[bugzilla:43013]]. | ||
*/ | */ | ||
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink | .ve-ui-mwNoticesPopupTool-item .editnotice-redlink { | ||
display: none !important; | display: none !important; | ||
} | } | ||
| Line 1,276: | Line 1,247: | ||
} | } | ||
/* Pie chart: | /* No linewrap on the labels of the login/signup page */ | ||
body.page-Special_UserLogin .mw-label label, | |||
body.page-Special_UserLogin_signup .mw-label label { | |||
white-space: nowrap; | |||
} | |||
/* Pie chart test: Transparent borders */ | |||
.transborder { | .transborder { | ||
border: solid transparent; | border: solid transparent; | ||
} | |||
* html .transborder { /* IE6 */ | |||
border: solid #000001; | |||
filter: chroma(color=#000001); | |||
} | |||
/* Styling for updated markers on watchlist, history and recent/related changes. | |||
Bullets are handled in skin-specific stylesheets. */ | |||
.updatedmarker { | |||
background-color: transparent; | |||
color: #006400; | |||
} | |||
li.mw-changeslist-line-watched .mw-title, | |||
table.mw-changeslist-line-watched .mw-title, | |||
table.mw-enhanced-watch .mw-enhanced-rctime { | |||
font-weight: normal; | |||
} | } | ||
| Line 1,286: | Line 1,279: | ||
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif; | font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif; | ||
font-size: 118%; | font-size: 118%; | ||
line-height: 1; | line-height: 1.35em; | ||
} | } | ||
span.texhtml { | span.texhtml { | ||
| Line 1,293: | Line 1,286: | ||
span.texhtml span.texhtml { | span.texhtml span.texhtml { | ||
font-size: 100%; | font-size: 100%; | ||
} | } | ||
| Line 1,301: | Line 1,291: | ||
.digits, | .digits, | ||
.texhtml { | .texhtml { | ||
-moz-font-feature-settings: "lnum", "tnum" | -moz-font-feature-settings: "lnum", "tnum"; | ||
-webkit-font-feature-settings: "lnum", "tnum" | -webkit-font-feature-settings: "lnum", "tnum"; | ||
font-feature-settings: "lnum", "tnum" | font-feature-settings: "lnum", "tnum"; | ||
} | } | ||
/* | /* Display tabs with 4 spaces, see [[Bugzilla:57824]] and [[Bugzilla:57825]] */ | ||
. | div.mw-geshi div, | ||
. | div.mw-geshi div pre, | ||
span.mw-geshi, | |||
pre.source-css, | |||
pre.source-javascript, | |||
pre.source-lua { | |||
-moz-tab-size: 4; | |||
-o-tab-size: 4; | |||
tab-size: 4; | |||
} | } | ||
| Line 1,365: | Line 1,354: | ||
} | } | ||
/* | /* For announcements */ | ||
#bodyContent .letterhead { | #bodyContent .letterhead { | ||
background-image:url('//upload.wikimedia.org/wikipedia/commons/e/e0/Tan-page-corner.png'); | background-image:url('//upload.wikimedia.org/wikipedia/commons/e/e0/Tan-page-corner.png'); | ||
| Line 1,383: | Line 1,372: | ||
list-style-type: none; | list-style-type: none; | ||
list-style-image: none; | list-style-image: none; | ||
zoom: 1; /* BE KIND TO IE6 */; | |||
} | } | ||
.treeview li li { | .treeview li li { | ||
| Line 1,409: | Line 1,399: | ||
/* Make it possible to hide checkboxes in <inputbox> */ | /* Make it possible to hide checkboxes in <inputbox> */ | ||
.inputbox-hidecheckboxes form .inputbox-element | .inputbox-hidecheckboxes form .inputbox-element { | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* | /* Hide charinsert base for those not using the gadget */ | ||
#editpage-specialchars { | |||
display: none; | |||
} | |||
/* work-around for [[bugzilla:23965]] (Kaltura advertisement) */ | |||
.k-player .k-attribution { | .k-player .k-attribution { | ||
visibility: hidden; | visibility: hidden; | ||
} | } | ||
/* | /* workaround to keep editnotices readable in VE view. | ||
. | Long term, editnotices should become a core feature so that they can be designed responsive. */ | ||
.mw-ve-editNotice .mbox-image { | |||
display: none; | |||
} | } | ||
/* | /* [[MediaZilla:35337]] */ | ||
. | @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) { | ||
. | #p-logo a { | ||
background-image: url("http://wiki.raythe.org/images/b/bc/Wiki.png") !important; | |||
background-size: 136px auto; | |||
} | |||
} | |||
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) { | |||
#p-logo a { | |||
background-image: url("http://wiki.raythe.org/images/b/bc/Wiki.png") !important; | |||
background-size: 135px auto; | |||
} | |||
} | } | ||