Difference between revisions of "MediaWiki:Common.css"
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/IFI-OpioidCrisis/images/e/e5/Small-icon-pdf.png")no-repeat right; /* | + | background-image: url("http://ifi-wikis.com/IFI-OpioidCrisis/images/e/e5/Small-icon-pdf.png"); |
+ | background-repeat: no-repeat; | ||
+ | background-position: right; | ||
+ | padding-right: 30px; | ||
+ | height: 50px; | ||
+ | width: 300px; | ||
+ | background-color: #f5e9e9; | ||
+ | display: block; | ||
+ | } | ||
+ | /* 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#"], | ||
+ | #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/9/90/Small-icon-word.png"); | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: right; | ||
+ | padding-right: 30px; | ||
+ | height: 50px; | ||
+ | width: 300px; | ||
+ | background-color: #e9eaf5; | ||
+ | display: block; | ||
+ | } | ||
+ | /* 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#"], | ||
+ | #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/0/09/Small-icon-excel.png") | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: right; | ||
+ | padding-right: 30px; | ||
+ | height: 50px; | ||
+ | width: 300px; | ||
+ | background-color: #e9f5ec; | ||
+ | display: block; | ||
+ | } | ||
+ | /* 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#"], | ||
+ | #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/b/bb/Small-icon-ppt.png") | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: right; | ||
+ | padding-right: 30px; | ||
+ | height: 50px; | ||
+ | width: 300px; | ||
+ | background-color: #f5e9e9; | ||
+ | display: block; | ||
} | } |
Revision as of 08:06, 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/e/e5/Small-icon-pdf.png"); background-repeat: no-repeat; background-position: right; padding-right: 30px; height: 50px; width: 300px; background-color: #f5e9e9; display: block; } /* 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#"], #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/9/90/Small-icon-word.png"); background-repeat: no-repeat; background-position: right; padding-right: 30px; height: 50px; width: 300px; background-color: #e9eaf5; display: block; } /* 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#"], #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/0/09/Small-icon-excel.png") background-repeat: no-repeat; background-position: right; padding-right: 30px; height: 50px; width: 300px; background-color: #e9f5ec; display: block; } /* 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#"], #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/b/bb/Small-icon-ppt.png") background-repeat: no-repeat; background-position: right; padding-right: 30px; height: 50px; width: 300px; background-color: #f5e9e9; display: block; }