diff --git a/src/index.html b/src/index.html index b39fe97123..dd4e446c30 100644 --- a/src/index.html +++ b/src/index.html @@ -11,12 +11,26 @@ content="ie=edge" /> Moyo header - - + + + -

Moyo header

+
+ + +
diff --git a/src/style.css b/src/style.css index 293d3b1f13..91ffc2895f 100644 --- a/src/style.css +++ b/src/style.css @@ -1,3 +1,60 @@ +:root { + --color-blue: #00acdc; +} + body { margin: 0; + font-family: Roboto, Arial, sans-serif; + font-weight: 500; + font-size: 12px; + letter-spacing: 0; +} + +.header { + display: flex; + padding: 0 50px; + justify-content: space-between; + align-items: center; +} + +.nav__link { + text-transform: uppercase; + color: inherit; + white-space: nowrap; + outline: none; + text-decoration: none; + font-size: 12px; + position: relative; + display: block; + line-height: 60px; +} + +.nav__link:hover { + color: var(--color-blue); +} + +.nav__list { + padding: 0; + list-style: none; + display: flex; + margin: 0; +} + +.nav__item:not(:last-child) { + margin-right: 20px; +} + +.nav__link.is-active { + color: var(--color-blue); +} + +.is-active::after { + content: ""; + background-color: var(--color-blue); + border-radius: 2px; + width: 100%; + height: 4px; + position: absolute; + bottom: 0; + left: 0; }