css: dynamic font resizing

This commit is contained in:
Kazhnuz 2018-10-03 13:43:03 +02:00
parent fe1668bfc7
commit 8d5f214490

View file

@ -46,7 +46,7 @@
body {
font-family: ClearSans, sans-serif;
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;
color: #666;
font-weight: 400;