[STYLE] Add year on archives list
This commit is contained in:
parent
350377bdd4
commit
1abfbd5085
2 changed files with 7 additions and 3 deletions
|
@ -7,6 +7,7 @@
|
|||
{{ end }}
|
||||
<div class="description">
|
||||
<span class="title">{{ .Title }}</span>
|
||||
<span class="year">{{ .PublishDate.Format "2006" }}</span>
|
||||
<span class="more">→ plus d'infos</span>
|
||||
</div>
|
||||
</a>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue