2023-12-12 01:55:02 +00:00
|
|
|
@use "sass:math";
|
|
|
|
|
2021-01-27 23:30:42 +00:00
|
|
|
$bd-sponsor-padding: $block-spacing;
|
|
|
|
$bd-sponsor-width: 12rem;
|
|
|
|
|
|
|
|
.bd-sponsors {
|
|
|
|
--bd-sponsors-spacing: #{$block-spacing};
|
2022-06-03 09:45:26 +00:00
|
|
|
padding: var(--bd-sponsors-spacing);
|
2021-01-27 23:30:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.bd-sponsors-body {
|
2022-06-03 09:45:26 +00:00
|
|
|
// display: grid;
|
|
|
|
// grid-gap: var(--bd-index-gap);
|
2021-01-27 23:30:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include mobile {
|
|
|
|
.bd-sponsors {
|
|
|
|
grid-gap: var(--bd-sponsors-spacing);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bd-partner-sponsors {
|
|
|
|
--sponsor-width: #{$bd-sponsor-width - 1rem};
|
|
|
|
display: grid;
|
|
|
|
grid-gap: 0;
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(var(--sponsor-width), 1fr));
|
2022-06-03 09:45:26 +00:00
|
|
|
margin-left: -$block-spacing;
|
|
|
|
margin-right: -$block-spacing;
|
2021-01-27 23:30:42 +00:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bd-partner-sponsor {
|
|
|
|
@extend %center;
|
|
|
|
@extend %link-before-background;
|
|
|
|
|
2023-12-12 01:55:02 +00:00
|
|
|
padding: $bd-sponsor-padding (math.div($bd-sponsor-padding, 2));
|
2021-01-27 23:30:42 +00:00
|
|
|
|
|
|
|
strong,
|
|
|
|
img {
|
|
|
|
position: relative;
|
|
|
|
}
|
2022-06-03 09:45:26 +00:00
|
|
|
|
|
|
|
img {
|
|
|
|
border-radius: 0.5em;
|
2022-12-01 19:02:29 +00:00
|
|
|
height: auto;
|
2022-06-03 09:45:26 +00:00
|
|
|
max-height: 3rem;
|
2022-12-01 19:02:29 +00:00
|
|
|
max-width: 8rem;
|
2022-06-03 09:45:26 +00:00
|
|
|
width: auto;
|
|
|
|
}
|
2021-01-27 23:30:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include touch {
|
|
|
|
.bd-sponsors {
|
|
|
|
padding: var(--bd-index-vertical);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include desktop {
|
|
|
|
.bd-sponsors {
|
2022-06-03 09:45:26 +00:00
|
|
|
// padding-bottom: var(--bd-index-vertical);
|
|
|
|
// padding-top: var(--bd-index-vertical);
|
2021-01-27 23:30:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.bd-sponsors-body {
|
|
|
|
align-items: center;
|
|
|
|
grid-gap: 0;
|
|
|
|
grid-template-columns:
|
|
|
|
var(--bd-index-gap) 1fr calc(
|
|
|
|
calc(var(--container-width) - var(--bd-index-gap)) / 2
|
|
|
|
)
|
|
|
|
var(--bd-index-gap) calc(
|
|
|
|
calc(var(--container-width) - var(--bd-index-gap)) / 2
|
|
|
|
)
|
|
|
|
1fr var(--bd-index-gap);
|
|
|
|
}
|
|
|
|
|
|
|
|
.bd-sponsors-content {
|
2022-06-03 09:45:26 +00:00
|
|
|
align-items: flex-start;
|
|
|
|
display: flex;
|
2021-01-27 23:30:42 +00:00
|
|
|
font-size: 1.125rem;
|
|
|
|
grid-column: 3 / span 1;
|
2022-06-03 09:45:26 +00:00
|
|
|
max-width: none;
|
|
|
|
|
|
|
|
.content {
|
|
|
|
margin-left: 1.5rem;
|
|
|
|
margin-right: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button {
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
2021-01-27 23:30:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.bd-sponsors-list {
|
|
|
|
grid-column: 4 / span 4;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include widescreen {
|
|
|
|
.bd-sponsors {
|
|
|
|
--bd-sponsors-spacing: 6rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bd-sponsors-content {
|
|
|
|
font-size: 1.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bd-partner-sponsors {
|
|
|
|
--sponsor-width: #{$bd-sponsor-width};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include fullhd {
|
2022-06-03 09:45:26 +00:00
|
|
|
// .bd-sponsors {
|
|
|
|
// --bd-sponsors-spacing: 9rem;
|
|
|
|
// }
|
2021-01-27 23:30:42 +00:00
|
|
|
|
|
|
|
.bd-sponsors-content {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
}
|
|
|
|
}
|