Merge pull request ':^)' (#55) from dev into master

Reviewed-on: #55
This commit is contained in:
Kibi Kelburton 2022-10-27 17:32:55 +02:00
commit 534fb1d92a
2 changed files with 35 additions and 1 deletions

View File

@ -2766,4 +2766,35 @@ ul.navbar-nav-guests li.nav-item {
.pagination {
justify-content: center !important;
}
}
}
/* mobile random button */
.random {
display: none;
}
@media (max-width: 768px) {
.metadata {
margin-bottom: 0;
}
.random {
width: 100%;
height: 100%;
transition: .5s ease-out;
display: block;
}
.random a {
width: 100%;
height: 100%;
}
.random a::after {
content: "";
}
.random:active {
background: #00000036;
}
}

View File

@ -97,6 +97,9 @@
@endif
</span>
</div>
<div class="random">
<a href="/random"></a>
</div>
</div>
@include(snippets/footer)
</div>