From 35ca341ed4e9acfa00505e216d2416f73c253948 Mon Sep 17 00:00:00 2001 From: Erwin Dokter Date: Sat, 23 May 2015 12:07:14 +0000 Subject: [PATCH] Minor header fixes for Typography Refresh This fixes top-margin for H1 inside .mw-body-content, and increase font-size for H3 from 1.17em to 1.2em (bumping to 17px default). Final patch for this bug. Bug: T66653 Change-Id: I1e75bc4fc3e04ca6c9238d4ce116136e9bafacd1 --- components/common.less | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/components/common.less b/components/common.less index 088b373..9308861 100644 --- a/components/common.less +++ b/components/common.less @@ -60,6 +60,11 @@ body { h1 { font-size: @content-heading-font-size; } + .mw-body-content { + h1 { + margin-top: 1em; + } + } h2 { font-size: 1.5em; @@ -77,7 +82,7 @@ body { } h3 { - font-size: 1.17em; + font-size: 1.2em; } h3,