X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=common.css;h=a69f4fb89de2794bfc9d619a565b500e2a5a0e71;hb=bc2bc396ec4df092f218b58a0fbf08ba7eb8ca6e;hp=6f8472ce6e8adde47f54dc5689511927c3f2c765;hpb=c9ab034035a3cac65e4ac9f48a946ecef5ed111e;p=xogo.git diff --git a/common.css b/common.css index 6f8472c..a69f4fb 100644 --- a/common.css +++ b/common.css @@ -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; } @@ -303,12 +321,14 @@ piece.hidden { height: 100%; } +/* Default squares colors (can be overriden or unused) */ .dark-square { fill: #b58863; } .light-square { fill: #f0d9b5; } + .in-shadow { filter: brightness(50%); }