diff --git a/epicyon-profile.css b/epicyon-profile.css index 1842f228..1091dbe3 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -185,6 +185,24 @@ body, html { display: block; } +.postSeparatorImageLeft img { + background-color: var(--column-left-color); + padding-top: var(--post-separator-margin-top); + padding-bottom: var(--post-separator-margin-bottom); + width: var(--post-separator-width); + height: var(--post-separator-height); + display: block; +} + +.postSeparatorImageRight img { + background-color: var(--column-left-color); + padding-top: var(--post-separator-margin-top); + padding-bottom: var(--post-separator-margin-bottom); + width: var(--post-separator-width); + height: var(--post-separator-height); + display: block; +} + .headericons { display: inline-block; float: right; diff --git a/webapp_utils.py b/webapp_utils.py index 35a4ee16..6a18f06c 100644 --- a/webapp_utils.py +++ b/webapp_utils.py @@ -728,13 +728,15 @@ def htmlPostSeparator(baseDir: str, column: str) -> str: iconsPath = getIconsWebPath(baseDir) theme = getConfigParam(baseDir, 'theme') filename = 'separator.png' + separatorClass = "postSeparatorImage" if column: + separatorClass = "postSeparatorImage" + column.title() filename = 'separator_' + column + '.png' separatorImageFilename = baseDir + '/theme/' + theme + '/icons/' + filename separatorStr = '' if os.path.isfile(separatorImageFilename): separatorStr = \ - '