From cb04db2039e1df3cb4368bf79a554e752b1cec7c Mon Sep 17 00:00:00 2001 From: Jack Phoenix Date: Thu, 28 Sep 2017 12:50:46 +0300 Subject: [PATCH] Add some spacing and styling for #contentSub The font-size is direct copypasta from MonoBook; on MonoBook #contentSub's color is #54595d whereas here it uses the @grey-dark variable (which is defined as the hex color #666 in variables.less). Bug: T173951 Change-Id: Id57a3e2acab1f734b6a8ba65734c9d3d828d9ca7 --- resources/screen-common.less | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/resources/screen-common.less b/resources/screen-common.less index b3f2319..7d90c76 100644 --- a/resources/screen-common.less +++ b/resources/screen-common.less @@ -288,6 +288,18 @@ a.new, float: right; margin: 0.75em 0 0 1em; } +/* Subtitle area + * @see https://phabricator.wikimedia.org/T173951 + */ +#contentSub { + font-size: 84%; + color: @grey-dark; + + /* This forces "redirect page" (on a redirect page) etc. on a new line */ + .subpages { + display: block; + } +} #mw-content { h1, h2, @@ -388,7 +400,7 @@ p { font-size: 95%; padding: 0.5em 1em; } -.thumbinner img{ +.thumbinner img { border: solid 1px @grey-bright; } #mw-content li.gallerybox div.thumb {