mirror of
https://github.com/ivabus/www
synced 2024-11-25 13:25:05 +03:00
Revert "Additional cleanup on packages"
This reverts commit 6ccbc07628
.
This commit is contained in:
parent
6ccbc07628
commit
e3e6810fdc
1 changed files with 205 additions and 48 deletions
|
@ -1,13 +1,13 @@
|
|||
|
||||
<div class="card card-thumbnail p-3" style="width: 100%" data-name="{{- .name -}}" data-popularity="{{- .dl_count -}}" data-last_modified="{{- .last_modified -}}" data-description="{{- .desc -}}">
|
||||
<div class="card card-thumbnail" style="width: 100%" data-name="{{- .name -}}" data-popularity="{{- .dl_count -}}" data-last_modified="{{- .last_modified -}}" data-description="{{- .desc -}}">
|
||||
<a href="/+{{- lower .full_name -}}/">
|
||||
<figure class="card-img-top" >
|
||||
<img class="package-image" src="{{- .thumb_image_url -}}" alt="{{- .name -}}" style="width:100%; height:100%;">
|
||||
<article class="card-thumb-label p-4">
|
||||
<article class="card-thumb-label">
|
||||
<i class="icon-tea-logo-iconasset-1"></i>
|
||||
<h3>{{- .name -}}</h3>
|
||||
{{ if not (eq .maintainer "") }}
|
||||
<p class="small black">• {{- .maintainer -}}</p>
|
||||
<h4>• {{- .maintainer -}}</h4>
|
||||
{{end}}
|
||||
</article>
|
||||
</figure>
|
||||
|
@ -66,28 +66,37 @@ div.card.card-thumbnail{
|
|||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media only screen and (min-width: 992px) {
|
||||
|
||||
.card-thumb-label i{
|
||||
font-size: 1.5vw;
|
||||
}
|
||||
|
||||
.card-thumb-label {
|
||||
position: absolute;
|
||||
background: rgba(255,255,255,0.9);
|
||||
left: 0;
|
||||
bottom: 0px;
|
||||
bottom: 0vw;
|
||||
padding: 1.116vw;
|
||||
text-align: left;
|
||||
width: 90%;
|
||||
height: auto;
|
||||
min-height: 50%;
|
||||
height: 40;
|
||||
}
|
||||
|
||||
.card-thumb-label h3 {
|
||||
color: black;
|
||||
font-size: 1.8vw;
|
||||
line-height: 1.8vw;
|
||||
margin: 0px 0px 0.5vw 0vw;
|
||||
padding: 0px;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.card-thumb-label h4 {
|
||||
color: black;
|
||||
font-size: .9vw;
|
||||
line-height: 1vw;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
@ -96,6 +105,7 @@ div.card.card-thumbnail{
|
|||
background: none;
|
||||
border-radius: 0px !important;
|
||||
border: 1px solid #949494;
|
||||
padding: 1.674vw;
|
||||
}
|
||||
|
||||
.thumbnail-body{
|
||||
|
@ -107,11 +117,14 @@ div.card.card-thumbnail{
|
|||
|
||||
.card-img-top{
|
||||
border-radius: 0px;
|
||||
margin-bottom: 1.674vw;
|
||||
}
|
||||
|
||||
.card-text{
|
||||
font-size: 0.781vw;
|
||||
float:left;
|
||||
position: relative;
|
||||
top:0.502vw;
|
||||
}
|
||||
|
||||
.card-text-container{
|
||||
|
@ -124,6 +137,150 @@ div.card.card-thumbnail{
|
|||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) and (max-width: 992px) {
|
||||
|
||||
.card-thumb-label i{
|
||||
font-size: 2vw;
|
||||
}
|
||||
|
||||
.card-thumb-label {
|
||||
position: absolute;
|
||||
background: rgba(255,255,255,0.9);
|
||||
left: 0;
|
||||
bottom: 0vw;
|
||||
padding: 1.116vw;
|
||||
text-align: left;
|
||||
width: 90%;
|
||||
height: 40%;
|
||||
}
|
||||
|
||||
.card-thumb-label h3 {
|
||||
color: black;
|
||||
font-size: 2.8vw;
|
||||
line-height: 2.8vw;
|
||||
margin: 0px 0px 1vw 0vw;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.card-thumb-label h4 {
|
||||
color: black;
|
||||
font-size: 1.5vw;
|
||||
line-height: 1.5vw;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.card-thumbnail{
|
||||
background: none;
|
||||
border-radius: 0px !important;
|
||||
border: 1px solid #949494;
|
||||
padding: 1.674vw;
|
||||
}
|
||||
|
||||
.thumbnail-body{
|
||||
display: flex;
|
||||
border-radius: 0px !important;
|
||||
padding: 0vw;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.card-img-top{
|
||||
border-radius: 0px;
|
||||
margin-bottom: 1.674vw;
|
||||
}
|
||||
|
||||
.card-text{
|
||||
font-size: 0.781vw;
|
||||
float:left;
|
||||
position: relative;
|
||||
top:0.502vw;
|
||||
}
|
||||
|
||||
.card-text-container{
|
||||
float:left;
|
||||
position: relative;
|
||||
width:48%;
|
||||
}
|
||||
|
||||
.thumbnail-body-mobile{
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 576px) and (max-width: 768px) {
|
||||
|
||||
.card-thumb-label i{
|
||||
font-size: 2.5vw;
|
||||
}
|
||||
|
||||
.card-thumb-label {
|
||||
position: absolute;
|
||||
background: rgba(255,255,255,0.9);
|
||||
left: 0;
|
||||
bottom: 0vw;
|
||||
padding: 1.116vw;
|
||||
text-align: left;
|
||||
width: 90%;
|
||||
height: 40%;
|
||||
}
|
||||
|
||||
.card-thumb-label h3 {
|
||||
color: black;
|
||||
font-size: 3vw;
|
||||
line-height: 3vw;
|
||||
margin: 0px 0px 0.5vw 0vw;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.card-thumb-label h4 {
|
||||
color: black;
|
||||
font-size: 1.5vw;
|
||||
line-height: 1.5vw;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.card-thumbnail{
|
||||
background: none;
|
||||
border-radius: 0px !important;
|
||||
border: 1px solid #949494;
|
||||
padding: 1.674vw;
|
||||
}
|
||||
|
||||
.thumbnail-body{
|
||||
display: flex;
|
||||
border-radius: 0px !important;
|
||||
padding: 0vw;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.card-img-top{
|
||||
border-radius: 0px;
|
||||
margin-bottom: 1.674vw;
|
||||
}
|
||||
|
||||
.card-text{
|
||||
font-size: 0.781vw;
|
||||
float:left;
|
||||
position: relative;
|
||||
top:0.502vw;
|
||||
}
|
||||
|
||||
.card-text-container{
|
||||
float:left;
|
||||
position: relative;
|
||||
width:48%;
|
||||
}
|
||||
|
||||
.thumbnail-body-mobile{
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 576px) {
|
||||
|
||||
.card-thumb-label i{
|
||||
|
|
Loading…
Reference in a new issue