perf(web): make headers' font size adaptive

This commit is contained in:
Masahiko AMANO 2023-01-30 22:02:38 +03:00
parent 59e6b3ba8b
commit 9eccd06395

View File

@ -32,7 +32,7 @@ h1 {
padding: 0; padding: 0;
color: white; color: white;
font-family: Epilogue, sans-serif; font-family: Epilogue, sans-serif;
font-size: 48pt; font-size: 10vmin;
text-shadow: 0 0 8px black; text-shadow: 0 0 8px black;
text-align: center; text-align: center;
cursor: default; cursor: default;
@ -86,7 +86,7 @@ h2 {
background-color: hsla(270, 80%, 80%, 0.6); background-color: hsla(270, 80%, 80%, 0.6);
border-bottom: 0; border-bottom: 0;
font-family: Secular One, sans-serif; font-family: Secular One, sans-serif;
font-size: 24pt; font-size: 5.5vmin;
text-shadow: 2.5px 2px 0.5px white; text-shadow: 2.5px 2px 0.5px white;
text-align: center; text-align: center;
cursor: default; cursor: default;