aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2014-05-29 16:14:31 +0200
committerPacien TRAN-GIRARD2014-05-29 16:14:31 +0200
commit3e1a0d7883093682cee41b4df5a6e452b9a50a17 (patch)
tree784d53c84cd2a18f420fe7a1caf4cacbe538ca4d
parent576d8965297c3707f35c56dea5e8e92deb3fcdc0 (diff)
downloadesieequest-3e1a0d7883093682cee41b4df5a6e452b9a50a17.tar.gz
Adjust game frame for mobile devices
-rw-r--r--website/assets/css/style.css22
1 files changed, 17 insertions, 5 deletions
diff --git a/website/assets/css/style.css b/website/assets/css/style.css
index 59371ff..7da050f 100644
--- a/website/assets/css/style.css
+++ b/website/assets/css/style.css
@@ -59,12 +59,12 @@ ul .fa {
59} 59}
60 60
61/*.overbox { 61/*.overbox {
62 display: none; 62 display: none;
63} 63 }
64 64
65.overbox:target { 65 .overbox:target {
66 display: block; 66 display: block;
67}*/ 67 }*/
68 68
69/* old versions does not support class thingies */ 69/* old versions does not support class thingies */
70 70
@@ -83,6 +83,18 @@ ul .fa {
83 height: calc(100% - 180px); 83 height: calc(100% - 180px);
84} 84}
85 85
86@media (max-width: 48em) {
87 #play {
88 z-index: 5;
89 }
90
91 #game-frame {
92 width: 100%;
93 height: 100%;
94 margin: 0;
95 }
96}
97
86#map-frame { 98#map-frame {
87 width: 100%; 99 width: 100%;
88 height: 100%; 100 height: 100%;