Johnny/out/css/cookie.css

53 lines
767 B
CSS

.cookie-banner{
position: fixed;
bottom: 0;
left: 0;
box-sizing: border-box;
width: 100vw;
height: min-content;
color: black;
background-color: white;
border-top: 1px solid black;
padding: .75rem 2rem;
z-index: 2500;
}
.cookie-banner button {
display: inline;
height: 2.5rem;
padding: .5rem 1rem;
margin: 0;
line-height: 1em;
color: black;
border-color: black;
}
.cookie-banner * {
margin-right: 1rem !important;
vertical-align: baseline;
}
.cookie-banner > :first-child {
display: inline;
}
.cookie-banner > :last-child {
margin-right: 0 !important;
}
@media (prefers-color-scheme: dark){
.cookie-banner {
background-color: black;
border-color: white;
color: white;
}
.cookie-banner button{
color: white;
border-color: white;
}
}