mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-30 00:55:25 +00:00
56 lines
882 B
Plaintext
56 lines
882 B
Plaintext
/*
|
|
* Citizen
|
|
*
|
|
* Module: mediawiki.skinning.content.externallinks
|
|
* Version: REL1_39
|
|
*
|
|
* Date: 2022-11-14
|
|
*/
|
|
|
|
.mw-parser-output {
|
|
a {
|
|
&.external {
|
|
&::after {
|
|
display: inline-block;
|
|
width: 0.75em;
|
|
height: 0.75em;
|
|
margin-left: 0.125em;
|
|
content: '';
|
|
background-color: currentcolor;
|
|
/* @embed */
|
|
-webkit-mask: url( images/linkExternal.svg ) no-repeat 50% 50%;
|
|
/* @embed */
|
|
mask: url( images/linkExternal.svg ) no-repeat 50% 50%;
|
|
-webkit-mask-size: contain;
|
|
mask-size: contain;
|
|
}
|
|
|
|
// Somehow this get overriden from content.links
|
|
&:hover,
|
|
&:visited:hover {
|
|
color: var( --color-link--hover );
|
|
}
|
|
}
|
|
}
|
|
|
|
.plainlinks a {
|
|
&.external {
|
|
&::after {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.mw-content-rtl {
|
|
.mw-parser-output {
|
|
a {
|
|
&.external {
|
|
&::after {
|
|
transform: scaleX( -1 );
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|