diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-08-05 18:08:15 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-08-13 00:18:33 +0200 |
commit | c59ca4f0efe17213a6ba3a0f14cf3f525bf12ff6 (patch) | |
tree | 020e84c62d22a6862c603494589e250d25761b67 | |
parent | 05faf1474e39ae79d12bb4a23330b3231225f6f7 (diff) | |
download | server-c59ca4f0efe17213a6ba3a0f14cf3f525bf12ff6.tar.gz |
Improve loading appearance of front page.
-rw-r--r-- | public/style.css | 3 | ||||
-rw-r--r-- | views/index.pug | 5 |
2 files changed, 7 insertions, 1 deletions
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); } |