Skip to content

Commit

Permalink
style: tweak article cards section and date
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Nov 17, 2023
1 parent a878fba commit b767395
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/bootstrap/article-cards.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
<div class="card shadow h-100 w-100 position-relative">
{{- with .FirstSection }}
<span
class="z-1 badge text-bg-secondary position-absolute fw-normal top-0 start-0 ms-1 mt-1 text-decoration-none">
class="z-1 badge rounded-1 text-bg-secondary opacity-75 position-absolute fw-normal top-0 start-0 ms-2 mt-2 text-decoration-none">
{{- .Title -}}
</span>
{{- end }}
<span
class="z-1 badge text-bg-secondary position-absolute fw-normal top-0 end-0 me-1 mt-1">
class="z-1 badge rounded-1 text-bg-secondary opacity-75 position-absolute fw-normal top-0 end-0 me-2 mt-2">
{{- .Date | time.Format ":date_medium" -}}
</span>
{{- $img := partial "images/functions/page-thumbnail" (dict
Expand Down

0 comments on commit b767395

Please sign in to comment.