Template:Gallery/styles.css: Difference between revisions

Template page
m (1 revision imported: Antares hozzáadva sctoolsról)
stacitizen.tools>Alistair3149
No edit summary
Line 18: Line 18:
.template-gallery a.mw-file-description:hover img {
.template-gallery a.mw-file-description:hover img {
     transform: scale(1.1);
     transform: scale(1.1);
}
.template-gallery video {
max-width: none !important;
max-height: 120px !important;
    width: auto !important;
    overflow: hidden;
    border-radius: var( --border-radius--small );
}
}

Revision as of 21:08, 16 June 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);
}

.template-gallery video {
	max-width: none !important;
	max-height: 120px !important;
    width: auto !important;
    overflow: hidden;
    border-radius: var( --border-radius--small );
}