Do hacks with scale to stop overflowing
This commit is contained in:
@ -19,6 +19,16 @@ body {
|
|||||||
font-size: x-large;
|
font-size: x-large;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* filthy hacks to make the page stop overflowing on mobile */
|
||||||
|
@media (width <= 430px) {
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
transform-origin: top left;
|
||||||
|
scale: 0.9;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (width <= 390px) { body { scale: 0.85; } }
|
||||||
|
|
||||||
.info_box {
|
.info_box {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
max-width: 40em;
|
max-width: 40em;
|
||||||
@ -93,7 +103,8 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.bulb_box > * {
|
.bulb_box > * {
|
||||||
margin: 0.5em;
|
margin-bottom: 1em;
|
||||||
|
margin-right: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bulb_controls {
|
.bulb_controls {
|
||||||
|
|||||||
Reference in New Issue
Block a user