Newswire date color

main
Bob Mottram 2020-10-09 19:05:47 +01:00
parent 574ee32c13
commit 3d88c65f8a
3 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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",

View File

@ -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