-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
699 Update responsive design up to 200% zoom #727
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -47,3 +47,81 @@ | |||||
justify-content: flex-end; | ||||||
gap: 1.5rem; | ||||||
} | ||||||
|
||||||
/* Media Query for .game-container */ | ||||||
@media (max-width: 1230px) { | ||||||
.main-header { | ||||||
height: 5rem; | ||||||
padding: 0rem 0rem; | ||||||
} | ||||||
|
||||||
.main-header .themed-button { | ||||||
padding: 0.5rem; | ||||||
height: 2.5rem; | ||||||
gap: 0.25rem; | ||||||
font-size: 0.8rem; | ||||||
} | ||||||
|
||||||
.main-header-left, | ||||||
.main-header-middle, | ||||||
.main-header-right { | ||||||
flex-grow: 1; | ||||||
} | ||||||
|
||||||
.main-header-middle .main-header-level { | ||||||
font-size: 1rem; | ||||||
} | ||||||
|
||||||
.level-selection-box { | ||||||
font-size: 0.5rem; | ||||||
} | ||||||
} | ||||||
|
||||||
@media (max-width: 1015px) { | ||||||
.main-header .themed-button { | ||||||
gap: 0.25rem; | ||||||
font-size: 0.8rem; | ||||||
} | ||||||
|
||||||
.main-header-middle { | ||||||
gap: 1rem; | ||||||
flex-shrink: 1; | ||||||
} | ||||||
.main-header { | ||||||
padding: 0rem 0rem; | ||||||
height: 3.5rem; | ||||||
} | ||||||
.main-header-right { | ||||||
gap: 0rem; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can be shortened to
Suggested change
|
||||||
} | ||||||
} | ||||||
|
||||||
@media (max-width: 940px) { | ||||||
.main-header-left > .titleLogo { | ||||||
height: 50%; | ||||||
} | ||||||
.main-header-left { | ||||||
width: auto; | ||||||
} | ||||||
.main-header-right { | ||||||
justify-content: space-evenly; | ||||||
width: auto; | ||||||
} | ||||||
.main-header .themed-button { | ||||||
font-size: 0.5rem; | ||||||
} | ||||||
.main-header { | ||||||
height: 3.5rem; | ||||||
} | ||||||
} | ||||||
|
||||||
@media (max-width: 760px) { | ||||||
.main-header .themed-button { | ||||||
font-size: 0.5rem; | ||||||
padding: 0.4rem 0.4rem; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
height: 1.8rem; | ||||||
} | ||||||
.main-header { | ||||||
height: 3rem; | ||||||
} | ||||||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,9 @@ | |
background-color: var(--action-button-disabled-background-colour); | ||
color: var(--action-button-disabled-text-colour); | ||
} | ||
|
||
@media (max-width: 760px) { | ||
.themed-button img { | ||
display: none; | ||
} | ||
Comment on lines
+20
to
+23
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I like the idea of hiding icons to make space |
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can be shortened