- Cleaned up

- Reformatted
- Bug fixed
This commit is contained in:
H4CK3R-01 2021-06-24 14:46:34 +02:00 committed by H4CK3R-01
parent cc24b885e8
commit b9eaccecfd
5 changed files with 23 additions and 71 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%;
} }
@ -101,10 +105,8 @@
@media only screen and (max-width: 980px) { @media only screen and (max-width: 980px) {
#chat { #chat {
display: flex;
flex-flow: column-reverse; flex-flow: column-reverse;
overflow: hidden; border-top: #7d7d7d solid 2px;
border-left: #7d7d7d solid 2px;
height: 100%; height: 100%;
margin-bottom: 10px; margin-bottom: 10px;
} }

View File

@ -97,13 +97,10 @@ main {
} }
@media only screen and (max-width: 980px) { @media only screen and (max-width: 980px) {
#main { #main {
display: grid; display: grid;
grid-template-columns: unset; grid-template-columns: unset;
grid-template-rows: 60% 40%; grid-template-rows: 60% 40%;
height: calc(90% - 7em);
touch-action: pan-x pan-y;
height: 100%; height: 100%;
} }
} }

View File

@ -48,42 +48,17 @@ header {
@media only screen and (max-width: 980px) { @media only screen and (max-width: 980px) {
header { header {
height: 2.2em; height: 2.2em;
display: grid;
position: inherit !important;
z-index: 99;
} }
.title { .title {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.5em; font-size: 1.5em;
vertical-align: central;
} }
.build { .build {
display: flex;
justify-content: center;
align-items: flex-end;
font-size: 0.5em; font-size: 0.5em;
padding-right: 10px;
flex-direction: column;
} }
.spielanleitung { .spielanleitung {
display: flex;
align-items: center;
font-size: 1em; font-size: 1em;
padding-left: 10px;
}
.spielanleitung span {
background: #404040;
border: 1px solid #000000;
padding: 5px;
border-radius: 5px;
cursor: pointer;
} }
} }

View File

@ -55,32 +55,8 @@
} }
@media only screen and (max-width: 980px) { @media only screen and (max-width: 980px) {
#login { #login input, #login button {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
background: #212121;
height: 100%;
width: 100%;
display: flex;
justify-content: center;
align-items: flex-start;
position: absolute;
}
#login > form {
margin-top: 1em;
}
#login label {
font-size: 1.5em;
}
#login input,
#login button {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 1em; font-size: 1em;
height: 1em; height: 3em;
padding: 30px;
justify-content: center;
} }
} }

View File

@ -1,7 +1,9 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" http-equiv="ScreenOrientation" content="autoRotate:disabled"/> <meta charset="UTF-8"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, 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">