diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-07 17:58:38 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-07 17:58:38 +0100 |
| commit | de2cc52fcbbf9186c9ac5c8ce97c9a00d7dce242 (patch) | |
| tree | 617c7259e79a61dc1100146fa36f23ead19b03a2 | |
| parent | 6b8bc1bd93d2a17047892d53dd7b6dcd2ed20530 (diff) | |
| download | quatuorbellefeuille.com-de2cc52fcbbf9186c9ac5c8ce97c9a00d7dce242.tar.xz | |
Tweak index layout when aspect ratio drops below 1
| -rw-r--r-- | stylesheets/index.css | 18 |
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%; + } +} |
