Improve style (larger modal boxes on index)
authorBenjamin Auder <benjamin.auder@somewhere>
Mon, 10 Dec 2018 09:35:20 +0000 (10:35 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Mon, 10 Dec 2018 09:35:20 +0000 (10:35 +0100)
public/stylesheets/index.sass
views/index.pug

index e4f846e..77ba9ae 100644 (file)
 .card > h3.section.red
   color: #cc3300
 
-#welcome
+#welcome, #help
   max-height: 100vh
   max-width: 90vw
 
 @media screen and (max-width: 400px)
-  #welcome
+  #welcome, #help
     max-width: 100vw
 
 #welcome ul
index f7d9d04..19b235b 100644 (file)
@@ -13,12 +13,14 @@ block content
                                        a(href="/demo.webm") Demo !
                                input#modal-help.modal(type="checkbox")
                                div(role="dialog")
-                                       .card
+                                       #help.card
                                                label.modal-close(for="modal-help")
-                                               h3.blue.section Modes
+                                               h3.blue.section Tips
                                                p.section.
-                                                       Each variant page offers two modes: against a human or computer opponent,
-                                                       which is here to help learning the rules.
+                                                       On a variant page, read the rules by clicking on the title "&lt;Variant&gt; rules".
+                                                       Try playing against a human: click the leftmost "new game" button :)
+                                                       ...then, while waiting you can play against a (rather weak) bot or a friend.
+                                                       //On the index page, try typing the first letters of a variant.
                                                h3.blue.section Comments
                                                p.section.
                                                        All games start with a random assymetric position. #[br]