2023-04-04 19:36:24 +00:00
|
|
|
.banner,
|
|
|
|
.banner-small
|
2023-03-08 13:36:35 +00:00
|
|
|
width: 100%
|
|
|
|
position: relative
|
2023-03-25 16:22:32 +00:00
|
|
|
color: RGB($fg-white)
|
2023-03-08 13:36:35 +00:00
|
|
|
|
2023-04-02 21:15:51 +00:00
|
|
|
&::after
|
|
|
|
content: ''
|
|
|
|
|
|
|
|
width: $rad
|
|
|
|
height: calc(#{$rad} * 2)
|
|
|
|
|
2023-03-08 13:36:35 +00:00
|
|
|
position: absolute
|
2023-04-02 21:15:51 +00:00
|
|
|
bottom: calc(#{$rad} * -2)
|
2023-03-08 13:36:35 +00:00
|
|
|
left: 0
|
|
|
|
|
2023-04-02 21:15:51 +00:00
|
|
|
background-color: RGB($bg-bright)
|
|
|
|
border-radius: $rad 0 0 0
|
|
|
|
box-shadow: 0 calc(#{$rad} * -1) 0 0 RGB($bg-100)
|
|
|
|
|
2023-04-04 19:36:24 +00:00
|
|
|
.banner
|
|
|
|
height: 30rem
|
|
|
|
background-color: RGB($bg-300)
|
|
|
|
|
2023-04-02 21:15:51 +00:00
|
|
|
img
|
|
|
|
position: absolute
|
|
|
|
inset: 0
|
|
|
|
|
2023-03-08 13:36:35 +00:00
|
|
|
width: 100%
|
|
|
|
height: 100%
|
|
|
|
|
2023-04-02 21:15:51 +00:00
|
|
|
background-color: inherit
|
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
|
2023-04-02 21:15:51 +00:00
|
|
|
inset: 0
|
2023-03-08 13:36:35 +00:00
|
|
|
|
|
|
|
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
|
2023-04-04 19:36:24 +00:00
|
|
|
padding: 0.5rem
|
2023-03-08 13:36:35 +00:00
|
|
|
|
|
|
|
width: 100%
|
2023-04-04 19:36:24 +00:00
|
|
|
height: auto
|
2023-03-08 13:36:35 +00:00
|
|
|
|
2023-04-02 21:15:51 +00:00
|
|
|
position: absolute
|
2023-04-04 19:36:24 +00:00
|
|
|
left: 0
|
|
|
|
bottom: 0
|
2023-03-08 13:36:35 +00:00
|
|
|
|
2023-04-04 19:36:24 +00:00
|
|
|
display: grid
|
|
|
|
grid-template-columns: 1fr auto
|
|
|
|
grid-template-rows: 1fr auto auto
|
|
|
|
grid-template-areas: 'info info' 'header header' 'subtitle options'
|
|
|
|
gap: 0.5rem
|
2023-03-08 13:36:35 +00:00
|
|
|
|
|
|
|
z-index: +2
|
|
|
|
|
2023-04-04 19:36:24 +00:00
|
|
|
.banner-header,
|
|
|
|
.banner-info,
|
|
|
|
.banner-subtitle
|
2023-03-08 13:36:35 +00:00
|
|
|
margin: 0
|
|
|
|
padding: 0
|
2023-04-02 21:15:51 +00:00
|
|
|
width: 100%
|
|
|
|
|
2023-04-04 19:36:24 +00:00
|
|
|
.banner-header
|
|
|
|
grid-area: header
|
|
|
|
|
2023-04-02 21:15:51 +00:00
|
|
|
white-space: nowrap
|
|
|
|
text-overflow: ellipsis
|
|
|
|
overflow: hidden
|
|
|
|
text-align: left
|
2023-03-08 13:36:35 +00:00
|
|
|
font-size: 6.9rem
|
2023-03-23 15:47:35 +00:00
|
|
|
font-weight: 800
|
2023-03-08 13:36:35 +00:00
|
|
|
|
2023-03-25 16:22:32 +00:00
|
|
|
color: RGB($primary)
|
2023-03-08 13:36:35 +00:00
|
|
|
|
2023-04-04 19:36:24 +00:00
|
|
|
.banner-info
|
|
|
|
grid-area: info
|
|
|
|
font-size: 1rem
|
|
|
|
font-weight: 600
|
|
|
|
.banner-subtitle
|
|
|
|
grid-area: subtitle
|
2023-03-08 13:36:35 +00:00
|
|
|
font-size: 1rem
|
2023-03-26 01:04:13 +00:00
|
|
|
font-weight: 600
|
2023-03-08 13:36:35 +00:00
|
|
|
|
2023-04-04 19:36:24 +00:00
|
|
|
.pill-row
|
|
|
|
margin-top: auto
|
|
|
|
grid-area: options
|
2023-03-25 20:24:38 +00:00
|
|
|
|
2023-04-04 19:36:24 +00:00
|
|
|
.banner-small
|
|
|
|
height: 3.5rem
|
|
|
|
background-color: RGB($bg-100)
|
2023-03-25 20:24:38 +00:00
|
|
|
|
2023-04-04 19:36:24 +00:00
|
|
|
.banner-content
|
|
|
|
padding: 0.5rem
|
2023-03-25 20:24:38 +00:00
|
|
|
|
2023-04-04 19:36:24 +00:00
|
|
|
width: 100%
|
|
|
|
height: 100%
|
2023-03-25 20:24:38 +00:00
|
|
|
|
2023-04-04 19:36:24 +00:00
|
|
|
position: absolute
|
|
|
|
inset: 0
|
2023-03-25 20:24:38 +00:00
|
|
|
|
2023-04-05 10:19:01 +00:00
|
|
|
display: flex
|
|
|
|
flex-direction: row
|
|
|
|
justify-content: flex-start
|
2023-04-04 19:36:24 +00:00
|
|
|
gap: 1rem
|
|
|
|
|
|
|
|
z-index: +2
|
|
|
|
|
|
|
|
.banner-header,
|
|
|
|
.banner-info
|
|
|
|
margin: auto 0
|
|
|
|
padding: 0
|
|
|
|
width: auto
|
|
|
|
height: auto
|
|
|
|
justify-self: flex-start
|
|
|
|
|
|
|
|
.banner-header
|
|
|
|
padding-bottom: 0.25rem
|
2023-04-02 21:15:51 +00:00
|
|
|
|
2023-04-04 19:36:24 +00:00
|
|
|
white-space: nowrap
|
|
|
|
text-overflow: ellipsis
|
|
|
|
overflow: hidden
|
|
|
|
text-align: left
|
|
|
|
font-weight: 800
|
|
|
|
font-size: 1.5rem
|
|
|
|
|
|
|
|
color: RGB($primary)
|
|
|
|
|
|
|
|
.banner-info
|
|
|
|
font-size: 0.9rem
|
|
|
|
font-weight: 600
|
|
|
|
|
|
|
|
.pill-row
|
2023-04-05 10:19:01 +00:00
|
|
|
margin-left: auto
|
2023-04-04 19:36:24 +00:00
|
|
|
width: auto
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint)
|
|
|
|
.banner,
|
|
|
|
.banner-small
|
2023-04-02 21:15:51 +00:00
|
|
|
&::after
|
|
|
|
display: none
|
2023-03-08 13:36:35 +00:00
|
|
|
|
2023-04-04 19:36:24 +00:00
|
|
|
.banner
|
|
|
|
min-height: 17rem
|
|
|
|
height: auto
|
|
|
|
|
2023-03-08 13:36:35 +00:00
|
|
|
.banner-content
|
|
|
|
padding: 0.5rem
|
2023-04-04 19:36:24 +00:00
|
|
|
height: 100%
|
2023-03-08 13:36:35 +00:00
|
|
|
|
|
|
|
display: flex
|
2023-04-04 19:36:24 +00:00
|
|
|
flex-direction: column
|
2023-03-08 13:36:35 +00:00
|
|
|
justify-content: center
|
|
|
|
align-items: center
|
2023-04-04 19:36:24 +00:00
|
|
|
gap: 0.25rem
|
2023-03-08 13:36:35 +00:00
|
|
|
|
2023-04-04 19:36:24 +00:00
|
|
|
.banner-header
|
2023-03-26 20:58:17 +00:00
|
|
|
font-size: 3rem
|
2023-03-08 13:36:35 +00:00
|
|
|
text-align: center
|
|
|
|
|
2023-04-04 19:36:24 +00:00
|
|
|
.banner-info,
|
|
|
|
.banner-subtitle
|
2023-03-08 13:36:35 +00:00
|
|
|
font-size: 1.1rem
|
2023-03-25 20:24:38 +00:00
|
|
|
text-align: center
|
|
|
|
|
2023-04-04 19:36:24 +00:00
|
|
|
.pill-row
|
|
|
|
margin-top: 1rem
|