Update translations and TODO
[vchess.git] / public / stylesheets / layout.sass
index 52805f2..d4f6d6d 100644 (file)
@@ -7,6 +7,32 @@ html, *
 body
   padding: 0
   min-width: 320px
+  margin-bottom: 10px
+
+.container
+  padding: 0
+  overflow: hidden
+
+.row
+  div
+    padding: 0
+    .section-content
+      *
+        margin-left: auto
+        margin-right: auto
+        max-width: 767px
+      figure.diagram-container
+        max-width: 1000px
+      @media screen and (max-width: 767px)
+        max-width: 100%
+        padding: 0 5px
+
+@media screen and (max-width: 767px)
+  .button-group
+    flex-direction: row
+    button:not(:first-child)
+      border-left: 1px solid var(--button-group-border-color)
+      border-top: 0
 
 a
   text-decoration: underline
@@ -20,6 +46,12 @@ a
 .emphasis
   font-style: italic
 
+.clickable
+  cursor: pointer
+
+.clearer
+  clear: both
+
 .red
   color: #cc3300
 
@@ -32,6 +64,13 @@ a
 .bigfont
   font-size: 1.2em
 
+.bold
+  font-weight: bold
+
 [type="checkbox"].modal+div .card
   max-width: 767px
   max-height: 100vh
+[type="checkbox"].modal+div .card.small-modal
+  max-width: 320px
+[type="checkbox"].modal+div .card.big-modal
+  max-width: 90vw