From c0da12e3d57fa8ec00cf4e403c463e2ea7c028a8 Mon Sep 17 00:00:00 2001 From: davyd Date: Mon, 3 May 2004 16:50:47 +0000 Subject: [PATCH] layout tweaks --- Changelog | 6 ++++++ XHTMLWriter.py | 4 ++-- feedlist | 1 + footer.html | 2 +- planet.css | 40 ++++++++++++++++++++++++++++++++++------ 5 files changed, 44 insertions(+), 9 deletions(-) diff --git a/Changelog b/Changelog index ebcf42f..d044af4 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,9 @@ +2004-05-04 +========== + * planet.css + * XHTMLWriter.py + Layout tweaks. + 2004-04-28 ========== * update-planet diff --git a/XHTMLWriter.py b/XHTMLWriter.py index 93aa9de..b9cfcba 100644 --- a/XHTMLWriter.py +++ b/XHTMLWriter.py @@ -24,9 +24,9 @@ class XHTMLWriter: output += '%s\n' % (item.imageLink, item.imageURL, item.blogName) output += '(%s)\n' % (item.itemURL ,time.strftime('posted on %A %B %d, %Y at %H:%M AWST', time.localtime(item.itemDate))) output += '

\n' - output += '

\n' + output += '

\n' output += item.contents - output += '\n

\n' + output += '\n
\n' output += '\n' return output diff --git a/feedlist b/feedlist index a7e3373..f773136 100644 --- a/feedlist +++ b/feedlist @@ -39,3 +39,4 @@ Adrian Woodley http://www.diskworld.com.au/blog/adrian/index.rss Chris Harris http://www.diskworld.com.au/blog/chris/index.rss Chris Grubb http://www.livejournal.com/users/maelstrm/data/rss Michael Grubb http://www.livejournal.com/users/grubbmr/data/rss +Chris Gorham http://www.livejournal.com/users/kadeton/data/rss diff --git a/footer.html b/footer.html index d1d646e..b6b9654 100644 --- a/footer.html +++ b/footer.html @@ -2,5 +2,5 @@ Planet UCC © 2004, Davyd Madeley <davyd@ucc.asn.au>
Written to be specifications compliant.
- webmasters@ucc.asn.au + Email the Planet Master <planet@ucc.asn.au>

diff --git a/planet.css b/planet.css index ea0c89d..edab35f 100644 --- a/planet.css +++ b/planet.css @@ -46,6 +46,7 @@ border-width: 1pt; margin: 0; padding: 0.5ex; + background-color: #e0e0e0; } .sidebar a { @@ -62,34 +63,46 @@ padding-top: 70px; } +body { + margin-left: 0; +} + .items h1 { background-color: black; color: white; font-size: 1.5em; font-family: sans-serif; padding: 0.5ex; + padding-left: 0.5em; margin-bottom: 0; } .item { padding: 0.5em; + margin-left: 0.5em; } .item h2 { - background-color: #dddddd; - color: black; + background-color: black; + color: white; font-size: 1em; font-family: sans-serif; padding: 0.5ex; + margin-bottom: 0; + border-top-style: solid; + border-left-style: solid; + border-right-style: solid; + border-color: black; + border-width: 1pt; } .item h2 a { text-decoration: none; - color: black; + color: white; } .item h2 a:visited { text-decoration: none; - color: black; + color: white; } .item img { @@ -104,13 +117,28 @@ padding: 0em; } -.item p.body { - padding: 0.5em; +.itembody { + padding: 1.5em; text-align: justify; + background-color: #e0e0e0; + margin-top: -1pt; + border-left-style: solid; + border-bottom-style: solid; + border-right-style: solid; + border-color: black; + border-width: 1pt; } .item p.time { color: #999999; + background-color: #e0e0e0; + margin-bottom: 0; + margin-top: -1pt; + padding: 1ex; + border-left-style: solid; + border-right-style: solid; + border-color: black; + border-width: 1pt; } .item a { -- 2.20.1