fix prev next arrows

This commit is contained in:
jkhsjdhjs 2017-10-21 06:18:52 +02:00
parent 0b23c83998
commit 223e744d6d
2 changed files with 3 additions and 11 deletions

View File

@ -20,7 +20,7 @@
</div>
<div class="wrapper">
<div class="medium">
{% if next != null %}<a id="next" href="/{{ next }}"></a>{% endif %}
{% if next != null %}<a href="/{{ next }}"><i class="fa fa-arrow-left" aria-hidden="true"></i></a>{% endif %}
{% if item == "video" %}
<video id="my-video" class="video-js" src="{{ dest }}" preload="auto" height="360" width="640" controls autoplay loop data-setup="{}"></video>
{% elseif item == "audio" %}
@ -30,14 +30,14 @@
{% endif %}
<audio id="my-video" class="video-js audiojs" controls loop src="{{ dest }}" data-setup="{}" poster="{% if thumb !== null %}{{ thumb }}{% else %}/s/pingu.gif{% endif %}" type="audio/mp3" ></audio>
{% if thumb != null %}
</div>
</div>
{% endif %}
{% elseif item == "image" %}
<a href="{{ dest }}" target="_blank"><img src="{{ dest }}" style="max-width: 640px;height:auto;" /></a>
{% else %}
<h1>404 - Not f0cked</h1>
{% endif %}
{% if prev != null %}<a id="prev" href="/{{ prev }}"></a>{% endif %}
{% if prev != null %}<a href="/{{ prev }}"><i class="fa fa-arrow-right" aria-hidden="true"></i></a>{% endif %}
</div>
</div>

View File

@ -76,14 +76,6 @@ a#next, a#prev {
align-content: inherit;
}
a#prev::after {
content: "\f177";
}
a#next::after {
content: "\f178";
}
.van {
border: 0;
box-shadow: none;