From af3de448bd0bedc6462bde121fa20fc90dd27e7e Mon Sep 17 00:00:00 2001 From: Haka <76921756+Hakorr@users.noreply.github.com> Date: Fri, 23 Sep 2022 03:01:20 +0300 Subject: [PATCH] Scale card overlay text accordingly --- ui/index.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/ui/index.html b/ui/index.html index 3d2fb86d..90a4f3bd 100644 --- a/ui/index.html +++ b/ui/index.html @@ -268,41 +268,65 @@ grid-template-rows: 18em 3.5em; height: 21.5em; } + .modifier-card-size_5 .modifier-card-overlay { + font-size: 8em; + } .modifier-card-size_4 { width: 14em; grid-template-rows: 14em 3.5em; height: 17.5em; } + .modifier-card-size_4 .modifier-card-overlay { + font-size: 7em; + } .modifier-card-size_3 { width: 11em; grid-template-rows: 11em 3.5em; height: 14.5em; } + .modifier-card-size_3 .modifier-card-overlay { + font-size: 6em; + } .modifier-card-size_2 { width: 10em; grid-template-rows: 10em 3.5em; height: 13.5em; } + .modifier-card-size_2 .modifier-card-overlay { + font-size: 6em; + } .modifier-card-size_1 { width: 9em; grid-template-rows: 9em 3.5em; height: 12.5em; } + .modifier-card-size_1 .modifier-card-overlay { + font-size: 5em; + } .modifier-card-size_-1 { width: 7em; grid-template-rows: 7em 3.5em; height: 10.5em; } + .modifier-card-size_-1 .modifier-card-overlay { + font-size: 4em; + } .modifier-card-size_-2 { width: 6em; grid-template-rows: 6em 3.5em; height: 9.5em; } + .modifier-card-size_-2 .modifier-card-overlay { + font-size: 3em; + } .modifier-card-size_-3 { width: 5em; grid-template-rows: 5em 3.5em; height: 8.5em; } + .modifier-card-size_-3 .modifier-card-overlay { + font-size: 3em; + } .modifier-card-size_-3 p { font-size: 0.8em; }