diff --git a/readme.md b/readme.md index e72b8051e7..855b9a70bc 100644 --- a/readme.md +++ b/readme.md @@ -25,10 +25,10 @@ The page should match the design Pixel Perfect: all the sizes, colors and distan ## Checklist -❗️ Replace `` with your Github username and copy the links to `Pull Request` description: +❗️ Replace `izotovav` with your Github username and copy the links to `Pull Request` description: -- [DEMO LINK](https://.github.io/layout_moyo-header/) -- [TEST REPORT LINK](https://.github.io/layout_moyo-header/report/html_report/) +- [DEMO LINK](https://izotovav.github.io/layout_moyo-header/) +- [TEST REPORT LINK](https://izotovav.github.io/layout_moyo-header/report/html_report/) ❗️ Copy this `Checklist` to the `Pull Request` description after links, and put `- [x]` before each point after you checked it. diff --git a/src/index.html b/src/index.html index b39fe97123..774b6b7234 100644 --- a/src/index.html +++ b/src/index.html @@ -11,12 +11,75 @@ content="ie=edge" /> Moyo header + + + -

Moyo header

+
+ + logo + + + +
diff --git a/src/style.css b/src/style.css index 293d3b1f13..3deede0ab1 100644 --- a/src/style.css +++ b/src/style.css @@ -1,3 +1,71 @@ +:root { + --active-color: #00acdc; +} + body { margin: 0; } + +html { + font-family: Roboto, sans-serif; + font-size: 12px; + font-weight: 500; + text-transform: uppercase; +} + +.header { + position: relative; + display: flex; + align-items: center; + justify-content: space-between; + box-shadow: 0 2px 4px 0 #0000000d; + padding: 0 50px; +} + +.nav__list { + display: flex; + list-style: none; + padding-left: 0; + margin: 0; +} + +.nav__link { + position: relative; + display: flex; + height: 60px; + margin-left: 20px; + align-items: center; +} + +.nav__item { + cursor: default; + justify-content: center; +} + +.is-active { + margin-left: 0; + color: var(--active-color); +} + +.nav__link:hover { + color: var(--active-color); +} + +.header__link { + display: flex; + width: 40px; + height: 40px; + margin-top: 10px; + margin-bottom: 10px; +} + +.is-active::after { + content: ''; + display: block; + height: 4px; + width: 100%; + background-color: var(--active-color); + position: absolute; + bottom: 0; + border-radius: 8px; +}