added option to show image in article preview

This commit is contained in:
Gabriele Musco 2021-03-10 09:25:37 +01:00
parent b2856c86b7
commit f2eba5b387
No known key found for this signature in database
GPG key ID: 8539FD3454380B83
3 changed files with 29 additions and 4 deletions

View file

@ -257,8 +257,26 @@ h1, h2, h3, h4, h5, h6 {
// only hide hr in cards if they are in the article list
// cards in list are divs, cards as in full-blown articles use the article tag
div.card.discrete {
hr { display: none; }
.postlistitem.card.discrete {
hr { display: none; }
}
.postlistitem.card {
img {
margin: 15px auto;
}
}
@media only screen and (min-width: 500px) {
.postlistitem.card {
img {
max-width: 250px;
float: left;
margin-right: 15px;
margin-bottom: 15px;
}
overflow: auto; // clearfix
}
}
ul {