-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Develop #7503
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?
Develop #7503
Changes from 3 commits
4eadfd1
3b4fbd9
ea81810
aea38f1
e93d14e
5d60d60
4cd9e3d
7b3cec8
0ce72ed
470d6cd
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,83 @@ | ||
| html { | ||
| margin: 0; | ||
| font-family: 'Roboto', Arial, sans-serif; | ||
| font-style: normal; | ||
| font-weight: 500; | ||
| width: normal; | ||
|
||
| --color-primary: #00acdc | ||
| } | ||
|
|
||
| body { | ||
| margin: 0; | ||
| } | ||
|
|
||
| .header { | ||
| margin: 0; | ||
| } | ||
|
|
||
| .container { | ||
| display: flex; | ||
| background-color: #ffffff; | ||
| justify-content: space-between; | ||
| align-items: center; | ||
| max-width: 80%; | ||
|
||
| margin: 0 auto; | ||
| } | ||
|
|
||
| .nav_list { | ||
| list-style-type: none; | ||
| margin: 0; | ||
| padding: 0; | ||
| } | ||
|
|
||
| .nav_items:not(:last-child) { | ||
| margin-right: 20px; | ||
| } | ||
|
|
||
| .nav_list .nav_links { | ||
| display: inline-block; | ||
| text-transform: uppercase; | ||
| } | ||
|
|
||
| .nav_list { | ||
| display: flex; | ||
| } | ||
|
||
|
|
||
| .logo { | ||
| display: flex; | ||
| } | ||
|
|
||
| .nav_list .nav_links:link { | ||
| text-decoration: none; | ||
| color: black; | ||
| } | ||
|
|
||
| .nav_list .nav_links:visited { | ||
| text-decoration: none; | ||
| color: black; | ||
| } | ||
|
|
||
| .nav_list .nav_links:hover { | ||
| color: var(--color-primary); | ||
| } | ||
|
|
||
| .nav_list .nav_links.is-active { | ||
| position: relative; | ||
| color: var(--color-primary); | ||
| } | ||
|
|
||
| .nav_list .nav_links.is-active::after { | ||
| content: ""; | ||
| position: absolute; | ||
| width: 100%; | ||
| height: 2px; | ||
| background-color: var(--color-primary); | ||
| bottom: -8px; | ||
|
||
| left: 0; | ||
| border-radius: 8px; | ||
| } | ||
|
|
||
| .nav_links { | ||
| height: 56px; | ||
| line-height: 56px; | ||
| } | ||
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.
This line is longer than 80 characters. The
<a>element also has more than two attributes, so according to the code style rules, it should be formatted with each attribute on a new line. Applying this formatting will also fix the line length issue.