From b15ab4adb837e43409e5e3cf3a40a83ef4dbf62f Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Sun, 8 Jan 2023 22:12:24 -0300 Subject: Initial commit --- .../assets/scss/components/_header.scss | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 themes/hugo-whisper-theme/assets/scss/components/_header.scss (limited to 'themes/hugo-whisper-theme/assets/scss/components/_header.scss') 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; + } + } +} -- cgit v1.2.3