Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
monky6503 committed Jun 25, 2024
1 parent d4bd218 commit f7135e7
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 5 deletions.
23 changes: 21 additions & 2 deletions color.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ main{
background-clip: text;
}
.grid-box{
width: 580px;
height: 580px;
width: 570px;
height: 570px;
background-color: white;
display:none;
border:5px solid white;
Expand Down Expand Up @@ -63,4 +63,23 @@ main{
font-size:20px;
}
}
}


@media(max-width:576px){
main{
.container{
h1{
font-size:40px;

}
.grid-box{
width: 100vw;
height: auto;
aspect-ratio: 1/1;


}
}
}
}
15 changes: 13 additions & 2 deletions css/color.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ main .container h1 {
background-clip: text;
}
main .container .grid-box {
width: 580px;
height: 580px;
width: 570px;
height: 570px;
background-color: white;
display: none;
border: 5px solid white;
Expand Down Expand Up @@ -59,4 +59,15 @@ main .container .game-over {
}
main .container .timer, main .container .score {
font-size: 20px;
}

@media (max-width: 576px) {
main .container h1 {
font-size: 40px;
}
main .container .grid-box {
width: 100vw;
height: auto;
aspect-ratio: 1/1;
}
}/*# sourceMappingURL=color.css.map */
2 changes: 1 addition & 1 deletion css/color.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f7135e7

Please sign in to comment.