Skip to content

Commit

Permalink
welcome to the 2010s
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Ludwig committed Oct 22, 2024
1 parent e725f49 commit 1761a98
Show file tree
Hide file tree
Showing 9 changed files with 144 additions and 88 deletions.
53 changes: 24 additions & 29 deletions _includes/talk_card.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,47 +5,42 @@ <h4 class="mb-0 card-title">{{post.title}}</h4>
</a>
</div>
{% if include.talk.img %}
{% if include.talk.img.path %}
{% assign img_src = include.talk.img.path | relative_url %}
{% else if include.talk.img.href %}
{% assign img_src = {{include.talk.img.href}} %}
{% else %}
{% assign img_src = {% link {{include.talk.img}} %} %}
{% endif %}
<img src="{{img_src}}" class="sf-talk-card-img"
{% if include.talk.img.center %}
style="object-position: {{include.talk.img.center}};"
{% endif %}
alt="Title Image of Talk {{include.talk.title}}" loading="lazy">
{% if include.talk.img.path %}
{% assign img_src = include.talk.img.path | relative_url %}
{% else if include.talk.img.href %}
{% assign img_src = {{include.talk.img.href}} %}
{% else %}
{% assign img_src = {% link {{include.talk.img}} %} %}
{% endif %}
<div class="sf-talk-card-img" style="background-image: url('{{img_src}}');">
<img src="{{img_src}}" {% if include.talk.img.center %} style="object-position: {{include.talk.img.center}};" {%
endif %} alt="Title Image of Talk {{include.talk.title}}" loading="lazy">
</div>
{% endif %}
{% if include.talk.imgs %}
<div id="carousel-{{include.id}}" class="carousel slide">
<div class="carousel-indicators">
{% for img in include.talk.imgs %}
<button type="button" data-bs-target="#carousel-{{include.id}}" data-bs-slide-to="{{forloop.index0}}"
{% if forloop.first %}
class="active" aria-current="true"
{% endif %}
aria-label="Image {{forloop.index}}"></button>
{% endfor %}
{% for img in include.talk.imgs %}
<button type="button" data-bs-target="#carousel-{{include.id}}" data-bs-slide-to="{{forloop.index0}}" {% if
forloop.first %} class="active" aria-current="true" {% endif %} aria-label="Image {{forloop.index}}"></button>
{% endfor %}
</div>
<div class="carousel-inner">
{% for img in include.talk.imgs %}
{% for img in include.talk.imgs %}
{% if img.path %}
{% assign img_src = img.path | relative_url %}
{% assign img_src = img.path | relative_url %}
{% else if include.talk.img.href %}
{% assign img_src = {{img.href}} %}
{% assign img_src = {{img.href}} %}
{% else %}
{% assign img_src = {% link {{img}} %} %}
{% assign img_src = {% link {{img}} %} %}
{% endif %}
<div class="carousel-item {% if forloop.first %}active{% endif %}">
<img src="{{img_src}}" class="sf-talk-card-img"
{% if img.center %}
style="object-position: {{img.center}};"
{% endif %}
loading="lazy" >
<div class="sf-talk-card-img" style="background-image: url('{{img_src}}');">
<img src="{{img_src}}" {% if include.talk.img.center %} style="object-position: {{include.talk.img.center}};"
{% endif %} alt="Title Image of Talk {{include.talk.title}}" loading="lazy">
</div>
</div>
{% endfor %}
{% endfor %}
</div>
<button class="carousel-control-prev" type="button" data-bs-target="#carousel-{{include.id}}" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
Expand Down
106 changes: 50 additions & 56 deletions _layouts/talk.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,78 +2,72 @@
layout: default
---
<div>
Title: <h2>{{page.title}}</h2>
Title: <h2>{{page.title}}</h2>
</div>
<div>
Speaker:
{% if page.link %}
<a href="{{page.link}}" target="_blank">
Speaker:
{% if page.link %}
<a href="{{page.link}}" target="_blank">
{% endif %}
{{page.speaker}}
{% if page.link %}
</a>
{% endif %}
</a>
{% endif %}
</div>
<div>
Date: {{page.date | date: "%Y-%m-%d" }}
Date: {{page.date | date: "%Y-%m-%d" }}
</div>

