From: David ‘Bombe’ Roden Date: Fri, 15 Mar 2024 15:33:29 +0000 (+0100) Subject: 💄 Don’t distort movie images when horizontal space is too tight X-Git-Tag: v2~7 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=834a3914b60ffb1c147a4b38a15ec37f96f54cdb;p=rhynodge.git 💄 Don’t distort movie images when horizontal space is too tight --- 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 1122cd1..cdec289 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 @@ -46,7 +46,7 @@ class MovieState(@JsonProperty val movies: Collection, val newMovies: Col +"section.daily-programmes ol { padding: 0; }" +"section.daily-programmes li { list-style: none; }" +"section.daily-programmes li.day > .label { font-family: Impact, sans-serif; background-color: black; padding: 0.5ex; font-size: 200%; color: #ffffee; font-weight: bold; }" - +"section.daily-programmes li .performances { display: flex; border-top: 1ex; }" + +"section.daily-programmes li .performances { border-top: 1ex; }" +"section.daily-programmes li.performance { width: 250px; height: 353px; display: inline-block; margin: 1ex 1ex 1ex 0ex; position: relative; }" +"section.daily-programmes li.performance a { width: 100%; height: 100%; display: block; text-decoration: none; }" +"section.daily-programmes li.performance a img { width: 100%; height: 100%; display: block; position: absolute; z-index: -1; }"