Mobile design #58

Merged
H4CK3R-01 merged 4 commits from mobile_design into main 2021-07-10 14:57:40 +00:00
5 changed files with 68 additions and 1 deletions

View File

@ -15,6 +15,10 @@
padding: 5px;
}
#messages_received div:last-child {
margin-bottom: 5em;
}
#message_add {
flex: 0 0 10%;
}
@ -97,4 +101,33 @@
.messageBody::before {
content: '\A';
white-space: pre;
}
@media only screen and (max-width: 980px) {
#chat {
flex-flow: column-reverse;
border-top: #7d7d7d solid 2px;
height: 100%;
margin-bottom: 10px;
}
.log_message {
font-size: 2em;
}
.chat_message .username {
font-size: 2em;
}
.chat_message .messageBody {
font-size: 2em;
}
#message_input {
font-size: 2em;
}
#message_send {
font-size: 2em;
}
}

View File

@ -99,4 +99,13 @@ main {
#manual {
width: 100%;
height: calc(100% - 50px);
}
@media only screen and (max-width: 980px) {
#main {
display: grid;
grid-template-columns: unset;
grid-template-rows: 60% 40%;
height: 100%;
}
}

View File

@ -10,4 +10,11 @@
-moz-background-size: cover; /* Mozilla*/
-o-background-size: cover; /* Opera*/
background-size: cover; /* Generic*/
}
@media only screen and (max-width: 980px) {
#game {
height: auto;
width: auto;
}
}

View File

@ -44,3 +44,21 @@ header {
padding-right: 10px;
flex-direction: column;
}
@media only screen and (max-width: 980px) {
header {
height: 3em;
}
.title {
font-size: 2em;
}
.build {
font-size: 1em;
}
.spielanleitung {
font-size: 1.5em;
}
}

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta charset="UTF-8" content="user-scalable=no, autoRotate:disabled" name="viewport"/>
<title>Projektmanagement Game</title>
<link href="https://fonts.googleapis.com/css?family=Material+Icons" rel="stylesheet">