Jump to content

Module:Chessboard/styles.css

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Izno (talk | contribs) at 04:34, 1 April 2022 (-textalign). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
.chessboard {
	text-align: center;
}

.chessboard-header {
	line-height: 130%;
	margin: 0 auto;
}

.chessboard-letters td {
	height: 18px;
}

.chessboard-board-and-notation {
	background: white;
	font-size: 88%;
	border: 1px #c8ccd1 solid;
	padding: 0;
	margin: auto;
	border-collapse: collapse;
}

.chessboard-board-and-notation th,
.chessboard-board-and-notation td {
	padding: 0;
	vertical-align: middle;
}

.chessboard .thumbcaption {
	text-align: left;
}

.chessboard-board {
	position: relative;
}

.chessboard-board > div {
	position: absolute;
	z-index: 3;
}