diff options
author | luxagraf <sng@luxagraf.net> | 2015-11-16 14:14:41 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2015-11-16 14:14:41 -0500 |
commit | f2a52043d186b4302240f618fa969cea88a4f4b9 (patch) | |
tree | e38168b26ca1a0faebd2a6999a30f1ff95477738 /design | |
parent | b5525ab81fd7589e77eb83264d2d8db5c1ddd00a (diff) |
tweaked the looks of src archives a bit.
Diffstat (limited to 'design')
-rw-r--r-- | design/sass/_src.scss | 12 | ||||
-rw-r--r-- | design/templates/archives/src_home.html | 6 |
2 files changed, 14 insertions, 4 deletions
diff --git a/design/sass/_src.scss b/design/sass/_src.scss index 687773a..1f2a21c 100644 --- a/design/sass/_src.scss +++ b/design/sass/_src.scss @@ -1,3 +1,9 @@ +.latest { + @include constrain_narrow; + @include fontsize(12); + @include smcaps; + font-weight: 400; +} .src-archive { .topic-hed { @include fontsize(20); @@ -17,17 +23,19 @@ } h2 { @include constrain_narrow; - @include fontsize(24); - @include generic_sans; + @include fontsize(22); font-weight: 400; margin-bottom: .25em; a { color: $body_font; color: lighten($body_font, 15); + text-decoration: none; } } + p { text-align: left; + @include fontsize(16); } @include breakpoint(beta) { diff --git a/design/templates/archives/src_home.html b/design/templates/archives/src_home.html index 9f373a3..0f676b5 100644 --- a/design/templates/archives/src_home.html +++ b/design/templates/archives/src_home.html @@ -12,10 +12,12 @@ <li><code>src</code></li>{%endif%} </ul> <main role="main" id="src-archive" class="src-archive"> - <h1 class="topic-hed"><code>src:</code> {% if topic %}Articles about {{topic.pluralized_name}}{%else%}Archive{%endif%}</h1>{% for object in object_list %}{% if object.slug != 'about' %} + <h1 class="topic-hed"><code>src:</code> {% if topic %}Articles about {{topic.pluralized_name}}{%else%}Archive{%endif%}</h1> + <h3 class="latest">Latest Posts</h3> + {% for object in object_list %}{% if object.slug != 'about' %} <article class="h-entry hentry {% cycle 'odd' 'even' %} {% cycle 'first' 'second' 'third' %}" itemscope itemType="http://schema.org/Article"> <h2><a href="{{object.get_absolute_url}}">{{object.title|safe|smartypants|widont}}</a></h2> - <p>{{object.meta_description|safe|smartypants|widont}} <a href="{{object.get_absolute_url}}">Read ⇢</a></p> + <p>{{object.meta_description|safe|smartypants|widont}} <a href="{{object.get_absolute_url}}">Read more.</a></p> </article>{%endif%} {%endfor%} </main> |