Difference between revisions of "MediaWiki:Common.css"

From ACEs & Resilience Resource Commons for Communities
Jump to: navigation, search
Line 6: Line 6:
 
#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: 250px 100px; color: yellow; display: block;
+
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; display: block;
 
}
 
}

Revision as of 06:58, 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/arrcc/images/e/e5/Small-icon-pdf.png")no-repeat right; /* @noflip */ padding-right: 30px; background-size: 400px 50px; background-color: yellow; display: block;
}