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; padding: 5px;
} }
#messages_received div:last-child {
margin-bottom: 5em;
}
#message_add { #message_add {
flex: 0 0 10%; flex: 0 0 10%;
} }
@ -98,3 +102,32 @@
content: '\A'; content: '\A';
white-space: pre; 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

@ -100,3 +100,12 @@ main {
width: 100%; width: 100%;
height: calc(100% - 50px); 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

@ -11,3 +11,10 @@
-o-background-size: cover; /* Opera*/ -o-background-size: cover; /* Opera*/
background-size: cover; /* Generic*/ 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; padding-right: 10px;
flex-direction: column; 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> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8" content="user-scalable=no, autoRotate:disabled" name="viewport"/>
<title>Projektmanagement Game</title> <title>Projektmanagement Game</title>
<link href="https://fonts.googleapis.com/css?family=Material+Icons" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Material+Icons" rel="stylesheet">