95 lines
1.4 KiB
CSS
95 lines
1.4 KiB
CSS
@import url(base.css);
|
|
|
|
body {
|
|
width: 40em;
|
|
}
|
|
|
|
.gallery-list {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 50%);
|
|
align-items: center;
|
|
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
font-size: 150%;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.gallery-list a {
|
|
display: block;
|
|
font-weight: inherit;
|
|
color: var(--text);
|
|
padding: 0.5em;
|
|
}
|
|
|
|
.gallery-list a:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.gallery-list li {
|
|
list-style: none;
|
|
text-align: center;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
background: var(--green);
|
|
}
|
|
|
|
.gallery-list li:nth-child(2n) {
|
|
border-left: 2px solid hsla(0, 0%, 100%, 30%);
|
|
}
|
|
|
|
.gallery-list li:nth-child(2n+1) {
|
|
border-right: 2px solid hsla(0, 0%, 100%, 30%);
|
|
}
|
|
|
|
|
|
.gallery-list .nsfw {
|
|
background: var(--red);
|
|
}
|
|
|
|
.nsfw a::after {
|
|
content: url(18_plus.svg);
|
|
display: inline-block;
|
|
width: 1em; height: 1em;
|
|
padding-left: 0.15em;
|
|
vertical-align: -0.1em;
|
|
}
|
|
|
|
footer {
|
|
margin: 1.5em auto 0;
|
|
font-style: italic;
|
|
}
|
|
|
|
#mutstd-note {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
#peace-sign {
|
|
display: block;
|
|
height: 2em;
|
|
padding-left: 0.5em;
|
|
transform: rotate(20deg);
|
|
}
|
|
|
|
@media (hover) and (prefers-reduced-motion: no-preference) {
|
|
.gallery-list a:hover {
|
|
transform: scale(110%);
|
|
transition: transform 0.25s ease-in-out;
|
|
}
|
|
}
|
|
|
|
@media (pointer: coarse) {
|
|
.gallery-list {
|
|
font-size: 300%;
|
|
}
|
|
|
|
.nsfw a::after {
|
|
vertical-align: baseline;
|
|
}
|
|
}
|