summaryrefslogtreecommitdiff
path: root/design
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2018-05-16 10:55:00 -0400
committerluxagraf <sng@luxagraf.net>2018-05-16 10:55:00 -0400
commit76ebda30205fac285299a315cc9f06d62b8e0a05 (patch)
tree470ebd84cfca0a2e3e583a47bbe9c2c54f577e6e /design
parent322b3010b223de8e7495ea04fb542702d3e17973 (diff)
darkened wildlife listing with something written about them
Diffstat (limited to 'design')
-rw-r--r--design/sass/_writing_details.scss3
-rw-r--r--design/templates/details/entry.html2
2 files changed, 4 insertions, 1 deletions
diff --git a/design/sass/_writing_details.scss b/design/sass/_writing_details.scss
index d940244..85b8c9f 100644
--- a/design/sass/_writing_details.scss
+++ b/design/sass/_writing_details.scss
@@ -780,6 +780,9 @@ figure.picwide img.picwide {
text-decoration: none;
color: lighten($body_font, 20);
}
+ a.nb {
+ color: lighten($body_font, 10);
+ }
@include breakpoint(beta) {
margin-bottom: 4em;
#wildlife {
diff --git a/design/templates/details/entry.html b/design/templates/details/entry.html
index c1c4acc..34bc0b3 100644
--- a/design/templates/details/entry.html
+++ b/design/templates/details/entry.html
@@ -61,7 +61,7 @@ class="{%if t == 1 or t == 3 or t == 5 %}double{%else%}single{%endif%}{%if t ==
{% for object_list in wildlife_list %}
<li class="grouper">{{object_list.grouper}}<ul>
{% for object in object_list.list %}
- <li><a href="{% url 'sightings:detail' object.ap.slug %}">{{object}}</a></li>
+ <li><a {%if object.ap.body_markdown%}class="nb"{%endif%} href="{% url 'sightings:detail' object.ap.slug %}">{{object}}</a></li>
{% endfor %}</ul>
{% endfor %}</ul>
</aside>