summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-material
diff options
context:
space:
mode:
authorShuanglei Tao <tsl0922@gmail.com>2015-12-27 20:04:35 +0800
committerShuanglei Tao <tsl0922@gmail.com>2015-12-27 20:21:02 +0800
commitc2e6ed898a5651062f00ef14c31d18761258f438 (patch)
treeb7968a87052ff8385b5093525058125cf4ce86e2 /themes/luci-theme-material
parentedf352efa27d6e936c0cc87abf0f28f1b6b28a44 (diff)
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 <tsl0922@gmail.com>
Diffstat (limited to 'themes/luci-theme-material')
-rwxr-xr-xthemes/luci-theme-material/htdocs/luci-static/material/css/style.css7
1 files changed, 6 insertions, 1 deletions
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
+}