forked from indymedia/epicyon
Links column header style
parent
566364af54
commit
90657f792c
|
@ -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);
|
||||
}
|
||||
|
|
3
theme.py
3
theme.py
|
@ -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",
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue