Vorlage:Scroll Gallery/styles.css

Aus Wikivoyage
/*
	Scroll Gallery styles
	Version: 2024-03-27
*/

.voy-ImageGroup {
	text-align: center;
	border: 1px solid #c8ccd1;
	background-color: #f8f9fa;
	box-sizing: border-box;
	max-width: 100% !important;
}
.voy-ImageGroupLeft {
	clear: left;
	float: left;
	margin: 0 1.4em 0.5em 0;
}
.voy-ImageGroupRight {
	clear: right;
	float: right;
	margin: 0 0 0.5em 1.4em;
}
.voy-ImageGroupCenter {
	clear: both;
	float: none;
	display: table;
	margin: 0 auto 0.5em;
}
@media (max-width: 600px) { /* Mobile devices */
	.voy-ImageGroup {
		display: table;
		clear: both;
		float: none;
		margin: 0 auto 0.5em;
	}
}
.voy-ImageGroupHeader {
	font-size: 110%;
	font-weight: bold;
	padding: 3px 3px 0;
	background: #f0f0f0;
	margin-bottom: 0;
	line-height: 1.2em;
}
.voy-ImageButton {
	cursor: pointer;
}
.voy-ImageNoLoop {
	cursor: default;
	color: transparent; /* invisible */
}
.voy-ImageGrUnit {
	margin: 0;
	padding: 0;
}
.voy-ImageGrUnitHeader {
	background: #f0f0f0;
}
.voy-ImageGrUnitInner {
	padding: 0;
}

/* Images styles */

.voy-ImageGroup figure[typeof~="mw:File/Thumb"] {
	margin: 0 auto;
	border: none;
	background-color: transparent;
}
.voy-ImageGroup figure[typeof~="mw:File/Thumb"] figcaption {
	margin: 0;
	border: none;
	text-align: left;
}

@media print {
	.voy-ImageGroup {
		border: none;
		padding: 0;
		width: auto !important;
	}
	.voy-ImageGrUnitHeader, .voy-ImageGroupHeader {
		display: none;
	}
}