Skip to content

Commit 6c5d0fc

Browse files
authored
Merge pull request #55 from code4lib/timeHeadings
Schedule times are not a heading
2 parents db586d3 + b212fa4 commit 6c5d0fc

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

_includes/presentation_timeline.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ <h2 class="cd-timeline-content-title">{{ event.title }}</h2>
5555
{% endif %}
5656
</div>
5757
<div class="col-sm-5 col-12 text-right">
58-
<h2 class="cd-timeline-content-title">
58+
<p class="cd-timeline-content-title cd-timeline-content-time"><strong>
5959
{% capture eventTime %}{{ event.time | replace: '-', ' ' }}{% endcapture %}
6060
{% capture beginTime %}{{ eventTime | truncatewords: 1, '' }}{% endcapture %}
6161
{% capture endTime %}{{ eventTime | replace: beginTime, '' }}{% endcapture %}
6262
{{ beginTime | date: "%l:%M%p" | strip }} to {{ endTime | date: "%l:%M%p" | strip }}
63-
</h2>
63+
</strong></p>
6464
<div class="timezone">{{ site.data.conf.timezone }} Time</div>
6565
</div>
6666
</div>
@@ -72,7 +72,7 @@ <h2 class="cd-timeline-content-title">
7272
{% if event.groupId == 'key-open' %}
7373
{% elsif event.groupId == 'key-close' %}
7474
{% else %}
75-
75+
7676
<h3 class="h4 talk-title">{% if talk.status == "canceled" %}<s>{% endif %}<a href="{{ talk.url }}">{{ talk.title }}</a>{% if talk.status == "canceled" %}</s>{% endif %}</h3>
7777
{% endif %}
7878
</div>

assets/_scss/_timeline.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,14 @@
208208
font-size: 14px;
209209
}
210210

211+
.cd-timeline-content .cd-timeline-content-time {
212+
font-size: 20px;
213+
letter-spacing: .02em;
214+
line-height: 1.1;
215+
margin: 0;
216+
padding: 0;
217+
}
218+
211219
.cd-timeline-content .cd-read-more,
212220
.cd-timeline-content .cd-date {
213221
display: inline-block;

0 commit comments

Comments
 (0)