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

View File

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

View File

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