}
@media(max-height: 800px) {
- main > div {
+ #newGameForm, #gameInfos {
margin-top: 30px;
}
}
margin: 0;
padding: 0;
border: none;
+ /* attempt https://stackoverflow.com/questions/1719452/how-to-make-a-div-always-full-screen */
+ position: fixed;
+ width: 100%;
+ height: 100%;
+ left: 0;
+ top: 0;
+ background: rgba(51,51,51,0.7);
+ z-index: 10;
}
h1 {
margin: 10px 0;
}
+#gameInfos > .rules > ul {
+ list-style-type: square;
+ padding-left: 30px;
+}
+#gameInfos > .rules > ol {
+ list-style-type: numeric;
+ padding-left: 30px;
+}
+
+#gameInfos > .rules > a {
+ padding-bottom: 1px;
+ border-bottom: 1px dotted black;
+}
+
#gameStopped > h1 {
margin-bottom: 10px;
}
text-align: center;
}
+@media(max-height: 399px) {
+ #footer {
+ display: none;
+ }
+}
+
a.left-link {
margin-right: 25px;
}
.chessboard {
position: absolute;
cursor: pointer;
-}
-
-/* Board container can be resized */
-.resizeable {
- resize: both;
- overflow: hidden;
min-width: 200px;
min-height: 200px;
}