summaryrefslogtreecommitdiff
path: root/stylesheets/index.css
blob: 7628bd036a156e816409fcd4180cde485a59763b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
body {
    background: no-repeat 70% 30%/cover black url('/images/index/bg1k.jpg');
}

main {
    position: relative;
}

a#next-concert {
    display: block;
    position: absolute;
    bottom: 0;
    left: -2em;
    padding: 2em;
    width: 6em;
    height: 3em;
    text-align: center;
    text-decoration: none;
    background: no-repeat center/contain url('/images/calendar.svg');
}
a#next-concert:hover {
    color: var(--gold);
    background-image: url('/images/calendar-gold.svg');
}

#next-concert p {
    position: relative;
    top: 1em;
    margin: 0;
    text-transform: uppercase;
}

#next-concert #day {
    font-weight: 600;
}

@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');
    }
}

@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;
    }

    main {
        display: flex;
        justify-content: center;
    }

    a#next-concert {
        bottom: auto;
        left: auto;
        top: 10%;
     }
}

@media (min-width: 40em) {
    header.menu > nav,
    footer.social {
        background: #0004;
        margin-bottom: auto;
    }

    nav li.dropdown ul {
        background: #0004;
    }
}