Compare commits

...

2 commits

Author SHA1 Message Date
e5fddf7a7d Align the chips properly
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-15 18:39:32 +01:00
194acdaea3 Make the board shrink based on the height 2022-12-15 18:39:11 +01:00

View file

@ -3,15 +3,18 @@ div {
}
.board {
width: 84vw;
width: min(84vw, 84vh);
margin: 10px auto;
outline: 1px solid black;
}
.board .field {
border: 1px solid black;
width: 12vw;
height: 12vw;
width: min(12vw, 12vh);
height: min(12vw, 12vh);
display: flex;
align-items: center;
justify-content: center;
float: left;
}
@ -20,10 +23,9 @@ div {
}
.board .field .piece {
width: 10vw;
height: 10vw;
width: 95%;
height: 95%;
border-radius: 50%;
margin: 1vw;
}
.board .field .blue {