From d3dc9632d47e7149045879165613bca64b8752c9 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 7 Nov 2020 15:26:16 +0000 Subject: [PATCH] Separator style --- epicyon-profile.css | 6 ++++-- theme.py | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/epicyon-profile.css b/epicyon-profile.css index f062a6e3..3740e6a5 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -124,7 +124,8 @@ --publish-button-vertical-offset: 10px; --banner-height: 15vh; --banner-height-mobile: 10vh; - --post-separator-margin: 0; + --post-separator-margin-top: 0; + --post-separator-margin-bottom: 0; --post-separator-width: 95%; --post-separator-height: 1px; } @@ -164,7 +165,8 @@ body, html { } .postSeparatorImage img { - margin: var(--post-separator-margin) 0; + 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; diff --git a/theme.py b/theme.py index 2ab34677..30c2d5ec 100644 --- a/theme.py +++ b/theme.py @@ -462,6 +462,10 @@ def setThemeNight(baseDir: str): fontStrItalic = \ "url('./fonts/solidaric-italic.woff2') format('woff2')" themeParams = { + "post-separator-margin-top": "2%", + "post-separator-margin-bottom": "2%", + "post-separator-width": "80%", + "post-separator-height": "10%", "column-left-header-background": "#07447c", "banner-height": "15vh", "banner-height-mobile": "10vh",