forked from GNUsocial/gnu-social
[CARDS][Navigation] Replaced footer to nav
Since the footer is inside a section, it couldn't be a footer element
This commit is contained in:
parent
b30198413c
commit
838510ced2
@ -148,6 +148,11 @@ html {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
.footer ul {
|
||||
display: inline-flex;
|
||||
width: 100%;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
/* < 720p */
|
||||
@media only screen and (max-width:1280px) {
|
||||
.page-header {
|
||||
|
@ -72,23 +72,23 @@
|
||||
{% endblock profile_security %}
|
||||
|
||||
{% block footer %}
|
||||
<footer class="footer">
|
||||
<nav>
|
||||
<a href="{{ path('doc_faq') }}" class='hover-effect {{ active('doc_faq') }}'>
|
||||
FAQ
|
||||
</a>
|
||||
<a href="{{ path('doc_tos') }}" class='hover-effect {{ active('doc_tos') }}'>
|
||||
TOS
|
||||
</a>
|
||||
<a href="{{ path('doc_privacy') }}" class='hover-effect {{ active('doc_privacy') }}'>
|
||||
Privacy
|
||||
</a>
|
||||
<a href="{{ path('doc_source') }}" class='hover-effect {{ active('doc_source') }}'>
|
||||
Source
|
||||
</a>
|
||||
<a href="{{ path('doc_version') }}" class='hover-effect {{ active('doc_version') }}'>
|
||||
Version
|
||||
</a>
|
||||
</nav>
|
||||
</footer>
|
||||
<nav class="footer">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{{ path('doc_faq') }}" class='hover-effect {{ active('doc_faq') }}'>FAQ</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ path('doc_tos') }}" class='hover-effect {{ active('doc_tos') }}'>TOS</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ path('doc_privacy') }}" class='hover-effect {{ active('doc_privacy') }}'>Privacy</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ path('doc_source') }}" class='hover-effect {{ active('doc_source') }}'>Source</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ path('doc_version') }}" class='hover-effect {{ active('doc_version') }}'>Version</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
{% endblock footer %}
|
||||
|
Loading…
Reference in New Issue
Block a user