Browse Source

Responsiveness is kinda broken, so reverting b517e795a8.

downstream
Sasha Wasilewska 11 months ago
parent
commit
d9cccc91da
No known key found for this signature in database GPG Key ID: ADC223901D3524FE
  1. 8
      includes/SkinCelestial.php
  2. 11
      skin.json

8
includes/SkinCelestial.php

@ -5,6 +5,9 @@
* @ingroup Skins
*/
class SkinCelestial extends SkinTemplate {
/** @var string */
public $skinname = 'celestial';
/** @var string */
public $stylename = 'Celestial';
@ -17,6 +20,11 @@ class SkinCelestial extends SkinTemplate {
public function initPage( OutputPage $out ) {
parent::initPage( $out );
$out->addMeta( 'viewport',
'width=device-width, initial-scale=1.0, ' .
'user-scalable=yes, minimum-scale=0.25, maximum-scale=5.0'
);
$out->addModuleStyles( [
'mediawiki.skinning.content.externallinks',
'skins.celestial',

11
skin.json

@ -11,16 +11,7 @@
"MediaWiki": ">= 1.35"
},
"ValidSkinNames": {
"celestial": {
"displayname": "Celestial",
"class": "SkinCelestial",
"args": [
{
"name": "celestial",
"responsive": true
}
]
}
"celestial": "Celestial"
},
"MessagesDirs": {
"Celestial": [

Loading…
Cancel
Save