@import url(base.css); body { max-width: calc(var(--page-size) + 200px); position: relative; } .date, .artist { font-weight: 400; position: absolute; top: 0.1em; margin: 0; padding: 0; font-size: 100%; font-style: oblique; } .date { right: 0.1em; } .artist { left: 0.1em; } #mainfig { justify-content: center; border: 2px solid var(--text); 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; font-size: 250%; font-weight: 900; color: white; background: hsla(var(--text-hue), 35%, 15%, 80%); mix-blend-mode: multiply; display: flex; justify-content: center; align-items: center; } #cw::before { content: 'cw:\A0'; /* nsbp */ font-weight: 600; } #cw + * img { filter: blur(50px); } figcaption p { margin: 0; } .info { margin: 1em auto; width: var(--page-size); } .info > section { display: grid; grid-gap: 1em; grid-template-columns: 10em calc(var(--page-size) - 11em); 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 { content: url(18_plus_small.png); vertical-align: middle; 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%; font-style: oblique; text-align: center; }