category.php : don't show year if no article

This commit is contained in:
isUnknown 2024-04-06 11:55:51 +02:00
parent 3804d13cb6
commit b0fb0b101d
8 changed files with 50 additions and 35 deletions

View file

@ -33,17 +33,22 @@
}
.page-cover {
position: relative;
box-sizing: border-box;
height: 100svh;
display: flex;
flex-direction: column;
justify-content: space-between;
padding-top: 25svh;
padding-top: calc(var(--unit--vertical-relative) * 5);
padding-bottom: calc(5 * var(--unit--vertical));
}
.page-cover.open + * {
margin-top: calc(var(--unit--vertical-relative) * 19);
}
#home .page-cover {
padding-top: 30svh;
padding-top: calc(var(--unit--vertical-relative) * 6);
}
#category .page-cover {