From fba9653ef974de99da520f4a67fdb33d87848ff7 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sun, 7 Mar 2021 18:17:12 +0100 Subject: Tweak aspect ratio check Try to keep the "canonical" background as much as possible. --- stylesheets/index.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'stylesheets') diff --git a/stylesheets/index.css b/stylesheets/index.css index 020375c..78e9d71 100644 --- 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; -- cgit v1.2.3