Jump to content

User:BrandonXLF/styles.css

From Wikipedia, the free encyclopedia
.station-layout {
	display: grid;
	grid-template-columns: max-content max-content 1fr;
}

.floor,
.track,
.platform {
	padding: 4px;
}

.floor {
	padding-right: 8px;
	font-weight: bold;
}

.floor,
.track {
	display: flex;
	align-items: center;
}

.floor,
.floor + :not(.platform),
.floor + :not(.platform) + *,
.track + .track + .track {
	border-top: 1px solid #888;
}

.last,
.track:nth-last-child(2),
.track:last-child {
	border-bottom: 1px solid #888;
}

.platform {
	grid-column: span 2;
	text-align: center;
	border: 1px solid #888;
}

.top,
.island {
	border-top: 2px solid black;
}

.bottom,
.island {
	border-bottom: 2px solid black;
}

.part-error {
	grid-column: span 2;
	color: darkred;
}

.service {
	display: flex;
	gap: 4px;
	align-items: center;
}

.hidden {
	visibility: hidden;
	user-select: none;
}