跳转到内容

Module:Gallery/styles.css

维基百科,自由的百科全书

这是本页的一个历史版本,由BigBullfrog留言 | 贡献2022年9月24日 (六) 22:37 建立内容为“{{pp-template}}:​ @media all and (max-width: 720px) { .mod-gallery { width: 100% !important; } } .mod-gallery { 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…”的新页面)编辑。这可能和当前版本存在着巨大的差异。

(差异) ←上一修订 | 最后版本 (差异) | 下一修订→ (差异)
/* {{pp-template}} */
@media all and (max-width: 720px) {
	.mod-gallery {
		width: 100% !important;
	}
}

.mod-gallery {
	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 .title,
.mod-gallery .main,
.mod-gallery .footer {
	display: table-row;
}

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

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

.mod-gallery .gallery {
	line-height: 1.35em;
}

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

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

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

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

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