Add falling pawn mode for Recycle + fix animation bug
[xogo.git] / common.css
index f1b2b79..d1a1311 100644 (file)
   vertical-align: baseline;
 }
 
+html {
+  height: 100%;
+}
+
 body {
+  height: 100%;
   margin: 0;
-  /*text-align: center;*/
   background-color: #f8f8f8;
   font-family:  Arial, Verdana, Tahoma, sans-serif;
+  /* https://stackoverflow.com/a/24392249/12660887 */
+  position: relative;
 }
 
 main {
@@ -31,7 +37,7 @@ main > div {
   margin-top: 25vh;
   min-height: 500px;
   min-width: 320px;
-  /*max-width: 800px;*/ /*unnecessary*/
+  max-width: 800px; /*useful for rules display only*/
 }
 
 @media(max-height: 800px) {
@@ -185,6 +191,7 @@ button.block-btn {
 /* Options when starting custom game */
 .words {
   line-height: 0.9em;
+  margin-top: 15px;
 }
 .words > .row {
   margin: 0;
@@ -204,7 +211,12 @@ button.block-btn {
 }
 
 .option-select, .option-check {
-  margin: 15px 0;
+  margin: 15px 0 0 0;
+}
+
+.option-check {
+  display: inline-block;
+  margin-right: 10px;
 }
 
 .btn-wrap {