From 87ce9d1c162ac9606a9b4d817a5f3b486889a46f Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Thu, 27 Feb 2020 18:06:56 -0500 Subject: Initialize Client repo with predone work --- styles/client/mobile.css | 81 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 styles/client/mobile.css (limited to 'styles/client/mobile.css') diff --git a/styles/client/mobile.css b/styles/client/mobile.css new file mode 100644 index 0000000..cea233d --- /dev/null +++ b/styles/client/mobile.css @@ -0,0 +1,81 @@ +@media (max-width: 599px), (max-height: 500px) { + /* + Hide stuff + */ + div.server { + display: none; + } + + div.info { + display: none; + } + + /* + TopBar for mobile + */ + + div.topbar > div.status { + height: 10px; + } + + div.top-buttons { + height: 50px; + } + + button.top-button { + padding: 5px; + } + + button#reset:before, button#newgame:before, button#settings:before { + font-family: "IcoFont"; + font-size: xx-large; + } + + button#newgame:before{ + content: "\efc2"; + } + + button#settings { + display: inline-block; + } + + button#settings:before { + content: "\ef3a"; + } + + button#reset:before{ + content: "\efd1"; + } + + /* + Mobile lobby + */ + + div.lobby { + display: flex; + flex-direction: column; + height: 100vh; + } + + div.content { + margin-top: 60px; + box-sizing: border-box; + flex: 1; + } + + div.games { + height: 100%; + width: 100%; + overflow-x: hidden; + overflow-y: auto; + + background-color: #ddd; + padding: 5px; + box-sizing: border-box; + + } + + div.game { + height: 12.5%; + } +} -- cgit v1.2.3