diff options
author | Valentin Popov <valentin@popov.link> | 2022-11-05 23:08:21 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2022-11-05 23:10:23 +0300 |
commit | 9e17d4d716498405b967642adcc335eea7293022 (patch) | |
tree | d10226b18cbf2e871f7e5ed71173ee2ccb63d0c4 /sass | |
parent | 12f5b3751391669a53cd2834d459b6f2ad61ff17 (diff) | |
download | popov.link-9e17d4d716498405b967642adcc335eea7293022.tar.xz popov.link-9e17d4d716498405b967642adcc335eea7293022.zip |
Corrected style of the navbar
Signed-off-by: Valentin Popov <valentin@popov.link>
Diffstat (limited to 'sass')
-rw-r--r-- | sass/_navbar.scss | 5 | ||||
-rw-r--r-- | sass/styles.scss | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/sass/_navbar.scss b/sass/_navbar.scss index 2627d56..33083cc 100644 --- a/sass/_navbar.scss +++ b/sass/_navbar.scss @@ -1,5 +1,6 @@ header { background-color: $color-header; + box-shadow: 0 5px 5px $color-header; left: 0; line-height: 3.5em; position: absolute; @@ -24,6 +25,10 @@ nav { } @media (max-width: 684px) { + header { + box-shadow: none; + } + nav { padding: 0 2em; } diff --git a/sass/styles.scss b/sass/styles.scss index f4e5b79..023e51a 100644 --- a/sass/styles.scss +++ b/sass/styles.scss @@ -6,7 +6,7 @@ $color-bg-alt: hwb(0deg 0% 100% / 20%); $color-bg-code: #3b3d42; $color-blossom: #6da13f; $color-fade: #608b4e; -$color-header: #252627; +$color-header: #212121; $color-text: #a9a9b3; $font-family-base: "Inter var experimental", "Inter var",-apple-system,"BlinkMacSystemFont", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",sans-serif; $font-feature: "calt", "case", "liga", "locl", "ss01", "tnum", "zero"; |