2023-03-08 13:36:35 +00:00
|
|
|
.banner
|
|
|
|
width: 100%
|
2023-03-23 15:47:35 +00:00
|
|
|
height: 50vh
|
2023-03-08 13:36:35 +00:00
|
|
|
|
|
|
|
position: relative
|
|
|
|
|
2023-03-25 16:22:32 +00:00
|
|
|
background-color: RGB($bg-300)
|
|
|
|
color: RGB($fg-white)
|
2023-03-08 13:36:35 +00:00
|
|
|
|
|
|
|
overflow: hidden
|
|
|
|
transition: opacity 0.3s ease-in-out
|
|
|
|
|
|
|
|
img
|
|
|
|
position: absolute
|
|
|
|
top: 0
|
|
|
|
left: 0
|
|
|
|
|
|
|
|
width: 100%
|
|
|
|
height: 100%
|
|
|
|
|
2023-03-26 01:04:13 +00:00
|
|
|
background-color: RGB($bg-300)
|
2023-03-08 13:36:35 +00:00
|
|
|
|
|
|
|
object-fit: cover
|
|
|
|
object-position: center center
|
|
|
|
|
2023-03-10 11:10:43 +00:00
|
|
|
.banner-filter
|
2023-03-08 13:36:35 +00:00
|
|
|
position: absolute
|
|
|
|
top: 0
|
|
|
|
left: 0
|
|
|
|
|
|
|
|
width: 100%
|
|
|
|
height: 100%
|
|
|
|
|
2023-03-25 16:22:32 +00:00
|
|
|
background: linear-gradient(to right, RGB($primary), transparent)
|
2023-03-08 13:36:35 +00:00
|
|
|
|
|
|
|
z-index: +1
|
|
|
|
|
|
|
|
.banner-content
|
|
|
|
padding: 1rem
|
|
|
|
|
|
|
|
width: 100%
|
|
|
|
height: inherit
|
|
|
|
|
|
|
|
position: relative
|
|
|
|
|
|
|
|
display: flex
|
|
|
|
flex-direction: column
|
|
|
|
justify-content: flex-end
|
|
|
|
|
|
|
|
z-index: +2
|
|
|
|
|
|
|
|
h1
|
|
|
|
margin: 0
|
|
|
|
padding: 0
|
|
|
|
|
|
|
|
font-size: 6.9rem
|
2023-03-23 15:47:35 +00:00
|
|
|
font-weight: 800
|
2023-03-08 13:36:35 +00:00
|
|
|
text-align: left
|
|
|
|
|
2023-03-25 16:22:32 +00:00
|
|
|
color: RGB($primary)
|
2023-03-08 13:36:35 +00:00
|
|
|
|
|
|
|
p
|
|
|
|
margin: 0
|
|
|
|
padding: 0
|
|
|
|
|
|
|
|
font-size: 1rem
|
2023-03-26 01:04:13 +00:00
|
|
|
font-weight: 600
|
2023-03-08 13:36:35 +00:00
|
|
|
line-height: 1
|
2023-03-23 15:47:35 +00:00
|
|
|
text-align: left
|
2023-03-08 13:36:35 +00:00
|
|
|
|
2023-03-25 20:24:38 +00:00
|
|
|
&.small
|
|
|
|
height: 3.5rem
|
|
|
|
|
|
|
|
background-color: RGB($bg-100)
|
|
|
|
|
|
|
|
.banner-content
|
|
|
|
padding: 0.5rem
|
|
|
|
|
|
|
|
flex-direction: row
|
|
|
|
justify-content: flex-start
|
|
|
|
align-items: center
|
|
|
|
gap: 1rem
|
|
|
|
|
|
|
|
h1
|
|
|
|
padding-bottom: 0.25rem
|
|
|
|
font-size: 1.5rem
|
|
|
|
text-align: left
|
|
|
|
|
|
|
|
p
|
|
|
|
font-size: 0.9rem
|
|
|
|
text-align: left
|
|
|
|
|
2023-03-08 13:36:35 +00:00
|
|
|
@media (max-width: $breakpoint)
|
|
|
|
.banner
|
|
|
|
width: 100vw
|
|
|
|
height: 25vh
|
|
|
|
|
|
|
|
.banner-content
|
|
|
|
padding: 0.5rem
|
|
|
|
|
|
|
|
display: flex
|
|
|
|
justify-content: center
|
|
|
|
align-items: center
|
|
|
|
|
|
|
|
h1
|
|
|
|
font-size: 3.5rem
|
|
|
|
text-align: center
|
|
|
|
|
|
|
|
p
|
|
|
|
font-size: 1.1rem
|
2023-03-25 20:24:38 +00:00
|
|
|
text-align: center
|
|
|
|
|
|
|
|
&.small .banner-content
|
|
|
|
justify-content: center
|
|
|
|
|
|
|
|
h1
|
|
|
|
text-align: center
|
|
|
|
|
|
|
|
p
|
|
|
|
display: none
|