Skip to content

Commit 5b8b3a7

Browse files
committed
Added gallery, newsletter, hep-group and made general improvements
1 parent 322fd5d commit 5b8b3a7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1437
-66
lines changed

404.html

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,7 @@
33
layout: page
44
---
55

6-
<style type="text/css" media="screen">
7-
.container {
8-
margin: 10px auto;
9-
max-width: 600px;
10-
text-align: center;
11-
}
12-
h1 {
13-
margin: 30px 0;
14-
font-size: 4em;
15-
line-height: 1;
16-
letter-spacing: -1px;
17-
}
18-
</style>
19-
20-
<div class="container">
6+
<div class="container" class="text-align: center;">
217
<h1>404</h1>
228

239
<p><strong>Page not found :(</strong></p>

_config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,9 @@ defaults:
122122
type: lectures
123123
values:
124124
topic: "Other Topics"
125+
- scope:
126+
path: "_lectures/hep-group"
127+
type: lectures
128+
values:
129+
topic: "HEP Group"
125130

_data/openday.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

_data/team/2025.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ convenors:
1515
email: saivinayg@iisc.ac.in
1616
picture: "/assets/img/team/2025/vinay.webp"
1717

18+
volunteer-team-name: "Design and Development Team"
19+
1820
volunteers:
21+
1922
- name: "Aishik Nath"
2023
role: Design and Dev Team Lead
2124
email: aishiknath@iisc.ac.in

_includes/post_list.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ <h4 class="glow">{{ post.title }}</h4>
2424
</div>
2525
{% elsif topic %}
2626
<div>
27-
<div class="item-image">
27+
<!-- <div class="item-image">
2828
{% assign slug = topic | slugify %}
2929
{% assign address = '/assets/img/lectures/' | append: slug | append: '.webp' %}
3030
<img src="{{ address }}" alt="{{ topic }}" class="" onerror="this.onerror=null;this.src='/assets/img/defaults/notopic.webp';">
31-
</div>
31+
</div> -->
3232
<div class="item-info">
33-
<h4 class="glow">{{ topic }}</h4>
33+
<h4 class="glow no-margin">{{ topic }}</h4>
3434
</div>
3535
</div>
3636
<div>

_layouts/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ <h1 class="post-title p-name glow" itemprop="name headline">{{ page.title | esca
1616
{%- endif -%}</p>
1717
</header>
1818

19-
<div class="post-content e-content" itemprop="articleBody">
19+
<div class="post-content e-content markdown-body" itemprop="articleBody">
2020
{{ content }}
2121
</div>
2222

_layouts/topic-page.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
---
44

55
<div class="container">
6-
<a class="boxglow nav-height-adjust" href="{{ site.baseurl }}/lectures/"><span class="material-symbols-outlined norm">arrow_back</span> All Lectures</a>
6+
<a class="boxglow nav-height-adjust" href="{{ site.baseurl }}/lectures/"><span class="material-symbols-outlined norm">arrow_back</span> All Topics</a>
77
<h1 class="pagetitle">{{ page.topic }}</h1>
8-
9-
{{ content }}
8+
<div class="markdown-body">
9+
{{ content }}
10+
</div>
1011
<ul class="item-list">
1112
{% assign filtered_lectures = site.lectures | where: "topic", page.topic %}
1213
{% for post in filtered_lectures %}

_lectures/hep-group/index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
layout: topic-page
3+
permalink: '/lectures/hep-group/'
4+
title: HEP Group
5+
---
6+
7+
| Session Name | Speaker | Material Link |
8+
| ------------ | ------- | ------------- |
9+
| To be filled | To be filled | To be filled |

_sass/base.scss

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
body {
4646
background-color: var(--bg);
4747
color: var(--foreground);
48+
font-family: var(--sans-font);
4849
}
4950

5051
nav.navbar {
@@ -181,6 +182,9 @@ hr {
181182
}
182183

183184

185+
.read-more {
186+
margin-top: 2rem;
187+
}
184188

185189
// Utitlity
186190

@@ -201,6 +205,10 @@ hr {
201205
}
202206
}
203207

208+
.no-margin {
209+
margin: 0;
210+
}
211+
204212

205213

206214
// Picture header
@@ -281,6 +289,9 @@ footer {
281289

282290
.footer-right {
283291
padding: var(--padding);
292+
@include media-query($on-palm) {
293+
padding: 1rem;
294+
}
284295
display: flex;
285296
flex-direction: column;
286297
justify-content: space-between;
@@ -297,8 +308,11 @@ footer {
297308
}
298309
}
299310

311+
@import "markdown.scss";
300312
@import "index";
301313
@import "team";
302314
@import "open-day";
303315
@import "post";
304-
@import "utils";
316+
@import "newsletter";
317+
@import "gallery";
318+
@import "utils";

_sass/gallery.scss

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
.gallery {
2+
columns: 250px;
3+
column-gap: 1em;
4+
5+
.gallery-item {
6+
border-radius: var(--border-radius);
7+
overflow: hidden;
8+
margin-bottom: 1em;
9+
position: relative;
10+
11+
img {
12+
width: 100%;
13+
}
14+
15+
p {
16+
position: absolute;
17+
bottom: 0;
18+
left: 0;
19+
width: 100%;
20+
background: rgba(0, 0, 0, 0.5);
21+
color: white;
22+
margin: 0;
23+
transform: translateY(100%);
24+
transition: transform 0.3s ease;
25+
font-size: var(--size--1);
26+
27+
}
28+
29+
&:hover p {
30+
transform: translateY(0);
31+
}
32+
}
33+
}

0 commit comments

Comments
 (0)