Skip to content

Commit

Permalink
refactor(app): improve design and responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuher committed Feb 8, 2024
1 parent 08d65f9 commit d642aac
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/scss/game.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ html body {
overflow: hidden;
max-width: 100%;

@media only screen and (max-width: 800px) {
border-radius: 0;
}

#back-to-welcome-button,
#back-to-setup-button {
cursor: pointer;
Expand All @@ -56,7 +60,7 @@ html body {
position: absolute;
right: 0;
width: 200px;
padding: 2rem;
padding: 1rem;
gap: 1rem;
display: flex;
align-items: center;
Expand All @@ -75,9 +79,9 @@ html body {
display: flex;
flex-direction: column;
padding-bottom: 1rem;
width: calc(100% - 4rem);
height: calc(100% - 4rem);
padding: 2rem;
width: calc(100% - 2rem);
height: calc(100% - 2rem);
padding: 1rem;
border: none;
color: $text;
background-color: $primary;
Expand All @@ -99,11 +103,12 @@ html body {
position: absolute;
width: 100%;
height: 100%;
z-index: 999;
z-index: 2;

.title {
font-size: 1.3rem;
margin-bottom: 0;
padding: .5rem;
}

.section-title {
Expand Down

0 comments on commit d642aac

Please sign in to comment.