Add a temporary patch for so far unexplained bug
[xogo.git] / common.css
index d1a1311..91fd2a6 100644 (file)
@@ -52,6 +52,11 @@ main > div {
   }
 }
 
+.author {
+  color: darkblue;
+  font-style: italic;
+}
+
 #boardContainer {
   margin: 0;
   padding: 0;
@@ -66,6 +71,15 @@ h1 {
   margin: 10px 0;
 }
 
+h4 {
+  font-size: 1.5rem;
+  font-weight: bold;
+  text-align: center;
+  display: block;
+  margin: 10px 0;
+  color: darkgreen;
+}
+
 #gameInfos,
 #boardContainer,
 #gameStopped,
@@ -151,11 +165,18 @@ button:hover, button.block-btn:hover {
 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;
@@ -249,7 +270,7 @@ a {
 }
 
 /* Board container (without reserves) */
-#chessboard {
+.chessboard {
   position: absolute;
   cursor: pointer;
 }
@@ -273,7 +294,7 @@ piece {
 }
 
 /* Drawing of the board */
-#chessboard_SVG {
+.chessboard_SVG {
   width: 100%;
   height: 100%;
 }