X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=common.css;h=c1ba77cea5b7ce9dd311205eefccd00cb679b8ed;hb=c4e9bb928964d723ee624a449c3342e2ef9140f8;hp=5555100d808ddba78982bc06666b58faa5b183f2;hpb=3ec8a1313afe1e130bc9cce03a3f22b5284fa3e1;p=xogo.git diff --git a/common.css b/common.css index 5555100..c1ba77c 100644 --- a/common.css +++ b/common.css @@ -52,6 +52,11 @@ main > div { } } +.author { + color: darkblue; + font-style: italic; +} + #boardContainer { margin: 0; padding: 0; @@ -226,15 +231,19 @@ button.cancel-something { text-align: center; } -.option-select, .option-check { +.option-select, .option-input { margin: 15px 0 0 0; } -.option-check { +.option-input { display: inline-block; margin-right: 10px; } +.option-input input[type=number] { + width: 64px; +} + .btn-wrap { text-align: center; } @@ -265,15 +274,9 @@ a { } /* Board container (without reserves) */ -#chessboard { +.chessboard { position: absolute; cursor: pointer; -} - -/* Board container can be resized */ -.resizeable { - resize: both; - overflow: hidden; min-width: 200px; min-height: 200px; } @@ -288,18 +291,24 @@ piece { pointer-events: none; } +piece.hidden { + display: none; +} + /* Drawing of the board */ -#chessboard_SVG { +.chessboard_SVG { width: 100%; height: 100%; } +/* Default squares colors (can be overriden or unused) */ .dark-square { fill: #b58863; } .light-square { fill: #f0d9b5; } + .in-shadow { filter: brightness(50%); }