From 2251f4bb77ef9a23b5da494e4d6eeca1d4a2e420 Mon Sep 17 00:00:00 2001 From: Gaspard Jankowiak Date: Tue, 12 Mar 2024 09:52:07 +0100 Subject: [PATCH] [css] light gradient for publication items --- css/screen.scss | 2 ++ en/publications.markdown | 6 +++--- publications.markdown | 6 +++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/css/screen.scss b/css/screen.scss index 38187dd..93b8ff2 100644 --- a/css/screen.scss +++ b/css/screen.scss @@ -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: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; } .right, .float-right { float: right; margin-left: 1em; } .clear { clear: both; } diff --git a/en/publications.markdown b/en/publications.markdown index 072ba02..12aecb3 100644 --- a/en/publications.markdown +++ b/en/publications.markdown @@ -10,7 +10,7 @@ subtitle: 'Publications' {% if site.data.submitted %} # Preprints -
    +
      {% for pub in site.data.submitted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %}
    {% endif %} @@ -18,7 +18,7 @@ subtitle: 'Publications' {% if site.data.accepted %} # Articles accepted for publication -
      +
        {% for pub in site.data.accepted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %}
      {% endif %} @@ -26,7 +26,7 @@ subtitle: 'Publications' {% if site.data.published %} # Published articles -
        +
          {% for pub in site.data.published %}{% include publi_row.html pub=pub authors=authors %}{% endfor %}
        {% endif %} diff --git a/publications.markdown b/publications.markdown index 7487cee..86dab0c 100644 --- a/publications.markdown +++ b/publications.markdown @@ -10,7 +10,7 @@ subtitle: Publications {% if site.data.submitted %} # Articles soumis (preprints) -
          +
            {% for pub in site.data.submitted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %}
          {% endif %} @@ -18,7 +18,7 @@ subtitle: Publications {% if site.data.accepted %} # Articles acceptés -
            +
              {% for pub in site.data.accepted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %}
            {% endif %} @@ -27,7 +27,7 @@ subtitle: Publications {% if site.data.published %} # Articles publiés -
              +
                {% for pub in site.data.published %}{% include publi_row.html pub=pub authors=authors %}{% endfor %}
              {% endif %}