Change publis list style
This commit is contained in:
parent
5fccab444e
commit
acb4430c02
2 changed files with 25 additions and 11 deletions
|
@ -121,3 +121,17 @@ body {
|
|||
.intro-text {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.publication-list {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.publication-entry>td {
|
||||
padding-bottom: 7px;
|
||||
}
|
||||
|
||||
.publication-date {
|
||||
padding-right: 20px;
|
||||
color: #505050;
|
||||
font-style: italic;
|
||||
}
|
||||
|
|
|
@ -13,18 +13,18 @@ Millésime {{ year_range }}
|
|||
|
||||
<div class="intro-text">{{ intro_text | markdownify }}</div>
|
||||
|
||||
<ul class="publication-list">
|
||||
<table class="publication-list">
|
||||
{% for bocal in publications %}
|
||||
<li class="publication-entry">
|
||||
<a href="{{ bocal.url }}" title="Lire le BOcal !">{{ bocal }}</a> :
|
||||
<tr class="publication-entry">
|
||||
<td class="publication-date">{{ bocal.date | date:"d/m/Y" }}</td>
|
||||
<td class="publication-body">
|
||||
<a href="{{ bocal.url }}" title="Lire le BOcal !">{{ bocal }}</a>
|
||||
|
||||
{% if bocal.descr %}
|
||||
<span class="publication-descr">{{ bocal.descr }}</span>
|
||||
<span class="publication-date">({{ bocal.date | date:"d/m/Y" }})</span>
|
||||
{% else %}
|
||||
<span class="publication-date">{{ bocal.date | date:"d/m/Y" }}</span>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% if bocal.descr %}
|
||||
: <span class="publication-descr">{{ bocal.descr }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</table>
|
||||
{% endblock content %}
|
||||
|
|
Loading…
Reference in a new issue