Make army oveview & login mobile responsive

pull/58/head
HardiReady 2019-02-26 17:22:07 +01:00
parent 5d6e3fc089
commit b386d59508
3 changed files with 20 additions and 11 deletions

View File

@ -5,7 +5,6 @@
@media all and (max-width: 599px) { @media all and (max-width: 599px) {
.squad-layout { .squad-layout {
width: 100vw;
padding: 1vh 1vw; padding: 1vh 1vw;
} }
@ -61,7 +60,10 @@
img { img {
position: absolute; position: absolute;
margin-top: 8px; margin-top: 8px;
margin-left: 25px; margin-left: 2%;
@media all and (max-width: 959px) {
margin-left: 0;
}
} }
.title { .title {
@ -72,7 +74,7 @@ img {
.name-cell { .name-cell {
display: inherit; display: inherit;
margin-left: 200px; margin-left: 38%;
} }

View File

@ -1,15 +1,12 @@
@import url('../style/background-image.scss'); @import url('../style/background-image.scss');
.army-content-container { .army-content-container {
width: 1100px; width: 90%;
max-width: 1100px;
margin: auto; margin: auto;
position: relative; position: relative;
} }
.army-column-right {
float: right;
}
@media all and (max-width: 599px) { @media all and (max-width: 599px) {
h1 { h1 {
font-size: 26px; font-size: 26px;
@ -21,7 +18,7 @@
} }
div.army-column { div.army-column {
width: 100%; width: 100%!important;
h3 { h3 {
background: #222; background: #222;
@ -51,6 +48,15 @@
} }
} }
@media all and (max-width: 959px) {
div.army-column {
width: 49%;
}
.army-content-container {
width: 98%;
}
}
.army-column { .army-column {
width: 45%; width: 45%;
} }

View File

@ -1,11 +1,12 @@
.form-signin { .form-signin {
max-width: 330px; width: 100%;
padding: 15px; padding: 15px;
margin: 0 auto; margin: 0 auto;
} }
.form-signin > .row { .form-signin > .row {
width: 400px; max-width: 400px;
margin: auto;
} }
.form-signin-heading { .form-signin-heading {