Skip to content

Commit 0126d8c

Browse files
authored
Reduce H1 and H2 sizes (#482)
Slightly reduces header sizes to improve readability and removes excess whitespace.
1 parent 52704f6 commit 0126d8c

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

assets/stylesheets/_screen.scss

+6-3
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ p {
5353

5454
h1 {
5555
margin-bottom: 0.5em;
56-
font-size: 3em;
56+
font-size: 2.75em;
5757
font-weight: 300;
5858
line-height: 1;
5959
&.active + .main-nav {
@@ -63,7 +63,7 @@ h1 {
6363

6464
h2 {
6565
margin-bottom: 0.5em;
66-
font-size: 2.5em;
66+
font-size: 2.25em;
6767
font-weight: 300;
6868
line-height: 1;
6969
}
@@ -481,12 +481,15 @@ article {
481481
header {
482482
width: 100%;
483483
display: inline-block;
484-
padding-bottom: 1.5em;
485484

486485
h1 {
487486
padding-bottom: 0.125em;
488487
}
489488

489+
h2 {
490+
padding-top: 0em;
491+
}
492+
490493
time {
491494
display: block;
492495
text-transform: uppercase;

blog/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{% for post in site.posts %}
88
<article id="{{ post.id }}" class="summary">
99
<header>
10-
<h1 class="title"><a href="{{ post.url }}">{{ post.title }}</a></h1>
10+
<h2 class="title"><a href="{{ post.url }}">{{ post.title }}</a></h2>
1111
<time pubdate datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%B %-d, %Y" }}</time>
1212
</header>
1313
<section class="excerpt">

0 commit comments

Comments
 (0)