Links column header style

merge-requests/8/head
Bob Mottram 2020-10-02 10:47:25 +01:00
parent 566364af54
commit 90657f792c
3 changed files with 17 additions and 1 deletions

View File

@ -67,6 +67,9 @@
--column-left-width: 9vw;
--column-center-width: 80vw;
--column-right-width: 9vw;
--column-left-header-background: #555;
--column-left-header-color: #fff;
--column-left-header-size: 10px;
}
@font-face {
@ -130,6 +133,15 @@ h1 {
color: var(--title-color);
}
h3.linksHeader {
background-color: var(--column-left-header-background);
color: var(--column-left-header-color);
font-size: var(--column-left-header-size);
text-transform: uppercase;
padding: 4px;
border: none;
}
a, u {
color: var(--main-fg-color);
}

View File

@ -264,6 +264,9 @@ def setThemeIndymedia(baseDir: str):
"font-size4": "24px",
"font-size5": "22px",
"main-bg-color": "black",
"column-left-header-color": "#fff",
"column-left-header-background": "#555",
"column-left-header-size": "10px",
"column-left-color": "#003366",
"text-entry-background": "#0f0d10",
"link-bg-color": "black",

View File

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