From a58aea0a6f1a98a653fee17c96aacb026d003d52 Mon Sep 17 00:00:00 2001 From: Saskia Hiltemann Date: Wed, 5 Jun 2024 12:05:16 +0200 Subject: [PATCH] layout tweaks --- _includes/funding-statement.md | 1 + _layouts/event.html | 8 ++++++++ assets/css/main.scss | 2 ++ 3 files changed, 11 insertions(+) diff --git a/_includes/funding-statement.md b/_includes/funding-statement.md index e49a1933bcab51..d2f72e4526ebce 100644 --- a/_includes/funding-statement.md +++ b/_includes/funding-statement.md @@ -18,6 +18,7 @@
{{ pfo.short_name | default: pfo.name | default: id }}
{{ site.data.funders[id].funding_statement | markdownify | strip_html }} + {{ pfo.description }}
diff --git a/_layouts/event.html b/_layouts/event.html index e74efae8707f18..5aabb6474174dd 100644 --- a/_layouts/event.html +++ b/_layouts/event.html @@ -424,6 +424,14 @@

Promote the Event

{% include _includes/contributor-badge-inline.html id=org %} {% endfor %} + {% if event.contributions.instructors.size < 10 %} +

Instructors
+ {% for instructor in event.contributions.instructors %} + {% include _includes/contributor-badge-inline.html id=instructor %} + {% endfor %} + + {% endif %} + {% if event.contributions.funding %}
In collaboration with
diff --git a/assets/css/main.scss b/assets/css/main.scss index 05e38a016b9529..ca442e61c2ddbe 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -1218,6 +1218,7 @@ nav[data-toggle='toc'] { height: 8em; margin-inline-end: 1em; margin-bottom: 1em; + padding: 1em; div.avatar { display: flex; @@ -1225,6 +1226,7 @@ nav[data-toggle='toc'] { img.funder-avatar { margin: 0; + padding: 0.5em; max-height: 8em; min-width: 8em; max-width: 8em;