Browse Source

Clean some unused code

master
parent
commit
2ad05ef504
  1. 8
      theme/static/css/media.css
  2. 27
      theme/templates/media.html

8
theme/static/css/media.css

@ -61,15 +61,7 @@ main {
.overlay-nav, .media-nav a {
color: inherit;
}
/*
.media-nav {
margin-bottom: 1em;
}
.media-nav a:not([href]) {
color: #a0a0a0;
}
*/
.overlay-nav {
position: fixed;
height: 100%;

27
theme/templates/media.html

@ -45,31 +45,4 @@
</a>
{% endif %}
<!-- <nav class="media-nav">
<ul>
<li>
<a
{% if previous_media %}
href="{{ previous_media.url }}.html"
{% endif %}
aria-label="Previous media">
<i class="fa fa-arrow-left fa-lg" aria-hidden="true"></i>
</a>
</li>
<li>{{ media_index }} / {{ album.medias|length }}</li>
<li>
<a
{% if next_media %}
href="{{ next_media.url }}.html"
{% endif %}
aria-label="Next media">
<i class="fa fa-arrow-right fa-lg" aria-hidden="true"></i>
</a>
</li>
</ul>
</nav>
-->
{% endblock %}

Loading…
Cancel
Save