-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
add task solution #6121
base: master
Are you sure you want to change the base?
add task solution #6121
Changes from all commits
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,82 @@ | ||
html { | ||
--link-color: #00acdc; | ||
} | ||
|
||
body { | ||
margin: 0; | ||
font-family: Roboto, sans-serif; | ||
font-size: 12px; | ||
font-weight: 500; | ||
font-style: normal; | ||
box-sizing: border-box; | ||
} | ||
|
||
.header { | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
padding: 0 50px; | ||
} | ||
|
||
.logo { | ||
/* display: block; | ||
padding: 10px 0; */ | ||
Comment on lines
+22
to
+23
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. These commented-out styles for |
||
height: 40px; | ||
} | ||
|
||
.nav-list { | ||
display: flex; | ||
align-items: center; | ||
list-style: none; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
li { | ||
/* display: flex; | ||
text-align: center; | ||
height: 60px; | ||
line-height: 60px; */ | ||
Comment on lines
+36
to
+39
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. These commented-out styles for |
||
margin-left: 20px; | ||
} | ||
|
||
a { | ||
display: flex; | ||
height: 100%; | ||
text-decoration: none; | ||
} | ||
|
||
nav a { | ||
display: block; | ||
height: 60px; | ||
line-height: 60px; | ||
text-align: center; | ||
text-decoration: none; | ||
text-transform: uppercase; | ||
color: #000; | ||
width: 100%; | ||
} | ||
|
||
li:first-child { | ||
margin-left: 0; | ||
} | ||
|
||
nav a:hover { | ||
color: var(--link-color); | ||
} | ||
|
||
nav a.is-active { | ||
position: relative; | ||
color: var(--link-color); | ||
} | ||
|
||
nav a.is-active::after { | ||
position: absolute; | ||
content: ''; | ||
border-radius: 8px; | ||
background-color: var(--link-color); | ||
bottom: 0; | ||
left: 0; | ||
width: 100%; | ||
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.
Ensure that the 'Roboto' font is correctly linked in the HTML file. If the font is not loading properly, check the link in the HTML file to ensure it's correct.