Hashtag cloud style

main
Bob Mottram 2019-12-12 21:31:55 +00:00
parent 7ca1719f87
commit c8bbc3f2d6
3 changed files with 6 additions and 14 deletions

View File

@ -125,8 +125,8 @@ input[type=text] {
@media screen and (min-width: 400px) {
.hashtagcloud {
font-size: var(--font-size4);
word-spacing: 30px;
font-size: 30px;
padding: 30px;
}
.followText {
font-size: 24px;
@ -157,8 +157,8 @@ input[type=text] {
@media screen and (max-width: 1000px) {
.hashtagcloud {
font-size: var(--font-size3);
word-spacing: 30px;
font-size: 40px;
padding: 40px;
}
.followText {
font-size: 40px;

View File

@ -585,10 +585,6 @@ 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%;
@ -908,10 +904,6 @@ 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+'" class="hashtagcloud">'+tagName+'</a> '
tagCloudHtml+=tagCloudStr.strip()+'\n</center>\n'
return tagCloudHtml
@ -3810,8 +3810,8 @@ def htmlSearch(translate: {}, \
followStr+=' <button type="submit" class="button" name="submitSearch">'+translate['Submit']+'</button>'
followStr+=' </form>'
followStr+=' </center>'
followStr+=' <br><br><p class="hashtagcloud">'+htmlHashTagCloud(baseDir,path)+'</p>'
followStr+=' </div>'
followStr+=' <br><br><p class="hashtagcloud">'+htmlHashTagCloud(baseDir,path)+'</p>'
followStr+='</div>'
followStr+=htmlFooter()
return followStr