Skip to content

Commit

Permalink
layout tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
shiltemann committed Jun 5, 2024
1 parent 905334f commit a58aea0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions _includes/funding-statement.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<div class="name">{{ pfo.short_name | default: pfo.name | default: id }}</div>
<div class="description">
{{ site.data.funders[id].funding_statement | markdownify | strip_html }}
{{ pfo.description }}
</div>
</div>
</a>
Expand Down
8 changes: 8 additions & 0 deletions _layouts/event.html
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,14 @@ <h3>Promote the Event</h3>
{% include _includes/contributor-badge-inline.html id=org %}
{% endfor %}

{% if event.contributions.instructors.size < 10 %}
<br/><br/><b>Instructors</b><br/>
{% for instructor in event.contributions.instructors %}
{% include _includes/contributor-badge-inline.html id=instructor %}
{% endfor %}

{% endif %}

{% if event.contributions.funding %}
<hr />
<b>In collaboration with</b><br/>
Expand Down
2 changes: 2 additions & 0 deletions assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1218,13 +1218,15 @@ nav[data-toggle='toc'] {
height: 8em;
margin-inline-end: 1em;
margin-bottom: 1em;
padding: 1em;

div.avatar {
display: flex;
align-items: center;

img.funder-avatar {
margin: 0;
padding: 0.5em;
max-height: 8em;
min-width: 8em;
max-width: 8em;
Expand Down

0 comments on commit a58aea0

Please sign in to comment.