From 56500eac459950bda51a745b2b9b6e32fb06f676 Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Fri, 16 Apr 2010 10:49:25 +0200 Subject: Minor CSS improvements. --- css/style.css | 8 ++++++-- pyAggr3g470r.py | 11 ++++++++--- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/css/style.css b/css/style.css index 67537a82..46264279 100755 --- a/css/style.css +++ b/css/style.css @@ -12,8 +12,7 @@ html, body { body { text-align: justify; - font: normal .8em/1.5em Cambria, Georgia, "Trebuchet MS", Verdana, sans-serif; - + font: 400 0.85em Cambria, Georgia, "Trebuchet MS", Verdana, sans-serif; } code, pre { @@ -109,6 +108,11 @@ li { a:link, a:visited { color: #003399; + text-decoration:none +} + +a:hover { + color: blue; } dt { diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index c95d90a7..8cf4d70e 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -117,8 +117,8 @@ class Root: "
\n" html += "
\n" - html += """All articles""" % (rss_feed_id,) - html += """ Mark all as read""" % (rss_feed_id,) + html += """All articles   """ % (rss_feed_id,) + html += """  Mark all as read""" % (rss_feed_id,) if self.feeds[rss_feed_id][1] != 0: html += """ Unread article(s) (%s)""" % (rss_feed_id, \ @@ -440,12 +440,17 @@ class Root: not_read_begin = "" not_read_end = "" + if article[7] == "1": + like = """ """ + else: + like = "" + html += article[1].encode('utf-8') + \ " - " + not_read_begin + \ """%s""" % \ (feed_id, article[0].encode('utf-8'), \ utils.remove_html_tags(article[2].encode('utf-8'))) + \ - not_read_end + \ + not_read_end + like + \ "
\n" html += """\n

All feeds

""" -- cgit