Skip to content

Commit 718ba97

Browse files
committed
Adding blog post-specific styles for readability
1 parent 3c994ca commit 718ba97

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

_layouts/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: default
33
---
4-
<article>
4+
<article class="c-article">
55
<header>
66
{% if page.title %}<h2>{{ page.title }}</h2>{% endif %}
77
<ul>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.c-article {
2+
color: #333;
3+
font-size: 18px;
4+
line-height: 1.9;
5+
}

styles/styles.drupal-pattern-lab.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
@import '06-components/components.vendor.rouge-github';
2727
@import '06-components/components.buttons';
28+
@import '06-components/components.article';
2829
@import '06-components/components.page';
2930
@import '06-components/components.global-header';
3031
@import '06-components/components.global-footer';

0 commit comments

Comments
 (0)