Make feedlink icon visible by setting a size
[lhc/web/wiklou.git] / resources / src / mediawiki / mediawiki.feedlink.css
index 1dda2ac..a07a403 100644 (file)
@@ -1,8 +1,6 @@
 /* Styles for links to RSS/Atom feeds in sidebar */
 
-/* Until the copy of this code in mediawiki.legacy.shared is removed, which no longer @embeds the
- * background image, the selector below must be kept more specific. */
-#feedlinks a.feedlink {
+a.feedlink {
        /* SVG support using a transparent gradient to guarantee cross-browser
         * compatibility (browsers able to understand gradient syntax support also SVG).
         * http://pauginer.tumblr.com/post/36614680636/invisible-gradient-technique */
@@ -11,4 +9,8 @@
        background-image: -webkit-linear-gradient(transparent, transparent), url(images/feed-icon.svg);
        /* @embed */
        background-image: linear-gradient(transparent, transparent), url(images/feed-icon.svg);
+       background-position: center left;
+       background-repeat: no-repeat;
+       background-size: 12px 12px;
+       padding-left: 16px;
 }