Fixed CSS for mobile devices

This commit is contained in:
Ean Milligan (Bastion) 2022-05-28 04:25:17 -04:00
parent 26085e8238
commit 92c97579c0
2 changed files with 60 additions and 0 deletions

View File

@ -143,3 +143,33 @@ body {
padding: 0 1rem;
}
}
@media screen and (max-width: 807px) {
#page {
grid-template-rows: 6rem calc(100vh - 8rem) 2rem;
}
#page-contents {
height: calc(100vh - 8rem);
}
}
@media screen and (max-width: 474px) {
#page {
grid-template-rows: 9rem calc(100vh - 11rem) 2rem;
}
#page-contents {
height: calc(100vh - 11rem);
}
}
@media screen and (max-width: 337px) {
#page {
grid-template-rows: 12rem calc(100vh - 14rem) 2rem;
}
#page-contents {
height: calc(100vh - 14rem);
}
}

View File

@ -163,3 +163,33 @@ p.example {
padding: 0 1rem;
}
}
@media screen and (max-width: 630px) {
#page {
grid-template-rows: 6rem calc(100vh - 8rem) 2rem;
}
#page-contents {
height: calc(100vh - 8rem);
}
}
@media screen and (max-width: 330px) {
#page {
grid-template-rows: 9rem calc(100vh - 11rem) 2rem;
}
#page-contents {
height: calc(100vh - 11rem);
}
}
@media screen and (max-width: 292px) {
#page {
grid-template-rows: 12rem calc(100vh - 14rem) 2rem;
}
#page-contents {
height: calc(100vh - 14rem);
}
}