Difference between revisions of "MediaWiki:Common.css"

From Media Wiki
Jump to: navigation, search
Line 1: Line 1:
<div class="mw-parser-output">/* Change the link icon to an Adobe icon for all PDF files */  
+
/* Change the link icon to an Adobe icon for all PDF files */
#mw_content a[href$=".pdf"],  
+
#mw_content a[href$=".pdf"],
#mw_content a[href*=".pdf?"],  
+
#mw_content a[href*=".pdf?"],
#mw_content a[href*=".pdf#"],  
+
#mw_content a[href*=".pdf#"],
#mw_content a[href$=".PDF"],  
+
#mw_content a[href$=".PDF"],
#mw_content a[href*=".PDF?"],  
+
#mw_content a[href*=".PDF?"],
#mw_content a[href*=".PDF#"] {  
+
#mw_content a[href*=".PDF#"] {
 
+
background: url("http://ifi-wikis.com/IFI-OpioidCrisis/images/e/e5/Small-icon-pdf.png")no-repeat right; /* @noflip */ padding-right: 30px;
background: url("[http://ifi-wikis.com/IFI-OpioidCrisis/images/e/e5/Small-icon-pdf.png http://ifi-wikis.com/IFI-OpioidCrisis/images/e/e5/Small-icon-pdf.png]")no-repeat right; /* @noflip */ padding-right: 30px;&nbsp;background-color: yellow; }
+
}
</div>
 

Revision as of 07:38, 22 November 2018

/* Change the link icon to an Adobe icon for all PDF files */
#mw_content a[href$=".pdf"],
#mw_content a[href*=".pdf?"],
#mw_content a[href*=".pdf#"],
#mw_content a[href$=".PDF"],
#mw_content a[href*=".PDF?"],
#mw_content a[href*=".PDF#"] {
	background: url("http://ifi-wikis.com/IFI-OpioidCrisis/images/e/e5/Small-icon-pdf.png")no-repeat right; /* @noflip */ padding-right: 30px;
}