Difference between revisions of "MediaWiki:Common.css"

From Media Wiki
Jump to: navigation, search
Line 1: Line 1:
/* Change the link icon to an Adobe icon for all PDF files */
+
<div class="mw-parser-output">/* 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#"],  
#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#"],  
#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/small-icon-pdf.png");  
+
 
background-repeat: no-repeat;  
+
background-image: url("[http://ifi-wikis.com/image-repository/small-icon-pdf.png]"); background-repeat: no-repeat; background-position: right; padding-right: 30px; height: 75px; width: 200px; background-color: #f5e9e9; display: block } /* Change the link icon to an Adobe icon for all MS-Word files */
background-position: right;
+
 
padding-right: 30px;  
+
#mw_content a[href$=".doc"],  
height: 50px;
+
#mw_content a[href*=".doc?"],  
width: 150px;  
+
#mw_content a[href*=".doc#"],  
background-color: #f5e9e9;  
+
#mw_content a[href$=".DOC"],  
display: block
+
#mw_content a[href*=".DOC?"],  
}
+
#mw_content a[href*=".DOC#"],  
/* Change the link icon to an Adobe icon for all MS-Word files */
+
#mw_content a[href$=".docx"],  
#mw_content a[href$=".doc"],
+
#mw_content a[href*=".docx?"],  
#mw_content a[href*=".doc?"],
+
#mw_content a[href*=".docx#"],  
#mw_content a[href*=".doc#"],
+
#mw_content a[href$=".DOCX"],  
#mw_content a[href$=".DOC"],
+
#mw_content a[href*=".DOCX?"],  
#mw_content a[href*=".DOC?"],
+
#mw_content a[href*=".DOCX#"],  
#mw_content a[href*=".DOC#"],
+
#content a[href$=".doc"],  
#mw_content a[href$=".docx"],
+
#content a[href*=".doc?"],  
#mw_content a[href*=".docx?"],
+
#content a[href*=".doc#"],  
#mw_content a[href*=".docx#"],
+
#content a[href$=".DOC"],  
#mw_content a[href$=".DOCX"],
+
#content a[href*=".DOC?"],  
#mw_content a[href*=".DOCX?"],
+
#content a[href*=".DOC#"],  
#mw_content a[href*=".DOCX#"],
+
#content a[href$=".docx"],  
#content a[href$=".doc"],
+
#content a[href*=".docx?"],  
#content a[href*=".doc?"],
+
#content a[href*=".docx#"],  
#content a[href*=".doc#"],
+
#content a[href$=".DOCX"],  
#content a[href$=".DOC"],
+
#content a[href*=".DOCX?"],  
#content a[href*=".DOC?"],
+
#content a[href*=".DOCX#"] {  
#content a[href*=".DOC#"],
+
 
#content a[href$=".docx"],
+
background-image: url("[http://ifi-wikis.com/image-repository/small-icon-word.png]"); background-repeat: no-repeat; background-position: right; padding-right: 30px; height: 75px; width: 200px; background-color: #e9eaf5; display: block } /* Change the link icon to an Adobe icon for all MS-Excel files */
#content a[href*=".docx?"],
+
 
#content a[href*=".docx#"],
+
#mw_content a[href$=".xlsx"],  
#content a[href$=".DOCX"],
+
#mw_content a[href*=".xlsx?"],  
#content a[href*=".DOCX?"],
+
#mw_content a[href*=".xlsx#"],  
#content a[href*=".DOCX#"] {
+
#mw_content a[href$=".XLSX"],  
background-image: url("http://ifi-wikis.com/image-repository/small-icon-word.png");
+
#mw_content a[href*=".XLSX?"],  
background-repeat: no-repeat;  
+
#mw_content a[href*=".XLSX#"],  
background-position: right;
+
#mw_content a[href$=".xls"],  
padding-right: 30px;  
+
#mw_content a[href*=".xls?"],  
height: 50px;
+
#mw_content a[href*=".xls#"],  
width: 150px;  
+
#mw_content a[href$=".XLS"],  
background-color: #e9eaf5;  
+
#mw_content a[href*=".XLS?"],  
display: block
+
#mw_content a[href*=".XLS#"],  
}
+
#content a[href$=".xlsx"],  
/* Change the link icon to an Adobe icon for all MS-Excel files */
+
#content a[href*=".xlsx?"],  
#mw_content a[href$=".xlsx"],
+
#content a[href*=".xlsx#"],  
#mw_content a[href*=".xlsx?"],
+
#content a[href$=".XLSX"],  
#mw_content a[href*=".xlsx#"],
+
#content a[href*=".XLSX?"],  
#mw_content a[href$=".XLSX"],
+
#content a[href*=".XLSX#"],  
#mw_content a[href*=".XLSX?"],
+
#content a[href$=".xls"],  
#mw_content a[href*=".XLSX#"],
+
#content a[href*=".xls?"],  
#mw_content a[href$=".xls"],
+
#content a[href*=".xls#"],  
#mw_content a[href*=".xls?"],
+
#content a[href$=".XLS"],  
#mw_content a[href*=".xls#"],
+
#content a[href*=".XLS?"],  
#mw_content a[href$=".XLS"],
+
#content a[href*=".XLS#"] {  
#mw_content a[href*=".XLS?"],
+
 
