Difference between revisions of "MediaWiki:Common.css"

From ACEs & Resilience Resource Commons for Communities
Jump to: navigation, search
Line 1: Line 1:
/* Change the link icon to an Adobe icon for all PDF files */
+
<div class="mw-parser-output">/* 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/arrcc/images/e/e5/Small-icon-pdf.png")no-repeat right; /* @noflip */ padding-right: 30px; background-size: 400px 50px; background-color: yellow;
+
 
}
+
background: url("[http://ifi-wikis.com/arrcc/images/e/e5/Small-icon-pdf.png http://ifi-wikis.com/arrcc/images/e/e5/Small-icon-pdf.png]")no-repeat right; /* @noflip */ padding-right: 30px;&nbsp;background-color: yellow; }
 +
</div>

Revision as of 07:09, 22 November 2018

<div class="mw-parser-output">/* 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/arrcc/images/e/e5/Small-icon-pdf.png http://ifi-wikis.com/arrcc/images/e/e5/Small-icon-pdf.png]")no-repeat right; /* @noflip */ padding-right: 30px;&nbsp;background-color: yellow; }
</div>