X-Git-Url: https://git.auder.net/assets/current/gitweb.css?a=blobdiff_plain;f=public%2Fstylesheets%2Fvariant.sass;h=6cd3c1f454c5f029e18709b463d4aab2df33f226;hb=3acb852d971bc17d31ccc05756524f40038adf95;hp=3eec2900dbdaa5c379bb63c9777b59ab93d7c4e0;hpb=61a262b2a441bb27d87701f7d3818723b3ac913d;p=vchess.git diff --git a/public/stylesheets/variant.sass b/public/stylesheets/variant.sass index 3eec2900..6cd3c1f4 100644 --- a/public/stylesheets/variant.sass +++ b/public/stylesheets/variant.sass @@ -1,7 +1,6 @@ .container#variantPage padding: 0 -//.container#variantPage > .row > div @media screen and (max-width: 767px) .col-sm-12 padding: 0 @@ -12,6 +11,10 @@ margin-right: 0 padding: 0 3px + +//TODO: taille modal au cas par cas. standard == 767. Can be larger (welcome, fen...) + + .warn padding: 3px color: red @@ -24,15 +27,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 @@ -145,11 +168,6 @@ img.mark-square left: 12% opacity: .7 -figure.diagram-container > figcaption - display: block - clear: both - padding-top: 5px - .highlight background-color: #00cc66 !important @@ -188,12 +206,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 @@ -212,10 +224,12 @@ 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 + margin-left: 0 + margin-right: 0 background-color: lightgrey #fen-string @@ -236,3 +250,59 @@ ul:not(.browser-default) > li #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% + +.clickable + cursor: pointer + +.name-connected + color: green + +.name-disconnected + color: red + +.clearer + clear: both + +.my-chatmsg + color: black + +.opp-chatmsg + color: blue