-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcookie-banner.css
More file actions
89 lines (77 loc) · 1.49 KB
/
cookie-banner.css
File metadata and controls
89 lines (77 loc) · 1.49 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
/* DeepL Cookie Consent Banner */
#cookie-banner {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background: #0f2b46;
color: #fff;
padding: 20px;
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
z-index: 10000;
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
font-family: Roboto, sans-serif;
}
#cookie-banner-content {
flex: 1;
}
#cookie-banner-text {
margin: 0;
font-size: 14px;
line-height: 1.5;
}
#cookie-banner-text a {
color: #4FC3F7;
text-decoration: underline;
}
#cookie-banner-buttons {
display: flex;
gap: 12px;
flex-shrink: 0;
}
#cookie-reject,
#cookie-accept {
padding: 10px 20px;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
font-weight: 500;
transition: all 0.2s;
font-family: Roboto, sans-serif;
}
#cookie-reject {
background: transparent;
color: #fff;
border: 1px solid #fff;
}
#cookie-reject:hover {
background: rgba(255, 255, 255, 0.1);
}
#cookie-accept {
background: #fff;
color: #0f2b46;
border: none;
}
#cookie-accept:hover {
background: #e6e6e6;
}
/* Responsive design for mobile */
@media (max-width: 768px) {
#cookie-banner {
flex-direction: column;
align-items: stretch;
gap: 16px;
padding: 16px;
}
#cookie-banner-buttons {
width: 100%;
justify-content: stretch;
}
#cookie-reject,
#cookie-accept {
flex: 1;
}
}