From 314e5d9d32f7ae6a63855f237a1e666dd02e2249 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 14 Mar 2024 21:26:04 +0100 Subject: [PATCH] =?utf8?q?=F0=9F=92=84=20Fix=20display=20of=20images=20in?= =?utf8?q?=20new=20movies=20section?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../net/pterodactylus/rhynodge/filters/webpages/savoy/MovieState.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/net/pterodactylus/rhynodge/filters/webpages/savoy/MovieState.kt b/src/main/kotlin/net/pterodactylus/rhynodge/filters/webpages/savoy/MovieState.kt index 8d84b4f..1122cd1 100644 --- a/src/main/kotlin/net/pterodactylus/rhynodge/filters/webpages/savoy/MovieState.kt +++ b/src/main/kotlin/net/pterodactylus/rhynodge/filters/webpages/savoy/MovieState.kt @@ -38,7 +38,7 @@ class MovieState(@JsonProperty val movies: Collection, val newMovies: Col +"section.new-movies > .label { font-family: Impact, sans-serif; background-color: black; padding: 0.5ex; font-size: 200%; color: #ffffee; font-weight: bold; }" +"section.new-movies ul { padding: 0; margin: 0; }" +"section.new-movies li.movie { list-style: none; display: grid; margin: 1ex 1ex 1ex 0ex; grid-template-rows: 353px; grid-template-columns: 250px auto; }" - +"section.new-movies li.movie img { grid-area: 1/1/2/2 }" + +"section.new-movies li.movie img { grid-area: 1/1/2/2; width: 100%; height: 100%; }" +"section.new-movies li.movie .text { color: white; text-shadow: 2px 2px black; font-weight: bold; font-size: 150%; display: flex; flex-direction: column; justify-content: end; grid-area: 1/1/2/2; }" +"section.new-movies li.movie .text .name { padding: 1ex; font-size: 120%; }" +"section.new-movies li.movie .description { padding: 1ex; }" -- 2.7.4