Template:BTD6 stats/style.css: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 15: Line 15:
border: 1px solid var(--border-color-object-base);
border: 1px solid var(--border-color-object-base);
padding: 3px 4px 4px;
padding: 3px 4px 4px;
display: flex;
flex-wrap: wrap;
gap: 2px;
align-self: flex-start;
}
.stats-outer-block.horizontal {
flex: 1 1 800px;
flex: 1 1 800px;
}
}


.stats-outer-block .flex-wrapper {
.stats-outer-block.vertical {
width: 100%;
flex: 1 1 300px;
margin-top: 2px;
flex-direction: column;
display: flex;
flex-wrap: wrap;
gap: 2px;
}
}


Line 30: Line 35:
font-weight: bold;
font-weight: bold;
font-size: 1.1em;
font-size: 1.1em;
}
.stats-outer-block.horizontal > .head {
flex: 1 1 100%;
}
}


.stats-outer-block .stats-inner-block {
.stats-outer-block .stats-inner-block {
font-size: 90%;
}
.stats-outer-block.horizontal .stats-inner-block {
flex: 1 1 400px;
flex: 1 1 400px;
font-size: 90%;
}
}


.stats-outer-block .stats-inner-block.wide {
.stats-outer-block.vertical .stats-inner-block {
flex: 2 1 601px;
flex: 1;
}
}



Latest revision as of 19:35, 14 August 2026

/* [[Category:Template styles]] */
.stats-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 1em 0;
}

.stats-wrapper dt {
	font-weight: normal;
}

.stats-outer-block {
	background: var(--background-color-object-base);
	border: 1px solid var(--border-color-object-base);
	padding: 3px 4px 4px;
	
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	align-self: flex-start;
}

.stats-outer-block.horizontal {
	flex: 1 1 800px;
}

.stats-outer-block.vertical {
	flex: 1 1 300px;
	flex-direction: column;
}

.stats-outer-block > .head {
	text-align: center;
	font-weight: bold;
	font-size: 1.1em;
}

.stats-outer-block.horizontal > .head {
	flex: 1 1 100%;
}

.stats-outer-block .stats-inner-block {
	font-size: 90%;
}

.stats-outer-block.horizontal .stats-inner-block {
	flex: 1 1 400px;
}

.stats-outer-block.vertical .stats-inner-block {
	flex: 1;
}

.stats-outer-block .stats-inner-block .subtable {
	height: 100%;
}

.stats-outer-block .stats-inner-block .subtable td {
	width: 100%;
}

.stats-outer-block .stats-inner-block .subtable .head {
	height: 0;
}