Skip to content

Commit

Permalink
Fix navbar overlap on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
DeclanChidlow committed Jun 7, 2024
1 parent c7519bc commit f5ff846
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 6 deletions.
4 changes: 3 additions & 1 deletion config/global/styles/base/body.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ body {
margin: 0 3rem 3rem;
color: light-dark(var(--dark_grey), var(--white));
background-color: light-dark(var(--white), var(--grey));
font-family: "Barlow", sans-serif;
}

main {
margin: 5rem auto;
padding: 5rem 0;
margin: auto;
max-width: 1000px;
}

Expand Down
2 changes: 1 addition & 1 deletion config/global/styles/components/navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ header#navbar {
top: 0;
left: 0;
text-transform: lowercase;
font-weight: 900;
font-weight: 700;
background: var(--light_grey);
z-index: 1000;

Expand Down
1 change: 1 addition & 0 deletions config/global/styles/pages/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
#hero {
flex-direction: column-reverse;
justify-items: center;
padding-top: 1rem;
margin-bottom: 5rem;

#herotext {
Expand Down
2 changes: 1 addition & 1 deletion config/global/styles/type/type.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url("https://fonts.googleapis.com/css2?family=Barlow&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

p {
margin-bottom: 0.8rem;
Expand Down
4 changes: 3 additions & 1 deletion docs/styles/base/body.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ body {
margin: 0 3rem 3rem;
color: light-dark(var(--dark_grey), var(--white));
background-color: light-dark(var(--white), var(--grey));
font-family: "Barlow", sans-serif;
}

main {
margin: 5rem auto;
padding: 5rem 0;
margin: auto;
max-width: 1000px;
}

Expand Down
2 changes: 1 addition & 1 deletion docs/styles/components/navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ header#navbar {
top: 0;
left: 0;
text-transform: lowercase;
font-weight: 900;
font-weight: 700;
background: var(--light_grey);
z-index: 1000;

Expand Down
1 change: 1 addition & 0 deletions docs/styles/pages/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
#hero {
flex-direction: column-reverse;
justify-items: center;
padding-top: 1rem;
margin-bottom: 5rem;

#herotext {
Expand Down
2 changes: 1 addition & 1 deletion docs/styles/type/type.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url("https://fonts.googleapis.com/css2?family=Barlow&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

p {
margin-bottom: 0.8rem;
Expand Down

0 comments on commit f5ff846

Please sign in to comment.