From: Shuanglei Tao Date: Sun, 27 Dec 2015 12:04:35 +0000 (+0800) Subject: luci-theme-material: set default font-size to 13px X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c2e6ed898a5651062f00ef14c31d18761258f438;p=oweals%2Fluci.git 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 --- 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 d4feb368b..066a86a36 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 +}