summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-04-08 12:08:23 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-04-08 12:08:23 +0200
commitaa76f442a611c7fe60bb0d8bfa53fcc334d2dda8 (patch)
tree1106a707fe82eeaa74904ce89956686983890bc7 /share
parent9b243c81dac2a08e3cc1436d28903433b7c6f1da (diff)
create thumbnails at 2x resolution for high-dpi displays
Diffstat (limited to 'share')
-rw-r--r--share/css/main.css9
1 files changed, 7 insertions, 2 deletions
diff --git a/share/css/main.css b/share/css/main.css
index 5554843..ad451ad 100644
--- a/share/css/main.css
+++ b/share/css/main.css
@@ -2,10 +2,15 @@ div.image-container {
text-align: center;
font-size: 80%;
float: left;
- width: /* $width */;
- height: /* $height */;
+ width: /* $boxwidth */;
+ height: /* $boxheight */;
}
div.image-container a {
text-decoration: none;
}
+
+div.image-container img {
+ max-width: /* $imgwidth */;
+ max-height: /* $imgheight */;
+}