diff --git a/epicyon-profile.css b/epicyon-profile.css index a0652cde..a0e29965 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -131,6 +131,9 @@ --publish-button-vertical-offset: 10px; --banner-height: 15vh; --banner-height-mobile: 10vh; + --post-separator-margin: 0; + --post-separator-width: 95%; + --post-separator-height: 1px; } @font-face { @@ -159,6 +162,13 @@ body, html { line-height: var(--line-spacing); } +.postSeparatorImage img { + margin: var(--post-separator-margin) 0; + width: var(--post-separator-width); + height: var(--post-separator-height); + display: block; +} + hr.linksLine { margin: var(--column-left-header-line-margin); border: var(--column-left-header-line-width) solid var(--column-left-header-line-color); @@ -997,7 +1007,7 @@ div.container { width: var(--column-left-width); } .col-left { - border: var(--column-left-border-width) solid var(--column-left-border-color); + border: var(--column-left-border-width) solid var(--column-left-border-color); color: var(--column-left-fg-color); font-size: var(--font-size-links); float: left; @@ -1037,7 +1047,7 @@ div.container { overflow: hidden; } .col-right { - border: var(--column-right-border-width) solid var(--column-left-border-color); + border: var(--column-right-border-width) solid var(--column-left-border-color); background-color: var(--column-left-color); color: var(--column-left-fg-color); font-size: var(--font-size-links); diff --git a/img/icons/solidaric/separator.png b/img/icons/solidaric/separator.png new file mode 100644 index 00000000..90d94a57 Binary files /dev/null and b/img/icons/solidaric/separator.png differ diff --git a/theme.py b/theme.py index be5853b9..08d3468c 100644 --- a/theme.py +++ b/theme.py @@ -1131,6 +1131,8 @@ def setThemeIndymediaModern(baseDir: str): def setThemeSolidaric(baseDir: str): name = 'solidaric' themeParams = { + "post-separator-width": "98%", + "post-separator-height": "10px", "border-width-header": "0", "post-line-margin": "0 5%", "post-line-width": "1px", diff --git a/webinterface.py b/webinterface.py index 6b442423..3035fb38 100644 --- a/webinterface.py +++ b/webinterface.py @@ -6801,6 +6801,15 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str, # This changes depending upon theme iconsDir = getIconsDir(baseDir) + separatorImageFilename = iconsDir + '/separator.png' + separatorStr = '' + if os.path.isfile(separatorImageFilename): + separatorStr = \ + '