-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Develop #5611
base: master
Are you sure you want to change the base?
Develop #5611
Changes from all commits
caef7a8
1c46c71
d1be9a3
2aa6a8b
6c2a207
6768f5f
c5ecaca
8b22843
6f16aba
8cbef9c
88474d4
2bcd387
e107463
b169e94
05c73c0
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 |
---|---|---|
@@ -1,3 +1,78 @@ | ||
:root { | ||
--link-on: #00acdc; | ||
--link-off: black; | ||
} | ||
|
||
body { | ||
margin: 0; | ||
font-family: Roboto, sans-serif; | ||
font-weight: 500; | ||
} | ||
|
||
.header { | ||
display: flex; | ||
justify-content: space-between; | ||
padding: 0 50px; | ||
} | ||
|
||
.header__logo { | ||
align-self: center; | ||
display: flex; | ||
} | ||
|
||
.navigation { | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.nav_list { | ||
display: flex; | ||
list-style: none; | ||
margin: 0; | ||
padding-left: 0; | ||
} | ||
|
||
.nav_item { | ||
display: flex; | ||
} | ||
|
||
.nav_link { | ||
color: var(--link-off); | ||
text-decoration: none; | ||
font-size: 12px; | ||
text-transform: uppercase; | ||
align-items: center; | ||
display: flex; | ||
height: 60px; | ||
margin-left: 20px; | ||
} | ||
|
||
.nav_link:visited { | ||
color: var(--link-off); | ||
} | ||
|
||
.nav_link:hover { | ||
color: var(--link-on); | ||
} | ||
|
||
.nav_link:active { | ||
color: var(--link-on); | ||
position: relative; | ||
} | ||
|
||
.nav_link.is-active:first-child { | ||
color: var(--link-on); | ||
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. This color is not applied to the active link because 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. It should be
To be more precise |
||
position: relative; | ||
margin-left: 0; | ||
} | ||
|
||
.is-active::after { | ||
content: ''; | ||
display: block; | ||
border-bottom: 4px solid var(--link-on); | ||
position: absolute; | ||
border-radius: 8px; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
} |
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.
ul tag is also applying some left padding. Thats why test's are failing.