1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-02 08:21:58 +01:00
site/_src/_assets/styles/bigchain/_nyan.scss

34 lines
569 B
SCSS
Raw Normal View History

2017-06-27 23:11:10 +02:00
.nyan {
2017-06-28 00:45:26 +02:00
position: relative;
background: rgba(#144f8d, .5);
2017-06-27 23:11:10 +02:00
&:before {
content: '';
position: absolute;
2017-06-28 00:45:26 +02:00
left: 0;
2017-06-27 23:11:10 +02:00
right: 0;
2017-06-28 00:45:26 +02:00
top: 0;
bottom: 0;
background: url('../img/nyan2.gif') no-repeat left center;
background-size: 50%;
z-index: 0;
opacity: 0;
animation: nyan-fadein .6s ease-out forwards;
2017-06-27 23:11:10 +02:00
}
2017-06-28 00:45:26 +02:00
code {
position: relative;
z-index: 2;
2017-06-27 23:11:10 +02:00
}
}
2017-06-28 00:45:26 +02:00
@keyframes nyan-fadein {
0% {
opacity: 0;
}
100% {
opacity: .4;
}
2017-06-27 23:11:10 +02:00
}