Skip to content

Commit 09eee6a

Browse files
committed
change spacing in events layout and h following p
1 parent 0535ed5 commit 09eee6a

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

_layouts/event.html

+5-8
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,14 @@
22
layout: default
33
---
44

5-
<h2> {{ page.date | date: "%m/%d/%Y" }} </h2>
6-
7-
<br />
5+
<h4 class='text-muted mb-4'> {{ page.date | date: "%m/%d/%Y" }} </h4>
86

97
{% if page.image %}
10-
<img class="img-fluid mb-3" src="{{site.url}}{{page.image}}" alt="{{page.title}}" />
8+
<img class="img-fluid w-100 mb-4" src="{{site.url}}{{page.image}}" alt="{{page.title}}" />
119
{% endif %}
1210

13-
{{ content }}
14-
15-
<br />
16-
<br />
11+
<div class='content mb-5'>
12+
{{ content }}
13+
</div>
1714

1815
<p>Back to <a href="/history/">History</a></p>

assets/css/styles.scss

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ h1,h2,h3,h4,h5 {
88
font-family: 'Arvo', serif;
99
}
1010

11+
p + h1,p + h2,p + h3,p + h4,p + h5 {
12+
margin-top: $spacer * 1.5;
13+
}
14+
1115
figure {
1216
float: left;
1317
width: 20%;

0 commit comments

Comments
 (0)