2014-02-18 18:45:54 +04:00
|
|
|
@squareSize: 56px;
|
|
|
|
@boardBorderWidth: 4px;
|
|
|
|
@boardSize: 8 * @squareSize + 2 * @boardBorderWidth;
|
2014-04-12 17:21:01 +04:00
|
|
|
@tableBorder: 1px solid #ddd;
|
2014-02-18 18:45:54 +04:00
|
|
|
|
2014-04-12 17:21:01 +04:00
|
|
|
body, html { height: 100%; }
|
|
|
|
#GameWrapper { min-height: 100%; }
|
|
|
|
#GameBoardWrapper { position: relative; }
|
|
|
|
#GameTextWrapper {
|
|
|
|
position: absolute;
|
2014-02-18 18:45:54 +04:00
|
|
|
top: 0;
|
2014-04-12 17:21:01 +04:00
|
|
|
bottom: 0;
|
|
|
|
left: @boardSize + 10px;
|
|
|
|
|
|
|
|
display: block;
|
|
|
|
width: 180px;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
#GameText {
|
|
|
|
display: table;
|
|
|
|
border-left: @tableBorder;
|
2014-04-12 23:11:38 +04:00
|
|
|
#ShowPgnText > :nth-child(-n+4) { border-top: @tableBorder; }
|
2014-04-12 17:21:01 +04:00
|
|
|
.move {
|
|
|
|
display: table-cell;
|
|
|
|
border-bottom: @tableBorder;
|
|
|
|
border-right: @tableBorder;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
span.move { width: 40px; }
|
|
|
|
a.move { width: 50px; }
|
|
|
|
.variation { float: left; }
|
2014-02-18 18:45:54 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.boardTable {
|
|
|
|
width: @boardSize;
|
|
|
|
height: @boardSize;
|
|
|
|
border: @boardBorderWidth solid #663300;
|
|
|
|
}
|
|
|
|
.whiteSquare, .blackSquare {
|
|
|
|
width: @squareSize;
|
|
|
|
height: @squareSize;
|
|
|
|
}
|
|
|
|
.pieceImage {
|
|
|
|
height: @squareSize;
|
|
|
|
width: @squareSize;
|
|
|
|
}
|
|
|
|
|
|
|
|
.whiteSquare, .highlightWhiteSquare {
|
|
|
|
background: #FFCC99;
|
|
|
|
}
|
|
|
|
.blackSquare, .highlightBlackSquare {
|
|
|
|
background: #CC9966;
|
|
|
|
}
|
2014-04-12 17:21:01 +04:00
|
|
|
.moveOn, .variationOn { background-color: #ccc; }
|