Page MenuHomeWickedGov Phorge

links.less
No OneTemporary

Size
1008 B
Referenced Files
None
Subscribers
None

links.less

@import 'mediawiki.skin.variables.less';
a {
text-decoration: none;
}
// T373989
a:where( :not( [ role='button' ] ) ) {
// See https://github.com/wikimedia/mediawiki/blob/master/resources/lib/codex/mixins/link.less
.cdx-mixin-link-base();
.citizen-cdx-mixin-link-base-overrides();
}
a:where( .new:not( [ role='button' ] ) ) {
.cdx-mixin-link-red();
}
// External links
.mw-parser-output {
a {
&.external {
&::after {
margin-inline-start: 4px;
content: '';
.cdx-mixin-css-icon( @cdx-icon-link-external, currentColor, @size-icon-x-small );
.cdx-mixin-css-icon-alignment( baseline );
}
}
}
// Plainlinks
.plainlinks a {
&.external {
&::after {
display: none;
}
}
}
}
// Self links
a.mw-selflink {
font-weight: var( --font-weight-semi-bold );
color: inherit;
text-decoration: inherit;
&:hover {
cursor: inherit;
}
}
// Underline preference
.mw-underline-always a {
text-decoration: underline;
}
.mw-underline-never a {
text-decoration: none;
}

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 22, 03:00 (1 d, 10 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
bc/70/0a76e6c88a6656fb46b28d2d4db2
Default Alt Text
links.less (1008 B)

Event Timeline