Skip to content

Commit 16b63fe

Browse files
authored
Styles.css Cookie Banner Style
1 parent 40b682d commit 16b63fe

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

JavaDiscord/css/styles.css

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,54 @@ nav img {
141141
color: white;
142142
}
143143

144+
/* ------------------------ Cookies ------------------------- */
145+
146+
.cookie-container {
147+
display: flex;
148+
flex-direction: column;
149+
position: fixed;
150+
right: 45px;
151+
bottom: -100%;
152+
width: 400px;
153+
background-color: rgb(30, 56, 71);
154+
padding: 20px;
155+
border-radius: 16px;
156+
transition: 400ms;
157+
}
158+
159+
.cookie-container.active {
160+
bottom: 45px;
161+
}
162+
163+
.cookie-content p{
164+
color: rgb(207, 207, 207);
165+
font-size: 18px;
166+
}
167+
168+
.cookie-links{
169+
text-align: right;
170+
}
171+
172+
.cookie-links a {
173+
text-decoration: underline;
174+
color: white;
175+
margin-left: 10px;
176+
}
177+
178+
#got-it-btn {
179+
text-decoration: none;
180+
font-family: "Uni Sans", sans-serif;
181+
padding: 10px 16px;
182+
background-color: #FF212D;
183+
font-size: 18px;
184+
}
185+
186+
#cookie-policy {
187+
font-family: "Uni Sans", sans-serif;
188+
color: white;
189+
padding-bottom: 10px;
190+
}
191+
144192

145193
/* ---------------------------------------------------------- */
146194
/* ------------------------- Pages -------------------------- */

0 commit comments

Comments
 (0)