forked from noxious/client
NQ-45 Responsive styling login and character select
This commit is contained in:
parent
5c5b37d428
commit
147d034572
@ -8,6 +8,7 @@
|
|||||||
left: 50%;
|
left: 50%;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-wrapper {
|
.content-wrapper {
|
||||||
@ -89,4 +90,18 @@
|
|||||||
|
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Mobile screens (< 450px)
|
||||||
|
@media screen and (max-width: 450px) {
|
||||||
|
.content-wrapper {
|
||||||
|
.content-elements {
|
||||||
|
.login-form {
|
||||||
|
.form-field {
|
||||||
|
width: 100%;
|
||||||
|
min-width: unset;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
@ -106,7 +106,7 @@ function create() {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 100px;
|
gap: 80px;
|
||||||
padding: 0 80px;
|
padding: 0 80px;
|
||||||
&::before {
|
&::before {
|
||||||
content: '';
|
content: '';
|
||||||
@ -115,10 +115,14 @@ function create() {
|
|||||||
.characters-wrapper {
|
.characters-wrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
gap: 80px;
|
flex-wrap: wrap;
|
||||||
|
gap: 60px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
max-height: 650px;
|
||||||
|
overflow: auto;
|
||||||
|
|
||||||
.character {
|
.character {
|
||||||
|
margin: 10px;
|
||||||
width: 170px;
|
width: 170px;
|
||||||
height: 275px;
|
height: 275px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user