diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-04-08 12:08:23 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-04-08 12:08:23 +0200 |
commit | aa76f442a611c7fe60bb0d8bfa53fcc334d2dda8 (patch) | |
tree | 1106a707fe82eeaa74904ce89956686983890bc7 /share | |
parent | 9b243c81dac2a08e3cc1436d28903433b7c6f1da (diff) |
create thumbnails at 2x resolution for high-dpi displays
Diffstat (limited to 'share')
-rw-r--r-- | share/css/main.css | 9 |
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 */; +} |