From 4bfc19349a8d37a86f2d645b1e9670a3688f0cbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Dziewo=C5=84ski?= Date: Fri, 27 Mar 2015 19:42:33 +0100 Subject: [PATCH] Correct font sizes of everything on MonoBook This is not pretty and probably isn't optimal, but it works well enough. The bug about getting rid of this all is T91152. Bug: T94071 Change-Id: If926286f1d0c7835489914ed653a0d65ed24f53a --- .../styles/ve.init.mw.ViewPageTarget-monobook.css | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-monobook.css b/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-monobook.css index 69efc8592d..d3da34c274 100644 --- a/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-monobook.css +++ b/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-monobook.css @@ -12,18 +12,17 @@ line-height: 1.5em; } -.oo-ui-window { - /* Correct for Monobook's x-small font on non-isolated windows */ - /* 0.8em / x-small */ - font-size: 1em; -} - -.ve-ui-overlay, -.ve-init-mw-viewPageTarget-windowManager-welcome { +.ve-ui-overlay { /* Mimic #globalWrapper */ font-size: 127%; } +.ve-ui-overlay-global, +.ve-init-mw-viewPageTarget-windowManager-welcome { + /* Mimic #globalWrapper + Correct for Monobook's x-small font on the root overlay */ + font-size: 1.5875em; +} + .ve-ui-overlay-global { /* So that the overlay always appears over the site logo, search box and personal tools */ z-index: 4;