gallery/style/shiny/index.css

97 lines
1.4 KiB
CSS

@import url(base.css);
:root {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
body {
width: 37.5em;
}
header h1::before, header h1::after {
display: inline-block;
}
header h1::before {
content: url(../niss.svg);
padding-right: 0.15em;
height: 1em;
width: 1em;
vertical-align: -0.2em;
}
header h1::after {
content: url(../niss_tongue.svg);
padding-left: 0.15em;
height: 1.05em;
width: 1.05em;
vertical-align: -0.32em;
}
@media screen {
.nsfw::after {
content: url(../18_plus_white.svg);
display: inline-block;
height: 0.8em;
width: 0.8em;
transform: rotate(15deg);
vertical-align: top;
opacity: 80%;
mix-blend-mode: hard-light;
padding-left: 0.25em;
}
}
@media speech {
.nsfw::after {
content: ' (some nsfw)';
}
}
#mutstd-note {
display: flex;
align-items: center;
justify-content: center;
}
#peace-sign {
transform: rotate(15deg);
height: 2em;
padding-left: 0.5em;
}
.list {
display: grid;
margin: 0;
padding: 0;
grid-template-columns: 50% 50%;
align-items: center;
justify-content: center;
font-size: 175%;
}
.list li {
list-style: none;
text-align: center;
}
.list a {
text-decoration: none;
}
main {
margin: 2em 0;
}
@media (pointer: coarse) {
.list {
font-size: 300%;
grid-template-columns: 100%;
grid-gap: 1em;
}
}