aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/style/nodepage.css15
1 files changed, 15 insertions, 0 deletions
diff --git a/web/style/nodepage.css b/web/style/nodepage.css
index 2b76ede..c6cf981 100644
--- a/web/style/nodepage.css
+++ b/web/style/nodepage.css
@@ -34,12 +34,27 @@
float: left;
margin: 3em;
margin-top: -1em;
+ height: 100%;
}
.page.node .bigposter img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
+ display: block;
+}
+
+.bigposter.aspect-thumb {
+ aspect-ratio: var(--land-thumb-aspect)
+}
+.bigposter.aspect-land {
+ aspect-ratio: var(--land-poster-aspect)
+}
+.bigposter.aspect-port {
+ aspect-ratio: var(--port-poster-aspect)
+}
+.bigposter.aspect-square {
+ aspect-ratio: 1;
}
.page.node .title h1 {