diff options
Diffstat (limited to 'assets/css/components/_landing-banner.scss')
| -rw-r--r-- | assets/css/components/_landing-banner.scss | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/assets/css/components/_landing-banner.scss b/assets/css/components/_landing-banner.scss new file mode 100644 index 0000000..ee5deab --- /dev/null +++ b/assets/css/components/_landing-banner.scss | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | @include namespace('landing-banner') { | ||
| 2 | @include store(( | ||
| 3 | --colors: ( | ||
| 4 | --emph-fg: prop(--colors --accent --color, $global: true), | ||
| 5 | --emph-bg: prop(--colors --bg-hi, $global: true) | ||
| 6 | ) | ||
| 7 | )); | ||
| 8 | |||
| 9 | @include component(namespace()) { | ||
| 10 | @include element('title') { | ||
| 11 | max-width: 7em; | ||
| 12 | margin-top: 0; | ||
| 13 | transform: translateX(-.04em); | ||
| 14 | font-family: $font-fam--large; | ||
| 15 | font-weight: 350; | ||
| 16 | text-transform: none; | ||
| 17 | } | ||
| 18 | |||
| 19 | @include element('title-inner') { | ||
| 20 | background-image: linear-gradient( | ||
| 21 | to top, | ||
| 22 | transparent .15em, | ||
| 23 | #{prop(--colors --emph-bg)} .15em, | ||
| 24 | #{prop(--colors --emph-bg)} .6em, | ||
| 25 | transparent .6em | ||
| 26 | ); | ||
| 27 | } | ||
| 28 | |||
| 29 | @include element('emph') { | ||
| 30 | color: prop(--colors --emph-fg); | ||
| 31 | font-weight: 550; | ||
| 32 | } | ||
| 33 | |||
| 34 | @include iro-responsive-env(('md', 'lg')) { | ||
| 35 | @include element('title') { | ||
| 36 | font-size: iro-responsive-set((2.6rem, 3rem)); | ||
| 37 | } | ||
| 38 | } | ||
| 39 | } | ||
| 40 | } | ||
