X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=public%2Fstylesheets%2Fvariant.sass;h=a0d4f2a2b6f721a128318643184bcd58396b887e;hb=643479f8d7c3622b57fc49c4f10d9950793ebf4f;hp=3207287afade18f0fdff8adfd1c0b9540e31fc49;hpb=7f4fff647c273677bb2f7aa41d3be9353a609704;p=vchess.git diff --git a/public/stylesheets/variant.sass b/public/stylesheets/variant.sass index 3207287a..a0d4f2a2 100644 --- a/public/stylesheets/variant.sass +++ b/public/stylesheets/variant.sass @@ -12,16 +12,6 @@ margin-right: 0 padding: 0 3px -#pgn-div > a - display: none - -#pgn-div > p - cursor: pointer - -#fen-div > p - margin-left: 0 - margin-right: 0 - .warn padding: 3px color: red @@ -34,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 @@ -155,11 +165,6 @@ img.mark-square left: 12% opacity: .7 -figure.diagram-container > figcaption - display: block - clear: both - padding-top: 5px - .highlight background-color: #00cc66 !important @@ -198,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 @@ -211,7 +210,7 @@ figure.diagram-container padding: 5px .section-content - padding: 5px + padding: 0 5px ol, ul:not(.browser-default) padding-left: 20px @@ -222,11 +221,65 @@ 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-form input, .newproblem-form 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 + +.topspace + margin-top: 15px + +.problem + cursor: pointer + margin-bottom: 15px + +#solution-div h3 + cursor: pointer + +.newproblem-form, .newproblem-preview + max-width: 90%