feat: review the home page

This commit is contained in:
2022-10-27 14:19:40 +02:00
parent bdf18a5fdf
commit ecdcd0fa8e
6 changed files with 31 additions and 18 deletions
+21 -10
View File
@@ -214,34 +214,41 @@ figure figcaption {
}
/*!* Posts list *!*/
.post-list {
.article-list {
list-style: none;
padding: 0;
}
.post-list li {
.article-list li {
margin: 2px;
}
.post-list li p {
.article-list li p {
margin: 1.5rem 0 2.5rem;
}
.post-list li div {
.article-list li div {
display: flex;
}
.post-list li div a {
.article-list li div a {
flex-grow: 1;
}
.postlist-item {
margin-bottom: 5rem;
.post-list {
display: flex;
flex-wrap: wrap;
gap: 3rem;
}
.postlist-header h2 {
.post-list-item {
max-width: 430px;
padding: 2rem;
box-shadow: 0 2px 12px 0 rgba(1,87,155,.1);
}
.post-list-header h2 {
margin-bottom: .5rem;
}
.postlist-link {
.post-list-link {
flex-basis: calc(100% - 1.5rem);
padding-right: .5em;
text-decoration: none;
}
.postlist-footer {
.post-list-footer {
text-align: right;
}
@@ -267,6 +274,10 @@ figure figcaption {
margin: 0;
}
.post-list .post-metadata {
flex-direction: column;
}
h1 + .post-metadata {
margin: 0 0 4rem;
}