From 9eccd063952b9b4ffcd2b6dfe3d697cea5f70fb4 Mon Sep 17 00:00:00 2001 From: Masahiko AMANO Date: Mon, 30 Jan 2023 22:02:38 +0300 Subject: [PATCH] perf(web): make headers' font size adaptive --- web/public/css/general.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/public/css/general.css b/web/public/css/general.css index aa16d54..c4f04e1 100644 --- a/web/public/css/general.css +++ b/web/public/css/general.css @@ -32,7 +32,7 @@ h1 { padding: 0; color: white; font-family: Epilogue, sans-serif; - font-size: 48pt; + font-size: 10vmin; text-shadow: 0 0 8px black; text-align: center; cursor: default; @@ -86,7 +86,7 @@ h2 { background-color: hsla(270, 80%, 80%, 0.6); border-bottom: 0; font-family: Secular One, sans-serif; - font-size: 24pt; + font-size: 5.5vmin; text-shadow: 2.5px 2px 0.5px white; text-align: center; cursor: default;