From 8d5f2144904b30224e9d034746f11da06ea13369 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Wed, 3 Oct 2018 13:43:03 +0200 Subject: [PATCH] css: dynamic font resizing --- css/clear-typography.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/clear-typography.css b/css/clear-typography.css index feb07cb..9226a64 100644 --- a/css/clear-typography.css +++ b/css/clear-typography.css @@ -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;