commit fba9653ef974de99da520f4a67fdb33d87848ff7
parent de2cc52fcbbf9186c9ac5c8ce97c9a00d7dce242
Author: Kévin Le Gouguec <kevin.legouguec@gmail.com>
Date: Sun, 7 Mar 2021 18:17:12 +0100
Tweak aspect ratio check
Try to keep the "canonical" background as much as possible.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/stylesheets/index.css b/stylesheets/index.css
@@ -52,7 +52,8 @@ a#next-concert:hover {
font-weight: 600;
}
-@media (max-aspect-ratio: 1/1) {
+@media (max-aspect-ratio: 1/1) and (max-height: 600px),
+ (max-aspect-ratio: 5/6) {
body {
background-image: url('/images/photos/PierreVaillant2.jpg');
background-position: bottom;