X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=public%2Fstylesheets%2Fvariant.sass;h=6472e3d8027647470c965a74761fadd232e2da95;hb=1a788978e3682ab54b77af3edfe38e0b371edbc4;hp=7e530f69901150e96444ccd0a6a5f3d1150571fd;hpb=01ca2adce0ddcf246f184c6d19389262b0f5e6e5;p=vchess.git diff --git a/public/stylesheets/variant.sass b/public/stylesheets/variant.sass index 7e530f69..6472e3d8 100644 --- a/public/stylesheets/variant.sass +++ b/public/stylesheets/variant.sass @@ -5,8 +5,6 @@ @media screen and (max-width: 767px) .col-sm-12 padding: 0 - -@media screen and (max-width: 767px) h4 margin: 0 0 10px 0 p @@ -14,12 +12,6 @@ margin-right: 0 padding: 0 3px -#pgn-div > a - display: none - -#pgn-div > p - cursor: pointer - .warn padding: 3px color: red @@ -32,15 +24,35 @@ .seek, button.seek:hover background-color: #cc99ff +figure.diagram-container + margin: 15px 0 15px 0 + text-align: center + width: 100% + display: block + // https://stackoverflow.com/questions/5445491/height-equal-to-dynamic-width-css-fluid-layout figure.diagram-container > .diagram display: block - width: 45% + width: 40% min-width: 300px max-width: 800px margin-left: auto margin-right: auto +figure.diagram-container > .diagram2 + display: block + float: left + width: 40% + min-width: 300px + max-width: 800px + margin-right: 40px + margin-bottom: 10px + +figure.diagram-container > figcaption + display: block + clear: both + padding-top: 5px + .topindicator position: relative border: 1px solid brown @@ -53,17 +65,29 @@ figure.diagram-container > .diagram float: right margin: 0 20px 10px 0 +.marginleft + margin-left: 30px + +.reserve-count + padding-left: 40% + +.reserve-div + margin-bottom: 20px + +.reserve-row-1 + margin-bottom: 15px + .connected background-color: green .disconnected background-color: red -.expert-switch - padding: 5px 10px +.settings-btn + padding: 6px 7px 0 7px -.expert-mode, button.expert-mode:hover - background-color: #ffcc99 +.settings-btn-small + padding: 0 3px .white-turn background-color: white @@ -71,15 +95,24 @@ figure.diagram-container > .diagram .black-turn background-color: black -// TODO: div.board, board9, board10, board11, board12 div.board float: left - width: 12.5% height: 0 - padding-bottom: 12.5% display: inline-block position: relative +div.board8 + width: 12.5% + padding-bottom: 12.5% + +div.board10 + width: 10% + padding-bottom: 10% + +div.board11 + width: 9.09% + padding-bottom: 9.1% + .game clear: both @@ -132,21 +165,24 @@ img.mark-square left: 12% opacity: .7 -figure.diagram-container > figcaption - display: block - clear: both - padding-top: 5px - -.light-square - background-color: #f0d9b5 -.dark-square - background-color: #b58863 - .highlight - background-color: #00cc66 + background-color: #00cc66 !important .incheck - background-color: #cc3300 + background-color: #cc3300 !important + +.light-square.lichess + background-color: #f0d9b5; +.dark-square.lichess + background-color: #b58863; +.light-square.chesscom + background-color: #e5e5ca; +.dark-square.chesscom + background-color: #6f8f57; +.light-square.chesstempo + background-color: #fdfdfd; +.dark-square.chesstempo + background-color: #88a0a8; .light-square-diag background-color: #e5e5ca @@ -167,12 +203,6 @@ figure.showPieces > img figure.showPieces > figcaption color: #6C6C6C -figure.diagram-container - margin: 15px 0 15px 0 - text-align: center - width: 100% - display: block - .section-title padding: 0 @@ -180,7 +210,7 @@ figure.diagram-container padding: 5px .section-content - padding: 5px + padding: 0 5px ol, ul:not(.browser-default) padding-left: 20px @@ -191,8 +221,52 @@ ul:not(.browser-default) ul:not(.browser-default) > li list-style-type: disc -.rulesTitle +.variantpage-title font-weight: bold cursor: pointer - padding: 3px; + padding: 3px background-color: lightgrey + +#fen-string + margin-top: 0 + +#pgn-game + margin-top: 0 + margin-bottom: 0 + +#downloadBtn + display: block + margin-left: auto + margin-right: auto + +#pgn-div > a + display: none + +#fen-div > p + margin-left: 0 + margin-right: 0 + +.newproblem input, .newproblem textarea + width: 100% + +.emphasis + font-style: italic + +#newpbInstructions + margin-bottom: var(--universal-margin); + +.center-btn + margin-left: 40% + +//TODO? +.center-inline + text-align: center +.center-block + margin-left: auto + margin-right: auto + +.mistake-newproblem + color: #663300 + +#problem-solution + display: none