Generate thumbnails on the fly with PIL

Removed the need of having 3 copies of an image
Fixes more Sass(y) stuff
This commit is contained in:
Michał Gdula 2023-01-13 18:29:07 +00:00
parent 2455d3f88c
commit a10a5a8793
10 changed files with 149 additions and 76 deletions

View file

@ -322,19 +322,43 @@
.image__info {
margin: 0;
padding: 0.5rem;
padding: 0;
width: 100%;
display: flex;
flex-direction: column;
gap: 0.5rem;
background-color: $black200;
border-radius: $rad;
border-left: $rad solid $green;
//border-left: $rad solid $green;
box-sizing: border-box;
}
.image__info-header {
margin: 0;
padding: 0.5rem;
width: 100%;
height: 2rem;
display: flex;
justify-content: start;
align-items: center;
gap: 0.5rem;
background-color: $black300;
border-radius: $rad $rad 0 0;
svg {
margin: 0;
padding: 0;
width: 1.25rem;
height: 1.25rem;
fill: $green;
}
h2 {
margin: 0;
@ -350,6 +374,14 @@
text-overflow: ellipsis;
overflow: hidden;
}
}
.image__info-content {
margin: 0;
padding: 0.5rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
p {
margin: 0;