Skip to content

Commit

Permalink
categories
Browse files Browse the repository at this point in the history
  • Loading branch information
wulfdewolf committed Feb 13, 2024
1 parent 876fc0c commit 7daa565
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
14 changes: 8 additions & 6 deletions _layouts/profiles.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ layout: page
<div class="post">
<article>
{% if page.profiles_pi %}
<a>
<h2 class="category">PI</h2>
</a>
<hr>
{% for profile in page.profiles_pi %}
<a>
<h2 class="category">PI</h2>
</a>
<div class="profile float-{% if profile.align == 'left' %}left{% else %}right{% endif %}">
{% if profile.image %}
{% assign profile_image_path = profile.image | prepend: 'assets/img/' %}
Expand Down Expand Up @@ -36,10 +37,11 @@ layout: page
{% endif %}

{% if page.profiles_postdoc %}
<a>
<h2 class="category">Postdoc</h2>
</a>
<hr>
{% for profile in page.profiles_postdoc %}
<a>
<h2 class="category">Postdoc</h2>
</a>
<div class="profile float-{% if profile.align == 'left' %}left{% else %}right{% endif %}">
{% if profile.image %}
{% assign profile_image_path = profile.image | prepend: 'assets/img/' %}
Expand Down
8 changes: 8 additions & 0 deletions _sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -872,6 +872,14 @@ html.transition *:after {
}
}
}
h2.category {
color: var(--global-divider-color);
border-bottom: 1px solid var(--global-divider-color);
padding-top: 0.5rem;
margin-top: 2rem;
margin-bottom: 1rem;
text-align: right;
}
}

progress {
Expand Down

0 comments on commit 7daa565

Please sign in to comment.