3 Commits

Author SHA1 Message Date
daniel 4c5a2f2225 Fix styling of button and banner. 2026-06-15 20:15:46 +02:00
daniel b38f424c84 Explicitly set colors of banner. 2026-06-15 05:48:01 +02:00
daniel ad727cd739 Fix styling. 2026-06-14 23:14:56 +02:00
3 changed files with 16 additions and 7 deletions
+13 -4
View File
@@ -1,14 +1,16 @@
#cookie-banner {
color: #E2E8F0;
background-color: #4A5568;
position: fixed;
top: 2.5rem;
left: 50%;
transform: translateX(-50%);
width: min(480px, calc(100vw - 2rem));
background: #fff;
width: calc(100vw - 2rem);
max-width: 480px;
border: 1px solid #e2e2e2;
border-radius: 12px;
padding: 1rem 1.25rem;
box-shadow: 0 4px 24px rgba(0,0,0,.08);
box-shadow: 0 0 36px #111;
display: flex;
align-items: center;
gap: 1rem;
@@ -34,6 +36,13 @@
}
#cookie-accept {
background: #0b913a; color: #fff; border-color: #1a1a1a;
background: #4A5E52; color: #fff; border-color: #1a1a1a;
}
#cookie-decline {
background: #2D3748; color: #fff; border-color: #1a1a1a;
}
#cookie-settings-button {
background: #272b2e; color: #fff; border-color: #1a1a1a;
}
@@ -7,6 +7,6 @@
—
</strong>
</p>
<button onclick="reopenCookieBanner()">
<button id="cookie-settings-button" onclick="reopenCookieBanner()">
{{ i18n "cookie_change" }}
</button>