Fix index style. Now on variant page
[vchess.git] / public / stylesheets / layout.sass
index 18bd1cf..cdcd81e 100644 (file)
@@ -1,19 +1,38 @@
 html, *
-  font-size: 18px
   font-family: "Open Sans", Arial, sans-serif
+  --back-color: #f2f2f2
+  --a-link-color: #0039e6
 
 body
-  padding: 1% 0
-
-@media screen and (min-width: 800px)
-  .card
-    max-width: 600px
-
-a
-  color: #00B7FF
+  padding: 0
+  min-width: 320px
 
 .text-center
   text-align: center
 
 .smallpad
   padding: 5px
+
+.emphasis
+  font-style: italic
+
+.red
+  color: #cc3300
+
+.purple
+  color: purple
+
+.smallfont
+  font-size: 0.8em
+
+[type="checkbox"].modal+div .card
+  max-width: 767px
+  max-height: 100vh
+
+// TODO: unused
+// Jump lines only if screen is large enough
+.conditional-jump
+  display: block
+@media screen and (max-width: 767px)
+  .conditional-jump
+    display: inline