[css] light gradient for publication items

This commit is contained in:
Gaspard Jankowiak 2024-03-12 09:52:07 +01:00
parent c672150b00
commit 2251f4bb77
3 changed files with 8 additions and 6 deletions

View file

@ -132,6 +132,8 @@ ol li { padding: 0.5em 10px 0.5em 0; }
ol li:nth-child(n+2) { border-top: 1px solid #ddd; } ol li:nth-child(n+2) { border-top: 1px solid #ddd; }
ol li:hover { border-right: 3px solid $links; padding-right: 7px; } ol li:hover { border-right: 3px solid $links; padding-right: 7px; }
ol.publication-list li { background: linear-gradient(0deg, rgba(2,0,36,0) 0%, #f4f4f4 100%); padding-left: 10px; }
.float-left { float: left; } .float-left { float: left; }
.right, .float-right { float: right; margin-left: 1em; } .right, .float-right { float: right; margin-left: 1em; }
.clear { clear: both; } .clear { clear: both; }

View file

@ -10,7 +10,7 @@ subtitle: 'Publications'
{% if site.data.submitted %} {% if site.data.submitted %}
# Preprints # Preprints
<ol reversed> <ol class="publication-list" reversed>
{% for pub in site.data.submitted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %} {% for pub in site.data.submitted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %}
</ol> </ol>
{% endif %} {% endif %}
@ -18,7 +18,7 @@ subtitle: 'Publications'
{% if site.data.accepted %} {% if site.data.accepted %}
# Articles accepted for publication # Articles accepted for publication
<ol reversed> <ol class="publication-list" reversed>
{% for pub in site.data.accepted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %} {% for pub in site.data.accepted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %}
</ol> </ol>
{% endif %} {% endif %}
@ -26,7 +26,7 @@ subtitle: 'Publications'
{% if site.data.published %} {% if site.data.published %}
# Published articles # Published articles
<ol reversed> <ol class="publication-list" reversed>
{% for pub in site.data.published %}{% include publi_row.html pub=pub authors=authors %}{% endfor %} {% for pub in site.data.published %}{% include publi_row.html pub=pub authors=authors %}{% endfor %}
</ol> </ol>
{% endif %} {% endif %}

View file

@ -10,7 +10,7 @@ subtitle: Publications
{% if site.data.submitted %} {% if site.data.submitted %}
# Articles soumis (preprints) # Articles soumis (preprints)
<ol reversed id="list_submitted"> <ol class="publication-list" reversed id="list_submitted">
{% for pub in site.data.submitted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %} {% for pub in site.data.submitted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %}
</ol> </ol>
{% endif %} {% endif %}
@ -18,7 +18,7 @@ subtitle: Publications
{% if site.data.accepted %} {% if site.data.accepted %}
# Articles acceptés # Articles acceptés
<ol reversed id="list_accepted"> <ol class="publication-list" reversed id="list_accepted">
{% for pub in site.data.accepted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %} {% for pub in site.data.accepted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %}
</ol> </ol>
{% endif %} {% endif %}
@ -27,7 +27,7 @@ subtitle: Publications
{% if site.data.published %} {% if site.data.published %}
# Articles publiés # Articles publiés
<ol reversed id="list_published"> <ol class="publication-list" reversed id="list_published">
{% for pub in site.data.published %}{% include publi_row.html pub=pub authors=authors %}{% endfor %} {% for pub in site.data.published %}{% include publi_row.html pub=pub authors=authors %}{% endfor %}
</ol> </ol>
{% endif %} {% endif %}