Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b38f424c84 | |||
| ad727cd739 |
@@ -48,4 +48,4 @@
|
|||||||
if (localStorage.getItem(KEY) === 'accepted') {
|
if (localStorage.getItem(KEY) === 'accepted') {
|
||||||
if (typeof window.trackVisit === 'function') window.trackVisit();
|
if (typeof window.trackVisit === 'function') window.trackVisit();
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
#cookie-banner {
|
#cookie-banner {
|
||||||
|
color: inherit;
|
||||||
|
background-color: inherit;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 2.5rem;
|
top: 2.5rem;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
width: min(480px, calc(100vw - 2rem));
|
width: calc(100vw - 2rem);
|
||||||
background: #fff;
|
max-width: 480px;
|
||||||
border: 1px solid #e2e2e2;
|
border: 1px solid #e2e2e2;
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
padding: 1rem 1.25rem;
|
padding: 1rem 1.25rem;
|
||||||
@@ -37,3 +39,6 @@
|
|||||||
background: #0b913a; color: #fff; border-color: #1a1a1a;
|
background: #0b913a; color: #fff; border-color: #1a1a1a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#cookie-decline {
|
||||||
|
background: #272b2e; color: #fff; border-color: #1a1a1a;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user