Difference between revisions of "MediaWiki:Common.css"

From ACEs & Resilience Resource Commons for Communities
Jump to: navigation, search
Line 1: Line 1:
/* Change the external 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"],
div#content a[href$=".pdf"],
+
#mw_content a[href*=".pdf?"],
 
+
#mw_content a[href*=".pdf#"],
div#content a[href*=".pdf?"],
+
#mw_content a[href$=".PDF"],
 
+
#mw_content a[href*=".PDF?"],
div#content a[href*=".pdf#"],
+
#mw_content a[href*=".PDF#"] {
 
+
background: url("http://ifi-wikis.com/arrcc/images/b/b7/Very-small-icon-pdf.png")no-repeat right; /* @noflip */ padding-right: 30px;
div#content a[href$=".PDF"],
+
}
 
+
/* Change the link icon to an Adobe icon for all doc files */
div#content a[href*=".PDF?"],
+
#mw_content a[href$=".doc"],
 
+
#mw_content a[href*=".doc?"],
div#content a[href*=".PDF#"],
+
#mw_content a[href*=".doc#"],
 
+
#mw_content a[href$=".DOC"],
div#mw_content a[href$=".pdf"],
+
#mw_content a[href*=".DOC?"],
 
+
#mw_content a[href*=".DOC#"] {
div#mw_content a[href*=".pdf?"],
+
background: url("http://ifi-wikis.com/arrcc/images/c/c8/Very-small-icon-word.png")no-repeat right; /* @noflip */ padding-right: 30px;
 
+
}
div#mw_content a[href*=".pdf#"],
+
/* Change the link icon to an Adobe icon for all doc files */
 
+
#mw_content a[href$=".docx"],
div#mw_content a[href$=".PDF"],
+
#mw_content a[href*=".docx?"],
 
+
#mw_content a[href*=".docx#"],
div#mw_content a[href*=".PDF?"],
+
#mw_content a[href$=".DOCX"],
 
+
#mw_content a[href*=".DOCX?"],
div#mw_content a[href*=".PDF#"]  
+
#mw_content a[href*=".DOCX#"] {
 
+
background: url("http://ifi-wikis.com/arrcc/images/c/c8/Very-small-icon-word.png")no-repeat right; /* @noflip */ padding-right: 30px;
{ background: url("http://IFI-wikis.com/wiki-template/images/e/e5/small-icon-pdf.png") no-repeat right; /* @noflip */ padding-right: 18px; }
+
}
 +
/* Change the link icon to an Adobe icon for all doc 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#"] {
 +
background: url("http://ifi-wikis.com/arrcc/images/1/19/Very-small-icon-excel.png")no-repeat right; /* @noflip */ padding-right: 30px;
 +
}/* Change the link icon to an Adobe icon for all doc files */
 +
#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#"] {
 +
background: url("http://ifi-wikis.com/arrcc/images/1/19/Very-small-icon-excel.png")no-repeat right; /* @noflip */ padding-right: 30px;
 +
}
 +
/* Change the link icon to an Adobe icon for all doc 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#"] {
 +
background: url("http://ifi-wikis.com/arrcc/images/d/d2/Very-small-icon-ppt.png")no-repeat right; /* @noflip */ padding-right: 30px;
 +
}
 +
/* Change the link icon to an Adobe icon for all doc files */
 +
#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#"] {
 +
background: url("http://ifi-wikis.com/arrcc/images/d/d2/Very-small-icon-ppt.png")no-repeat right; /* @noflip */ padding-right: 30px;  
 +
}

Revision as of 05:40, 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/b/b7/Very-small-icon-pdf.png")no-repeat right; /* @noflip */ padding-right: 30px; 
}
/* Change the link icon to an Adobe icon for all doc 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#"] {
	background: url("http://ifi-wikis.com/arrcc/images/c/c8/Very-small-icon-word.png")no-repeat right; /* @noflip */ padding-right: 30px; 
}
/* Change the link icon to an Adobe icon for all doc files */
#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#"] {
	background: url("http://ifi-wikis.com/arrcc/images/c/c8/Very-small-icon-word.png")no-repeat right; /* @noflip */ padding-right: 30px; 
}
/* Change the link icon to an Adobe icon for all doc 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#"] {
	background: url("http://ifi-wikis.com/arrcc/images/1/19/Very-small-icon-excel.png")no-repeat right; /* @noflip */ padding-right: 30px; 
}/* Change the link icon to an Adobe icon for all doc files */
#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#"] {
	background: url("http://ifi-wikis.com/arrcc/images/1/19/Very-small-icon-excel.png")no-repeat right; /* @noflip */ padding-right: 30px; 
}
/* Change the link icon to an Adobe icon for all doc 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#"] {
	background: url("http://ifi-wikis.com/arrcc/images/d/d2/Very-small-icon-ppt.png")no-repeat right; /* @noflip */ padding-right: 30px; 
}
/* Change the link icon to an Adobe icon for all doc files */
#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#"] {
	background: url("http://ifi-wikis.com/arrcc/images/d/d2/Very-small-icon-ppt.png")no-repeat right; /* @noflip */ padding-right: 30px; 
}