mirror of
https://github.com/gabehf/massflip.git
synced 2026-03-15 02:05:59 -07:00
Added style for mobile
This commit is contained in:
parent
7ad332ad02
commit
fdbf7217e9
8 changed files with 73 additions and 15 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -32,22 +32,29 @@ function displayHandle(c) {
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
#Container {
|
#Container {
|
||||||
width: 1000px;
|
width: 1000px;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: 75vh;
|
height: 75vh;
|
||||||
border-radius: 30px;
|
border-radius: 30px;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
color: #f3f9f8;
|
color: #f3f9f8;
|
||||||
background-color: #001d3d;
|
background-color: #001d3d;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.dullBG {
|
.dullBG {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
left: 0px;
|
left: 0px;
|
||||||
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…
Add table
Add a link
Reference in a new issue