106 lines
1.5 KiB
CSS
106 lines
1.5 KiB
CSS
@import url(base.css);
|
|
|
|
:root {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.page {
|
|
width: 37.5em;
|
|
}
|
|
|
|
#title::before, #title::after {
|
|
display: inline-block;
|
|
}
|
|
#title::before {
|
|
content: url(../niss.svg);
|
|
padding-right: 0.15em;
|
|
height: 1em;
|
|
width: 1em;
|
|
vertical-align: -0.2em;
|
|
}
|
|
#title::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);
|
|
height: 1em;
|
|
width: 1em;
|
|
transform: rotate(var(--nsfw-sticker-rotate));
|
|
mix-blend-mode: hard-light;
|
|
margin-left: 0.3em;
|
|
}
|
|
}
|
|
|
|
@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: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: space-evenly;
|
|
padding: 0;
|
|
grid-gap: 1.5em;
|
|
|
|
font-size: 175%;
|
|
}
|
|
|
|
.list li {
|
|
list-style: none;
|
|
text-align: center;
|
|
display: grid;
|
|
grid-template-columns: auto min-content;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.list a:not(:focus) {
|
|
text-decoration: none;
|
|
}
|
|
|
|
main {
|
|
margin: 2em 0;
|
|
}
|
|
|
|
@media (pointer: coarse) {
|
|
.list {
|
|
font-size: 300%;
|
|
grid-template-columns: 100%;
|
|
grid-gap: 1em;
|
|
}
|
|
}
|
|
|
|
@media (not hover), (pointer: coarse) {
|
|
.list a::after {
|
|
content: attr(title);
|
|
display: block;
|
|
font-size: 60%;
|
|
}
|
|
}
|