UNPKG

hexo-theme-reimu

Version:
28 lines (25 loc) 467 B
.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; }