Skip to content

Commit

Permalink
Mobile Board Style
Browse files Browse the repository at this point in the history
- don't round board when window small enough that board hits the edge
  • Loading branch information
FeXd committed Feb 4, 2024
1 parent 758d80d commit e004a53
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,15 @@ main#board div {
position: relative;
}

@media screen and (max-width: calc(64px * 8)) {
main#board div {
border-radius: 0;
}
main#board.flip div {
border-radius: 0;
}
}

/* Board Labels */

main div:before, main div:after {
Expand Down Expand Up @@ -489,7 +498,6 @@ footer {
#message p:nth-child(2) {
font-size: 0.7em;
}
/* @media screen and (max-width: calc(var(--square) * 8)) { */

@media screen and (max-width: calc(64px * 8)) {
#message {
Expand All @@ -498,7 +506,6 @@ footer {
}
}


.clickable:hover {
cursor: pointer;
}
Expand Down

0 comments on commit e004a53

Please sign in to comment.