UX: Adjust noscript footer nav

This commit is contained in:
Kris 2020-04-08 17:29:13 -04:00
parent c3593dd9e2
commit 14467757df
2 changed files with 16 additions and 4 deletions

View File

@ -32,11 +32,23 @@ body.crawler {
} }
footer { footer {
margin-top: 3em; margin-top: 4em;
border-top: 1px solid $primary-low-mid;
} }
} }
.noscript-footer-nav {
clear: both;
margin-top: 4em;
a {
margin-right: 0.25em;
white-space: nowrap;
}
}
#noscript-footer {
padding: 0 10px;
}
.crawler-topic-title { .crawler-topic-title {
margin-top: 0.5em; margin-top: 0.5em;
} }

View File

@ -73,7 +73,7 @@
<!-- preload-content: --> <!-- preload-content: -->
<%= yield %> <%= yield %>
<!-- :preload-content --> <!-- :preload-content -->
<footer> <footer class="noscript-footer-nav">
<nav itemscope itemtype='http://schema.org/SiteNavigationElement'> <nav itemscope itemtype='http://schema.org/SiteNavigationElement'>
<a href='<%= path "/" %>'><%= t 'home_title' %></a> <a href='<%= path "/" %>'><%= t 'home_title' %></a>
<%= link_to t('js.filters.categories.title'), path("/categories") %> <%= link_to t('js.filters.categories.title'), path("/categories") %>
@ -85,7 +85,7 @@
</div> </div>
<footer id='noscript-footer'> <footer id='noscript-footer'>
<p style="text-align:center;"><%= t 'powered_by_html' %></p> <p><%= t 'powered_by_html' %></p>
</footer> </footer>
</noscript> </noscript>