mirror of
https://github.com/Anarios/return-youtube-dislike.git
synced 2026-10-27 23:31:06 +01:00
100 lines
1.5 KiB
CSS
100 lines
1.5 KiB
CSS
:root {
|
|
color-scheme: light dark;
|
|
font:
|
|
16px/1.5 system-ui,
|
|
sans-serif;
|
|
color: light-dark(#181818, #f5f5f5);
|
|
background: light-dark(#fff, #202020);
|
|
}
|
|
body {
|
|
margin: 0;
|
|
}
|
|
[hidden] {
|
|
display: none !important;
|
|
}
|
|
main {
|
|
max-width: 560px;
|
|
box-sizing: border-box;
|
|
margin: auto;
|
|
padding: 28px;
|
|
}
|
|
@media (min-width: 600px) {
|
|
main {
|
|
margin-top: 7vh;
|
|
}
|
|
}
|
|
h1 {
|
|
font-size: 24px;
|
|
line-height: 1.25;
|
|
margin: 16px 0;
|
|
}
|
|
p {
|
|
margin: 14px 0;
|
|
}
|
|
details {
|
|
margin: 20px 0;
|
|
padding: 16px;
|
|
border: 1px solid light-dark(#ddd, #555);
|
|
border-radius: 12px;
|
|
font-size: 14px;
|
|
}
|
|
summary {
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
}
|
|
dt {
|
|
margin-top: 18px;
|
|
font-weight: 700;
|
|
}
|
|
dd {
|
|
margin: 5px 0 0;
|
|
}
|
|
h2 {
|
|
margin: 24px 0 8px;
|
|
font-size: 16px;
|
|
}
|
|
.secondary,
|
|
#consent-status {
|
|
font-size: 14px;
|
|
color: light-dark(#555, #ccc);
|
|
}
|
|
#consent-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
margin-top: 20px;
|
|
}
|
|
button {
|
|
font:
|
|
600 15px system-ui,
|
|
sans-serif;
|
|
padding: 12px 22px;
|
|
border: 1px solid light-dark(#888, #999);
|
|
border-radius: 24px;
|
|
cursor: pointer;
|
|
color: inherit;
|
|
background: transparent;
|
|
}
|
|
#consent-continue {
|
|
background: #c00;
|
|
border-color: #c00;
|
|
color: white;
|
|
}
|
|
button:focus-visible,
|
|
summary:focus-visible {
|
|
outline: 3px solid #388bff;
|
|
outline-offset: 3px;
|
|
}
|
|
button:disabled {
|
|
opacity: 0.6;
|
|
cursor: wait;
|
|
}
|
|
@media (max-width: 380px) {
|
|
main {
|
|
padding: 20px;
|
|
}
|
|
h1 {
|
|
font-size: 21px;
|
|
}
|
|
}
|