User:Writ Keeper/testPdfIcon.css

.mw-parser-output a[href$=".notpdf"].external, .mw-parser-output a[href*=".notpdf?"].external, .mw-parser-output a[href*=".notpdf#"].external, .mw-parser-output a[href$=".notPDF"].external, .mw-parser-output a[href*=".notPDF?"].external, .mw-parser-output a[href*=".notPDF#"].external { background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right; /* @noflip */ padding-right: 18px; }

.mw-parser-output a[href$=".testpdf"].external, .mw-parser-output a[href*=".testpdf?"].external, .mw-parser-output a[href*=".testpdf#"].external, .mw-parser-output a[href$=".testPDF"].external, .mw-parser-output a[href*=".testPDF?"].external, .mw-parser-output a[href*=".testPDF#"].external { background: url("//upload.wikimedia.org/wikipedia/commons/4/4d/Icon_pdf_file.png") no-repeat right; background-size: contain; /* @noflip */ padding-right: 1.4em; }

.mw-parser-output a[href$=".testoldpdf"].external, .mw-parser-output a[href*=".testoldpdf?"].external, .mw-parser-output a[href*=".testoldpdf#"].external, .mw-parser-output a[href$=".testoldPDF"].external, .mw-parser-output a[href*=".testoldPDF?"].external, .mw-parser-output a[href*=".testoldPDF#"].external { background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right; background-size: contain; /* @noflip */ padding-right: 1.4em; }