summaryrefslogtreecommitdiff
path: root/Static/Css/rgpd.css
blob: 023b5ade9bf02d204238162c54d448e3bde7f13a (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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107

/*
############################################################################
#                                                                          #
# Description: CSS spécifique au bandeau RGPD                              #
#                                                                          #
############################################################################
*/

#rgpd {
    position:          fixed;
    display:           flex;
    flex-direction:    column;
    justify-content:   space-around;
    z-index:           3;
    width:             100%;
    height:            100%;
    background-color: #10101090;
}

#rgpd section {
    display:          flex;
    flex-direction:   column;
    position:         relative;
    width:            -moz-fit-content;
    width:            fit-content;
    max-width:        50%;
    margin-left:      auto;
    margin-right:     auto;
    padding:          1em;
    background-color: var(--bg);
    border:           4px solid var(--mainSiteColor);
    border-radius:    10px;
    font-size:        var(--fontSizeSmallLess);
}

#rgpd h3 {
    margin-left:   auto;
    margin-right:  auto;
    width:         -moz-fit-content;
    width:         fit-content;
    font-size:     var(--fontSizeMedium);
    border-bottom: var(--mainSiteColor) 2px solid;
}

#mainRgpd {
    display: flex;
    padding: 1em;
}

#mainRgpd p {
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
}

#rgpd span {
    display:         flex;
    flex-direction:  column;
    justify-content: space-around;
    padding:         0.2em;
    font-size:       64px;
}

#btnRgpd {
    display:      flex;
    margin-left:  auto;
    margin-right: 1em;
    padding:      1em;
    gap:          1em;
}

#rgpdAccept, #rgpdDecline {
    background-color: var(--bg);
    border-radius:    5px;
    padding:          0.4em 0.6em;
    transition:       all 0.08s ease-in-out;
}

#rgpdAccept:hover, #rgpdDecline:hover {
    cursor: pointer;
    color:  var(--bg);
}

#rgpdAccept {
    color: #145814;
    border: 2px solid #218a21;
}

#rgpdDecline {
    color: #5e5e5e;
    border: 2px solid #a1a1a1;
}

#rgpdAccept:hover {
    background-color: #218a21;
}

#rgpdDecline:hover {
    background-color: #a1a1a1;
}

@media screen and (max-width: 768px) {
    #rgpd section {
        max-width: 80%;
    }
}