Merge "build: Update eslint-config-wikimedia to 0.7.2"
[lhc/web/wiklou.git] / resources / src / mediawiki.skinning / elements.css
index 19f3553..301024d 100644 (file)
@@ -13,9 +13,7 @@ a {
        background: none;
 }
 
-/* Support: Firefox 57 - it can't parse `rule[ attr ]` and the LESS compiler doesn't */
-/* strip whitespace inside the :not() (T180138) */
-a:not( [href] ) { /* stylelint-disable-line selector-attribute-brackets-space-inside */
+a:not( [ href ] ) {
        cursor: pointer; /* Always cursor:pointer even without href */
 }
 
@@ -49,6 +47,21 @@ a.new,
        color: #ba0000;
 }
 
+/* self links */
+a.mw-selflink {
+       color: inherit;
+       font-weight: bold;
+       text-decoration: inherit;
+}
+a.mw-selflink:hover {
+       cursor: inherit;
+       text-decoration: inherit;
+}
+a.mw-selflink:active,
+a.mw-selflink:visited {
+       color: inherit;
+}
+
 a.new:visited,
 #p-personal a.new:visited {
        color: #a55858;