}
}
+.author {
+ color: darkblue;
+ font-style: italic;
+}
+
#boardContainer {
margin: 0;
padding: 0;
margin: 10px 0;
}
+h4 {
+ font-size: 1.5rem;
+ font-weight: bold;
+ text-align: center;
+ display: block;
+ margin: 10px 0;
+ color: darkgreen;
+}
+
#gameInfos,
#boardContainer,
#gameStopped,
button.block-btn {
display: block;
background-color: #01786F;
- margin: 0 auto 20px auto;
+ margin: 0 auto 30px auto; /*TODO: margin-bottom 20px ? */
font-size: 2rem;
padding: 15px 32px;
}
+button.cancel-something {
+ background-color: darkred;
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+}
+
#upLeftInfos {
position: absolute;
left: 0;
}
/* Board container (without reserves) */
-#chessboard {
+.chessboard {
position: absolute;
cursor: pointer;
}
pointer-events: none;
}
+piece.hidden {
+ display: none;
+}
+
/* Drawing of the board */
-#chessboard_SVG {
+.chessboard_SVG {
width: 100%;
height: 100%;
}