Difference between revisions of "MediaWiki:Common.css"

From ACEs & Resilience Resource Commons for Communities
Jump to: navigation, search
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="mw-parser-output"><div class="mw-parser-output">/* CSS placed here will be applied to all skins */
+
/* Change the link icon to an Adobe icon for all PDF files */
&nbsp;
+
#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#"],
 +
#content a[href$=".pdf"],
 +
#content a[href*=".pdf?"],
 +
#content a[href*=".pdf#"],
 +
#content a[href$=".PDF"],
 +
#content a[href*=".PDF?"],
 +
#content a[href*=".PDF#"] {
  
/* 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("//IFI-wikis.com/wiki-template/images/e/e5/small-icon-pdf.png") no-repeat right; /* @noflip */ padding-right: 18px; }
+
background-image: url("http://ifi-wikis.com/image-repository/Micro-icon-pdf.png"); background-repeat: no-repeat; background-position: right; padding-right: 18px; background-size: auto}
</div> </div>
+
/* Change the link icon to an Adobe icon for all MS-Word files */
 +
 
 +
#mw_content a[href$=".doc"],
 +
#mw_content a[href*=".doc?"],
 +
#mw_content a[href*=".doc#"],
 +
#mw_content a[href$=".DOC"],
 +
#mw_content a[href*=".DOC?"],
 +
#mw_content a[href*=".DOC#"],
 +
#mw_content a[href$=".docx"],
 +
#mw_content a[href*=".docx?"],
 +
#mw_content a[href*=".docx#"],
 +
#mw_content a[href$=".DOCX"],
 +
#mw_content a[href*=".DOCX?"],
 +
#mw_content a[href*=".DOCX#"],
 +
#content a[href$=".doc"],
 +
#content a[href*=".doc?"],
 +
#content a[href*=".doc#"],
 +
#content a[href$=".DOC"],
 +
#content a[href*=".DOC?"],
 +
#content a[href*=".DOC#"],
 +
#content a[href$=".docx"],  
 +
#content a[href*=".docx?"],  
 +
#content a[href*=".docx#"],  
 +
#content a[href$=".DOCX"],  
 +
#content a[href*=".DOCX?"],  
 +
#content a[href*=".DOCX#"] {
 +
 
 +
background-image: url("http://ifi-wikis.com/image-repository/Tiny-icon-word.png"); background-repeat: no-repeat; background-position: right; padding-right: 18px; background-size: auto}
 +
/* Change the link icon to an Adobe icon for all MS-Excel files */
 +
 
 +
#mw_content a[href$=".xlsx"],
 +
#mw_content a[href*=".xlsx?"],
 +
#mw_content a[href*=".xlsx#"],  
 +
#mw_content a[href$=".XLSX"],
 +
#mw_content a[href*=".XLSX?"],
 +
#mw_content a[href*=".XLSX#"],
 +
#mw_content a[href$=".xls"],  
 +
#mw_content a[href*=".xls?"],  
 +
#mw_content a[href*=".xls#"],  
 +
#mw_content a[href$=".XLS"],  
 +
#mw_content a[href*=".XLS?"],  
 +
#mw_content a[href*=".XLS#"],
 +
#content a[href$=".xlsx"],
 +
#content a[href*=".xlsx?"],
 +
#content a[href*=".xlsx#"],
 +
#content a[href$=".XLSX"],
 +
#content a[href*=".XLSX?"],
 +
#content a[href*=".XLSX#"],
 +
#content a[href$=".xls"],
 +
#content a[href*=".xls?"],
 +
#content a[href*=".xls#"],
 +
#content a[href$=".XLS"],
 +
#content a[href*=".XLS?"],
 +
#content a[href*=".XLS#"] {  
 +
 
 +
background-image: url("http://ifi-wikis.com/image-repository/Tiny-icon-excel.png"); background-repeat: no-repeat; background-position: right; padding-right: 28px; background-size: auto }
 +
/* Change the link icon to an Adobe icon for all MS-PowerPoint files */
 +
 
 +
#mw_content a[href$=".pptx"],
 +
#mw_content a[href*=".pptx?"],
 +
#mw_content a[href*=".pptx#"],
 +
#mw_content a[href$=".PPTX"],
 +
#mw_content a[href*=".PPTX?"],
 +
#mw_content a[href*=".PPTX#"],
 +
#mw_content a[href$=".ppt"],
 +
#mw_content a[href*=".ppt?"],
 +
#mw_content a[href*=".ppt#"],
 +
#mw_content a[href$=".PPT"],
 +
#mw_content a[href*=".PPT?"],
 +
#mw_content a[href*=".PPT#"],
 +
#content a[href$=".pptx"],
 +
#content a[href*=".pptx?"],
 +
#content a[href*=".pptx#"],
 +
#content a[href$=".PPTX"],
 +
#content a[href*=".PPTX?"],
 +
