X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=common.css;h=bf4e1a8cfa601e352b3bacbccf3fecb1fdd0dc78;hb=8f57fbf250093488064401d503f1c621b122e95a;hp=64502422f50a73fe11fcd39b6c790e172f25eeb9;hpb=3c61449b830db29c95d82cdacc4dae710cc705a8;p=xogo.git diff --git a/common.css b/common.css index 6450242..bf4e1a8 100644 --- a/common.css +++ b/common.css @@ -52,6 +52,11 @@ main > div { } } +.author { + color: darkblue; + font-style: italic; +} + #boardContainer { margin: 0; padding: 0; @@ -112,6 +117,11 @@ h4 { margin: 10px 0; } +#gameInfos > .rules > a { + padding-bottom: 1px; + border-bottom: 1px dotted black; +} + #gameStopped > h1 { margin-bottom: 10px; } @@ -226,15 +236,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; } @@ -268,12 +282,6 @@ a { .chessboard { position: absolute; cursor: pointer; -} - -/* Board container can be resized */ -.resizeable { - resize: both; - overflow: hidden; min-width: 200px; min-height: 200px; } @@ -288,18 +296,24 @@ piece { pointer-events: none; } +piece.hidden { + display: none; +} + /* Drawing of the board */ .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%); }