mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-09-02 19:52:40 +00:00
💄 Style:optimize tag cloud style (#235)
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
.tag-cloud-#{$grade} {
|
||||
color: $tag-cloud-color!important;
|
||||
font-size: var(--tag-font);
|
||||
margin: 10px!important;
|
||||
|
||||
&:active,
|
||||
&:hover {
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
{{- /* Tag Cloud Page */ -}}
|
||||
{{- else if eq $taxonomies "tags" -}}
|
||||
{{- $tagCloud := .Site.Params.tagcloud -}}
|
||||
<div class="tag-cloud-tags">
|
||||
<div class="tag-cloud-tags{{ with $tagCloud.enable }} text-center{{ end }}">
|
||||
{{- if $tagCloud.enable -}}
|
||||
{{- $tags := cond (eq $tagCloud.orderby "name") $.Site.Taxonomies.tags.Alphabetical $.Site.Taxonomies.tags.ByCount -}}
|
||||
{{- $baseGrade := div ($tagCloud.peekCount | default 10) 10.0 -}}
|
||||
|
||||
Reference in New Issue
Block a user