From c2e6ed898a5651062f00ef14c31d18761258f438 Mon Sep 17 00:00:00 2001 From: Shuanglei Tao Date: Sun, 27 Dec 2015 20:04:35 +0800 Subject: [PATCH] luci-theme-material: set default font-size to 13px Ref: https://developer.mozilla.org/en-US/docs/Web/CSS/font-size#Rems Signed-off-by: Shuanglei Tao --- .../htdocs/luci-static/material/css/style.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/themes/luci-theme-material/htdocs/luci-static/material/css/style.css b/themes/luci-theme-material/htdocs/luci-static/material/css/style.css index d4feb368b2..066a86a368 100755 --- a/themes/luci-theme-material/htdocs/luci-static/material/css/style.css +++ b/themes/luci-theme-material/htdocs/luci-static/material/css/style.css @@ -72,6 +72,11 @@ html, body { padding: 0px; height: 100%; font-family: "Helvetica Neue", Helvetica, Microsoft Yahei, Hiragino Sans GB, WenQuanYi Micro Hei, sans-serif; + font-size: 62.5%; /* font-size 1rem = 10px on default browser settings */ +} + +body { + font-size: 1.3rem; /* 1.3rem = 13px */ } select { @@ -1501,4 +1506,4 @@ body.lang_pl.node-main-login .cbi-value-title { .cbi-value-field .cbi-input-select { min-width: 25rem; } -} \ No newline at end of file +} -- 2.30.2