Jump to content

Module:Gallery/sandbox/styles.css

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Great Brightstar (talk | contribs) at 15:07, 3 April 2023. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
@media all and (max-width: 720px) {
	.mod-gallery-sb {
		width: 100% !important;
	}
}

.mod-gallery-sb {
	display: table;
}

.mod-gallery-default {
	background: transparent;
	margin-top: 0.3em;
}

.mod-gallery-center {
	margin-left: auto;
	margin-right: auto;
}

.mod-gallery-left {
	float: left;
}

.mod-gallery-right {
	float: right;
}

.mod-gallery-none {
	float: none;
}

.mod-gallery-collapsible {
	width: 100%;
}

.mod-gallery-sb .title,
.mod-gallery-sb .main,
.mod-gallery-sb .footer {
	display: table-row;
}

.mod-gallery-sb .title > div {
	display: table-cell;
	padding: 0.2em 0 0.6em 1em;
	text-align: center;
	font-weight: bold;
}

.mod-gallery-sb .main > div {
	display: table-cell;
}

.mod-gallery-sb .footer > div {
	display: table-cell;
	padding: 0.2em 0 0.6em 1em;
	text-align: right;
	font-size: 80%;
	line-height: 1em;
}

.mod-gallery-sb .title > div *,
.mod-gallery-sb .footer > div * {
	overflow: visible;
}

.mod-gallery-sb .gallerybox img {
	background: none !important;
}

.mod-gallery-sb .bordered-images .thumb img {
	outline: solid #eaecf0 1px;
}

.mod-gallery-sb .whitebg .thumb {
	background: #fff !important;
}