<div class="mt-3">
<h3>Abstract:</h3>
{{ content }}
<h3>Abstract:</h3>
{{ content }}
</div>

{% if page.img %}
{% if page.img.path %}
{% assign img_src = page.img.path | relative_url %}
{% else if page.img.href %}
{% assign img_src = {{page.img.href}} %}
{% else %}
{% assign img_src = {% link {{page.img}} %} %}
{% endif %}
<img src="{{img_src}}" class="sf-talk-img img-fluid w-lg-100"
{% if page.img.center %}
style="object-position: {{page.img.center}};"
{% endif %}
alt="Title Image of Talk {{page.title}}" loading="lazy">
{% endif %}
<!-- TODO: Fix this -->
{% if page.imgs %}
<div id="carousel-{{include.id}}" class="carousel slide">
<div class="carousel-indicators">
{% if page.img.path %}
{% assign img_src = page.img.path | relative_url %}
{% else if page.img.href %}
{% assign img_src = {{page.img.href}} %}
{% else %}
{% assign img_src = {% link {{page.img}} %} %}
{% endif %}
<div class="sf-talk-img" style="background-image: url('{{img_src}}');">
<img src="{{img_src}}" {% if page.img.center %} style="object-position: {{page.img.center}};" {% endif
%} alt="Title Image of Talk {{page.title}}" loading="lazy">
</div>
{% endif %}
{% if page.imgs %}
<div id="carousel-{{include.id}}" class="carousel slide">
<div class="carousel-indicators">
{% for img in page.imgs %}
<button type="button" data-bs-target="#carousel-{{include.id}}" data-bs-slide-to="{{forloop.index0}}"
{% if forloop.first %}
class="active" aria-current="true"
{% endif %}
aria-label="Image {{forloop.index}}"></button>
<button type="button" data-bs-target="#carousel-{{include.id}}" data-bs-slide-to="{{forloop.index0}}" {% if
forloop.first %} class="active" aria-current="true" {% endif %} aria-label="Image {{forloop.index}}"></button>
{% endfor %}
</div>
<div class="carousel-inner">
</div>
<div class="carousel-inner">
{% for img in page.imgs %}
{% if img.path %}
{% assign img_src = img.path | relative_url %}
{% else if page.img.href %}
{% assign img_src = {{img.href}} %}
{% else %}
{% assign img_src = {% link {{img}} %} %}
{% endif %}
<div class="carousel-item active">
<img src="{{img_src}}" class="sf-talk-img img-fluid w-lg-100"
{% if img.center %}
style="object-position: {{img.center}};"
{% endif %}
alt="Title Image of Talk {{page.title}}" loading="lazy">
{% if img.path %}
{% assign img_src = img.path | relative_url %}
{% else if page.img.href %}
{% assign img_src = {{img.href}} %}
{% else %}
{% assign img_src = {% link {{img}} %} %}
{% endif %}
<div class="carousel-item {% if forloop.first %}active{% endif %}">
<div class="sf-talk-img" style="background-image: url('{{img_src}}');">
<img src="{{img_src}}" {% if page.img.center %} style="object-position: {{page.img.center}};" {%
endif %} alt="Title Image of Talk {{page.title}}" loading="lazy">
</div>
{% endfor %}
</div>
<button class="carousel-control-prev" type="button" data-bs-target="#carousel-{{include.id}}" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carousel-{{include.id}}" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
{% endfor %}
</div>
{% endif %}
<button class="carousel-control-prev" type="button" data-bs-target="#carousel-{{include.id}}" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carousel-{{include.id}}" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
{% endif %}
3 changes: 3 additions & 0 deletions _posts/2024-10-11-Tobar.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ title: "The graviton detection problem"
date: 2024-10-11
categories: talk
speaker: Germain Tobar
imgs:
- path: assets/images/talks/2024-10-11-01.png
- path: assets/images/talks/2024-10-11.png
---
The detection of single gravitons (a quantum of gravity, like the photon for electromagnetism) is commonly told to be a near impossible task, but to what extent is this true? In this talk, I will discuss how a gravitational version of the historic photo-electric effect can be implemented with modified gravitational wave detectors, such an experiment would correspond to a single graviton detection process, and in analogy with the photo-electric effect for photons, provide the first evidence of the existence of the graviton.
4 changes: 3 additions & 1 deletion _posts/2024-10-18-AEOA.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ layout: talk
title: "Ask-Each-Other-Anything"
date: 2024-10-18
categories: talk
speaker: ""
speaker: "Everyone"
img:
path: assets/images/talks/2024-10-18.png
---
The semester is well-underway and you may have burning questions about academia, job applications, research challenges, or the path ahead. The good news? Others around you have been through similar situations and can offer valuable insights. At this ScientiFika, we bring together a diverse group of bachelor, master, and PhD students, as well as postdocs, creating a unique space to ask and answer questions about academic life. Whether you want to discuss career paths, share tips, or get advice on balancing work and life, this session is designed for open, informal discussions.
4 changes: 4 additions & 0 deletions _posts/2024-10-25-halloween.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ title: "🎃🎃 Spooky Singularities & 🦇 & Spooky Food 🎃🎃"
date: 2024-10-25
categories: talk
speaker: "<a target='_blank' href='https://www.su.se/english/profiles/alyo0806-1.654954#'>Alice Young</a> & Liliana Ferreira & <a href='https://www.kth.se/profile/marlp?l=en' target='_blank'>Marjorie Ladd Parada</a> "
imgs:
- path: assets/images/talks/2024-10-25.png
- path: assets/images/talks/2024-10-25-01.png
- path: assets/images/talks/2024-10-25-02.png
---
🎃🎃🎃For Halloween, we present not one, not two, but three very scary talks!👻👻👻

