diff --git a/epicyon-profile.css b/epicyon-profile.css index ba0349c3..5d0a4c8c 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -35,6 +35,8 @@ --button-height-padding: 10px; --gallery-border: #ccc; --gallery-hover: #777; + --gallery-font-size: 22px; + --gallery-font-size-mobile: 30px; --button-corner-radius: 15px; --timeline-border-radius: 30px; } @@ -582,6 +584,10 @@ div.gallery img { body, html { font-size: var(--font-size4); } + div.gallerytext { + color: var(--main-fg-color); + font-size: var(--gallery-font-size); + } div.gallery { margin: 5px; border: 1px solid var(--gallery-border); @@ -867,6 +873,10 @@ div.gallery img { body, html { font-size: var(--font-size3); } + div.gallerytext { + color: var(--main-fg-color); + font-size: var(--gallery-font-size-mobile); + } div.gallery { margin: 5px; border: 1px solid var(--gallery-border); diff --git a/webinterface.py b/webinterface.py index d192e573..14bb4f3f 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2193,7 +2193,9 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ galleryStr+='\n' + galleryStr+=' \n' + galleryStr+='
'+contentStrMedia+'
\n' + galleryStr+='\n' attachmentStr+='' attachmentStr+=''+imageDescription+'\n' @@ -2436,6 +2438,8 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ # replace 's contentStr=contentStr.replace("\ufffd\ufffd\ufffds","'s") + contentStrMedia=contentStr + contentStr='
'+contentStr+'
' postHtml=''