From c59ca4f0efe17213a6ba3a0f14cf3f525bf12ff6 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 5 Aug 2024 18:08:15 +0200 Subject: Improve loading appearance of front page. --- public/style.css | 3 ++- views/index.pug | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/public/style.css b/public/style.css index 7928f86..4810988 100644 --- a/public/style.css +++ b/public/style.css @@ -344,7 +344,8 @@ div.body img { .game_main img { display: block; - height: 72px; + max-width: 60px; + max-height: 72px; margin: 4px 0 4px 4px; border: var(--thin-border); } diff --git a/views/index.pug b/views/index.pug index 0751570..f3a9a86 100644 --- a/views/index.pug +++ b/views/index.pug @@ -22,6 +22,11 @@ html text-align: center; } div.i img { + min-width: 150px; + min-height: 150px; + max-width: 200px; + max-height: 200px; + background-color: silver; box-shadow: var(--drop-shadow); border: var(--thin-border); } -- cgit v1.2.3