X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=common.css;h=64502422f50a73fe11fcd39b6c790e172f25eeb9;hb=3c61449b830db29c95d82cdacc4dae710cc705a8;hp=066f9be328c6a6aee0d0022ea4e025219bb8bccb;hpb=8022d544e472df7a213f95bd66f64d6f9cb14aaa;p=xogo.git diff --git a/common.css b/common.css index 066f9be..6450242 100644 --- a/common.css +++ b/common.css @@ -66,6 +66,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 +160,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; @@ -191,6 +207,7 @@ button.block-btn { /* Options when starting custom game */ .words { line-height: 0.9em; + margin-top: 15px; } .words > .row { margin: 0; @@ -210,7 +227,12 @@ button.block-btn { } .option-select, .option-check { - margin: 15px 0; + margin: 15px 0 0 0; +} + +.option-check { + display: inline-block; + margin-right: 10px; } .btn-wrap { @@ -243,7 +265,7 @@ a { } /* Board container (without reserves) */ -#chessboard { +.chessboard { position: absolute; cursor: pointer; } @@ -267,7 +289,7 @@ piece { } /* Drawing of the board */ -#chessboard_SVG { +.chessboard_SVG { width: 100%; height: 100%; }