css: dynamic font resizing
This commit is contained in:
parent
fe1668bfc7
commit
8d5f214490
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@
|
||||||
body {
|
body {
|
||||||
font-family: ClearSans, sans-serif;
|
font-family: ClearSans, sans-serif;
|
||||||
text-align:left;
|
text-align:left;
|
||||||
font-size: 16px;
|
font-size: calc(3mm + 1.5vw); /*basically, makes sure that the text scale to always be less than 90 characters, while being readable on small screens */
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
color: #666;
|
color: #666;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
|
Loading…
Reference in a new issue