MediaWiki:Common.css: Difference between revisions
Content deleted Content added
Psephomancy (talk | contribs) Try PDF external icons |
Psephomancy (talk | contribs) not sure if this works |
||
Line 29: | Line 29: | ||
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; |
background: url("http://upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right; |
||
/* @noflip */ |
/* @noflip */ |
||
padding-right: 18px; |
padding-right: 18px; |
Revision as of 00:39, 2 September 2018
/* CSS placed here will be applied to all skins */
/* For Template:Reflist */
/* Make the list of references smaller */
ol.references,
div.reflist {
font-size: 90%; /* Default font-size */
margin-bottom: 0.5em;
}
div.reflist ol.references {
font-size: 100%; /* Reset font-size when nested in div.reflist */
margin-bottom: 0; /* Avoid double margin when nested in div.reflist */
list-style-type: inherit; /* Enable custom list style types */
}
/* Change the external link icon to an Adobe icon for all PDF files */
div#content a[href$=".pdf"].external,
div#content a[href*=".pdf?"].external,
div#content a[href*=".pdf#"].external,
div#content a[href$=".PDF"].external,
div#content a[href*=".PDF?"].external,
div#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,
div#mw_content a[href$=".PDF"].external,
div#mw_content a[href*=".PDF?"].external,
div#mw_content a[href*=".PDF#"].external {
background: url("http://upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
/* @noflip */
padding-right: 18px;
}