1 // FIXME: This size of this CSS is ridiculous. Please refactor (see bug 54604)
2 @import "mediawiki.mixins.less";
4 div#content a.external {
5 background-position: center right;
6 background-repeat: no-repeat;
7 .background-image('images/external-link-ltr-icon.png');
10 div#content a.external[href ^="https://"],
12 background-position: center right;
13 background-repeat: no-repeat;
14 .background-image('images/lock-icon.png');
17 div#content a.external[href ^="mailto:"],
19 background-position: center right;
20 background-repeat: no-repeat;
21 .background-image('images/mail-icon.png');
24 div#content a.external[href ^="news:"] {
25 background-position: center right;
26 background-repeat: no-repeat;
27 .background-image('images/news-icon.png');
30 div#content a.external[href ^="ftp://"],
32 background-position: center right;
33 background-repeat: no-repeat;
34 .background-image('images/file-icon.png');
37 div#content a.external[href ^="irc://"],
38 div#content a.external[href ^="ircs://"],
40 background-position: center right;
41 background-repeat: no-repeat;
42 .background-image('images/talk-icon.png');
45 div#content a.external[href $=".ogg"], div#content a.external[href $=".OGG"],
46 div#content a.external[href $=".mid"], div#content a.external[href $=".MID"],
47 div#content a.external[href $=".midi"], div#content a.external[href $=".MIDI"],
48 div#content a.external[href $=".mp3"], div#content a.external[href $=".MP3"],
49 div#content a.external[href $=".wav"], div#content a.external[href $=".WAV"],
50 div#content a.external[href $=".wma"], div#content a.external[href $=".WMA"],
52 background-position: center right;
53 background-repeat: no-repeat;
54 .background-image('images/audio-icon.png');
57 div#content a.external[href $=".ogm"], div#content a.external[href $=".OGM"],
58 div#content a.external[href $=".avi"], div#content a.external[href $=".AVI"],
59 div#content a.external[href $=".mpeg"], div#content a.external[href $=".MPEG"],
60 div#content a.external[href $=".mpg"], div#content a.external[href $=".MPG"],
62 background-position: center right;
63 background-repeat: no-repeat;
64 .background-image('images/video-icon.png');
67 div#content a.external[href $=".pdf"], div#content a.external[href $=".PDF"],
68 div#content a.external[href *=".pdf#"], div#content a.external[href *=".PDF#"],
69 div#content a.external[href *=".pdf?"], div#content a.external[href *=".PDF?"],
71 background-position: center right;
72 background-repeat: no-repeat;
73 .background-image('images/document-icon.png');