Expand Down
62 changes: 60 additions & 2 deletions assets/css/bootstrap-custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,71 @@ $font-size-base: 1.2rem;
//

.sf-talk-card-img {
object-fit: cover;
position: relative;
width: 100%;
height: 40vh;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
background-size: cover; /* Equivalent to object-fit: cover */
background-position: center;
}

.sf-talk-card-img::before {
content: '';
position: absolute;
top: -10%;
left: -10%;
width: 120%;
height: 120%;
background-image: inherit; /* Inherits background from inline style */
background-size: cover;
background-position: center;
filter: blur(20px); /* Apply blur */
z-index: 1; /* Layer this behind the image */
}

.sf-talk-card-img img {
position: relative;
z-index: 2;
max-width: 90%;
max-height: 90%;
object-fit: contain;
}

.sf-talk-img {
max-width: 700px;
position: relative;
width: 100%;
height: 60vh;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
background-size: cover; /* Equivalent to object-fit: cover */
background-position: center;
}

.sf-talk-img::before {
content: '';
position: absolute;
top: -10%;
left: -10%;
width: 120%;
height: 120%;
background-image: inherit; /* Inherits background from inline style */
background-size: cover;
background-position: center;
filter: blur(20px); /* Apply blur */
z-index: 1; /* Layer this behind the image */
}

.sf-talk-img img {
position: relative;
z-index: 2;
max-width: 90%;
max-height: 90%;
object-fit: contain;
}

.sf-bg-blurred>div:first-child {
Expand Down
Binary file added assets/images/talks/2024-10-11-01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/talks/2024-10-11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/talks/2024-10-18.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1761a98

Please sign in to comment.