minor fixes

This commit is contained in:
Set Sakrecoer 2021-04-10 11:56:55 +02:00
parent 6665658f83
commit dd9cc41fb2
2 changed files with 6 additions and 6 deletions

View file

@ -115,9 +115,9 @@ body {
.description {
border-radius: var(--border-radius);
background: var(--bg-alt);
box-shadow: 15px 15px 28px 24px var(--bg);
-webkit-box-shadow: 15px 15px 28px 24px var(--bg);
-moz-box-shadow: 15px 15px 28px 24px var(--bg);
box-shadow: 15px 15px 28px 24px var(--bg-alt);
-webkit-box-shadow: 15px 15px 28px 24px var(--bg-alt);
-moz-box-shadow: 15px 15px 28px 24px var(--bg-alt);
> * {
margin: 40px !important;
}

View file

@ -34,11 +34,11 @@ video_path:
if (counter == (numberOfPosts - 1))
{
divRandomPosts.append('<a class="button" href="' + postHREF + '">🔥</a>');
divRandomPosts.replaceWith('<a class="button" href="' + postHREF + '">🔥</a>');
}
else
{
divRandomPosts.append('<a class="button" href="' + postHREF + '">🔥</a>');
divRandomPosts.replaceWith('<a class="button" href="' + postHREF + '">🔥</a>');
}
randomIndexUsed.push(randomIndex);
@ -73,7 +73,7 @@ video_path:
<ul>{% for app in site.data.navigation %}
<li><a href="{{ app.url }}" {% if app.external_site == true %}rel="noopener" target="_blank"{% endif %} class="button">{{ app.icon }}</a></li>
{% endfor %}
<li id="random_posts"></li>
<li id="random_posts"><a href="/discography" class="button">🔥</a></li>
</ul>
</div>
</div>