Jump to content

Wikipedia:WikiProject Apple Inc./Tabs/style.css

From Wikipedia, the free encyclopedia
.community-tabs {
	box-sizing: border-box;
	width: 100%;
	text-align: center;
	font-size: 110%;
}
.community-tabs ul {
	list-style: none;
	margin: 0;
}
.community-tabs li {
	margin: 0;
}
.community-tabs > ul > li {
	vertical-align: middle;
	padding: 0.3em;
	color: #3366CC;
}
.community-tabs > ul > li.active {
	border-radius: 2px;
	background-color: #EAF3FF;
	color: #3366CC;
}
.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;
}

@media (min-width: 1000px) {
	.community-tabs {
		display: table;
		border-collapse: collapse;
	}
	.community-tabs > ul {
		display: table-row;
	}
	.community-tabs > ul > li {
		display: table-cell;
		width: 25%;
	}
	.community-tabs > ul > li.active {
		border-bottom-width: 0;
	}
}