-
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 #5711
base: master
Are you sure you want to change the base?
Develop #5711
Changes from all commits
c3ef59d
8efb4f1
3429abe
0d79243
b338dcf
69aaa10
79c1bba
df8168c
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 { | ||
--main-color: #00acdc; | ||
} | ||
|
||
body { | ||
margin: 0; | ||
font-family: Roboto, sans-serif, Arial, Helvetica; | ||
font-size: 12px; | ||
} | ||
|
||
.header { | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
padding: 0 50px; | ||
width: 100%; | ||
} | ||
|
||
.logo_png { | ||
display: block; | ||
width: 40px; | ||
height: 40px; | ||
margin-top: 10px; | ||
} | ||
|
||
.nav__list { | ||
display: flex; | ||
align-items: center; | ||
list-style: none; | ||
justify-content: center; | ||
padding-left: 0; | ||
margin: 0 auto; | ||
} | ||
|
||
.nav__item { | ||
text-transform: uppercase; | ||
justify-content: center; | ||
margin-right: 20px; | ||
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. the last item shouldn't have margin-right (read about :last-child) - it's said in description |
||
font-size: 12px; | ||
font-weight: 500; | ||
height: 15px; | ||
} | ||
|
||
.nav__item:last-child { | ||
margin-right: 0; | ||
} | ||
|
||
.nav__link { | ||
display: block; | ||
text-decoration: none; | ||
font-size: 12px; | ||
height: 15px; | ||
color: #000; | ||
justify-content: center; | ||
align-items: center; | ||
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. nav link should be on full width of height. add vettical padings and line-heitght which should make height 60px |
||
padding: 10px 0; | ||
} | ||
|
||
.is-active { | ||
color: var(--main-color); | ||
} | ||
|
||
.nav__list :hover { | ||
color: var(--main-color); | ||
} | ||
|
||
a.is-active::after { | ||
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. The 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. line under first link not visible. add position relative for .is-active class. |
||
content: ''; | ||
|
||
/* position: absolute; */ | ||
display: block; | ||
|
||
/* bottom: -17px; */ | ||
width: 100%; | ||
background-color: var(--main-color); | ||
border-radius: 8px; | ||
height: 4px; | ||
} |
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 has default vertical margins and left paddins. you need to reset them