Difference between revisions of "MediaWiki:Common.css"
From InCircuit
(19 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
− | a[href$=". | + | a[href$=".zip"]::before { |
− | + | content: url('icons/zip.png'); | |
− | + | padding-right: 0.3em; | |
− | + | } | |
− | padding- | + | |
+ | a[href$=".pdf"]::before { | ||
+ | content: url('icons/pdf.png'); | ||
+ | padding-right: 0.3em; | ||
+ | } | ||
+ | |||
+ | a[href$=".iso"]::before { | ||
+ | content: url('icons/iso.png'); | ||
+ | padding-right: 0.3em; | ||
+ | } | ||
+ | |||
+ | a[href$=".tar.gz"]::before { | ||
+ | content: url('icons/tgz.png'); | ||
+ | padding-right: 0.3em; | ||
+ | } | ||
+ | |||
+ | a[href$=".tar.bz2"]::before { | ||
+ | content: url('icons/bz2.png'); | ||
+ | padding-right: 0.3em; | ||
+ | } | ||
+ | |||
+ | a[href$=".xls"]::before { | ||
+ | content: url('icons/xls.png'); | ||
+ | padding-right: 0.3em; | ||
} | } |
Latest revision as of 12:56, 26 September 2014
/* CSS placed here will be applied to all skins */ a[href$=".zip"]::before { content: url('icons/zip.png'); padding-right: 0.3em; } a[href$=".pdf"]::before { content: url('icons/pdf.png'); padding-right: 0.3em; } a[href$=".iso"]::before { content: url('icons/iso.png'); padding-right: 0.3em; } a[href$=".tar.gz"]::before { content: url('icons/tgz.png'); padding-right: 0.3em; } a[href$=".tar.bz2"]::before { content: url('icons/bz2.png'); padding-right: 0.3em; } a[href$=".xls"]::before { content: url('icons/xls.png'); padding-right: 0.3em; }