1
0
mirror of https://github.com/comatory/fb2iCal synced 2025-01-14 09:26:16 +01:00

modify styles for mobile

This commit is contained in:
Ondrej Synacek 2019-10-21 21:43:36 +02:00
parent 96862d9d76
commit ae94f46c6d

View File

@ -1,9 +1,24 @@
@media screen and (max-width: 500px) {
h1 {
font-size: 1.6rem;
margin: 0;
}
}
@media screen and (max-width: 320px) {
h1 {
font-size: 1.1rem;
margin: 0;
}
}
body { body {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
min-height: 100vh; min-height: 100vh;
font-size: 16px; font-size: 16px;
margin: 0px; margin: 0px;
max-width: 800px;
} }
header, footer, article { header, footer, article {
@ -11,10 +26,6 @@ header, footer, article {
} }
footer { footer {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background-color: #fff; background-color: #fff;
} }
@ -31,7 +42,7 @@ p, input, table, button, label {
} }
.list-wrapper { .list-wrapper {
max-height: 500px; max-height: 50vh;
overflow: auto; overflow: auto;
} }