Clean up package labels

This commit is contained in:
Thomas Smith 2023-02-27 23:09:11 -05:00
parent 97091bc0d4
commit c7c8f3ad67

View file

@ -4,18 +4,18 @@
<figure class="card-img-top" > <figure class="card-img-top" >
<img class="package-image" src="{{- .thumb_image_url -}}" alt="{{- .name -}}" style="width:100%; height:100%;"> <img class="package-image" src="{{- .thumb_image_url -}}" alt="{{- .name -}}" style="width:100%; height:100%;">
<article class="card-thumb-label"> <article class="card-thumb-label">
<i class="icon-tea-logo-iconasset-1"></i> <i class="icon-tea-logo-iconasset-1 lead" style="color:#1a1a1a;"></i>
<h3>{{- .name -}}</h3> <h3 class="package-title mb-1">{{- .name -}}</h3>
{{ if not (eq .maintainer "") }} {{ if not (eq .maintainer "") }}
<h4>&#x2022;&nbsp;{{- .maintainer -}}</h4> <h4 class="small">&#x2022;&nbsp;{{- .maintainer -}}</h4>
{{end}} {{end}}
</article> </article>
</figure> </figure>
</a> </a>
<div class="card-body thumbnail-body"> <div class="card-body thumbnail-body">
<div class="card-text-container"> <div class="card-text-container">
<p class="card-text"> <p class="card-text small">
<span class="package-version-no">V&NonBreakingSpace;{{- .version -}}</span> <span class="">V&NonBreakingSpace;{{- .version -}}</span>
<!-- <!--
TODO: uncomment once install counts improve TODO: uncomment once install counts improve
<br> <br>
@ -36,6 +36,10 @@
<style> <style>
.package-title{
font-size: 1.5rem;
}
div.card.card-thumbnail{ div.card.card-thumbnail{
background-color: #1a1a1a; background-color: #1a1a1a;
transition: all .3s; transition: all .3s;
@ -79,7 +83,7 @@ figure:hover{
padding: 1.116vw; padding: 1.116vw;
text-align: left; text-align: left;
width: 90%; width: 90%;
height: 40; height: 50%;
} }
.card-thumb-label h3 { .card-thumb-label h3 {