mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-26 23:32: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;
|
|
background-color: currentcolor;
|
|
content: '';
|
|
/* @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 {
|
|
content: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.mw-content-rtl {
|
|
.mw-parser-output {
|
|
a {
|
|
&.external {
|
|
&::after {
|
|
transform: scaleX( -1 );
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|