www/src/layouts/partials/package-thumbnail.html

68 lines
1.3 KiB
HTML
Raw Normal View History

<div class="card card-thumbnail" style="width: 100%">
2022-09-15 23:13:19 +03:00
<img src="/Images/package-thumb-1.jpg" class="card-img-top" alt="..." style="width:100%; height:100%;">
<div class="card-body thumbnail-body">
2022-09-15 23:13:19 +03:00
<p class="card-text">V2.35 >45 installs</p>
{{- partial "detail-btn.html" . -}}
</div>
2022-09-26 19:34:04 +03:00
<div class="card-body thumbnail-body-mobile">
<button href="#" class="detail-btn-mobile"><i class="icon-enter-arrow"></i>details</button>
</div>
2022-09-15 23:13:19 +03:00
</div>
<style>
@media only screen and (min-width: 576px) {
.card-thumbnail{
2022-09-15 23:13:19 +03:00
background: none;
border-radius: 0px !important;
border: 1px solid #949494;
2022-09-16 19:18:34 +03:00
padding: 1.674vw;
2022-09-15 23:13:19 +03:00
}
.thumbnail-body{
2022-09-15 23:13:19 +03:00
border-radius: 0px !important;
2022-09-16 19:18:34 +03:00
padding: 0vw;
2022-09-15 23:13:19 +03:00
}
.card-img-top{
border-radius: 0px;
2022-09-16 19:18:34 +03:00
margin-bottom: 1.674vw;
2022-09-15 23:13:19 +03:00
}
.card-text{
2022-09-16 19:18:34 +03:00
font-size: 0.781vw;
2022-09-15 23:13:19 +03:00
float:left;
position: relative;
2022-09-16 19:18:34 +03:00
top:0.502vw;
2022-09-15 23:13:19 +03:00
}
}
@media only screen and (max-width: 576px) {
.card-thumbnail{
background: none;
border-radius: 0px !important;
border: none;
}
.thumbnail-body{
border-radius: 0px !important;
padding: 0vw;
2022-09-26 19:34:04 +03:00
display:none;
}
2022-09-26 19:34:04 +03:00
.thumbnail-body-mobile{
background-color: #8000ff;
}
2022-09-26 19:34:04 +03:00
.card-img-top{
border-radius: 0px;
margin-bottom: 0vw;
}
}
2022-09-15 23:13:19 +03:00
</style>