Welcome to Wars Wiki!
Welcome, new users! For help on where to start, look at our getting started page and our manual of style. Need more help? Ask a staff member!

Template:Tabs/styles.css

From Wars Wiki
< Template:Tabs
Revision as of 02:51, 10 June 2023 by Prod (talk | contribs) (content from https://strategywiki.org/w/index.php?title=Template:Tabs/styles.css&oldid=1025033)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.t-tabs-container {
	float: right;
	clear: right;
	border: 1px solid #d6d3d1;
	text-align: center;
	padding: .5em;
	margin: 0.5em 0 0.5em 1.4em;
}

.t-tabs-title {
	font-weight: 800;
	font-size: 1.1em;
}

.tabheader {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	margin: .5em;
}

.tabheader .tab {
	background-color: #f9f9f9;
	border: 1px solid #d6d3d1;
	border-radius: 0.375em;
	cursor: pointer;
	font-weight: 500;
	padding: .5em;
	white-space: nowrap;
}

.tabheader .tab:hover {
	background-color: #f2f2f2;
}

.tabheader .tab.active {
	background-color: #aaa;
}

.tabcontents > .content {
	display: none;
}

.tabcontents > .content--active {
	display: block;
}