Skip to content

Commit

Permalink
CSS: Fix misleading size of h1
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanLorenzo committed Jun 7, 2017
1 parent 78a4f11 commit eec3e5c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<meta name="description" content="{{ page.content | strip_html | truncate: 160 }}">

<link rel="icon" href="{{ "/favicon.ico" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ "/assets/main.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">

<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" href="{{ site.subscribe_rss }}" title="{{ site.title }}" type="application/atom+xml">
Expand Down
8 changes: 8 additions & 0 deletions _sass/_posts.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.post-content {
h1 {
font-size: 38px;
@media screen and (max-width: 800px) {
font-size: 32px;
}
}
}
5 changes: 5 additions & 0 deletions css/main.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
---

@import "{{ site.theme }}";
@import "posts";

0 comments on commit eec3e5c

Please sign in to comment.