hide on small windows
This commit is contained in:
@@ -125,6 +125,7 @@ body {
|
||||
main {
|
||||
padding: 1.5rem;
|
||||
background-color: var(--background-primary);
|
||||
min-width: 24rem;
|
||||
}
|
||||
|
||||
canvas {
|
||||
@@ -193,3 +194,28 @@ a {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
main,
|
||||
canvas {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#too_small {
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
h1 {
|
||||
text-align: center;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
@media only screen and ((min-width: 1152px) and (min-height: 726px)) {
|
||||
main,
|
||||
canvas {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#too_small {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user