Files
LifeFaq/static/sass/components/_mini-posts.scss
Henrik Jess Nielsen 15bda3d3d5
All checks were successful
Build, Push, and Deploy to Nomad / docker-nomad (push) Successful in 48s
[main] Images images images
2024-12-30 22:43:08 +01:00

38 lines
745 B
SCSS

///
/// Editorial by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Mini Posts */
.mini-posts {
article {
border-top: solid 1px _palette(border);
margin-top: _size(element-margin);
padding-top: _size(element-margin);
.image {
display: block;
margin: 0 0 (_size(element-margin) * 0.75) 0;
width: unset;
img {
display: block;
width: unset;
}
}
a {
.fav-image {
display: block;
max-width: 100%; /* Scale down if the container is smaller than the image */
height: auto; /* Maintain aspect ratio */
}
}
&:first-child {
border-top: 0;
margin-top: 0;
padding-top: 0;
}
}
}