mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-14 18:15:49 +00:00
refactor(core): ♻️ move external link styles to skinning folder
This commit is contained in:
parent
e8f30ec883
commit
be11883f3d
|
@ -136,36 +136,6 @@ figcaption,
|
|||
}
|
||||
}
|
||||
|
||||
// External links
|
||||
.mw-parser-output {
|
||||
a.external:after {
|
||||
display: inline-block;
|
||||
width: 0.75em;
|
||||
height: 0.75em;
|
||||
margin-left: 0.25em;
|
||||
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;
|
||||
}
|
||||
|
||||
.plainlinks a.external:after {
|
||||
content: none;
|
||||
}
|
||||
}
|
||||
|
||||
.mw-content-rtl {
|
||||
.mw-parser-output {
|
||||
a.external:after {
|
||||
transform: scaleX( -1 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media ( max-width: @width-breakpoint-tablet ) {
|
||||
#mw-content-text {
|
||||
figcaption,
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
// This get loaded anyways
|
||||
@import 'skinning/content.body.less';
|
||||
@import 'skinning/content.links.less';
|
||||
@import 'skinning/content.externallinks.less';
|
||||
}
|
||||
|
||||
@media print {
|
||||
|
|
|
@ -1,4 +1,11 @@
|
|||
// Mediawiki.skinning.content.body
|
||||
/*
|
||||
* Citizen
|
||||
*
|
||||
* Module: mediawiki.skinning.content.body
|
||||
* Version: REL1_39
|
||||
*
|
||||
* Date: 2022-11-14
|
||||
*/
|
||||
|
||||
// Needed the specificity
|
||||
.skin-citizen {
|
||||
|
|
|
@ -0,0 +1,37 @@
|
|||
/*
|
||||
* 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.25em;
|
||||
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;
|
||||
}
|
||||
|
||||
.plainlinks a.external:after {
|
||||
content: none;
|
||||
}
|
||||
}
|
||||
|
||||
.mw-content-rtl {
|
||||
.mw-parser-output {
|
||||
a.external:after {
|
||||
transform: scaleX( -1 );
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,4 +1,11 @@
|
|||
// Mediawiki.skinning.content.body
|
||||
/*
|
||||
* Citizen
|
||||
*
|
||||
* Module: mediawiki.skinning.content.links
|
||||
* Version: REL1_39
|
||||
*
|
||||
* Date: 2022-11-14
|
||||
*/
|
||||
|
||||
// Needed the specificity
|
||||
.skin-citizen {
|
||||
|
|
Loading…
Reference in a new issue