Compare commits

...

3 commits

Author SHA1 Message Date
1d122bc4c5 Set media query ranges 2025-03-05 14:18:49 +00:00
59423ecb73 Remove the play label from the gallery thumbs 2025-03-05 14:12:28 +00:00
3708bbd907 Set 240px thumb for medium sizes 2025-03-05 14:11:38 +00:00
2 changed files with 4 additions and 5 deletions
src/api/app
static/css
templates

View file

@ -37,21 +37,21 @@ video {
scroll-margin-top: 60px;
}
@media only screen and (max-width: 600px)
@media only screen and (max-width: 619px)
{
.gallery {
display: grid;
grid-gap: 3px;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
}
@media only screen and (min-width: 600px)
@media only screen and (min-width: 620px) and (max-width: 1199px)
{
.gallery {
display: grid;
grid-gap: 5px;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
}

View file

@ -230,7 +230,6 @@ document.addEventListener('DOMContentLoaded', () => {
<img src="{{ url_for('thumb_route', thumb_file=thumbnail) }}" alt="{{ thumbnail }}">
<div class="overlay">
<div class="overlay-content">
<h3>Play</h3>
<p>{{ thumbnail[:-4] }}</p>
</div>
</div>