summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--design/sass/_archives.scss4
-rw-r--r--design/templates/archives/homepage-light.html8
2 files changed, 7 insertions, 5 deletions
diff --git a/design/sass/_archives.scss b/design/sass/_archives.scss
index c9c1426..b2e4bfe 100644
--- a/design/sass/_archives.scss
+++ b/design/sass/_archives.scss
@@ -319,6 +319,7 @@
a {
color: lighten($body_font_light, 5);
text-decoration: none;
+ @include fontsize(14);
}
}
.btn {
@@ -383,6 +384,7 @@
.popular, .recent {
.post-title {
@include fontsize(22);
+ font-weight: 400;
}
.post-image {
max-height: 12rem;
@@ -401,7 +403,7 @@
@include smcaps;
font-weight: 500;
text-decoration: none;
- padding: 12px 10px 8px;
+ padding: 12px 10px 12px;
border: $link_color 1px solid;
&:after {
content: "\21E2";
diff --git a/design/templates/archives/homepage-light.html b/design/templates/archives/homepage-light.html
index 997cf83..2f0a130 100644
--- a/design/templates/archives/homepage-light.html
+++ b/design/templates/archives/homepage-light.html
@@ -16,7 +16,7 @@
{%endblock%}
{%block bodyid%}id="home" class="archive"{%endblock%}
-{% block primary %}<section class="banner">{% with object=homepage.featured %}
+{% block primary %}<div class="banner">{% with object=homepage.featured %}
<article class="h-entry hentry" itemscope itemType="http://schema.org/Article">
<figure class="post-image">
<a href="{{object.get_absolute_url}}" title="{{object.title}}">{%with image=homepage.featured_image%}
@@ -30,7 +30,7 @@
<h1 class="p-name entry-title post-title" itemprop="headline">{%if object.template_name == 1 or object.template_name == 3 %}{{object.title|smartypants|safe}}{%else%}{{object.title|smartypants|safe}}{%endif%}</h1>
<h2 class="post-subtitle">{% if object.subtitle %}{{object.subtitle|smartypants|safe}}{%else%}{{homepage.tag_line|safe|smartypants}}{%endif%}</h2>
<aside class="p-location h-adr adr post-location" itemprop="contentLocation" itemscope itemtype="http://schema.org/Place">
- <p class="h-adr" itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">{% if object.location.country_name == "United States" %}<span class="p-locality locality" itemprop="addressLocality">{{object.location.name|smartypants|safe}}</span>, <a class="p-region region" href="/jrnl/united-states/" title="travel writing from the United States">{{object.location.state_name|safe}}</a>, <span class="p-country-name" itemprop="addressCountry">U.S.</span>{%else%}<span class="p-region" itemprop="addressRegion">{{object.location.name|smartypants|safe}}</span>, <a class="p-country-name country-name" href="/jrnl/{{object.location.country_slug}}/" title="travel writing from {{object.location.country_name}}"><span itemprop="addressCountry">{{object.location.country_name|safe}}</span></a>{%endif%}</p>
+ <div class="h-adr" itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">{% if object.location.country_name == "United States" %}<span class="p-locality locality" itemprop="addressLocality">{{object.location.name|smartypants|safe}}</span>, <a class="p-region region" href="/jrnl/united-states/" title="travel writing from the United States">{{object.location.state_name|safe}}</a>, <span class="p-country-name" itemprop="addressCountry">U.S.</span>{%else%}<span class="p-region" itemprop="addressRegion">{{object.location.name|smartypants|safe}}</span>, <a class="p-country-name country-name" href="/jrnl/{{object.location.country_slug}}/" title="travel writing from {{object.location.country_name}}"><span itemprop="addressCountry">{{object.location.country_name|safe}}</span></a>{%endif%}</div>
</aside>
<time class="dt-published published dt-updated post-date" datetime="{{object.pub_date|date:'c'}}" itemprop="datePublished">{{object.pub_date|date:"F"}} <span>{{object.pub_date|date:"j, Y"}}</span></time>
<span class="hide" itemprop="author" itemscope itemtype="http://schema.org/Person">by <a class="p-author h-card" href="/about"><span itemprop="name">Scott Gilbertson</span></a></span>
@@ -39,7 +39,7 @@
</figcaption>
</figure>
</article>{% endwith %}
- </section>
+ </div>
<section class="bio-short">
<h2 class="homepage-section-header">About Luxagraf</h2>
<img src="/media/img/usa-resize.svg" alt="map of travels" class="homepage-map-img" />
@@ -91,7 +91,7 @@
</div>
</section>
<section>
- <p class="homepage-next"><a href="/jrnl/">Browse the Archives</a></p>
+ <h5 class="homepage-next"><a href="/jrnl/">Browse the Archives</a></h5>
</section>
{% endblock %}