From 31a8422a0c562fad33e5ad3769b197a0d5810ce2 Mon Sep 17 00:00:00 2001 From: Volker E Date: Thu, 7 Sep 2017 18:32:14 -0700 Subject: [PATCH] Follow core base font-size in Vector Following core base font-size of `0.875em` in Vector to align with other elements on the page. Bug: T175295 Change-Id: Id9c8652820641d6fa1c6b1dd06247967ba649f25 --- extension.json | 3 ++- resources/css/ext.uls-vector.less | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 resources/css/ext.uls-vector.less diff --git a/extension.json b/extension.json index 2eda62a0..903af81f 100644 --- a/extension.json +++ b/extension.json @@ -160,7 +160,8 @@ "scripts": "js/ext.uls.common.js", "styles": "css/ext.uls.less", "skinStyles": { - "monobook": "css/ext.uls-monobook.css" + "monobook": "css/ext.uls-monobook.css", + "vector": "css/ext.uls-vector.less" }, "dependencies": [ "mediawiki.api", diff --git a/resources/css/ext.uls-vector.less b/resources/css/ext.uls-vector.less new file mode 100644 index 00000000..2ea05265 --- /dev/null +++ b/resources/css/ext.uls-vector.less @@ -0,0 +1,3 @@ +.uls-menu { + font-size: 0.875em; // not inherited from `.mw-body-content`, as we insert at `body` +}