1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-12-24 02:16:10 +01:00
site/_src/_assets/styles/_ipdb.scss

247 lines
4.7 KiB
SCSS
Raw Normal View History

2017-05-18 21:08:45 +02:00
.ipdb {
text-align: center;
background: linear-gradient(-45deg, #114656 0%, #062e38 100%);
a {
font-weight: $font-weight-light;
color: rgba(#fff, .7);
display: block;
box-shadow: none;
padding: $spacer;
&:hover {
background: none;
color: #fff;
2017-05-30 23:10:27 +02:00
.ipdb-rocket {
animation: shake .1s ease-in-out infinite;
}
2017-05-18 21:08:45 +02:00
}
}
}
.ipdb__content {
display: inline-block;
position: relative;
}
.ipdb-rocket {
2017-05-30 23:10:27 +02:00
@include transition;
2017-05-18 21:08:45 +02:00
fill: #fff;
position: absolute;
right: 0;
2017-05-30 23:10:27 +02:00
top: -1.2rem;
width: 5rem;
height: 3.7rem;
2017-05-18 21:08:45 +02:00
opacity: .3;
2017-05-30 23:10:27 +02:00
transform: scaleX(-1); // lazy flip it around
2017-05-18 21:08:45 +02:00
@media ($screen-sm) {
opacity: 1;
2017-05-30 23:10:27 +02:00
right: -4.5rem;
}
}
@keyframes shake {
2% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(0, 0) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
4% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 0) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
6% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(0, 0) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
8% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(0, 0) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
10% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
12% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
14% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 0) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
16% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(0, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
18% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 0) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
20% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(0, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
22% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(0, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
24% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
26% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 0) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
28% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(0, 0) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
30% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 0) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
32% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
34% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 0) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
36% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
38% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(0, 0) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
40% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(0, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
42% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
44% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
46% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
48% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 1px) rotate(.5deg);
2017-05-18 21:08:45 +02:00
}
2017-05-30 23:10:27 +02:00
50% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(0, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
52% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
54% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 0) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
56% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
58% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
60% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(0, 0) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
62% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 0) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
64% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(0, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
66% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 0) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
68% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
70% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(0, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
72% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
74% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(0, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
76% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(0, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
78% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 0) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
80% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 0) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
82% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
84% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
86% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(0, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
88% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
90% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
92% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(0, 0) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
94% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(0, 0) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
96% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 1px) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
98% {
2017-05-31 00:22:14 +02:00
transform: scaleX(-1) translate(1px, 0) rotate(.5deg);
2017-05-30 23:10:27 +02:00
}
2017-05-18 21:08:45 +02:00
2017-05-31 00:22:14 +02:00
0%,
100% {
transform: scaleX(-1) translate(0, 0) rotate(0);
2017-05-18 21:08:45 +02:00
}
}