Page MenuHomeWickedGov Phorge

links.less
No OneTemporary

Size
1020 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
Aug 18 2026, 07:07 (7 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b4/22/68bae0229bffc88e1dccfb4ea3b1
Default Alt Text
links.less (1020 B)

Event Timeline