模板:Flex/Style.css

来自Limbo Wiki
< 模板:Flex
DeathMark讨论 | 贡献2022年6月12日 (日) 17:07的版本 (创建页面,内容为“.community-tabs ul { text-align: center; font-size: 110%; display: flex; flex-wrap:wrap; width: 100%; list-style: none; margin: 0; } .community-tabs li { margin: 0; } .community-tabs > ul > li { min-width: 12em; flex: 1; vertical-align: middle; padding: 0.3em; border: solid 1px #EEEEEE; border-top: 0; background-color: #36c; color: white; } .community-tabs > ul > .lw-active { background-color: #EEEEEE; border-bottom-width: 0; color: black; }…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
.community-tabs ul {
	text-align: center;
	font-size: 110%;
	display: flex;
	flex-wrap:wrap;
	width: 100%;
	list-style: none;
	margin: 0;
}
.community-tabs li {
	margin: 0;
}
.community-tabs > ul > li {
	min-width: 12em;
	flex: 1;
	vertical-align: middle;
	padding: 0.3em;
	border: solid 1px #EEEEEE;
	border-top: 0;
	background-color: #36c;
	color: white;
}
.community-tabs > ul > .lw-active {
	background-color: #EEEEEE;
	border-bottom-width: 0;
	color: black;
}
.community-tabs > ul > li > ul {
	font-size: 80%;
}
.community-tabs > ul > li > ul > li {
	display: inline;
}
.community-tabs > ul > li > ul > li::after {
	content: " •";
}
.community-tabs > ul > li > ul > li:last-child::after {
	content: none;
}
.community-tabs li a {
	color: inherit;
	white-space: nowrap;
}
.community-tabs > ul > .lw-active a[href] {
	color: #36c;
}