mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-18 18:17:03 +00:00
ui: Convert main.css to mobile first
This commit is contained in:
@@ -115,24 +115,28 @@ a.button {
|
|||||||
display: grid;
|
display: grid;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
grid-gap: 20px;
|
grid-gap: 20px;
|
||||||
grid-template:
|
|
||||||
"lpad head rpad" auto
|
|
||||||
"lpad page rpad" 1fr
|
|
||||||
"foot foot foot" auto / minmax(20px, auto) 1fr minmax(20px, auto);
|
|
||||||
height: 100vh;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 999px) {
|
|
||||||
.app {
|
|
||||||
grid-template:
|
grid-template:
|
||||||
"head head head" auto
|
"head head head" auto
|
||||||
"lpad page rpad" 1fr
|
"lpad page rpad" 1fr
|
||||||
"foot foot foot" auto / 1px 1fr 1px;
|
"foot foot foot" auto / 1px 1fr 1px;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.desktop {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1000px) {
|
||||||
|
.app {
|
||||||
|
grid-template:
|
||||||
|
"lpad head rpad" auto
|
||||||
|
"lpad page rpad" 1fr
|
||||||
|
"foot foot foot" auto / minmax(20px, auto) 1fr minmax(20px, auto);
|
||||||
|
height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.desktop {
|
td.desktop, th.desktop {
|
||||||
display: none;
|
display: table-cell;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user