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

Template page
No edit summary
No edit summary
Line 1: Line 1:
.frame-data-diagram {
--own-panel-color: #f8b898;
--opponent-panel-color: #80d0f8;
}
.frame-data-diagram td {
.frame-data-diagram td {
width: 6em;
width: 6em;
Line 8: Line 13:
.frame-data-diagram td:nth-child(2),
.frame-data-diagram td:nth-child(2),
.frame-data-diagram td:nth-child(3) {
.frame-data-diagram td:nth-child(3) {
background: #f8b898;
background: var(--own-panel-color);
}
}


Line 14: Line 19:
.frame-data-diagram td:nth-child(5),
.frame-data-diagram td:nth-child(5),
.frame-data-diagram td:nth-child(6) {
.frame-data-diagram td:nth-child(6) {
background: #80d0f8;
background: var(--opponent-panel-color);
}
}

Revision as of 09:11, 19 February 2023

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

.frame-data-diagram td {
	width: 6em;
	height: 6em;
	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);
}