Skip to content

Latest commit

 

History

History
202 lines (177 loc) · 5.68 KB

people.md

File metadata and controls

202 lines (177 loc) · 5.68 KB
title
People
<style> .people-container { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; padding: 20px; } .person-card { background: #fff; border: 1px solid #ddd; border-radius: 8px; width: 300px; padding: 20px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); text-align: center; } .person-card img { border-radius: 50%; width: 100px; height: 100px; object-fit: cover; margin-bottom: 15px; } .person-info h3 { font-size: 1.2em; margin: 0 0 10px; } .person-role { font-weight: bold; color: #555; margin-bottom: 10px; } .person-research { } .person-funds { font-size: 0.9em; color: #777; margin-bottom: 15px; } .person-links a { color: #007acc; margin: 0 5px; font-size: 1.2em; text-decoration: none; } .person-links a:hover { color: #005bb5; } @media (max-width: 768px) { .people-container { flex-direction: column; align-items: center; } .person-card { width: 90%; } } </style>
Current Guests Previous
{% for person in site.data.people %}
{% if person.pic %} Picture of {{ person.name }} {% endif %}

{{ person.name }}

{% if person.previously %}Previous Member{% if person.role %}, {% endif %}{% endif %}{{ person.role }}

{% if person.funds %}

Funded by: {{ person.funds }}

{% elsif person.previously%} {% else %}

Funded by: SISSA

{% endif %}

{% if person.previously %}

{{ person.previously | markdownify }}

{% endif %} {{ person.research | markdownify }}

{% if person.email %} {% endif %} {% if person.phone %} {% endif %} {% if person.thesis %} {% endif %} {% if person.orcid %} {% endif %} {% if person.scholar %} {% endif %} {% if person.prereview && person.orcid %} {% endif %} {% if person.bluesky %} {% endif %} {% if person.twitter %} {% endif %} {% if person.linkedin %} {% endif %} {% if person.github %} {% endif %}
{% endfor %}
<script> function filterPeople(role) { const cards = document.querySelectorAll('.person-card'); cards.forEach(card => { const roles = card.getAttribute('data-role'); card.style.display = roles.includes(role) ? 'block' : 'none'; }); // Highlight the active tab const tabs = document.querySelectorAll('.tab-button'); tabs.forEach(tab => { tab.classList.remove('active'); if (tab.getAttribute('data-tab') === role) { tab.classList.add('active'); } }); } // Default tab on page load document.addEventListener('DOMContentLoaded', () => { filterPeople('current'); }); </script> <style> .tabs-container { margin-top: 20px; text-align: center; /* Center the tabs */ } .tab-button { background-color: white; border: 2px solid #1e6bb8; /* Blue border */ color: #1e6bb8; /* Blue text */ padding: 10px 20px; font-size: 16px; margin: 5px; border-radius: 5px; /* Rounded corners */ cursor: pointer; transition: all 0.3s ease; /* Smooth hover effect */ display: inline-block; /* Ensure buttons are inline */ } .tab-button:hover { background-color: #1e6bb8; /* Blue background on hover */ color: white; /* White text on hover */ } .tab-button.active { background-color: #1e6bb8; /* Blue background for active state */ color: white; /* White text for active state */ border-color: #1e6bb8; /* Match the background color */ } </style>