news appearance tweaks

This commit is contained in:
zzz
2015-09-17 19:51:01 +00:00
parent 1de840ce59
commit d5a0d95c61
2 changed files with 9 additions and 4 deletions

View File

@ -66,8 +66,9 @@ public class NewsFeedHelper extends HelperBase {
buf.append("<div class=\"newsentry\"><h3>");
if (entry.updated > 0) {
Date date = new Date(entry.updated);
buf.append(fmt.format(date))
.append(": ");
buf.append("<font size=\"-1\">")
.append(fmt.format(date))
.append(":</font> ");
}
if (entry.link != null)
buf.append("<a href=\"").append(DataHelper.escapeHTML(entry.link)).append("\">");

View File

@ -250,8 +250,12 @@ div.newsheadings {
div.newsheadings li {
list-style: none outside url('images/newsbullet_mini.png');
margin: 0 -4px 2px 8px;
line-height: 140%;
margin: 4px -4px 2px 10px;
line-height: 120%;
}
div.newsheadings li:first-child {
margin-top: 0;
}
div.tunnels {