From edaeaf08b8750e8278b18484ff8e0aa180fe3fab Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 14 Feb 2024 02:18:06 +0400 Subject: Moved actual theme --- _scss/_navbar.scss | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 _scss/_navbar.scss (limited to '_scss/_navbar.scss') diff --git a/_scss/_navbar.scss b/_scss/_navbar.scss new file mode 100644 index 0000000..60e2b75 --- /dev/null +++ b/_scss/_navbar.scss @@ -0,0 +1,41 @@ +header { + background-color: $color-bg; + border-bottom: 1px solid $color-header; + box-shadow: 0 5px 5px $color-bg; + left: 0; + line-height: 3.5em; + opacity: .975; + position: fixed; + right: 0; + top: 0; +} + +nav { + margin: auto; + max-width: 60em; + padding: 0 4em; + text-align: right; + + a { + color: $color-text; + padding: 0 1em; + + &:visited { + color: $color-text; + } + } +} + +@media (max-width: 684px) { + header { + box-shadow: none; + } + + nav { + padding: 0 2em; + + span { + display: none; + } + } +} \ No newline at end of file -- cgit v1.2.3