2020-07-17 06:29:13 -04:00
|
|
|
@import url(base.css);
|
|
|
|
|
|
|
|
body {
|
|
|
|
max-width: calc(var(--page-size) + 200px);
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.date, .artist {
|
|
|
|
font-weight: 400;
|
|
|
|
position: absolute;
|
2020-07-18 05:47:50 -04:00
|
|
|
top: -0.5em;
|
2020-07-17 06:29:13 -04:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
font-size: 100%;
|
2020-07-18 05:47:50 -04:00
|
|
|
font-style: italic;
|
2020-07-17 06:29:13 -04:00
|
|
|
}
|
2020-07-18 05:47:50 -04:00
|
|
|
.date { right: -0.4em; }
|
|
|
|
.artist { left: -0.4em; }
|
2020-07-17 06:29:13 -04:00
|
|
|
|
|
|
|
#mainfig {
|
|
|
|
justify-content: center;
|
|
|
|
border: 2px solid var(--text);
|
2020-07-17 09:52:13 -04:00
|
|
|
box-shadow: 0 0 30px var(--shadow);
|
2020-07-17 06:29:13 -04:00
|
|
|
margin: auto;
|
|
|
|
height: min-content;
|
|
|
|
width: min-content;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
#mainimg {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
#cw {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 1;
|
|
|
|
|
|
|
|
background: hsla(var(--text-hue), 35%, 15%, 80%);
|
|
|
|
mix-blend-mode: multiply;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2020-07-18 05:47:50 -04:00
|
|
|
text-align: center;
|
2020-07-17 06:29:13 -04:00
|
|
|
}
|
|
|
|
|
2020-07-18 05:47:50 -04:00
|
|
|
#cw-text {
|
|
|
|
font-size: 300%;
|
2020-07-17 06:29:13 -04:00
|
|
|
font-weight: 600;
|
2020-07-18 05:47:50 -04:00
|
|
|
color: white;
|
|
|
|
transform: rotate(-45deg);
|
2020-07-17 06:29:13 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#cw + * img {
|
|
|
|
filter: blur(50px);
|
2020-07-18 05:47:50 -04:00
|
|
|
opacity: 75%;
|
|
|
|
background: var(--text);
|
2020-07-17 06:29:13 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
figcaption p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.info {
|
|
|
|
margin: 1em auto;
|
|
|
|
width: var(--page-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
.info > section {
|
|
|
|
display: grid;
|
2020-07-17 09:52:13 -04:00
|
|
|
--grid-gap: 1em;
|
|
|
|
grid-gap: var(--grid-gap);
|
|
|
|
grid-template-columns:
|
|
|
|
calc(20% - var(--grid-gap) / 2) calc(80% - var(--grid-gap) / 2);
|
2020-07-17 06:29:13 -04:00
|
|
|
justify-content: center;
|
|
|
|
align-items: baseline;
|
|
|
|
margin: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.info h2 {
|
|
|
|
font-size: inherit;
|
|
|
|
font-weight: 500;
|
|
|
|
margin: 0;
|
|
|
|
justify-self: end;
|
|
|
|
}
|
|
|
|
|
|
|
|
.info ul, .alts ul {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alts ul {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alts [type=checkbox], .alts [type=radio] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alts :checked + label {
|
|
|
|
background: var(--yellow);
|
|
|
|
border-color: var(--text);
|
|
|
|
}
|
|
|
|
|
|
|
|
.alts .nsfw label::after {
|
2020-07-18 05:47:50 -04:00
|
|
|
content: url(18_plus.svg);
|
|
|
|
display: inline-block;
|
|
|
|
height: 0.8em; width: 0.8em;
|
|
|
|
vertical-align: -0.1em;
|
2020-07-17 06:29:13 -04:00
|
|
|
padding-left: 0.15em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.info ul {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.info li, .alts li {
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.info li, .alts label {
|
|
|
|
padding: 0 0.5em;
|
|
|
|
margin: 0 0.25em;
|
|
|
|
background: var(--light-tum);
|
|
|
|
border: 1px solid var(--dark-tum);
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.info p:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.info p {
|
|
|
|
margin: 0.25em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
font-size: 90%;
|
2020-07-18 05:47:50 -04:00
|
|
|
font-style: italic;
|
2020-07-17 06:29:13 -04:00
|
|
|
text-align: center;
|
|
|
|
}
|
2020-07-17 09:52:13 -04:00
|
|
|
|
|
|
|
|
|
|
|
@media (pointer: coarse) {
|
|
|
|
.info, .alts {
|
|
|
|
font-size: 200%;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
font-size: 150%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
|
|
#cw + * img {
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
}
|
2020-07-18 05:47:50 -04:00
|
|
|
|
|
|
|
@media (prefers-reduced-transparency) {
|
|
|
|
#cw {
|
|
|
|
background: hsl(var(--text-hue), 35%, 15%);
|
|
|
|
mix-blend-mode: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
#cw + * img {
|
|
|
|
filter: none;
|
|
|
|
}
|
|
|
|
}
|