Mobile design #58
@ -15,6 +15,10 @@
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#messages_received div:last-child {
|
||||
margin-bottom: 5em;
|
||||
}
|
||||
|
||||
#message_add {
|
||||
flex: 0 0 10%;
|
||||
}
|
||||
@ -98,3 +102,32 @@
|
||||
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;
|
||||
}
|
||||
}
|
@ -100,3 +100,12 @@ main {
|
||||
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%;
|
||||
}
|
||||
}
|
@ -11,3 +11,10 @@
|
||||
-o-background-size: cover; /* Opera*/
|
||||
background-size: cover; /* Generic*/
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 980px) {
|
||||
#game {
|
||||
height: auto;
|
||||
width: auto;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user