Deprecate mediawiki.skinning.content.externallinks

This commit is contained in:
alistair3149 2020-10-22 10:36:38 -04:00 committed by alistair3149
parent 8ce02ef308
commit f2f669dec6
5 changed files with 25 additions and 4 deletions

View file

@ -142,6 +142,16 @@ figcaption,
}
}
// External links
.mw-parser-output {
.external {
background-image: url( images/external-link-ltr-icon.svg );
background-position: center right;
background-repeat: no-repeat;
padding-right: 13px;
}
}
@media ( max-width: @screen0 ) {
#mw-content-text {
figcaption,

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12">
<path fill="#fff" stroke="#36c" d="M1.5 4.518h5.982V10.5H1.5z"/>
<path fill="#36c" d="M5.765 1H11v5.39L9.427 7.937l-1.31-1.31L5.393 9.35l-2.69-2.688 2.81-2.808L4.2 2.544z"/>
<path fill="#fff" d="M9.995 2.004l.022 4.885L8.2 5.07 5.32 7.95 4.09 6.723l2.882-2.88-1.85-1.852z"/>
</svg>

After

Width:  |  Height:  |  Size: 388 B

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12">
<path fill="#fff" stroke="#36c" d="M10.5 4.518H4.518V10.5H10.5z"/>
<path fill="#36c" d="M6.234 1H1v5.39l1.57 1.546 1.31-1.31L6.607 9.35l2.69-2.688-2.81-2.808L7.8 2.544z"/>
<path fill="#fff" d="M2.004 2.004L1.982 6.89 3.8 5.07l2.88 2.88 1.228-1.227-2.88-2.88 1.85-1.852z"/>
</svg>

After

Width:  |  Height:  |  Size: 386 B

View file

@ -3,7 +3,7 @@
@import '../variables.less';
@import '../mixins.less';
@media only screen {
@media screen {
@import 'common/common.less';
@import 'common/content.less';
@import 'common/typography.less';
@ -24,6 +24,6 @@
@import 'Footer.less';
}
@media only print {
@media print {
@import 'common/print.less';
}

View file

@ -1,6 +1,6 @@
{
"name": "Citizen",
"version": "1.0.0",
"version": "1.1.0",
"author": [
"[https://www.mediawiki.org/wiki/User:Alistair3149 Alistair3149]",
"[https://www.mediawiki.org/wiki/User:Octfx Octfx]"
@ -24,7 +24,6 @@
"skins.citizen.scripts"
],
"styles": [
"mediawiki.skinning.content.externallinks",
"skins.citizen.styles",
"skins.citizen.styles.fonts",
"skins.citizen.styles.toc",