mirror of
https://github.com/MaciejkaG/statki.git
synced 2024-11-30 05:42:56 +01:00
c0ae701507
- Most of the game should work on mobile now - It's not yet perfect and needs finishes/improvements
45 lines
633 B
CSS
45 lines
633 B
CSS
@media only screen and (max-width: 1280px) {
|
|
|
|
}
|
|
|
|
@media only screen and (max-width: 820px) {
|
|
.boardContainer {
|
|
width: 90vw;
|
|
aspect-ratio: 1;
|
|
}
|
|
|
|
.panelContainer {
|
|
flex-direction: column-reverse;
|
|
align-items: center;
|
|
}
|
|
|
|
.field {
|
|
width: 7.5vw; /* still need to test that */
|
|
}
|
|
|
|
.controls {
|
|
display: none;
|
|
}
|
|
|
|
.mobileControls {
|
|
display: block;
|
|
}
|
|
|
|
.break {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.spaceFiller {
|
|
display: none;
|
|
}
|
|
|
|
body {
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.secondary {
|
|
transform: scale(0);
|
|
}
|
|
}
|
|
|