diff options
author | Roger Gonzalez <roger@rogs.me> | 2023-01-08 22:12:24 -0300 |
---|---|---|
committer | Roger Gonzalez <roger@rogs.me> | 2023-01-08 22:12:24 -0300 |
commit | b15ab4adb837e43409e5e3cf3a40a83ef4dbf62f (patch) | |
tree | 3b7d7e5dc84aabc839dd1d9174c4593cbd6b2f82 /themes/hugo-whisper-theme/assets/scss/components/_header.scss |
Initial commit
Diffstat (limited to 'themes/hugo-whisper-theme/assets/scss/components/_header.scss')
-rw-r--r-- | themes/hugo-whisper-theme/assets/scss/components/_header.scss | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/themes/hugo-whisper-theme/assets/scss/components/_header.scss b/themes/hugo-whisper-theme/assets/scss/components/_header.scss new file mode 100644 index 0000000..e5fc410 --- /dev/null +++ b/themes/hugo-whisper-theme/assets/scss/components/_header.scss @@ -0,0 +1,26 @@ +.header { + color: $primary; + background-color: #ffffff; + display: flex; + justify-content: space-between; + align-items: center; + padding: 10px 0 10px 0; + // box-shadow: 0 1px 15px rgba(50, 50, 93, 0.2); + .container { + display: flex; + justify-content: space-between; + align-items: center; + } + &.header-absolute { + position: absolute; + z-index: 10; + width: 100%; + } +} +.lock-scroll { + .header { + &.header-absolute { + position: static; + } + } +} |