Skip to content

Commit a2166a8

Browse files
committed
improve headline look
1 parent e2aa9e2 commit a2166a8

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

themes/openrail/assets/sass/custom/openrail.scss

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
// -----------------------------------------------------------------------------
22
// GENERAL
3+
h3 {
4+
font-size: 1.8rem;
5+
}
6+
7+
h4 {
8+
font-size: 1.4rem;
9+
}
10+
311
p {
412
margin-bottom: 1rem;
513
}
@@ -118,7 +126,7 @@ div.people-gallery {
118126
}
119127

120128
// Name of person
121-
h4 {
129+
h5 {
122130
font-size: 1.1rem;
123131
margin-bottom: 0;
124132
font-weight: 400;

themes/openrail/layouts/shortcodes/people/person.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{ $data := (index .Site.Data.people .Params.id) -}}
22
<section class="person" id="{{ .Params.id }}">
33
<img src="/images/people/{{ with $data.img }}{{ . }}{{ else }}default.jpg{{ end }}" alt="Picture of {{ $data.name }}">
4-
<h4>{{ $data.name }}</h4>
4+
<h5>{{ $data.name }}</h5>
55
{{ with $data.openrail_role -}}
66
<p><em>{{ . }}</em></p>
77
{{ end -}}

0 commit comments

Comments
 (0)