diff options
author | luxagraf <sng@luxagraf.net> | 2019-01-03 13:07:05 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2019-01-03 13:07:05 -0600 |
commit | d635df078e61448ed572b7d10558a96e001937fe (patch) | |
tree | cb118202dc110a8b6734ae28a7f5aa5d823fef7c | |
parent | b5fb96e3830782432c0fe2f3e7d23ba62abc8e33 (diff) |
fixed a bug in CSS at base of entry pages
-rw-r--r-- | design/sass/_details.scss | 7 | ||||
-rw-r--r-- | design/sass/_global.scss | 4 | ||||
-rw-r--r-- | design/templates/details/entry.html | 2 |
3 files changed, 12 insertions, 1 deletions
diff --git a/design/sass/_details.scss b/design/sass/_details.scss index f4d30f7..141191f 100644 --- a/design/sass/_details.scss +++ b/design/sass/_details.scss @@ -215,6 +215,13 @@ } } } +sup { + line-height: 1; + .footnote-ref { + padding: 4px 3px; + + } +} //### Figments ### .downloads { diff --git a/design/sass/_global.scss b/design/sass/_global.scss index 6ea900f..603339c 100644 --- a/design/sass/_global.scss +++ b/design/sass/_global.scss @@ -194,6 +194,9 @@ h3 { margin-bottom: 3em; @include faded_line_after; } +.margin-left-none { + margin-left: 0 !important; +} //**************** Page Breadcrumbs ************************ #breadcrumbs { @@ -224,3 +227,4 @@ h3 { background: #000; color: $body_font_light } + diff --git a/design/templates/details/entry.html b/design/templates/details/entry.html index 0cc550e..ad98274 100644 --- a/design/templates/details/entry.html +++ b/design/templates/details/entry.html @@ -62,7 +62,7 @@ class="detail {%if t == 1 or t == 3 or t == 5 %}double{%else%}single{%endif%}{%i {% endfor %}</ul> </aside> {% endif %}{%if object.field_notes.all %} - <aside id="field_notes"> + <aside {% if wildlife %}class="margin-left-none" {%endif%}id="field_notes"> <h3>Field Notes</h3> <ul>{% for obj in object.field_notes.all %} <li><a href="{% url 'sketches:detail' year=obj.pub_date.year month=obj.pub_date|date:"m" slug=obj.slug %}">{{obj}}</a></li> |