Skip to content

Commit 9802a6e

Browse files
committed
Minor formating fixes
1 parent ef6de5f commit 9802a6e

File tree

5 files changed

+20
-44
lines changed

5 files changed

+20
-44
lines changed

_layouts/post.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<div class="col-lg-10 col-md-10 col-xs-10">
1313
<header class="post-header">
1414
<h1 class="post-title remove-bottom">{{ page.title }}</h1>
15-
<p class="post-meta">
15+
<p class="post-meta half-top">
1616
{{ page.date | date: "%b %-d, %Y" }}
1717
by <strong>
1818
{% assign author_team = false %}

_sass/_layout.scss

+3-7
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,12 @@
1414
margin: 0 0 ($line-height-computed / 2) 0;
1515
font-weight: 200;
1616
font-family: $base-font-family;
17-
color: $gray-base;
1817
letter-spacing: 1px;
1918
}
2019

21-
h1 { font-size: 36px; }
22-
h2 { font-size: 30px; }
23-
h3 { font-size: 24px; }
24-
h4 { font-size: 21px; }
25-
h5 { font-size: 18px; }
26-
20+
h2, h3, h4 {
21+
color: $gray-dark;
22+
}
2723

2824
h1 i,
2925
h2 i,

_sass/_post.scss

+9-29
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
margin-bottom: ($spacing-unit / 3);
1515
font-family: $base-font-family;
1616
letter-spacing: 0px;
17-
line-height: 1.5;
17+
line-height: 1.2;
1818

1919
a.post-link {
20-
font-size: 24px;
20+
font-size: 20px;
2121
font-weight: normal;
2222
color: $gray-base;
2323
}
@@ -26,9 +26,6 @@
2626
color: $brand-primary;
2727
}
2828

29-
@include media-query($on-laptop) {
30-
font-size: 36px;
31-
}
3229
}
3330

3431
.post-content {
@@ -38,34 +35,17 @@
3835
h2, h3, h4 {
3936
margin-top: $spacing-unit;
4037
margin-bottom: $line-height-computed / 2;
41-
}
42-
43-
h2 {
44-
font-size: 26px;
45-
46-
@include media-query($on-laptop) {
47-
font-size: 26px;
48-
}
49-
}
50-
51-
h3 {
52-
font-size: 22px;
53-
54-
@include media-query($on-laptop) {
55-
font-size: 22px;
56-
}
57-
}
58-
59-
h4 {
60-
font-size: 18px;
61-
62-
@include media-query($on-laptop) {
63-
font-size: 18px;
64-
}
38+
font-weight: bold;
6539
}
6640

6741
img {
6842
margin: $spacing-unit auto;
6943
display: block;
7044
}
45+
46+
ul {
47+
//color: $gray-dark;
48+
list-style-type: square;
49+
}
50+
7151
}

_sass/_variables.scss

+6-6
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@ $font-size-base: 14px !default;
8989
$font-size-large: 18px !default; // ~18px
9090
$font-size-small: 12px !default; // ~12px
9191

92-
$font-size-h1: 48px !default;
93-
$font-size-h2: 36px !default;
94-
$font-size-h3: 30px !default;
95-
$font-size-h4: 24px !default;
96-
$font-size-h5: 21px !default;
97-
$font-size-h6: 18px !default;
92+
$font-size-h1: 22px !default;
93+
$font-size-h2: 18px !default;
94+
$font-size-h3: 14px !default;
95+
$font-size-h4: 14px !default;
96+
$font-size-h5: 12px !default;
97+
$font-size-h6: 12px !default;
9898

9999

100100
//** Unit-less `line-height` for use in components like buttons.

blog.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{% capture post_year %}{{ post.date | date: "%Y" }}{% endcapture %}
1212
{% if post_year != current_year %}
1313
{% unless forloop.first %}</ul>{% endunless %}
14-
<p>{{ post_year }}</p>
14+
<h2>{{ post_year }}</h2>
1515
<ul class="post-list">
1616
{% capture current_year %}{{ post_year }}{% endcapture %}
1717
{% endif %}

0 commit comments

Comments
 (0)