Difference between revisions of "MediaWiki:Common.css"

From Media Wiki
Jump to: navigation, search
(Removed background coloring, made icons smaller)
(Changed the file icons for smaller ones and removed background color so that the Sources section where the files are referenced would look compact. The earlier version is preserved commented out)
 
(41 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
#content a[href*=".PDF?"],  
 
#content a[href*=".PDF?"],  
 
#content a[href*=".PDF#"] {  
 
#content a[href*=".PDF#"] {  
/*
+
background-image: url("http://ifi-wikis.com/IFI-OpioidCrisis/images/9/96/Micro-icon-pdf.png"); background-repeat: no-repeat; background-position: right; padding-right: 18px; background-size: auto}
background-image: url("[http://ifi-wikis.com/image-repository/small-icon-pdf.png http://ifi-wikis.com/image-repository/small-icon-pdf.png]"); background-repeat: no-repeat; background-position: right; padding-right: 30px; height: 50px; width: 350px; background-color: #f5e9e9; display: block } /* Change the link icon to an Adobe icon for all MS-Word files */
 
*/
 
background: url("http://upload.wikimedia.org/wikipedia/commons/b/ba/Page_white_excel.png") no-repeat right;
 
/* @noflip */
 
padding-right: 18px;}
 
  
 +
/* background-image: url("http://ifi-wikis.com/image-repository/small-icon-pdf.png"); background-repeat: no-repeat; background-position: right; padding-right: 30px; height: 50px; width: 350px; background-color: #f5e9e9; display: block } */
 +
 +
 +
/*-------------------------------------------------------------*/
 +
/* 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?"],  
Line 44: Line 44:
 
#content a[href*=".DOCX#"] {  
 
#content a[href*=".DOCX#"] {  
  
background-image: url("[http://ifi-wikis.com/image-repository/small-icon-word.png http://ifi-wikis.com/image-repository/small-icon-word.png]"); background-repeat: no-repeat; background-position: right; padding-right: 30px; height: 50px; width: 350px; background-color: #e9eaf5; display: block } /* Change the link icon to an Adobe icon for all MS-Excel files */
+
background-image: url("http://ifi-wikis.com/IFI-OpioidCrisis/images/9/90/Tiny-icon-word.png"); background-repeat: no-repeat; background-position: right; padding-right: 28px; background-size: auto}
 +
 
 +
/*background-image: url("http://ifi-wikis.com/image-repository/small-icon-word.png"); background-repeat: no-repeat; background-position: right; padding-right: 30px; height: 50px; width: 350px; background-color: #e9eaf5; display: block } */
 +
 
 +
 
 +
/*--------------------------------------------------------------*/
 +
/* Change the link icon to an Adobe icon for all MS-Excel files */
  
 
#mw_content a[href$=".xlsx"],  
 
#mw_content a[href$=".xlsx"],  
Line 70: Line 76:
 
#content a[href*=".XLS?"],  
 
#content a[href*=".XLS?"],  
 
#content a[href*=".XLS#"] {  
 
#content a[href*=".XLS#"] {  
 +
background-image: url("http://ifi-wikis.com/IFI-OpioidCrisis/images/a/a8/Tiny-icon-excel.png"); background-repeat: no-repeat; background-position: right; padding-right: 28px; background-size: auto}
 +
 +
/*background-image: url("http://ifi-wikis.com/image-repository/small-icon-excel.png"); background-repeat: no-repeat; background-position: right; padding-right: 30px; height: 50px; width: 350px; background-color: #e9f5ec; display: block } */
  
background-image: url("[http://ifi-wikis.com/image-repository/small-icon-excel.png http://ifi-wikis.com/image-repository/small-icon-excel.png]"); background-repeat: no-repeat; background-position: right; padding-right: 30px; height: 50px; width: 350px; background-color: #e9f5ec; display: block } /* Change the link icon to an Adobe icon for all MS-PowerPoint files */
 
  
 +
/*-------------------------------------------------------------------*/
 +
/* 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?"],  
Line 97: Line 107:
 
#content a[href*=".PPT?"],  
 
#content a[href*=".PPT?"],  
 
#content a[href*=".PPT#"] {  
 
#content a[href*=".PPT#"] {  
 +
background-image: url("http://ifi-wikis.com/IFI-OpioidCrisis/images/0/0e/Tiny-icon-ppt.png"); background-repeat: no-repeat; background-position: right; padding-right: 28px; background-size: auto}
  
background-image: url("[http://ifi-wikis.com/image-repository/small-icon-ppt.png http://ifi-wikis.com/image-repository/small-icon-ppt.png]"); background-repeat: no-repeat; background-position: right; padding-right: 30px; height: 50px; width: 350px; background-color: #f5e9e9; display: block }
+
/*background-image: url("http://ifi-wikis.com/image-repository/small-icon-ppt.png"); background-repeat: no-repeat; background-position: right; padding-right: 30px; height: 50px; width: 350px; background-color: #f5e9e9; display: block }*/

Latest revision as of 21:23, 14 September 2019

/* 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/IFI-OpioidCrisis/images/9/96/Micro-icon-pdf.png"); background-repeat: no-repeat; background-position: right; padding-right: 18px; background-size: auto}

/* background-image: url("http://ifi-wikis.com/image-repository/small-icon-pdf.png"); background-repeat: no-repeat; background-position: right; padding-right: 30px; height: 50px; width: 350px; background-color: #f5e9e9; display: block } */


/*-------------------------------------------------------------*/
/* 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/IFI-OpioidCrisis/images/9/90/Tiny-icon-word.png"); background-repeat: no-repeat; background-position: right; padding-right: 28px; background-size: auto}

/*background-image: url("http://ifi-wikis.com/image-repository/small-icon-word.png"); background-repeat: no-repeat; background-position: right; padding-right: 30px; height: 50px; width: 350px; background-color: #e9eaf5; display: block } */


/*--------------------------------------------------------------*/
/* 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/IFI-OpioidCrisis/images/a/a8/Tiny-icon-excel.png"); background-repeat: no-repeat; background-position: right; padding-right: 28px; background-size: auto}

/*background-image: url("http://ifi-wikis.com/image-repository/small-icon-excel.png"); background-repeat: no-repeat; background-position: right; padding-right: 30px; height: 50px; width: 350px; background-color: #e9f5ec; display: block } */


/*-------------------------------------------------------------------*/
/* 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/IFI-OpioidCrisis/images/0/0e/Tiny-icon-ppt.png"); background-repeat: no-repeat; background-position: right; padding-right: 28px; background-size: auto}

/*background-image: url("http://ifi-wikis.com/image-repository/small-icon-ppt.png"); background-repeat: no-repeat; background-position: right; padding-right: 30px; height: 50px; width: 350px; background-color: #f5e9e9; display: block }*/