MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
mNo edit summary
No edit summary
 
Line 288: Line 288:
}
}


/* Change the external link icon to an Adobe icon for all PDF files
  in browsers that support these CSS selectors, like Mozilla and Opera */
#content a[href$=".pdf"].external,
#content a[href*=".pdf?"].external,
#content a[href*=".pdf#"].external,
#content a[href$=".PDF"].external,
#content a[href*=".PDF?"].external,
#content a[href*=".PDF#"].external,
#mw_content  a[href$=".pdf"].external,
#mw_content  a[href*=".pdf?"].external,
#mw_content  a[href*=".pdf#"].external,
#mw_content  a[href$=".PDF"].external,
#mw_content  a[href*=".PDF?"].external,
#mw_content  a[href*=".PDF#"].external {
    background:
        url("http://upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif")
        center right no-repeat;
    padding-right: 16px;
}
/* Change the external link icon to an Adobe icon anywhere the PDFlink class
  is used (notably Template:PDFlink). This works in IE, unlike the above. */
#content span.PDFlink a,
#mw_content span.PDFlink a {
    background:
        url("http://upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif")
        center right no-repeat;
    padding-right: 17px;
}


/* Content in columns with CSS instead of tables [[Template:Columns]] */
/* Content in columns with CSS instead of tables [[Template:Columns]] */
0

edits

Navigation menu