diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-02-07 21:08:11 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-02-08 19:56:30 +0100 |
| commit | 4b730727569cffbfa4bcfe3cd996c56d615ad96d (patch) | |
| tree | 6f86e442b1d1d32967d8fad905f73b1fb279b594 /stylesheets | |
| parent | 786144052cae336a0c48fdfa576cffdafe9cae4a (diff) | |
| download | quatuorbellefeuille.com-4b730727569cffbfa4bcfe3cd996c56d615ad96d.tar.xz | |
Use alternative background sizes
Diffstat (limited to 'stylesheets')
| -rw-r--r-- | stylesheets/index.css | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/stylesheets/index.css b/stylesheets/index.css index 58ce4c7..c556b27 100644 --- a/stylesheets/index.css +++ b/stylesheets/index.css @@ -1,6 +1,23 @@ body { - background: no-repeat center/cover url('backgroundflip.jpg'); - background-position: 70% 30%; + background: no-repeat 70% 30%/cover black url('/images/index/bg1k.jpg'); +} + +@media (min-width: 1024px), (min-height: 600px) { + body { + background-image: url('/images/index/bg2k.jpg'); + } +} + +@media (min-width: 2048), (min-height: 1300px) { + body { + background-image: url('/images/index/bg4k.jpg'); + } +} + +@media (min-width: 4096px), (min-height: 2700px) { + body { + background-image: url('/images/index/bgmax.jpg'); + } } main { |
