Added style for mobile

main
gabe farrell 4 years ago
parent 7ad332ad02
commit fdbf7217e9

@ -55,4 +55,9 @@ defineEmits(['display'])
background-clip: text; background-clip: text;
color: transparent; color: transparent;
} }
@media (max-aspect-ratio:13/16) {
#About {
width: 80%;
}
}
</style> </style>

@ -129,6 +129,11 @@ onMounted(() => {
#lower { #lower {
height: 200px; height: 200px;
} }
@media (max-aspect-ratio:13/16) {
#GameWindow {
flex-direction: row;
}
}
@property --p{ @property --p{
syntax: '<number>'; syntax: '<number>';

@ -160,4 +160,23 @@ function sendChat() {
#ChatInput:focus { #ChatInput:focus {
outline: none !important; outline: none !important;
} }
@media (max-aspect-ratio:13/16) {
#ChatBoxContainer {
width:80%;
max-width: 80%;
margin: auto;
margin-bottom: 30px;
}
#ChatWindow {
width:95%;
}
#ChatInput {
width: 65%;
}
#ChatInputContainer {
width: 95%;
margin: auto;
}
}
</style> </style>

@ -15,4 +15,9 @@
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
} }
@media (max-aspect-ratio:13/16) {
#GameWindow {
flex-direction: column;
}
}
</style> </style>

@ -57,4 +57,10 @@ defineEmits(['display'])
background-clip: text; background-clip: text;
color: transparent; color: transparent;
} }
@media (max-aspect-ratio:13/16) {
#HowTo {
width: 80%;
}
}
</style> </style>

@ -198,4 +198,9 @@ function login(e) {
.badInput { .badInput {
border: 2px solid red; border: 2px solid red;
} }
@media (max-aspect-ratio:13/16) {
#LoginContainer {
width: 80%;
}
}
</style> </style>

@ -50,4 +50,11 @@ function displayHandle(c) {
border-radius: 30px; border-radius: 30px;
background-color: rgba(0, 8, 20,0.7); background-color: rgba(0, 8, 20,0.7);
} }
@media (max-aspect-ratio:13/16) {
#Container {
width: 95%;
height: auto;
}
}
</style> </style>

@ -64,4 +64,10 @@ function logout() {
cursor: pointer; cursor: pointer;
color: #bbb; color: #bbb;
} }
@media (max-aspect-ratio:13/16) {
nav {
max-width: 80%;
}
}
</style> </style>
Loading…
Cancel
Save