X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=common.css;h=fbf0e254b778a447a4679d933a7ebc7c5d9bdc2b;hb=af9c9be34f416500f9e025e28f39fe89a8c7c345;hp=91fd2a6fdc4ba37757b6659a3f9f7a4d2c408360;hpb=6f74b81a893da23181f30e2ef1e68bde8a5476cd;p=xogo.git diff --git a/common.css b/common.css index 91fd2a6..fbf0e25 100644 --- a/common.css +++ b/common.css @@ -41,7 +41,7 @@ main > div { } @media(max-height: 800px) { - main > div { + #newGameForm, #gameInfos { margin-top: 30px; } } @@ -117,6 +117,20 @@ h4 { margin: 10px 0; } +#gameInfos > .rules > ul { + list-style-type: square; + padding-left: 30px; +} +#gameInfos > .rules > ol { + list-style-type: numeric; + padding-left: 30px; +} + +#gameInfos > .rules > a { + padding-bottom: 1px; + border-bottom: 1px dotted black; +} + #gameStopped > h1 { margin-bottom: 10px; } @@ -131,6 +145,12 @@ h4 { text-align: center; } +@media(max-height: 399px) { + #footer { + display: none; + } +} + a.left-link { margin-right: 25px; } @@ -231,15 +251,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; } @@ -273,12 +297,6 @@ a { .chessboard { position: absolute; cursor: pointer; -} - -/* Board container can be resized */ -.resizeable { - resize: both; - overflow: hidden; min-width: 200px; min-height: 200px; } @@ -293,18 +311,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%); }