Template:Gallery/styles.css

Template page
Revision as of 08:47, 14 October 2023 by ZexisStryfe (talk | contribs) (Created page with ".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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.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 );
}