Adding taproot countdown

This commit is contained in:
softsimon
2021-11-12 20:24:15 +04:00
parent 2dc930fad2
commit 9eb159617f
9 changed files with 42 additions and 46 deletions

View File

@@ -1,3 +1,5 @@
@use 'sass:math';
#blockchain-container {
position: relative;
overflow-x: scroll;
@@ -11,15 +13,12 @@
}
.warning-label {
position: absolute;
width: 150px;
position: relative;
text-align: center;
font-weight: bold;
font-size: 12px;
padding: 6px 4px;
border-radius: 4px;
margin-top: -10px;
margin-left: 10px;
}
// Fireworks
@@ -32,9 +31,9 @@ $box-shadow: ();
$box-shadow2: ();
@for $i from 0 through $particles {
$box-shadow: $box-shadow,
random($width)-$width / 2 + px
random($height)-$height / 1.2 + px
hsl(random(360), 100, 50);
random($width) - math.div($width, 1.2) + px
random($height) - math.div($height, 1.2) + px
hsl(random(360), 100%, 50%);
$box-shadow2: $box-shadow2, 0 0 #fff
}
@mixin keyframes ($animationName) {