Skip to content

Commit 5b731bc

Browse files
committed
Talk title size
1 parent 12fda28 commit 5b731bc

File tree

3 files changed

+58
-57
lines changed

3 files changed

+58
-57
lines changed

_layouts/meetup.html

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -7,67 +7,67 @@
77

88
<main>
99
<article id="view-meetup">
10-
<section>
11-
<h2>Host</h2>
12-
<a href="{{ site.data.companies[page.host].url }}">{{ site.data.companies[page.host].name }}</a>
13-
</section>
10+
<section>
11+
<h2>Host</h2>
12+
<a href="{{ site.data.companies[page.host].url }}">{{ site.data.companies[page.host].name }}</a>
13+
</section>
1414

15-
<section>
16-
<h2>Speakers</h2>
17-
<ul>
18-
{% for talk in page.talks %}
19-
{% for speaker in talk.speakers %}
20-
<li>
21-
{% if site.data.people[speaker].github %}
22-
<a href="https://github.com/{{ site.data.people[speaker].github }}">
23-
<img src="https://github.com/{{ site.data.people[speaker].github }}.png?size=30" alt="{{ site.data.people[speaker].name }}" style="border-radius: 50%; width: 30px"/>{{ site.data.people[speaker].name }}
24-
</a>
25-
{% else %}
26-
{{ site.data.people[speaker].name }}
27-
{% endif %}
28-
</li>
29-
{% endfor %}
30-
{% endfor %}
31-
</ul>
32-
</section>
15+
<section>
16+
<h2>Speakers</h2>
17+
<ul>
18+
{% for talk in page.talks %}
19+
{% for speaker in talk.speakers %}
20+
<li>
21+
{% if site.data.people[speaker].github %}
22+
<a href="https://github.com/{{ site.data.people[speaker].github }}">
23+
<img src="https://github.com/{{ site.data.people[speaker].github }}.png?size=30" alt="{{ site.data.people[speaker].name }}" style="border-radius: 50%; width: 30px"/>{{ site.data.people[speaker].name }}
24+
</a>
25+
{% else %}
26+
{{ site.data.people[speaker].name }}
27+
{% endif %}
28+
</li>
29+
{% endfor %}
30+
{% endfor %}
31+
</ul>
32+
</section>
3333

34-
<section>
35-
<h2>Charlas</h2>
34+
<section>
35+
<h2>Charlas</h2>
3636

37-
{% for talk in page.talks %}
38-
<div class="talk">
39-
{% assign speakers = "" | split: ',' %}
37+
{% for talk in page.talks %}
38+
<div class="talk">
39+
{% assign speakers = "" | split: ',' %}
4040

41-
{% for speaker in talk.speakers %}
42-
{% assign speakers = speakers | push: site.data.people[speaker].name %}
43-
{% endfor %}
41+
{% for speaker in talk.speakers %}
42+
{% assign speakers = speakers | push: site.data.people[speaker].name %}
43+
{% endfor %}
4444

45-
<h3 id="{{ talk.title | slugify }}">
46-
<a href="#{{ talk.title | slugify }}">
47-
<span>{{ talk.title }}</span>
48-
</a>
49-
<p>{{ speakers | join: ", " }}</p>
50-
</h3>
45+
<h3 id="{{ talk.title | slugify }}">
46+
<a href="#{{ talk.title | slugify }}">
47+
<span class="talk-title">{{ talk.title }}</span>
48+
</a>
49+
<p>{{ speakers | join: ", " }}</p>
50+
</h3>
5151

52-
<p>{{ talk.description }}<p>
52+
<p>{{ talk.description }}<p>
5353

54-
{% if talk.recording %}
55-
<div class="keep-aspect-ratio">
56-
<iframe src="{{ talk.recording }}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen>
57-
</iframe>
58-
</div>
59-
{% endif %}
54+
{% if talk.recording %}
55+
<div class="keep-aspect-ratio">
56+
<iframe src="{{ talk.recording }}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen>
57+
</iframe>
58+
</div>
59+
{% endif %}
6060

61-
{% if talk.slides %}
62-
<div class="keep-aspect-ratio">
63-
<iframe src="{{ talk.slides }}" frameborder="0" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true">
64-
</iframe>
65-
</div>
66-
{% endif %}
61+
{% if talk.slides %}
62+
<div class="keep-aspect-ratio">
63+
<iframe src="{{ talk.slides }}" frameborder="0" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true">
64+
</iframe>
65+
</div>
66+
{% endif %}
6767

68-
</div>
69-
{% endfor %}
70-
</section>
68+
</div>
69+
{% endfor %}
70+
</section>
7171
<section> {{ content }} </section>
7272
</article>
7373
</main>

_sass/meetups.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
#meetups {
22
background-color: #F6EEEC;
33

4-
h3 {
5-
margin-top: -50px;
6-
padding-top: 90px;
7-
}
8-
94
header {
105
background-color: #3967D1;
116
border: 0 solid black;

_sass/view_meetup.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,11 @@
5555

5656
.talk {
5757
margin-bottom: 2rem;
58+
59+
h3 {
60+
a {
61+
font-size: 1.75rem;
62+
}
63+
}
5864
}
5965
}

0 commit comments

Comments
 (0)