forked from indymedia/epicyon
Newswire date color
parent
574ee32c13
commit
3d88c65f8a
|
@ -68,8 +68,8 @@
|
||||||
--quote-font-size: 120%;
|
--quote-font-size: 120%;
|
||||||
--line-spacing: 130%;
|
--line-spacing: 130%;
|
||||||
--line-spacing-newswire: 100%;
|
--line-spacing-newswire: 100%;
|
||||||
--newswire-item-moderated-color: green;
|
--newswire-item-moderated-color: white;
|
||||||
--newswire-date-moderated-color: lightgreen;
|
--newswire-date-moderated-color: white;
|
||||||
--column-left-width: 10vw;
|
--column-left-width: 10vw;
|
||||||
--column-center-width: 80vw;
|
--column-center-width: 80vw;
|
||||||
--column-right-width: 10vw;
|
--column-right-width: 10vw;
|
||||||
|
|
4
theme.py
4
theme.py
|
@ -256,8 +256,8 @@ def setThemeIndymedia(baseDir: str):
|
||||||
themeParams = {
|
themeParams = {
|
||||||
"font-size-newswire": "18px",
|
"font-size-newswire": "18px",
|
||||||
"line-spacing-newswire": "100%",
|
"line-spacing-newswire": "100%",
|
||||||
"newswire-item-moderated-color": "green",
|
"newswire-item-moderated-color": "white",
|
||||||
"newswire-date-moderated-color": "lightgreen",
|
"newswire-date-moderated-color": "white",
|
||||||
"newswire-date-color": "white",
|
"newswire-date-color": "white",
|
||||||
"newswire-voted-background-color": "black",
|
"newswire-voted-background-color": "black",
|
||||||
"column-right-fg-color": "#ff9900",
|
"column-right-fg-color": "#ff9900",
|
||||||
|
|
|
@ -5441,8 +5441,8 @@ def htmlNewswire(newswire: str, nickname: str, moderator: bool,
|
||||||
'<a href="' + item[1] + '">' + \
|
'<a href="' + item[1] + '">' + \
|
||||||
item[0] + '</a>' + \
|
item[0] + '</a>' + \
|
||||||
totalVotesStr
|
totalVotesStr
|
||||||
htmlStr += ' '
|
htmlStr += ' <span class="newswireDate">'
|
||||||
htmlStr += dateStr.replace('+00:00', '') + '</p>'
|
htmlStr += dateStr.replace('+00:00', '') + '</span></p>'
|
||||||
return htmlStr
|
return htmlStr
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue