diff options
author | Valentin Popov <valentin@popov.link> | 2024-02-14 01:18:06 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2024-02-14 01:18:06 +0300 |
commit | edaeaf08b8750e8278b18484ff8e0aa180fe3fab (patch) | |
tree | 9a32a03659d396a82c83a1eaca1d19c00a21718d /_scss/_navbar.scss | |
parent | 6ff06a6e0eb6824925bb058ef465f2713f0b315b (diff) | |
download | popov.link-edaeaf08b8750e8278b18484ff8e0aa180fe3fab.tar.xz popov.link-edaeaf08b8750e8278b18484ff8e0aa180fe3fab.zip |
Moved actual theme
Diffstat (limited to '_scss/_navbar.scss')
-rw-r--r-- | _scss/_navbar.scss | 41 |
1 files changed, 41 insertions, 0 deletions
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 |