模板:Flex/Style.css:修订间差异

来自Limbo Wiki
无编辑摘要
无编辑摘要
第1行: 第1行:
.community-tabs {
.community-tabs ul {
box-sizing: border-box;
text-align: center;
text-align: center;
font-size: 110%;
font-size: 110%;
}
.community-tabs ul {
display: flex;
display: flex;
flex-wrap:wrap;
flex-wrap:wrap;
第21行: 第18行:
border: solid 1px #a2a9b1;
border: solid 1px #a2a9b1;
border-top: 0;
border-top: 0;
background-color: #069;
background-color: #36c;
color: white;
color: white;
}
}
第47行: 第44行:
.community-tabs > ul > li.active a[href] {
.community-tabs > ul > li.active a[href] {
color: #069;
color: #069;
}
.community-page-wrapper {
border: solid 1px #a2a9b1;
padding: .5em 1em 1em 1em;
border-top: none;
background-color: transparent;
color: inherit;
}
}

2022年4月11日 (一) 08:01的版本

.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 #a2a9b1;
	border-top: 0;
	background-color: #36c;
	color: white;
}
.community-tabs > ul > li.active {
	background-color: #d7e8f9;
	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 > li.active a[href] {
	color: #069;
}