From 450f7d237a7751e7bfdb3ee70d1516786156199f Mon Sep 17 00:00:00 2001 From: AronDemian Date: Mon, 11 May 2020 20:43:07 +0200 Subject: [PATCH] [modern] Center the logo tagline beneath the wordmark Bug: T252430 Change-Id: If16fa9e70c52a8cb51b4f297d0ed7db8e72cebcb --- resources/skins.vector.styles/Logo.less | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/skins.vector.styles/Logo.less b/resources/skins.vector.styles/Logo.less index cf2cb90..297efaa 100644 --- a/resources/skins.vector.styles/Logo.less +++ b/resources/skins.vector.styles/Logo.less @@ -28,12 +28,14 @@ // the site title is not clipped. We may need to revisit this later // for projects with long site titles. .mw-logo-wordmark { + display: block; + margin: 0 auto; font-size: 1.4em; } .mw-logo-tagline { // For browsers which do not support flexbox. display: block; - margin-top: 5px; + margin: 5px auto 0; font-size: 0.7em; }