diff --git a/readme.md b/readme.md index e72b8051e7..965177e65f 100644 --- a/readme.md +++ b/readme.md @@ -27,8 +27,8 @@ The page should match the design Pixel Perfect: all the sizes, colors and distan ❗️ Replace `` 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://Anna-0805.github.io/layout_moyo-header/) +- [TEST REPORT LINK](https://Anna-0805.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..f67986fb6d 100644 --- a/src/index.html +++ b/src/index.html @@ -3,20 +3,81 @@ + MOYO Header + + + - Moyo header -

Moyo header

+
+ + +
diff --git a/src/style.css b/src/style.css index 293d3b1f13..add4fb5f15 100644 --- a/src/style.css +++ b/src/style.css @@ -1,3 +1,83 @@ body { margin: 0; + font-family: Roboto, sans-serif; +} + +.header { + background-color: #fff; + padding: 0 50px; + display: flex; + justify-content: space-between; +} + +.panel ul { + margin: 0; + padding: 0; + list-style: none; + display: flex; +} + +li { + display: inline-flex; + justify-content: center; + align-items: center; + height: 60px; + margin-right: 20px; +} + +.panel a { + text-transform: uppercase; + text-align: center; + color: var(--black-color); + font-size: 12px; + font-weight: 500; + line-height: 60px; + text-decoration: none; + display: block; +} + +a:link, +a:visited, +a:active { + color: inherit; + background-color: transparent; +} + +li:last-child { + margin-right: 0; +} + +.logo img { + width: 40px; + height: 40px; + padding-top: 10px; +} + +.panel a.is-active { + color: var(--blue-color); + position: relative; +} + +.panel a.is-active::after { + content: ''; + position: absolute; + left: 0; + bottom: 0; + width: 100%; + height: 4px; + background-color: var(--blue-color); + border-radius: 8px; +} + +.panel a:hover { + color: var(--blue-color); +} + +.panel .is-active a:hover { + color: var(--blue-color); +} + +:root { + --blue-color: #00acdc; + --black-color: #000; }