Difference between revisions of "MediaWiki:Common.css"
(Created page with "→CSS placed here will be applied to all skins: →Change the external link icon to an Adobe icon for all PDF files: div#content a[href$=".pdf"].external, div#content...") |
|||
Line 1: | Line 1: | ||
− | /* CSS placed here will be applied to all skins */ | + | <div class="mw-parser-output">/* CSS placed here will be applied to all skins */ |
+ | | ||
− | + | /* Change the external link icon to an Adobe icon for all PDF files */ div#content a[href$=".pdf"], div#content a[href*=".pdf?"], div#content a[href*=".pdf#"], div#content a[href$=".PDF"], div#content a[href*=".PDF?"], div#content a[href*=".PDF#"], div#mw_content a[href$=".pdf"], div#mw_content a[href*=".pdf?"], div#mw_content a[href*=".pdf#"], div#mw_content a[href$=".PDF"], div#mw_content a[href*=".PDF?"], div#mw_content a[href*=".PDF#"] { background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right; /* @noflip */ padding-right: 18px; } | |
− | + | </div> | |
− | /* Change the external link icon to an Adobe icon for all PDF files */ | ||
− | div#content a[href$=".pdf"] | ||
− | div#content a[href*=".pdf?"] | ||
− | div#content a[href*=".pdf#"] | ||
− | div#content a[href$=".PDF"] | ||
− | div#content a[href*=".PDF?"] | ||
− | div#content a[href*=".PDF#"] | ||
− | div#mw_content a[href$=".pdf"] | ||
− | div#mw_content a[href*=".pdf?"] | ||
− | div#mw_content a[href*=".pdf#"] | ||
− | div#mw_content a[href$=".PDF"] | ||
− | div#mw_content a[href*=".PDF?"] | ||
− | div#mw_content a[href*=".PDF#"] | ||
− | |||
− | |||
− | |||
− |
Revision as of 08:00, 21 November 2018
<div class="mw-parser-output">/* CSS placed here will be applied to all skins */ /* Change the external link icon to an Adobe icon for all PDF files */ div#content a[href$=".pdf"], div#content a[href*=".pdf?"], div#content a[href*=".pdf#"], div#content a[href$=".PDF"], div#content a[href*=".PDF?"], div#content a[href*=".PDF#"], div#mw_content a[href$=".pdf"], div#mw_content a[href*=".pdf?"], div#mw_content a[href*=".pdf#"], div#mw_content a[href$=".PDF"], div#mw_content a[href*=".PDF?"], div#mw_content a[href*=".PDF#"] { background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right; /* @noflip */ padding-right: 18px; } </div>