# HG changeset patch # User Steve Losh # Date 1261611574 18000 # Node ID ae05dad4acfbef68c6edb8f62c25fb063ed8c956 # Parent e030519b448dcd3a0d20f1b448fa9e4aa3cc1417 Adjust listing styles. diff -r e030519b448d -r ae05dad4acfb layout/skeleton/_innerlisting.html --- a/layout/skeleton/_innerlisting.html Wed Dec 23 18:29:35 2009 -0500 +++ b/layout/skeleton/_innerlisting.html Wed Dec 23 18:39:34 2009 -0500 @@ -2,20 +2,20 @@ {% block all %} {%spaceless%} -
    - {% for list_page in node.pages %} - {% ifnotequal list_page node.listing_page %} - {% if not list_page.exclude %} -
  1. - - {% with list_page.name_without_extension|remove_date_prefix|unslugify as default_title %} - {{ list_page.title|default_if_none:default_title }} - {%endwith%} - -
  2. - {%endif%} - {% endifnotequal %} - {% endfor %} -
+ +{% for list_page in node.pages %} + {% ifnotequal list_page node.listing_page %} + {% if not list_page.exclude %} +
  • + + {% with list_page.name_without_extension|remove_date_prefix|unslugify as default_title %} + {{ list_page.title|default_if_none:default_title }} + {%endwith%} + +
  • + {%endif%} + {% endifnotequal %} +{% endfor %} + {%endspaceless%} {% endblock %} \ No newline at end of file diff -r e030519b448d -r ae05dad4acfb layout/skeleton/_listing.html --- a/layout/skeleton/_listing.html Wed Dec 23 18:29:35 2009 -0500 +++ b/layout/skeleton/_listing.html Wed Dec 23 18:39:34 2009 -0500 @@ -2,8 +2,10 @@ {% block content %}
    - {% for node in page.node.walk %} - {% include "skeleton/_innerlisting.html" %} - {% endfor %} +
      + {% for node in page.node.walk %} + {% include "skeleton/_innerlisting.html" %} + {% endfor %} +
    {% endblock %} \ No newline at end of file diff -r e030519b448d -r ae05dad4acfb media/css/base.css --- a/media/css/base.css Wed Dec 23 18:29:35 2009 -0500 +++ b/media/css/base.css Wed Dec 23 18:39:34 2009 -0500 @@ -86,11 +86,27 @@ width: 42em; } -ul#archives { +div#section-listing { + font-size: 1.5em; + line-height: 2em; + color: #888; +} +div#section-listing ol { list-style: none; } -ul#archives li { - font-size: 1.5em; +div#section-listing ol li { + border-bottom: 1px solid #eee; +} +div#section-listing ol a { + color: #111; + font-weight: bold; +} +div#section-listing ol a:hover { + color: #e50053; + text-decoration: none; +} +div#section-listing ol li:last-child { + border-bottom: none; } div.article {