[STYLE] Add year on archives list

This commit is contained in:
Gregory Trolliet 2023-09-09 08:29:27 +02:00
parent 350377bdd4
commit 1abfbd5085
2 changed files with 7 additions and 3 deletions

View File

@ -7,6 +7,7 @@
{{ end }}
<div class="description">
<span class="title">{{ .Title }}</span>
<span class="year">{{ .PublishDate.Format "2006" }}</span>
<span class="more">&rarr; plus d'infos</span>
</div>
</a>

View File

@ -369,9 +369,6 @@ a.not(.anchor):focus {
.archives-list .archive:hover {
border: none;
}
.archives-list .archive .title {
height: 100px;
}
.archives-list .thumbnail {
display: inline-block;
width: 100%;
@ -389,6 +386,12 @@ a.not(.anchor):focus {
.archives-list .title {
font-weight: bold;
}
.archives-list .year {
font-style: italic;
}
.archives-list .year::before {
content: " - ";
}
.archives-list .description {
display: inline-block;
min-width: 10em;