From 496997424d09be0bacc5fb0b527d6e0dd9a99f55 Mon Sep 17 00:00:00 2001 From: Isarra Date: Thu, 19 Jul 2018 13:05:26 +0000 Subject: [PATCH] Add sitesub, but hide by default Bug: T193215 Change-Id: Ia09ae2b763107d0bdc3c379525405e8edf17edb7 --- includes/TimelessTemplate.php | 1 + resources/screen-common.less | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/includes/TimelessTemplate.php b/includes/TimelessTemplate.php index 89d3be5..f6d9429 100644 --- a/includes/TimelessTemplate.php +++ b/includes/TimelessTemplate.php @@ -50,6 +50,7 @@ class TimelessTemplate extends BaseTemplate { ], $this->get( 'title' ) ) . + Html::rawElement( 'div', [ 'id' => 'siteSub' ], $this->getMsg( 'tagline' )->parse() ) . Html::rawElement( 'div', [ 'id' => 'mw-page-header-links' ], $this->getPortlet( 'namespaces', diff --git a/resources/screen-common.less b/resources/screen-common.less index 3eb3e9c..bcb010b 100644 --- a/resources/screen-common.less +++ b/resources/screen-common.less @@ -391,6 +391,13 @@ pre, } } +#siteSub { + margin: -0.5em 0 0.5em 0; + font-style: italic; + font-family: @fonts-secondary; + display: none; +} + hr { border-width: 1px; border-color: @grey;