X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Frhynodge%2Ffilters%2Fwebpages%2Fsavoy%2FMovieState.kt;h=74dd2c2ac73faeebdfc21fad37c16000c2496ce3;hb=4b650a9b2286e0b05a74fabc36bc2337c89ebd71;hp=ea8f87c0372cb748ccd165786d53b49eb5a7ebdf;hpb=1087708b1f7416de4084649a68ac9d495d56ac4a;p=rhynodge.git 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 ea8f87c..74dd2c2 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 @@ -48,9 +48,10 @@ class MovieState(@JsonProperty val movies: Collection, val newMovies: Col +"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; }" - +"section.daily-programmes li.performance a .text { color: white; text-shadow: 2px 2px black; font-weight: bold; font-size: 150%; display: flex; flex-direction: column; justify-content: space-between; width: 100%; height: 100%; }" + +"section.daily-programmes li.performance a .text { color: white; text-shadow: 2px 2px black; font-weight: bold; font-size: 150%; width: 100%; height: 100%; }" +"section.daily-programmes li.performance a .text .time { padding: 1ex; text-align: right; }" - +"section.daily-programmes li.performance a .text .name { padding: 1ex; font-size: 120%; }" + +"section.daily-programmes li.performance a .text .type { padding: 0ex 1ex 1ex 1ex; text-align: right; }" + +"section.daily-programmes li.performance a .text .name { padding: 1ex; font-size: 120%; bottom: 0px; position: absolute; }" } } body { @@ -96,6 +97,9 @@ class MovieState(@JsonProperty val movies: Collection, val newMovies: Col div("time") { +("%tH:%