From 6ad6e77a086c44e3d756919151ee05ad0c282fe3 Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Tue, 31 May 2022 12:02:52 -0700 Subject: [PATCH] Scale font based on 2% per line Signed-off-by: James Ketrenos --- client/src/index.css | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/client/src/index.css b/client/src/index.css index ccf904b..e474130 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -1,14 +1,20 @@ -@media only screen and (max-width: 1200px) { +/*@media only screen and (max-height: 512px) { html { - font-size: 10px; + font-size: 6.75px; } } -@media only screen and (min-width: 2000px) { +@media only screen and (min-height: 513px) and (max-height: 800px) {*/ html { - font-size: 40px; + font-size: 2vh;/*10px;*/ } -} +/*} + +@media only screen and (min-height: 2000px) { + html { + font-size: 30px; + } +}*/ html { height: 100%;