Left column horizontal line

merge-requests/30/head
Bob Mottram 2020-11-06 20:39:19 +00:00
parent 4d4f994c2d
commit e0ab64fa9d
3 changed files with 10 additions and 0 deletions

View File

@ -88,6 +88,8 @@
--column-left-header-color: #fff; --column-left-header-color: #fff;
--column-left-header-size: 20px; --column-left-header-size: 20px;
--column-left-header-size-mobile: 50px; --column-left-header-size-mobile: 50px;
--column-left-header-line-color: #555;
--column-left-header-line-width: 0;
--column-left-icon-size: 20%; --column-left-icon-size: 20%;
--column-left-icon-size-mobile: 10%; --column-left-icon-size-mobile: 10%;
--column-left-image-width-mobile: 40vw; --column-left-image-width-mobile: 40vw;
@ -148,6 +150,10 @@ body, html {
line-height: var(--line-spacing); line-height: var(--line-spacing);
} }
hr.linksLine {
border: var(--column-left-header-line-width) solid var(--column-left-header-line-color);
}
.headericons { .headericons {
display: inline-block; display: inline-block;
float: right; float: right;

View File

@ -1019,6 +1019,8 @@ def setThemeIndymediaModern(baseDir: str):
fontStrItalic = \ fontStrItalic = \
"url('./fonts/NimbusSanL-italic.otf') format('opentype')" "url('./fonts/NimbusSanL-italic.otf') format('opentype')"
themeParams = { themeParams = {
"column-left-header-line-color": "#767674",
"column-left-header-line-width": "1px",
"column-left-header-color": "black", "column-left-header-color": "black",
"column-left-header-background": "white", "column-left-header-background": "white",
"column-left-header-style": "none", "column-left-header-style": "none",

View File

@ -5807,6 +5807,8 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
else: else:
if lineStr.startswith('#') or lineStr.startswith('*'): if lineStr.startswith('#') or lineStr.startswith('*'):
lineStr = lineStr[1:].strip() lineStr = lineStr[1:].strip()
htmlStr += \
' <hr class="linksLine">\n'
htmlStr += \ htmlStr += \
' <h3 class="linksHeader">' + \ ' <h3 class="linksHeader">' + \
lineStr + '</h3>\n' lineStr + '</h3>\n'