Fixes issues with links flagged by Pixel

Bug: T375832
Follow up to
    I6e9e29fd5b140ae8eb4e6b011d558ea778c92028
Change-Id: I3f52f88b2b08f502eb584af48dcde0c5a8eb6674

Change-Id: Ib6a5de1397f2df8dab68deb97f079b316d4701b3
This commit is contained in:
Jon Robson 2024-09-27 17:03:22 -07:00 committed by Jdlrobson
parent bf1e3a2d08
commit 83c0105418
2 changed files with 10 additions and 1 deletions

View file

@ -18,8 +18,11 @@ a:not( [ href ] ) {
cursor: pointer;
}
/* stylelint-disable selector-max-id */
footer,
.mw-body-content {
.cdx-message,
.mw-body-content,
#mw-content-subtitle {
/* This not does apply to links with role button per discussion on T373989 */
a:not( [ role='button' ] ):not( .mw-selflink ):not( .cdx-card ) {
.cdx-mixin-link-base();
@ -29,6 +32,7 @@ footer,
}
}
}
/* stylelint-enable selector-max-id */
// External links
// Use of `a` element selector due to its widespread usage and for limiting generic class scope.
@ -53,4 +57,5 @@ a.external {
display: block;
font-size: @font-size-minerva-small;
margin-top: 1.5em;
.cdx-mixin-link-base();
}

View file

@ -14,6 +14,10 @@
.license {
.secondary-text();
a {
.cdx-mixin-link-base();
}
}
}