diff options
-rw-r--r-- | app/views/general/blog.rhtml | 5 | ||||
-rw-r--r-- | public/images/rss.png | bin | 0 -> 14005 bytes | |||
-rw-r--r-- | public/images/twitter.png | bin | 0 -> 3276 bytes | |||
-rw-r--r-- | public/stylesheets/main.css | 23 |
4 files changed, 28 insertions, 0 deletions
diff --git a/app/views/general/blog.rhtml b/app/views/general/blog.rhtml index a01af3894..cda1c5769 100644 --- a/app/views/general/blog.rhtml +++ b/app/views/general/blog.rhtml @@ -1,5 +1,10 @@ <% @title = "WhatDoTheyKnow blog and tweets" %> +<div id="blog_sidebar"> + <h1><img src="/images/twitter.png" alt=""> <a href="http://www.twitter.com/whatdotheyknow">Follow us on twitter</a></h1> + <h1><img src="/images/rss.png" alt=""> <a href="http://www.mysociety.org/category/projects/whatdotheyknow/feed/">Subscribe to blog</h1> +</div> + <h1><%=@title %></h1> <div id="blog"> diff --git a/public/images/rss.png b/public/images/rss.png Binary files differnew file mode 100644 index 000000000..66ab927e4 --- /dev/null +++ b/public/images/rss.png diff --git a/public/images/twitter.png b/public/images/twitter.png Binary files differnew file mode 100644 index 000000000..e3fa814a1 --- /dev/null +++ b/public/images/twitter.png diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css index 0596e729b..0f8f414b1 100644 --- a/public/stylesheets/main.css +++ b/public/stylesheets/main.css @@ -375,9 +375,32 @@ dd { margin: 0.6em 0 2em 4em; width: 33em; } /*-----------------------------blog----------------*/ +div#blog_sidebar +{ + float: right; + clear: none; + width: 18em; + background-color: #EAEAEA; + padding: 0.5em; + margin: 0 0 1em 1em; + + border-color: #AEAEAE; + border-width: 1px; + border-style: solid; +} +div#blog_sidebar h1 +{ +} +div#blog_sidebar img +{ + vertical-align: middle; +} + .blog_post { margin-bottom: 2em; } +.twitter_post { +} /*-----------------------------list sidebars----------------*/ #list_sidebar |