Mercurial > public > sg101
changeset 380:c3cc431b7fb9
Adding a solid-background css class. Making the news stories use it to block out the rays.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 09 Mar 2011 01:03:07 +0000 |
parents | 84bcaff13129 |
children | 6df1091b11b2 |
files | gpp/templates/news/story.html gpp/templates/news/story_summary.html static/css/base.css |
diffstat | 3 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gpp/templates/news/story.html Wed Mar 09 00:49:41 2011 +0000 +++ b/gpp/templates/news/story.html Wed Mar 09 01:03:07 2011 +0000 @@ -14,6 +14,7 @@ {% endif %} {% endblock %} {% block news_content %} +<div class="solid-background"> <h3>{{ story.title }}</h3> <div class="news-details"> Submitted by {{ story.submitter.username }} on {{ story.date_submitted|date:"F d, Y" }}. @@ -59,4 +60,5 @@ <p>Comments are closed for this story. If you'd like to share your thoughts on this story with the site staff, you can <a href="{% url 'contact-form' %}">contact us directly</a>.</p> {% endif %} +</div> {% endblock %}
--- a/gpp/templates/news/story_summary.html Wed Mar 09 00:49:41 2011 +0000 +++ b/gpp/templates/news/story_summary.html Wed Mar 09 01:03:07 2011 +0000 @@ -2,7 +2,7 @@ {% load tagging_tags %} {% load comment_tags %} {% get_comment_count for story as comment_count %} -<div class="news-story-container"> +<div class="news-story-container solid-background"> {% if on_home %} <h3><a href="{{ story.get_absolute_url }}">{{ story.title }}</a></h3> {% else %}