summaryrefslogtreecommitdiff
path: root/stylesheets/index.css
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-02-07 21:08:11 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-02-08 19:56:30 +0100
commit4b730727569cffbfa4bcfe3cd996c56d615ad96d (patch)
tree6f86e442b1d1d32967d8fad905f73b1fb279b594 /stylesheets/index.css
parent786144052cae336a0c48fdfa576cffdafe9cae4a (diff)
downloadquatuorbellefeuille.com-4b730727569cffbfa4bcfe3cd996c56d615ad96d.tar.xz
Use alternative background sizes
Diffstat (limited to 'stylesheets/index.css')
-rw-r--r--stylesheets/index.css21
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 {