mirror of
https://github.com/MaciejkaG/statki.git
synced 2024-11-30 07:42:54 +01:00
MaciejkaG
a212161733
- Improved PWA support on mobile. - Added Vs. AI game menu. - Added the first AI algorithm. - Vs. AI is now available with every option leading to simple bot - Fixed a bug where placing ships in certain rotation around the boundaries of the board would wrongly colour them when sunk. - Improved code clarity and comments - Added an option in the settings to change your nickname - Added version display in the settings - Slightly improved box scaling and layout - Made multiple improvements to the PWA support - Added multiple minor features - Brought back full SPA URL functionality, now if you copy a URL to specific view/page in the menu and go into it, you will actually arrive at that page if it's not restricted.
44 lines
828 B
CSS
44 lines
828 B
CSS
@media only screen and (max-width: 1280px) {
|
|
#profileView .stats {
|
|
flex-direction: column;
|
|
}
|
|
|
|
#profileView .profile {
|
|
width: auto;
|
|
justify-content: center;
|
|
text-align: center;
|
|
}
|
|
|
|
#profileView .matchList .match {
|
|
height: 7rem;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 820px) {
|
|
#pvpCreateView .modes div {
|
|
max-width: 90vw;
|
|
padding: 2rem 1.5rem;
|
|
}
|
|
|
|
#pvpJoinView .modes div {
|
|
max-width: 90vw;
|
|
height: 8rem;
|
|
padding: 2rem 1.5rem;
|
|
}
|
|
|
|
#profileView .matchList .match:hover {
|
|
height: 16rem;
|
|
}
|
|
|
|
#profileView .stats {
|
|
width: 90vw;
|
|
}
|
|
|
|
#profileView .match div {
|
|
flex-direction: column;
|
|
}
|
|
|
|
#profileView .matchList .match .statsButton {
|
|
font-size: 1.3rem;
|
|
}
|
|
} |