diff options
Diffstat (limited to 'design')
-rw-r--r-- | design/sass/_src.scss | 20 | ||||
-rw-r--r-- | design/templates/archives/src_home.html | 8 |
2 files changed, 23 insertions, 5 deletions
diff --git a/design/sass/_src.scss b/design/sass/_src.scss index 4d75b9b..003e457 100644 --- a/design/sass/_src.scss +++ b/design/sass/_src.scss @@ -1,10 +1,18 @@ .src-archive { - text-align: left; + .topic-hed { + @include fontsize(20); + @include constrain_narrow; + margin-top: 1.5em; + margin-bottom: 1.5em; + @include breakpoint(beta) { + @include fontsize(28); + margin-top: 1em; + } + } article { margin-bottom: 3em; p { color: lighten($body_font, 15); - font-size: 99%; } } h2 { @@ -15,8 +23,16 @@ margin-bottom: .25em; a { color: $body_font; + color: lighten($body_font, 15); } } + p { + text-align: left; + } + + @include breakpoint(beta) { + text-align: left; + } } .src-topics { @include smcaps; diff --git a/design/templates/archives/src_home.html b/design/templates/archives/src_home.html index 3ef6c15..9f373a3 100644 --- a/design/templates/archives/src_home.html +++ b/design/templates/archives/src_home.html @@ -6,11 +6,13 @@ {% block metadescription %}luxagraf:src - thoughts on code, the web, servers, tools and things that might be useful to a couple of people somewhere in the future.{% endblock %} {% block primary %}<ul class="bl" id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"> - <li><a href="/" title="luxagraf homepage" itemprop="url"><span itemprop="title">Home</span></a> → </li> - <li><code>src</code></li> + <li><a href="/" title="luxagraf homepage" itemprop="url"><span itemprop="title">Home</span></a> → </li>{% if topic %} + <li><a href="/src/" title="luxagraf:src homepage" itemprop="url"><span itemprop="title"><code>src</code></span></a> → </li> + <li>{{topic}}</li>{%else%} + <li><code>src</code></li>{%endif%} </ul> <main role="main" id="src-archive" class="src-archive"> - <h1 class="hide">Luxagraf:src</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>{% 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> |