mirror of
https://github.com/danbee/chess
synced 2025-03-04 08:39:06 +00:00
41 lines
685 B
SCSS
41 lines
685 B
SCSS
.game-grid {
|
|
display: grid;
|
|
grid-gap: $base-spacing;
|
|
}
|
|
|
|
@media (min-aspect-ratio: 9/11) {
|
|
.game-grid {
|
|
grid-template-areas:
|
|
"board game-info"
|
|
"board move-list";
|
|
grid-template-columns: min-content 1fr;
|
|
grid-template-rows: min-content 1fr;
|
|
}
|
|
|
|
.container {
|
|
max-width: 120vmin;
|
|
}
|
|
}
|
|
|
|
@media (max-aspect-ratio: 9/11) {
|
|
.game-grid {
|
|
grid-template-areas:
|
|
"game-info"
|
|
"board"
|
|
"move-list";
|
|
grid-template-rows: min-content min-content min-content;
|
|
}
|
|
}
|
|
|
|
@media (max-height: 960px), (max-width: 768px) {
|
|
html {
|
|
font-size: 0.9em;
|
|
}
|
|
}
|
|
|
|
@media (max-height: 480px), (max-width: 400px) {
|
|
html {
|
|
font-size: 0.8em;
|
|
}
|
|
}
|