2020-07-17 06:29:13 -04:00
|
|
|
@import url(base.css);
|
|
|
|
|
|
|
|
body {
|
|
|
|
width: 40em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gallery-list {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(2, 50%);
|
2020-07-17 09:52:13 -04:00
|
|
|
align-items: center;
|
2020-07-17 06:29:13 -04:00
|
|
|
|
|
|
|
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;
|
2020-07-17 09:52:13 -04:00
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-07-17 06:29:13 -04:00
|
|
|
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
2020-07-17 09:52:13 -04:00
|
|
|
.nsfw a::after {
|
2020-07-17 06:29:13 -04:00
|
|
|
content: url(18_plus.png);
|
|
|
|
padding-left: 0.15em;
|
|
|
|
vertical-align: middle;
|
2020-07-17 09:52:13 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
@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;
|
|
|
|
}
|
2020-07-17 06:29:13 -04:00
|
|
|
}
|