forked from jamestomasino/cookieconsent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcookieconsent.css
More file actions
91 lines (86 loc) · 1.85 KB
/
cookieconsent.css
File metadata and controls
91 lines (86 loc) · 1.85 KB
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
#cookie-consent-banner {
position: fixed;
display: flex;
padding: 20px;
flex-direction: column;
align-items: center;
justify-content: center;
box-sizing: border-box;
bottom: 20px;
right: 20px;
width: calc(100% - 40px);
max-width: 800px;
background: #FFFFFF 0% 0% no-repeat padding-box;
box-shadow: 0px 3px 30px #00000029;
border-radius: 10px;
opacity: 0.95;
font-family: system-ui, sans-serif;
font-weight: normal;
color: #000000;
z-index: 40000;
}
#cookie-consent-banner h3 {
text-align: center;
font-size: 30px;
line-height: 37px;
font-weight: 700;
margin-bottom: 20px;
}
#cookie-consent-banner p {
text-align: center;
font-size: 18px;
line-height: 26px;
text-wrap: balance;
margin-bottom: 20px;
}
#cookie-consent-banner label {
font-size: 18px;
line-height: 26px;
}
#cookie-consent-banner label input {
margin-right: 7px;
}
#cookie-consent-banner .cookie-consent-options,
#cookie-consent-banner .cookie-consent-buttons {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-items: center;
margin-bottom: 20px;
gap: 20px;
}
#cookie-consent-banner .cookie-consent-buttons button {
display: block;
width: 200px;
height: 50px;
border: 0;
border-radius: 10px;
box-sizing: border-box;
color: #fff;
font-size: 18px;
font-weight: 700;
line-height: 23px;
}
#cookie-consent-banner .cookie-consent-buttons button:nth-of-type(1) {
background-color: #000000;
}
#cookie-consent-banner .cookie-consent-buttons button:nth-of-type(2) {
background-color: #1A0D60;
}
#cookie-consent-banner .cookie-consent-buttons button:nth-of-type(3) {
background-color: #4E38C7;
}
@media screen and (width < 600px) {
#cookie-consent-banner h3 {
font-size: 20px;
line-height: 25px;
}
#cookie-consent-banner p {
font-size: 14px;
line-height: 16px;
}
#cookie-consent-banner .cookie-consent-buttons {
flex-direction: column;
}
}