Jump to content

Module:Chessboard/styles.css

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by SD0001 (talk | contribs) at 10:22, 19 January 2025 (rename class "chess-board" to "chess-pieces", since the div contains only the pieces, and to avoid confusion with the new top-level "chessboard" class). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
.chessboard table {
	font-size: 88%;
	border: 1px #c8ccd1 solid;
	padding: 0;
	margin: auto;
}

.chessboard table tr {
	vertical-align: middle;
}

.chessboard table td {
	padding: 0;
	vertical-align: inherit;
	text-align: center;
}

.chessboard .chess-pieces div {
	position: absolute;
	z-index: 3;
}