hexo-theme-reimu
Version:
A Hakurei Reimu style Hexo theme
28 lines (25 loc) • 467 B
text/stylus
.gallery-wall {
display: flex;
flex-wrap: wrap;
gap: 12px;
justify-content: center;
margin: 16px 0;
}
.photo-item {
border-radius: 12px;
overflow: hidden;
transition: 0.3s;
background-color: var(--color-wrap);
display: flex;
align-items: center;
justify-content: center;
}
.photo-item:hover img {
transform: scale(1.1);
}
.photo-item img {
display: block;
width: 100%;
height: auto;
object-fit: cover;
}