-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(nav): create navigation bar (#6)
* refactor(intro): update header text * chore(workspace): disable selector-class-pattern rule * feat(nav): add navigation content * feat(colors): create colors black and white * refactor(intro): adjust intro padding * feat(nav): style navigation bar
- Loading branch information
1 parent
76a71f9
commit 366f4a8
Showing
8 changed files
with
107 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
:root { | ||
--color-white: #fff; | ||
--color-black: #2b2b2b; | ||
--color-primary-extra-dark: #131a40; | ||
--color-primary-dark: #273273; | ||
--color-primary: #4e64a6; | ||
--color-primary-light: #829fd9; | ||
--color-primary-extra-light: #99b7f9; | ||
--color-text-on-primary-extra-dark: #fff; | ||
--color-text-on-primary-dark: #fff; | ||
--color-text-on-primary: #fff; | ||
--color-text-on-primary-light: #2b2b2b; | ||
--color-text-on-primary-extra-light: #2b2b2b; | ||
--color-text-on-primary-extra-dark: var(--color-white); | ||
--color-text-on-primary-dark: var(--color-white); | ||
--color-text-on-primary: var(--color-white); | ||
--color-text-on-primary-light: var(--color-black); | ||
--color-text-on-primary-extra-light: var(--color-black); | ||
--color-link-on-primary-extra-dark: var(--color-primary-extra-light); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
.intro { | ||
padding: 4rem 3rem 10rem; | ||
padding: 5rem 3rem 10rem; | ||
|
||
p { | ||
font-size: 1rem; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
.nav { | ||
position: sticky; | ||
top: 0; | ||
padding: 1.5rem; | ||
font-family: var(--font-family-mono); | ||
background-color: var(--color-primary-extra-dark); | ||
|
||
&__list { | ||
display: flex; | ||
align-items: center; | ||
column-gap: 1.5rem; | ||
list-style: none; | ||
} | ||
|
||
&__link { | ||
color: var(--color-text-on-primary-extra-dark); | ||
font-size: 1rem; | ||
text-decoration: none; | ||
|
||
&:hover { | ||
color: var(--color-primary-extra-light); | ||
} | ||
} | ||
|
||
&__item { | ||
&--square { | ||
display: grid; | ||
min-width: 2rem; | ||
height: 2rem; | ||
padding: 0 0.5rem; | ||
text-align: center; | ||
background-color: var(--color-white); | ||
border-radius: 5px; | ||
place-content: center; | ||
|
||
&:hover { | ||
background-color: var(--color-primary-extra-light); | ||
} | ||
|
||
.nav__link { | ||
color: var(--color-text-on-primary-extra-light); | ||
} | ||
|
||
img { | ||
display: block; | ||
height: 1.3rem; | ||
} | ||
} | ||
|
||
&:first-of-type { | ||
margin-right: auto; | ||
font-family: var(--font-family-sans); | ||
|
||
.nav__link { | ||
font-size: 1.5rem; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
@import 'typography'; | ||
@import 'intro'; | ||
@import 'contact'; | ||
@import 'navigation'; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.