Template:帮助目录模块/styles.css

模板页面

待春留言 | 贡献于2022年6月13日 (一) 08:00提交的版本 (创建页面,内容为“→‎CSS used for [[Help:目录]]:​ .help_title { text-align: center; margin-top: 0.5em; } .help_title::after { border: none !important; } .help_row { display: flex; flex-direction: row; flex-flow: row wrap; justify-content: space-between; padding: 0; margin: 0 -5px 0 -5px; } .help_box { flex: 1; margin: 5px; min-width: 210px; padding: 0 10px 10px 10px; border: 1px solid; border-color: #e2e2e2; } .help_box h3 { /* Reset padding so is equal ac…”

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
/* CSS used for [[Help:目录]] */
.help_title {
	text-align: center;
	margin-top: 0.5em;
}

.help_title::after {
	border: none !important;
}

.help_row {
	display: flex;
	flex-direction: row;
	flex-flow: row wrap;
	justify-content: space-between;
	padding: 0;
	margin: 0 -5px 0 -5px;
}

.help_box {
	flex: 1;
	margin: 5px;
	min-width: 210px;
	padding: 0 10px 10px 10px;
	border: 1px solid;
	border-color: #e2e2e2;
}

.help_box h3 {
	/* Reset padding so is equal across skins */
	padding: 0.5em !important;
	/* Padding left gets overridden by headanchor gadget */
	margin: 0.5em 0;
	background: #eee;
	border-color: #ddd;
	color: #222;
}

.green .help_box {
	border-color: #cef2e0;
	background: #f5fffa;
}

.green .help_box h3 {
	background: #cef2e0;
	border-color: #a3bfb1;
}


.blue .help_box {
	border-color: #cedff2;
	background: #f5faff;
}

.blue .help_box h3 {
	background: #cedff2;
	border-color: #a3b0bf;
}

.purple .help_box {
	border-color: #ddcef2;
	background: #faf5ff;
}

.purple .help_box h3 {
	background: #ddcef2;
	border-color: #afa3bf;
}

/* Set padding left only if headanchor gadget is not enabled */
.help_box h3:not(.tpl-vheadanchor-heading) {
	padding-left: 0;
}

.help_box h3 .header_icon {
	float: right;
	margin-left: 5px;
}

.help_box .items {
	padding: 0 0.5em 0.5em;
}

.help_box p:last-child {
	margin-bottom: 0;
}

.help_boxcontents_small {
	font-size: 95%;
}

.help_box .items li {
	white-space: nowrap;
}