Template:Frame data diagram/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
Line 6: Line 6:
.frame-data-diagram td {
.frame-data-diagram td {
width: 6em;
width: 6em;
height: 6em;
height: 2em;
text-align: center;
text-align: center;
}
}

Revision as of 09:12, 19 February 2023

.frame-data-diagram {
	--own-panel-color: #f8b898;
	--opponent-panel-color: #80d0f8;
}

.frame-data-diagram td {
	width: 6em;
	height: 2em;
	text-align: center;
}

.frame-data-diagram td:nth-child(1),
.frame-data-diagram td:nth-child(2),
.frame-data-diagram td:nth-child(3) {
	background: var(--own-panel-color);
}

.frame-data-diagram td:nth-child(4),
.frame-data-diagram td:nth-child(5),
.frame-data-diagram td:nth-child(6) {
	background: var(--opponent-panel-color);
}