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