Add v1 banner

This commit is contained in:
Jeremy Thomas
2023-12-12 01:55:02 +00:00
parent 3a03ea1a9c
commit 7f20009ec1
15 changed files with 3247 additions and 8793 deletions

View File

@@ -1,3 +1,5 @@
@use "sass:math";
$best-item-width: 520;
$best-screenshot-width: 504;
$best-count: 6;
@@ -5,7 +7,7 @@ $best-more-count: 6;
$best-total-count: $best-count + (2 * $best-more-count);
$best-total-width: $best-item-width * $best-total-count;
$best-speed: 100; // px per second
$best-duration: $best-total-width / $best-speed * 1s;
$best-duration: math.div($best-total-width, $best-speed) * 1s;
$best-padding: $block-spacing;
$best-height: 386px;

View File

@@ -1,3 +1,5 @@
@use "sass:math";
@keyframes bdGrow {
from {
transform: scale(0);
@@ -49,7 +51,7 @@ $focus-delay: 0;
transform-origin: center center;
}
$delay-subtitle: $delay / 2;
$delay-subtitle: math.div($delay, 2);
// Titles
.bd-focus-item {

View File

@@ -1,3 +1,5 @@
@use "sass:math";
.bd-heading {
> .icon {
font-size: $title-size;
@@ -40,11 +42,11 @@
.icon {
float: left;
margin-right: $block-spacing / 2;
margin-right: math.div($block-spacing, 2);
}
.subtitle {
margin: ($block-spacing / 2) 0 !important;
margin: (math.div($block-spacing, 2)) 0 !important;
}
form {

View File

@@ -1,3 +1,5 @@
@use "sass:math";
$bd-sponsor-padding: $block-spacing;
$bd-sponsor-width: 12rem;
@@ -31,7 +33,7 @@ $bd-sponsor-width: 12rem;
@extend %center;
@extend %link-before-background;
padding: $bd-sponsor-padding ($bd-sponsor-padding / 2);
padding: $bd-sponsor-padding (math.div($bd-sponsor-padding, 2));
strong,
img {