summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-07 17:58:38 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-07 17:58:38 +0100
commitde2cc52fcbbf9186c9ac5c8ce97c9a00d7dce242 (patch)
tree617c7259e79a61dc1100146fa36f23ead19b03a2
parent6b8bc1bd93d2a17047892d53dd7b6dcd2ed20530 (diff)
downloadquatuorbellefeuille.com-de2cc52fcbbf9186c9ac5c8ce97c9a00d7dce242.tar.xz
Tweak index layout when aspect ratio drops below 1
-rw-r--r--stylesheets/index.css18
1 files changed, 18 insertions, 0 deletions
diff --git a/stylesheets/index.css b/stylesheets/index.css
index 23949cc..020375c 100644
--- a/stylesheets/index.css
+++ b/stylesheets/index.css
@@ -51,3 +51,21 @@ a#next-concert:hover {
#next-concert #day {
font-weight: 600;
}
+
+@media (max-aspect-ratio: 1/1) {
+ body {
+ background-image: url('/images/photos/PierreVaillant2.jpg');
+ background-position: bottom;
+ }
+
+ main {
+ display: flex;
+ justify-content: center;
+ }
+
+ a#next-concert {
+ bottom: auto;
+ left: auto;
+ top: 10%;
+ }
+}