Module:Chessboard/styles.css: Difference between revisions
Jump to navigation
Jump to search
imported>ABreault (WMF) Fix shift in mobile html. Alternatively, a child combinator could be used. See phab:T386822 |
(No difference)
|
Latest revision as of 17:34, 19 February 2025
/* {{pp-template}} */
.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;
}
/* td containing the chess pieces should not center aligned, causes issues in Timeless */
.chessboard table td[rowspan] {
text-align: unset;
}
.chessboard .chess-pieces div:not(.pcs-image-wrapper) {
position: absolute;
z-index: 3;
}