luci-theme-material: set default font-size to 13px 613/head
authorShuanglei Tao <tsl0922@gmail.com>
Sun, 27 Dec 2015 12:04:35 +0000 (20:04 +0800)
committerShuanglei Tao <tsl0922@gmail.com>
Sun, 27 Dec 2015 12:21:02 +0000 (20:21 +0800)
Ref: https://developer.mozilla.org/en-US/docs/Web/CSS/font-size#Rems

Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
themes/luci-theme-material/htdocs/luci-static/material/css/style.css

index d4feb36..066a86a 100755 (executable)
@@ -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
+}