diff options
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; + } + } +} |