2020-07-20 16:40:34 -04:00
|
|
|
@import url(base.css);
|
|
|
|
|
|
|
|
:root {
|
|
|
|
--image-width: 1000px;
|
|
|
|
}
|
|
|
|
|
2020-07-23 13:59:07 -04:00
|
|
|
body {
|
|
|
|
max-width: var(--image-width);
|
|
|
|
}
|
|
|
|
|
2020-07-20 16:40:34 -04:00
|
|
|
#mainfig {
|
|
|
|
margin: 1em auto;
|
|
|
|
width: min-content;
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
2020-08-03 13:23:20 -04:00
|
|
|
border: 2px solid var(--text-col);
|
2020-07-20 16:40:34 -04:00
|
|
|
border-radius: 1em;
|
|
|
|
box-shadow: var(--text-shadow);
|
2020-07-24 08:23:12 -04:00
|
|
|
background: hsl(340, 45%, 65%);
|
2020-07-20 16:40:34 -04:00
|
|
|
}
|
|
|
|
|
2020-08-03 17:06:19 -04:00
|
|
|
#mainfig:focus-within {
|
|
|
|
box-shadow: var(--focus-box);
|
|
|
|
}
|
|
|
|
|
2020-07-20 16:40:34 -04:00
|
|
|
#mainimg {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
#cw {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 1;
|
|
|
|
|
|
|
|
background: hsl(330deg, 20%, 36%);
|
|
|
|
mix-blend-mode: multiply;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-08-03 13:38:45 -04:00
|
|
|
|
|
|
|
cursor: pointer;
|
2020-07-20 16:40:34 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#cw-text {
|
|
|
|
font-size: 200%;
|
|
|
|
font-weight: 600;
|
|
|
|
color: hsl(330deg, 100%, 90%);
|
|
|
|
text-shadow: none;
|
|
|
|
transform: rotate(-45deg);
|
|
|
|
|
|
|
|
background: hsl(330deg, 40%, 16%);
|
|
|
|
padding: 0.25em 0.5em;
|
|
|
|
border-radius: 0.5em;
|
|
|
|
}
|
|
|
|
|
2020-08-04 12:58:40 -04:00
|
|
|
#cw ~ * {
|
2020-07-20 16:40:34 -04:00
|
|
|
filter: blur(50px);
|
|
|
|
opacity: 65%;
|
|
|
|
}
|
|
|
|
|
2020-08-04 12:58:40 -04:00
|
|
|
.nsfw-label::after {
|
2020-07-24 12:40:03 -04:00
|
|
|
content: url(../18_plus_white.svg);
|
2020-07-24 12:40:16 -04:00
|
|
|
transform: rotate(var(--nsfw-sticker-rotate));
|
2020-07-24 12:40:03 -04:00
|
|
|
display: inline-block;
|
|
|
|
height: 0.9em; width: 0.9em;
|
|
|
|
vertical-align: -0.07em;
|
|
|
|
padding-left: 0.25em;
|
|
|
|
}
|
|
|
|
|
2020-08-04 12:58:40 -04:00
|
|
|
:checked ~ .nsfw-label::after {
|
2020-07-24 12:40:03 -04:00
|
|
|
content: url(../18_plus.svg);
|
|
|
|
}
|
|
|
|
|
2020-08-04 12:26:36 -04:00
|
|
|
#info {
|
|
|
|
max-width: 80%;
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.info-section {
|
2020-07-20 16:40:34 -04:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 10% auto;
|
|
|
|
grid-gap: 2em;
|
|
|
|
align-items: baseline;
|
|
|
|
}
|
|
|
|
|
2020-08-03 13:35:41 -04:00
|
|
|
#info h2, #info ul, #info p {
|
2020-07-20 16:40:34 -04:00
|
|
|
margin: 0.35em;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
text-align: center;
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (pointer: coarse) {
|
2020-07-23 13:59:07 -04:00
|
|
|
footer {
|
|
|
|
font-size: 150%;
|
|
|
|
}
|
2020-07-20 16:40:34 -04:00
|
|
|
}
|