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

模板页面
/* CSS used for [[Help:目录]] */
.help_title {
	text-align: center;
	margin-top: 0.5em;
	border: none !important;
}

.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-color: #eee;
	border-color: #ddd;
	color: #222;
}

.orange .help_box {
	border-color: #ffdd99;
	background-color: #fdf6ef;
}

.orange .help_box h3 {
	background-color: #ffdd99;
	border-color: #f28500;
}

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

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

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

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

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

.purple .help_box h3 {
	background-color: #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; */
}