mirror of https://gitlab.com/bashrc2/epicyon
Center attachment
parent
3307e978c5
commit
fac248ee3b
2
blog.py
2
blog.py
|
@ -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'])
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue