Hashtag style

main
Bob Mottram 2019-12-12 21:03:48 +00:00
parent d4a364d739
commit 266871cf07
2 changed files with 10 additions and 2 deletions

View File

@ -585,6 +585,10 @@ div.gallery img {
body, html {
font-size: var(--font-size4);
}
.hashtagcloud {
font-size: var(--font-size4);
word-spacing: 30px;
}
.galleryContainer {
display: grid;
grid-template-columns: 50% 50%;
@ -904,6 +908,10 @@ div.gallery img {
body, html {
font-size: var(--font-size3);
}
.hashtagcloud {
font-size: var(--font-size3);
word-spacing: 30px;
}
div.gallerytext {
color: var(--gallery-text-color);
font-size: var(--gallery-font-size-mobile);

View File

@ -3778,7 +3778,7 @@ def htmlHashTagCloud(baseDir: str,path: str) -> str:
tagCloudHtml='<center>\n'
tagCloudStr=''
for tagName in tagCloud:
tagCloudStr+='<a href="/tags/'+tagName+'">'+tagName+'</a> '
tagCloudStr+='<a href="/tags/'+tagName+'">'+tagName+'</a> '
tagCloudHtml+=tagCloudStr.strip()+'\n</center>\n'
return tagCloudHtml
@ -3810,7 +3810,7 @@ def htmlSearch(translate: {}, \
followStr+=' <button type="submit" class="button" name="submitSearch">'+translate['Submit']+'</button>'
followStr+=' </form>'
followStr+=' </center>'
followStr+=' <br><br><h1>'+htmlHashTagCloud(baseDir,path)+'</h1>'
followStr+=' <br><br><p class="hashtagcloud">'+htmlHashTagCloud(baseDir,path)+'</p>'
followStr+=' </div>'
followStr+='</div>'
followStr+=htmlFooter()