MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 41: Line 41:


/* Change the external link icon to an Adobe icon for all PDF files */
/* Change the external link icon to an Adobe icon for all PDF files */
.mw-parser-output a[href$=".pdf"].external,
.mw-parser-output a[href$=".pdf"],
.mw-parser-output a[href*=".pdf?"].external,
.mw-parser-output a[href*=".pdf?"],
.mw-parser-output a[href*=".pdf#"].external,
.mw-parser-output a[href*=".pdf#"],
.mw-parser-output a[href$=".PDF"].external,
.mw-parser-output a[href$=".PDF"],
.mw-parser-output a[href*=".PDF?"].external,
.mw-parser-output a[href*=".PDF?"],
.mw-parser-output a[href*=".PDF#"].external {
.mw-parser-output a[href*=".PDF#"] {
background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
/* @noflip */
/* @noflip */
padding-right: 18px;
padding-right: 18px;
}
}