Fix most pages on small screens

This commit is contained in:
Eugen Rochko
2016-10-03 16:10:17 +02:00
parent 188c6f326b
commit b3c7c8700d
8 changed files with 96 additions and 23 deletions

View File

@ -69,7 +69,6 @@ body {
padding-bottom: 140px;
text-rendering: optimizelegibility;
font-feature-settings: "kern";
min-width: 380px;
&.app-body {
position: fixed;
@ -77,6 +76,10 @@ body {
height: 100%;
padding: 0;
}
@media screen and (max-width: 360px) {
padding-bottom: 0;
}
}
.app-holder {
@ -99,10 +102,14 @@ body {
}
.logo-container {
width: 400px;
max-width: 400px;
margin: 100px auto;
cursor: default;
@media screen and (max-width: 360px) {
margin: 30px auto;
}
h1 {
display: block;
text-align: center;
@ -145,7 +152,7 @@ body {
}
.form-container {
width: 400px;
max-width: 400px;
margin: 0 auto;
padding: 20px;
@ -321,6 +328,11 @@ body {
font-size: 12px;
font-weight: 400;
font-family: 'Roboto Mono', monospace;
a {
color: inherit;
text-decoration: none;
}
}
.powered-by {