Difference between revisions of "MediaWiki:Common.css"
| Line 7: | Line 7: | ||
#mw_content a[href*=".PDF#"] {    | #mw_content a[href*=".PDF#"] {    | ||
| − | background: url("http://ifi-wikis.com/IFI-OpioidCrisis/images/b/b7/Very-small-icon-pdf.png")no-repeat   | + | background-image: url("[http://ifi-wikis.com/IFI-OpioidCrisis/images/b/b7/Very-small-icon-pdf.png]")  | 
| + | 	background-position: center left;  | ||
| + | 	background-repeat: no-repeat;  | ||
| + | 	padding-left: 35px;  | ||
| + | 	height: 35px;  | ||
| + | 	display: inline-block;  | ||
| + | 	padding-top: 10px;  | ||
| + | }  | ||
/* Change the link icon to an Adobe icon for all doc files */  | /* Change the link icon to an Adobe icon for all doc files */  | ||
| Line 18: | Line 25: | ||
#mw_content a[href*=".DOC#"] {    | #mw_content a[href*=".DOC#"] {    | ||
| − | background: url("http://ifi-wikis.com/IFI-OpioidCrisis/images/c/c8/Very-small-icon-word.png")no-repeat right; /* @noflip */ padding-right: 30px; }    | + | background: url("[http://ifi-wikis.com/IFI-OpioidCrisis/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 */  | /* Change the link icon to an Adobe icon for all doc files */  | ||
| Line 29: | Line 36: | ||
#mw_content a[href*=".DOCX#"] {    | #mw_content a[href*=".DOCX#"] {    | ||
| − | background: url("http://ifi-wikis.com/IFI-OpioidCrisis/images/c/c8/Very-small-icon-word.png")no-repeat right; /* @noflip */ padding-right: 30px; }    | + | background: url("[http://ifi-wikis.com/IFI-OpioidCrisis/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 */  | /* Change the link icon to an Adobe icon for all doc files */  | ||
| Line 40: | Line 47: | ||
#mw_content a[href*=".XLSX#"] {    | #mw_content a[href*=".XLSX#"] {    | ||
| − | background: url("http://ifi-wikis.com/IFI-OpioidCrisis/images/1/19/Very-small-icon-excel.png")no-repeat right; /* @noflip */ padding-right: 30px; }  | + | background: url("[http://ifi-wikis.com/IFI-OpioidCrisis/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 */  | /* Change the link icon to an Adobe icon for all doc files */  | ||
| Line 51: | Line 58: | ||
#mw_content a[href*=".XLS#"] {    | #mw_content a[href*=".XLS#"] {    | ||
| − | background: url("http://ifi-wikis.com/IFI-OpioidCrisis/images/1/19/Very-small-icon-excel.png")no-repeat right; /* @noflip */ padding-right: 30px; }    | + | background: url("[http://ifi-wikis.com/IFI-OpioidCrisis/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 */  | /* Change the link icon to an Adobe icon for all doc files */  | ||
| Line 62: | Line 69: | ||
#mw_content a[href*=".PPTX#"] {    | #mw_content a[href*=".PPTX#"] {    | ||
| − | background: url("http://ifi-wikis.com/IFI-OpioidCrisis/images/d/d2/Very-small-icon-ppt.png")no-repeat right; /* @noflip */ padding-right: 30px; }    | + | background: url("[http://ifi-wikis.com/IFI-OpioidCrisis/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 */  | /* Change the link icon to an Adobe icon for all doc files */  | ||
| Line 73: | Line 80: | ||
#mw_content a[href*=".PPT#"] {    | #mw_content a[href*=".PPT#"] {    | ||
| − | background: url("http://ifi-wikis.com/IFI-OpioidCrisis/images/d/d2/Very-small-icon-ppt.png")no-repeat right; /* @noflip */ padding-right: 30px; }  | + | background: url("[http://ifi-wikis.com/IFI-OpioidCrisis/images/d/d2/Very-small-icon-ppt.png]")no-repeat right; /* @noflip */ padding-right: 30px; }  | 
Revision as of 06:16, 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-image: url("[http://ifi-wikis.com/IFI-OpioidCrisis/images/b/b7/Very-small-icon-pdf.png]")
	background-position: center left;
	background-repeat: no-repeat;
	padding-left: 35px;
	height: 35px;
	display: inline-block;
	padding-top: 10px;
}
/* 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/IFI-OpioidCrisis/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/IFI-OpioidCrisis/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/IFI-OpioidCrisis/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/IFI-OpioidCrisis/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/IFI-OpioidCrisis/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/IFI-OpioidCrisis/images/d/d2/Very-small-icon-ppt.png]")no-repeat right; /* @noflip */ padding-right: 30px; }