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/_strip.scss |
Initial commit
Diffstat (limited to 'themes/hugo-whisper-theme/assets/scss/components/_strip.scss')
-rw-r--r-- | themes/hugo-whisper-theme/assets/scss/components/_strip.scss | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/themes/hugo-whisper-theme/assets/scss/components/_strip.scss b/themes/hugo-whisper-theme/assets/scss/components/_strip.scss new file mode 100644 index 0000000..af09e25 --- /dev/null +++ b/themes/hugo-whisper-theme/assets/scss/components/_strip.scss @@ -0,0 +1,55 @@ +.strip { + background-repeat: no-repeat; +} +.strip-white { + background-color: white; +} +.strip-grey { + background-color: #f4f5fb; +} +.strip-diagonal { + transform: skewY(5deg); + padding-bottom: 50px; + margin-bottom: 65px; + > div { + transform: skewY(-5deg); + } +} +.strip-primary-gradient { + background-image: linear-gradient(to right, $primary, $secondary); +} +.strip-primary-gradient-top-bottom { + background-image: linear-gradient(to bottom, $primary, $secondary); +} +.strip-primary { + background-color: $primary; +} +.strip-secondary { + background-color: $secondary; +} + +.strip-diagonal-right { + margin-top: -100px; + transform: skewY(-5deg); + padding-bottom: 100px; + > div { + transform: skewY(5deg); + } +} + +.strip-diagonal-left { + margin-top: -100px; + transform: skewY(5deg); + padding-bottom: 100px; + > div { + transform: skewY(-5deg); + } +} + +.strip-bg-contain { + background-size: contain; +} + +.strip-bg-cover { + background-size: cover; +} |