diff --git a/epicyon.css b/epicyon.css index 6fe4884e8..4bb834526 100644 --- a/epicyon.css +++ b/epicyon.css @@ -1,3 +1,5 @@ +@charset "UTF-8"; + body { margin: 0 auto; max-width: 800px; @@ -31,6 +33,12 @@ body { border-radius: 50%; } +.container img.attachment { + max-width: 100%; + margin-left: 25%; + width: 50%; + border-radius: 0%; +} .container img.right { float: right; margin-left: 20px; diff --git a/epicyon.py b/epicyon.py index df5e6ac63..75dfe7a55 100644 --- a/epicyon.py +++ b/epicyon.py @@ -1056,8 +1056,8 @@ if args.testdata: createPublicPost(baseDir,nickname,domain,port,httpPrefix,"like, this is totally just a test, man",False,True,False,None,None,useBlurhash) createPublicPost(baseDir,nickname,domain,port,httpPrefix,"Zoiks!!!",False,True,False,None,None,useBlurhash) createPublicPost(baseDir,nickname,domain,port,httpPrefix,"Hey scoob we need like a hundred more milkshakes",False,True,False,None,None,useBlurhash) - createPublicPost(baseDir,nickname,domain,port,httpPrefix,"Getting kinda spooky around here",False,True,False,None,None,useBlurhash) - createPublicPost(baseDir,nickname,domain,port,httpPrefix,"And they would have gotten away with it too if it wasn't for those pesky hackers",False,True,False,None,None,useBlurhash) + createPublicPost(baseDir,nickname,domain,port,httpPrefix,"Getting kinda spooky around here",False,True,False,None,None,useBlurhash,'someone') + createPublicPost(baseDir,nickname,domain,port,httpPrefix,"And they would have gotten away with it too if it wasn't for those pesky hackers",False,True,False,'img/logo.png','Description of image',useBlurhash) createPublicPost(baseDir,nickname,domain,port,httpPrefix,"man, these centralized sites are, like, the worst!",False,True,False,None,None,useBlurhash) createPublicPost(baseDir,nickname,domain,port,httpPrefix,"another mystery solved hey",False,True,False,None,None,useBlurhash) createPublicPost(baseDir,nickname,domain,port,httpPrefix,"let's go bowling",False,True,False,None,None,useBlurhash) diff --git a/webinterface.py b/webinterface.py index 80b3550f5..17c9d7f6e 100644 --- a/webinterface.py +++ b/webinterface.py @@ -41,11 +41,42 @@ def htmlFollowers(followersJson: {}) -> str: return htmlHeader()+"