Template:Upgrade row/style.css: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 19: Line 19:
}
}


.grid-wrapper {
.flex-wrapper {
display: grid;
display: flex;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
flex-wrap: wrap;
gap: 2px;
gap: 2px;
width: 100%;
width: 100%;
}
}


.grid-item {
.flex-item {
background-color: var(--background-color-object-neutral);
background-color: var(--background-color-object-neutral);
font-size: 90%;
font-size: 90%;
padding: .2em .3em;
padding: .2em .3em;
flex: 1 1 350px;
}
}


.grid-item-double {
.flex-double {
grid-row: span 2;
flex: 1 2 350px;
}
}

Revision as of 18:12, 4 July 2026

/* [[Category:Template styles]] */
.ur-wrapper {
	display: flex;
	margin-top: 2px;
}

.ur-head {
	background-color: var(--background-color-object-neutral-subtle);
	
	font-weight: bold;
	font-size: 1.2em;
	text-align: center;
	padding: 5px;
}

.subtable-wrapper {
	margin: 1em 0;
	padding: 4px;
}

.flex-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	width: 100%;
}

.flex-item {
	background-color: var(--background-color-object-neutral);
	font-size: 90%;
	padding: .2em .3em;
	flex: 1 1 350px;
}

.flex-double {
	flex: 1 2 350px;
}