#mw_content a[href*=".XLS#"],
+
background-image: url("[http://ifi-wikis.com/image-repository/small-icon-excel.png]"); background-repeat: no-repeat; background-position: right; padding-right: 30px; height: 75px; width: 200px; background-color: #e9f5ec; display: block } /* Change the link icon to an Adobe icon for all MS-PowerPoint files */
#content a[href$=".xlsx"],
+
 
#content a[href*=".xlsx?"],
+
#mw_content a[href$=".pptx"],  
#content a[href*=".xlsx#"],
+
#mw_content a[href*=".pptx?"],  
#content a[href$=".XLSX"],
+
#mw_content a[href*=".pptx#"],  
#content a[href*=".XLSX?"],
+
#mw_content a[href$=".PPTX"],  
#content a[href*=".XLSX#"],
+
#mw_content a[href*=".PPTX?"],  
#content a[href$=".xls"],
+
#mw_content a[href*=".PPTX#"],  
#content a[href*=".xls?"],
+
#mw_content a[href$=".ppt"],  
#content a[href*=".xls#"],
+
#mw_content a[href*=".ppt?"],  
#content a[href$=".XLS"],
+
#mw_content a[href*=".ppt#"],  
#content a[href*=".XLS?"],
+
#mw_content a[href$=".PPT"],  
#content a[href*=".XLS#"] {
+
#mw_content a[href*=".PPT?"],  
background-image: url("http://ifi-wikis.com/image-repository/small-icon-excel.png");
+
#mw_content a[href*=".PPT#"],  
background-repeat: no-repeat;  
+
#content a[href$=".pptx"],  
background-position: right;
+
#content a[href*=".pptx?"],  
padding-right: 30px;  
+
#content a[href*=".pptx#"],  
height: 50px;
+
#content a[href$=".PPTX"],  
width: 150px;  
+
#content a[href*=".PPTX?"],  
background-color: #e9f5ec;  
+
#content a[href*=".PPTX#"],  
display: block
+
#content a[href$=".ppt"],  
}
+
#content a[href*=".ppt?"],  
/* Change the link icon to an Adobe icon for all MS-PowerPoint files */
+
#content a[href*=".ppt#"],  
#mw_content a[href$=".pptx"],
+
#content a[href$=".PPT"],  
#mw_content a[href*=".pptx?"],
+
#content a[href*=".PPT?"],  
#mw_content a[href*=".pptx#"],
+
#content a[href*=".PPT#"] {  
#mw_content a[href$=".PPTX"],
+
 
#mw_content a[href*=".PPTX?"],
+
background-image: url("[http://ifi-wikis.com/image-repository/small-icon-ppt.png]"); background-repeat: no-repeat; background-position: right; padding-right: 30px; height: 75px; width: 200px; background-color: #f5e9e9; display: block }
#mw_content a[href*=".PPTX#"],
+
</div>
#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/small-icon-ppt.png");
 
background-repeat: no-repeat;  
 
background-position: right;
 
padding-right: 30px;  
 
height: 50px;
 
width: 150px;  
 
background-color: #f5e9e9;  
 
display: block
 
}
 

Revision as of 06:49, 27 November 2018

<div class="mw-parser-output">/* 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/small-icon-pdf.png]"); background-repeat: no-repeat; background-position: right; padding-right: 30px; height: 75px; width: 200px; 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/image-repository/small-icon-word.png]"); background-repeat: no-repeat; background-position: right; padding-right: 30px; height: 75px; width: 200px; 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/image-repository/small-icon-excel.png]"); background-repeat: no-repeat; background-position: right; padding-right: 30px; height: 75px; width: 200px; 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/image-repository/small-icon-ppt.png]"); background-repeat: no-repeat; background-position: right; padding-right: 30px; height: 75px; width: 200px; background-color: #f5e9e9; display: block }
</div>