-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Develop #7488
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 #7488
Changes from 30 commits
e77192b
d40317a
ee675d4
aedf5c7
e7eca8f
3ff2f5c
d2a3b46
592ea23
2162a64
99a2286
42b8697
7b41dbb
af3dce2
4b41c40
40fc165
e806c9e
aa91437
03a3ee9
f7022f7
4cfb8fa
58e6f57
1212162
3dcf0d6
7ac762a
f099990
bc8eeb8
09cec39
ae8fccb
9441d1d
c8be5b5
f1c73e4
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 @@ | ||
| * { | ||
| box-sizing: border-box; | ||
| } | ||
|
||
|
|
||
| body { | ||
| font-family: Roboto, sans-serif; | ||
| font-weight: 500; | ||
| font-size: 12px; | ||
| margin: 0; | ||
| } | ||
|
|
||
| .header { | ||
| padding: 0; | ||
| background-color: white; | ||
| } | ||
|
|
||
| .header__inner { | ||
| padding: 0 50px; | ||
| display: flex; | ||
| justify-content: space-between; | ||
| align-items: center; | ||
| width: 100%; | ||
| } | ||
|
|
||
| .list__items { | ||
| list-style: none; | ||
| display: flex; | ||
| padding: 0; | ||
| margin: 0; | ||
| justify-content: flex-end; | ||
| align-items: center; | ||
| } | ||
|
|
||
| /* .nav__item { | ||
| display: inline-block; | ||
| } */ | ||
|
|
||
| .nav__item:not(:last-child) { | ||
| margin-right: 20px; | ||
| } | ||
|
|
||
| .nav__link { | ||
| text-transform: uppercase; | ||
| text-decoration: none; | ||
| color: black; | ||
| font-style: normal; | ||
| font-weight: 500; | ||
| height: 60px; | ||
| display: flex; | ||
| justify-content: center; | ||
| align-items: center; | ||
| position: relative; | ||
| } | ||
|
|
||
| :root { | ||
| --blue: #00acdc; | ||
| } | ||
|
|
||
| .is-active { | ||
| color: var(--blue); | ||
| } | ||
|
|
||
| .is-active::after { | ||
| content: ''; | ||
| display: block; | ||
| background-color: var(--blue); | ||
| height: 4px; | ||
| width: 100%; | ||
| border-radius: 8px; | ||
| bottom: 0; | ||
| position: absolute; | ||
| left: 0; | ||
| } | ||
|
|
||
| .nav__link:hover { | ||
| color: var(--blue); | ||
| } | ||
|
|
||
| .logo { | ||
| display: flex; | ||
| align-items: center; | ||
| } | ||
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.
The task requirements state: "Don't use
*selector". This selector affects performance and is disallowed by the project's code style rules. You should apply styles likebox-sizingonly to the elements that need them, using their classes.