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

View File

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

View File

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