Separator style

merge-requests/8/head
Bob Mottram 2020-11-07 15:26:16 +00:00
parent 046c8d29c2
commit d3dc9632d4
2 changed files with 8 additions and 2 deletions

View File

@ -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;

View File

@ -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",