2023年政策修订增补工作正在进行中,欢迎参与!
  • Moegirl.ICU:萌娘百科流亡社群 581077156(QQ),欢迎对萌娘百科运营感到失望的编辑者加入
  • Moegirl.ICU:账号认领正在试运行,有意者请参照账号认领流程

Template:Multiple image/styles.css

萌娘百科,万物皆可萌的百科全书!转载请标注来源页面的网页链接,并声明引自萌娘百科。内容不可商用。
跳转到导航 跳转到搜索
/* 这是一个区块 */
.tmulti .thumbinner {
	display: flex;
	flex-direction: column;
}

.tmulti .trow {
	display: flex;
	flex-direction: row;
	clear: left;
	flex-wrap: wrap;
	width: 100%;
	box-sizing: border-box;
}

/* 这是一个单元格 */
.tmulti .tsingle {
	margin: 1px;
	float: left;
}

.tmulti .theader {
	clear: both;
	font-weight: bold;
	text-align: center;
	align-self: center;
	background-color: transparent;
	width: 100%;
}

.tmulti .thumbcaption {
	background-color: transparent;
}

.tmulti .text-align-left {
	text-align: left;
}

.tmulti .text-align-right {
	text-align: right;
}

.tmulti .text-align-center {
	text-align: center;
}

@media all and ( max-width: 720px ) {
	.tmulti .thumbinner {
		/* not !important usage can be removed when these are no longer inline styles
		inside Template:Multiple image and media query using min-width is introduced */
		width: 100% !important;
		box-sizing: border-box;
		max-width: none !important;
		align-items: center;
	}
	.tmulti .trow {
		justify-content: center;
	}
	.tmulti .tsingle {
		/* not !important usage can be removed when these are no longer inline styles
		inside Template:Multiple image and media query using min-width is introduced */
	    float: none !important;
	    max-width: 100% !important;
	    box-sizing: border-box;
	}
	.tmulti .tsingle > .thumbcaption {
	    text-align: left;
	}
	.tmulti .trow > .thumbcaption {
		text-align: center;
	}
}
/* [[Category:在模板名字空间下的CSS页面]] */