forked from indymedia/epicyon
Left column horizontal line
parent
4d4f994c2d
commit
e0ab64fa9d
|
@ -88,6 +88,8 @@
|
|||
--column-left-header-color: #fff;
|
||||
--column-left-header-size: 20px;
|
||||
--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-mobile: 10%;
|
||||
--column-left-image-width-mobile: 40vw;
|
||||
|
@ -148,6 +150,10 @@ body, html {
|
|||
line-height: var(--line-spacing);
|
||||
}
|
||||
|
||||
hr.linksLine {
|
||||
border: var(--column-left-header-line-width) solid var(--column-left-header-line-color);
|
||||
}
|
||||
|
||||
.headericons {
|
||||
display: inline-block;
|
||||
float: right;
|
||||
|
|
2
theme.py
2
theme.py
|
@ -1019,6 +1019,8 @@ def setThemeIndymediaModern(baseDir: str):
|
|||
fontStrItalic = \
|
||||
"url('./fonts/NimbusSanL-italic.otf') format('opentype')"
|
||||
themeParams = {
|
||||
"column-left-header-line-color": "#767674",
|
||||
"column-left-header-line-width": "1px",
|
||||
"column-left-header-color": "black",
|
||||
"column-left-header-background": "white",
|
||||
"column-left-header-style": "none",
|
||||
|
|
|
@ -5807,6 +5807,8 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
|
|||
else:
|
||||
if lineStr.startswith('#') or lineStr.startswith('*'):
|
||||
lineStr = lineStr[1:].strip()
|
||||
htmlStr += \
|
||||
' <hr class="linksLine">\n'
|
||||
htmlStr += \
|
||||
' <h3 class="linksHeader">' + \
|
||||
lineStr + '</h3>\n'
|
||||
|
|
Loading…
Reference in New Issue