www/src/layouts/partials/detail-btn.html

40 lines
802 B
HTML
Raw Normal View History

2022-09-09 21:58:30 +03:00
<style>
.detail-btn{
display:inline-block;
font-family: "pp-neue-machina", sans-serif;
background-color: #1a1a1a;
border: .5px solid #ffffff;
color: #fff;
2022-09-16 19:18:34 +03:00
padding-top: 0.279vw;
2022-09-09 21:58:30 +03:00
text-decoration: none;
text-transform: uppercase;
width: 48%;
2022-09-16 19:18:34 +03:00
height: 2.232vw;
2022-09-09 21:58:30 +03:00
transition: 0.1s linear;
}
.detail-btn:hover{
background-color: #8000ff;
2022-09-16 19:18:34 +03:00
box-shadow: inset 0vw 0vw 0vw 0.223vw #1a1a1a !important;
2022-09-09 21:58:30 +03:00
}
2022-09-15 04:29:56 +03:00
/* Icon Styling */
.detail-btn .icon-enter-arrow{
display: inline-block;
position: relaitve;
2022-09-16 19:18:34 +03:00
margin-right: 0.558vw;
2022-09-15 04:29:56 +03:00
transition: 0.2s ease-in-out;
}
.detail-btn:hover .icon-enter-arrow{
display: inline-block;
transform: rotate(-45deg) !important;
}
2022-09-09 21:58:30 +03:00
</style>
<a href="/packages/{{- .slug -}}">
<button class="detail-btn"><i class="icon-enter-arrow"></i>details</button>
</a>