Center attachment

main
Bob Mottram 2020-02-25 17:12:22 +00:00
parent 3307e978c5
commit fac248ee3b
2 changed files with 9 additions and 1 deletions

View File

@ -90,7 +90,7 @@ def htmlBlogPostContent(baseDir: str,httpPrefix: str,translate: {}, \
replyStr,announceStr,likeStr, \
bookmarkStr,deleteStr,muteStr)
if attachmentStr:
blogStr+='<br>'+attachmentStr
blogStr+='<br><center>'+attachmentStr+'</center>'
if postJsonObject['object'].get('content'):
contentStr=addEmbeddedElements(translate,postJsonObject['object']['content'])

View File

@ -83,3 +83,11 @@ H3 {
font-size: var(--font-size5);
float: right;
}
img {
border-radius: 5%;
}
img:hover {
box-shadow: 0 0 2px 1px var(--gallery-hover);
}