Difference between revisions of "MediaWiki:Common.css"

From ACEs & Resilience Resource Commons for Communities
Jump to: navigation, search
Line 1: Line 1:
<div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output"><div class="mw-parser-output">/* CSS placed here will be applied to all skins */
 
&nbsp;
 
 
 
/* Change the external link icon to an Adobe icon for all PDF files */
 
/* Change the external link icon to an Adobe icon for all PDF files */
  
Line 26: Line 23:
 
div#mw_content a[href*=".PDF?"],
 
div#mw_content a[href*=".PDF?"],
  
div#mw_content a[href*=".PDF#"] { background: url("http://IFI-wikis.com/wiki-template/images/e/e5/small-icon-pdf.png") no-repeat right; /* @noflip */ padding-right: 18px; }
+
div#mw_content a[href*=".PDF#"]  
</div> </div> </div> </div>
+
 
 +
{ background: url("http://IFI-wikis.com/wiki-template/images/e/e5/small-icon-pdf.png") no-repeat right; /* @noflip */ padding-right: 18px; }

Revision as of 19:41, 21 November 2018

/* 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("http://IFI-wikis.com/wiki-template/images/e/e5/small-icon-pdf.png") no-repeat right; /* @noflip */ padding-right: 18px; }