Skip to content

Commit 64227b5

Browse files
committed
style: adjust styles & responsive for header
1 parent 19e9372 commit 64227b5

4 files changed

Lines changed: 11 additions & 8 deletions

File tree

modules/header/header.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
padding-top: 20px;
66
}
77

8-
@media (max-width: 900px) {
8+
@media (max-width: 1200px) {
99
.navbar,
1010
.socialLinks {
1111
display: none !important;

modules/navigation/Navbar.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
display: inline-flex;
88
}
99

10-
@media (max-width: 900px) {
10+
@media (max-width: 1200px) {
1111
.navbar ul {
1212
flex-direction: column;
1313
align-items: center;

modules/navigation/mobile/MobileNavigation.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@media (min-width: 900px) {
1+
@media (min-width: 1200px) {
22
.mobilePanel,
33
.mobileButton {
44
display: none !important;

modules/navigation/mobile/button/MobileNavigationButton.module.css

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
.button {
22
position: absolute;
3-
right: 5px;
4-
top: 5px;
5-
width: 4rem;
6-
height: 4rem;
3+
right: 12px;
4+
top: 12px;
5+
width: 3.5rem;
6+
height: 3.5rem;
77
color: var(--font-color-strong);
8+
background-color: var(--background-card);
9+
border-radius: 12px;
810
display: inline-flex;
911
flex-direction: column;
1012
justify-content: space-between;
11-
padding: 1rem;
13+
padding: 0.875rem;
14+
cursor: pointer;
1215
z-index: 999;
1316
}
1417

0 commit comments

Comments
 (0)