gallery/style/shiny/nsfw-warning.css

106 lines
1.5 KiB
CSS
Raw Normal View History

2024-08-05 17:36:30 -04:00
dialog {
&[open] {
&::backdrop {
background: hsl(340deg, 35%, 15%, 90%);
mix-blend-mode: multiply;
}
~ .page { filter: blur(15px); }
place-self: center;
display: grid;
grid-template:
"icon header"
"icon text"
"icon buttons"
/ 1fr 3fr;
gap: 0.5em 1.5em;
place-items: center;
place-content: center;
min-height: 20vh;
max-width: 30em;
padding: 1.5em 3em 2em;
background: var(--background);
border: var(--border);
border-radius: var(--border-radius);
box-shadow: 0 0 50px #fff6;
}
2024-08-05 17:36:30 -04:00
color: var(--text-col);
2020-10-06 16:07:39 -04:00
2024-08-05 17:36:30 -04:00
h1 {
margin: 0;
grid-area: header;
}
2020-10-06 16:07:39 -04:00
2024-08-05 17:36:30 -04:00
img {
grid-area: icon;
}
2020-10-06 16:07:39 -04:00
2024-08-05 17:36:30 -04:00
div {
grid-area: text;
text-align: center;
font-size: 125%;
}
2020-10-06 16:07:39 -04:00
2024-08-05 17:36:30 -04:00
form {
grid-area: buttons;
2020-10-06 16:41:26 -04:00
2024-08-05 17:36:30 -04:00
display: flex;
justify-content: center;
2021-04-16 12:02:42 -04:00
2024-08-05 17:36:30 -04:00
margin-top: 1em;
2020-10-06 16:07:39 -04:00
2024-08-05 17:36:30 -04:00
> * {
margin: 0 1em;
}
}
2020-10-06 16:07:39 -04:00
2024-08-05 17:36:30 -04:00
button {
border: none;
border-radius: 0.75em;
padding: 0.5em 1em;
2020-10-06 16:07:39 -04:00
2024-08-05 17:36:30 -04:00
font-family: Muller;
font-weight: 600;
font-size: inherit;
color: black;
2024-08-05 17:36:30 -04:00
position: relative;
2024-08-05 17:36:30 -04:00
cursor: pointer;
2024-08-05 17:36:30 -04:00
a {
inset: 0;
width: max-content;
text-decoration: none;
}
}
2020-10-06 16:07:39 -04:00
2024-08-05 17:36:30 -04:00
.yes {
background: hsl(100deg, 70%, 80%);
}
2020-10-06 16:07:39 -04:00
2024-08-05 17:36:30 -04:00
.no {
background: hsl(5deg, 70%, 80%);
}
2020-10-06 16:41:26 -04:00
2024-08-05 17:36:30 -04:00
p {
text-align: left;
-ms-hyphens: none;
hyphens: none;
}
2022-01-03 14:45:55 -05:00
2024-08-05 17:36:30 -04:00
strong {
font-weight: 800;
}
2022-01-03 14:45:55 -05:00
}
2020-10-06 16:41:26 -04:00
@media (pointer: coarse) {
button {
font-size: 150%;
}
}