mirror of
https://github.com/jgthms/bulma
synced 2026-03-20 04:14:29 -07:00
Add v1 banner
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user