#content a[href*=".PPTX#"],
 +
#content a[href$=".ppt"],
 +
#content a[href*=".ppt?"],
 +
#content a[href*=".ppt#"],
 +
#content a[href$=".PPT"],
 +
#content a[href*=".PPT?"],
 +
#content a[href*=".PPT#"] {
 +
 
 +
background-image: url("http://ifi-wikis.com/image-repository/Tiny-icon-ppt.png"); background-repeat: no-repeat; background-position: right; padding-right: 28px; background-size: auto}

Latest revision as of 22:02, 28 March 2022

/* 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#"], 
#content a[href$=".pdf"], 
#content a[href*=".pdf?"], 
#content a[href*=".pdf#"], 
#content a[href$=".PDF"], 
#content a[href*=".PDF?"], 
#content a[href*=".PDF#"] { 

background-image: url("http://ifi-wikis.com/image-repository/Micro-icon-pdf.png"); background-repeat: no-repeat; background-position: right; padding-right: 18px; background-size: auto} 
/* Change the link icon to an Adobe icon for all MS-Word files */

#mw_content a[href$=".doc"], 
#mw_content a[href*=".doc?"], 
#mw_content a[href*=".doc#"], 
#mw_content a[href$=".DOC"], 
#mw_content a[href*=".DOC?"], 
#mw_content a[href*=".DOC#"], 
#mw_content a[href$=".docx"], 
#mw_content a[href*=".docx?"], 
#mw_content a[href*=".docx#"], 
#mw_content a[href$=".DOCX"], 
#mw_content a[href*=".DOCX?"], 
#mw_content a[href*=".DOCX#"], 
#content a[href$=".doc"], 
#content a[href*=".doc?"], 
#content a[href*=".doc#"], 
#content a[href$=".DOC"], 
#content a[href*=".DOC?"], 
#content a[href*=".DOC#"], 
#content a[href$=".docx"], 
#content a[href*=".docx?"], 
#content a[href*=".docx#"], 
#content a[href$=".DOCX"], 
#content a[href*=".DOCX?"], 
#content a[href*=".DOCX#"] { 

background-image: url("http://ifi-wikis.com/image-repository/Tiny-icon-word.png"); background-repeat: no-repeat; background-position: right; padding-right: 18px; background-size: auto} 
/* Change the link icon to an Adobe icon for all MS-Excel files */

#mw_content a[href$=".xlsx"], 
#mw_content a[href*=".xlsx?"], 
#mw_content a[href*=".xlsx#"], 
#mw_content a[href$=".XLSX"], 
#mw_content a[href*=".XLSX?"], 
#mw_content a[href*=".XLSX#"], 
#mw_content a[href$=".xls"], 
#mw_content a[href*=".xls?"], 
#mw_content a[href*=".xls#"], 
#mw_content a[href$=".XLS"], 
#mw_content a[href*=".XLS?"], 
#mw_content a[href*=".XLS#"], 
#content a[href$=".xlsx"], 
#content a[href*=".xlsx?"], 
#content a[href*=".xlsx#"], 
#content a[href$=".XLSX"], 
#content a[href*=".XLSX?"], 
#content a[href*=".XLSX#"], 
#content a[href$=".xls"], 
#content a[href*=".xls?"], 
#content a[href*=".xls#"], 
#content a[href$=".XLS"], 
#content a[href*=".XLS?"], 
#content a[href*=".XLS#"] { 

background-image: url("http://ifi-wikis.com/image-repository/Tiny-icon-excel.png"); background-repeat: no-repeat; background-position: right; padding-right: 28px; background-size: auto } 
/* Change the link icon to an Adobe icon for all MS-PowerPoint files */

#mw_content a[href$=".pptx"], 
#mw_content a[href*=".pptx?"], 
#mw_content a[href*=".pptx#"], 
#mw_content a[href$=".PPTX"], 
#mw_content a[href*=".PPTX?"], 
#mw_content a[href*=".PPTX#"], 
#mw_content a[href$=".ppt"], 
#mw_content a[href*=".ppt?"], 
#mw_content a[href*=".ppt#"], 
#mw_content a[href$=".PPT"], 
#mw_content a[href*=".PPT?"], 
#mw_content a[href*=".PPT#"], 
#content a[href$=".pptx"], 
#content a[href*=".pptx?"], 
#content a[href*=".pptx#"], 
#content a[href$=".PPTX"], 
#content a[href*=".PPTX?"], 
#content a[href*=".PPTX#"], 
#content a[href$=".ppt"], 
#content a[href*=".ppt?"], 
#content a[href*=".ppt#"], 
#content a[href$=".PPT"], 
#content a[href*=".PPT?"], 
#content a[href*=".PPT#"] { 

background-image: url("http://ifi-wikis.com/image-repository/Tiny-icon-ppt.png"); background-repeat: no-repeat; background-position: right; padding-right: 28px; background-size: auto}