From ea811026c7f88925703a26778f7b739549896abf Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sat, 15 Dec 2018 21:37:46 +0100 Subject: templates/fluid: Add 4k size Suitable for >30" native 4k screens with no scaling. --- templates/fluid/fluid.xml | 8 ++++++++ templates/fluid/template_album.html | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/templates/fluid/fluid.xml b/templates/fluid/fluid.xml index ad6cb89..b62c1d3 100644 --- a/templates/fluid/fluid.xml +++ b/templates/fluid/fluid.xml @@ -29,6 +29,14 @@ + + + + + + + + diff --git a/templates/fluid/template_album.html b/templates/fluid/template_album.html index 6f08b81..465c631 100644 --- a/templates/fluid/template_album.html +++ b/templates/fluid/template_album.html @@ -20,6 +20,12 @@ div.photo#photo-$(ITEM_INDEX) img { width: $(IMG_SIZE_W__HIRES)px; height: $(IMG_SIZE_H__HIRES)px; } +} + +@media screen and (min-width: 3600px) { + + div.photo#photo-$(ITEM_INDEX) img { width: $(IMG_SIZE_W__4K)px; height: $(IMG_SIZE_H__4K)px; } + } @@ -61,6 +67,7 @@
+ -- cgit v1.2.3