Docs: re-add NFTs hot topic

This commit is contained in:
mDuo13
2021-06-28 17:43:25 -07:00
parent 70ed55793c
commit d1efb37627
5 changed files with 57 additions and 27 deletions

View File

@@ -360,3 +360,10 @@
50% { right: 7px; }
100% { right: 0; }
}
// Diagonal up-right arrow bouncing (also for absolute-positioned to the right)
@keyframes arrowDanceDiag {
0% { right: 7px; margin-top: 0; }
50% { right: 0; margin-top: -7px; }
100% { right: 7px; margin-top: 0; }
}

View File

@@ -130,17 +130,30 @@
background-image: url(../img/icons/arrow-right-purple.svg);
background-size: cover;
position: absolute;
// right: .5rem;
right: 0;
width: 1.5rem;
height: 1.5rem;
transition: all .2s ease;
}
&:hover::after {
// right: 0;
&:not(.external-link):hover::after {
animation: arrowDance2 1.2s infinite;
}
&.external-link::after {
content: " ";
background-image: url(../img/icons/arrow-up-right.svg);
background-size: cover;
position: absolute;
// right: .5rem;
right: 7px;
width: 1.5rem;
height: 1.5rem;
transition: all .2s ease;
}
&.external-link:hover::after {
animation: arrowDanceDiag 1.2s infinite;
}
}
}

View File

@@ -221,6 +221,10 @@
background-image: url(../img/cards/4col-light-blue-2.svg);
}
}
#docs-hot-topic .longform {
margin-top: 2.5rem;
}
}
.page-docs-index,