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

67 lines
1.1 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>
</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;
}
.card-img-top{
border-radius: 0px;
margin-bottom: 1.674vw;
}
.card-text{
font-size: 0.781vw;
float:left;
position: relative;
top:0.502vw;
}
}
2022-09-15 23:13:19 +03:00
</style>