forked from indymedia/epicyon
Links column header style
parent
566364af54
commit
90657f792c
|
@ -67,6 +67,9 @@
|
||||||
--column-left-width: 9vw;
|
--column-left-width: 9vw;
|
||||||
--column-center-width: 80vw;
|
--column-center-width: 80vw;
|
||||||
--column-right-width: 9vw;
|
--column-right-width: 9vw;
|
||||||
|
--column-left-header-background: #555;
|
||||||
|
--column-left-header-color: #fff;
|
||||||
|
--column-left-header-size: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
|
@ -130,6 +133,15 @@ h1 {
|
||||||
color: var(--title-color);
|
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 {
|
a, u {
|
||||||
color: var(--main-fg-color);
|
color: var(--main-fg-color);
|
||||||
}
|
}
|
||||||
|
|
3
theme.py
3
theme.py
|
@ -264,6 +264,9 @@ def setThemeIndymedia(baseDir: str):
|
||||||
"font-size4": "24px",
|
"font-size4": "24px",
|
||||||
"font-size5": "22px",
|
"font-size5": "22px",
|
||||||
"main-bg-color": "black",
|
"main-bg-color": "black",
|
||||||
|
"column-left-header-color": "#fff",
|
||||||
|
"column-left-header-background": "#555",
|
||||||
|
"column-left-header-size": "10px",
|
||||||
"column-left-color": "#003366",
|
"column-left-color": "#003366",
|
||||||
"text-entry-background": "#0f0d10",
|
"text-entry-background": "#0f0d10",
|
||||||
"link-bg-color": "black",
|
"link-bg-color": "black",
|
||||||
|
|
|
@ -5201,7 +5201,8 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
|
||||||
if lineStr.startswith('#') or lineStr.startswith('*'):
|
if lineStr.startswith('#') or lineStr.startswith('*'):
|
||||||
lineStr = lineStr[1:].strip()
|
lineStr = lineStr[1:].strip()
|
||||||
htmlStr += \
|
htmlStr += \
|
||||||
' <h3>' + lineStr + '</h3>\n'
|
' <h3 class="linksHeader">' + \
|
||||||
|
lineStr + '</h3>\n'
|
||||||
else:
|
else:
|
||||||
htmlStr += \
|
htmlStr += \
|
||||||
' <p>' + lineStr + '</p>\n'
|
' <p>' + lineStr + '</p>\n'
|
||||||
|
|
Loading…
Reference in New Issue