Template:Gallery/styles.css: Difference between revisions

Template page
sctools>Alistair3149
(Add missing overflow rule)
m (1 revision imported: Antares hozzáadva sctoolsról)

Revision as of 17:04, 1 March 2023

.template-gallery {
	margin-top: var( --space-md );
	display: flex;
	overflow: auto;
	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);
}