-
Notifications
You must be signed in to change notification settings - Fork 6k
solution #7273
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
base: master
Are you sure you want to change the base?
solution #7273
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,79 @@ | ||
| html { | ||
| font-family: Roboto, sans-serif; | ||
| font-size: 12px; | ||
| font-weight: 500; | ||
| text-transform: uppercase; | ||
| background-color: grey; | ||
|
|
||
| --color: #00acdc; | ||
| } | ||
|
|
||
| body { | ||
| margin: 0; | ||
| } | ||
|
|
||
| .header { | ||
| display: flex; | ||
| align-items: center; | ||
| background-color: white; | ||
| justify-content: space-between; | ||
| padding: 0 50px; | ||
| } | ||
|
|
||
| .logo { | ||
| display: block; | ||
| height: 40px; | ||
| width: 40px; | ||
| } | ||
|
|
||
| .nav { | ||
| display: inline-block; | ||
|
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. Since the |
||
| } | ||
|
|
||
| .nav__list { | ||
| display: flex; | ||
| list-style: none; | ||
| margin: 0; | ||
| padding: 0; | ||
| } | ||
|
|
||
| .nav__item { | ||
| margin-left: 20px; | ||
| } | ||
|
|
||
| .nav__item:first-child { | ||
| margin-left: 0; | ||
| } | ||
|
|
||
| .nav__item:last-child { | ||
| margin-right: 0; | ||
| } | ||
|
Comment on lines
+48
to
+50
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 rule for |
||
|
|
||
| .nav__link { | ||
| text-decoration: none; | ||
| color: black; | ||
| display: block; | ||
| padding: 0; | ||
| text-align: center; | ||
| line-height: 60px; | ||
| } | ||
|
|
||
| .nav__link:hover { | ||
| color: var(--color); | ||
| } | ||
|
|
||
| .nav__link.is-active { | ||
| color: var(--color); | ||
| position: relative; | ||
| } | ||
|
|
||
| .nav__link.is-active::after { | ||
| position: absolute; | ||
| content: ''; | ||
| height: 4px; | ||
| background-color: var(--color); | ||
| border-radius: 8px; | ||
| left: 0; | ||
| bottom: 0; | ||
| width: 100%; | ||
| } | ||
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.
You set
font-family: Robotohere, but the task requires adding the Google Fonts configuration that selects ONLY the roman style, medium (500) weight and normal width. This violates checklist item: "The Google Fonts Configuration follows requirements (as shown in the referenced image)." Add the appropriate<link>(or@import) that loads only the required Roboto variant so auto-tests pass.