Template:Gallery/styles.css

.template-gallery { margin-top: var( --space-md ); display: flex; gap: var( --space-xs ); }

.template-gallery a.mw-file-description { display: block; border-radius: var( --border-radius--small ); overflow: hidden; }

.template-gallery a.mw-file-description img { transition: transform 250ms ease; }

.template-gallery a.mw-file-description:hover img { transform: scale(1.1); }