1
0
Fork 0

tag-cloud: some polishing + remove authors (we don't use it at the moment)

This commit is contained in:
rabuzarus 2017-11-22 23:18:01 +01:00
commit 59ae5633ec
4 changed files with 17 additions and 19 deletions

View file

@ -564,7 +564,9 @@ img.invalid-src:after { vertical-align: top;}
font-size: 1.8em;
color: DeepPink;
}
.tag1:hover, .tag2:hover, .tag3:hover, .tag4:hover, .tag5:hover,
.tag6:hover, .tag7:hover, .tag8:hover, .tag9:hover, .tag10:hover {
.tags > a:hover {
text-decoration: underline;
}
.tag-cloud {
word-wrap: break-word;
}

View file

@ -2,10 +2,11 @@
<div class="tagblock widget">
<h3>{{$title}}</h3>
<div class="tags">
<div class="tag-cloud">
{{foreach $tags as $tag}}
<span class="tag{{$tag.level}}">#</span>
<a href="search?f=&tag={{$tag.url}}" class="tag{{$tag.level}}">{{$tag.name}}</a>
<span class="tags">
<span class="tag{{$tag.level}}">#</span><a href="search?f=&tag={{$tag.url}}" class="tag{{$tag.level}}">{{$tag.name}}</a>
</span>
{{/foreach}}
</div>
</div>

View file

@ -1240,7 +1240,7 @@ aside #group-sidebar li .group-edit-tool:first-child {
}
/* Tag cloud widget */
.tagblock.widget > .tags {
.tagblock.widget > .tag-cloud {
text-align: center;
}
/* Section */