summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-07 18:17:12 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-07 18:17:12 +0100
commitfba9653ef974de99da520f4a67fdb33d87848ff7 (patch)
tree705a30790d0918fd596a0aed8795870e10693260
parentde2cc52fcbbf9186c9ac5c8ce97c9a00d7dce242 (diff)
downloadquatuorbellefeuille.com-fba9653ef974de99da520f4a67fdb33d87848ff7.tar.xz
Tweak aspect ratio check
Try to keep the "canonical" background as much as possible.
-rw-r--r--stylesheets/index.css3
1 files changed, 2 insertions, 1 deletions
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;