diff --git a/assets/sass/components/_header.scss b/assets/sass/components/_header.scss index ff74a323..d07d9346 100644 --- a/assets/sass/components/_header.scss +++ b/assets/sass/components/_header.scss @@ -53,19 +53,27 @@ header { list-style: none; display: flex; align-items: center; - font-size: 1.5em; + font-size: 1.2em; line-height: 1; li { - width: 2.5em; text-align: right; + margin-left: 1.45em; a { display: inline-block; + color: $color-medium; transition: transform 0.15s ease-in-out; &:hover { - transform: scale(1.4); + transform: scale(1.15); + color: $color-links; + } + + span.text { + font-size: 0.8em; + font-weight: 500; + margin-left: 0.55em; } } } @@ -95,7 +103,18 @@ header { font-size: 1.7em; li { - width: 2em; + margin-left: 1em; + + a { + // hide text next to emojis on mobile + span.text { + display: none; + } + + &:hover { + transform: scale(1.4); + } + } } } } diff --git a/layouts/partials/page/header.html b/layouts/partials/page/header.html index ed646fa0..4911cd1c 100644 --- a/layouts/partials/page/header.html +++ b/layouts/partials/page/header.html @@ -5,10 +5,10 @@

{{ .Site.Title }}