From a43db020b16aaa8ccc40b6474b2e9944961aa32d Mon Sep 17 00:00:00 2001 From: Shan Carter Date: Tue, 24 Oct 2017 09:31:37 -0700 Subject: [PATCH] Article style tweaks --- src/components/d-title.js | 2 +- src/styles/d-article.css | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/d-title.js b/src/components/d-title.js index 199a321..8fb35d8 100644 --- a/src/components/d-title.js +++ b/src/components/d-title.js @@ -12,7 +12,7 @@ const T = Template('d-title', ` ::slotted(h1) { grid-column: text; font-size: 60px; - font-weight: 600; + font-weight: 700; line-height: 1.05em; margin: 0 0 1rem; } diff --git a/src/styles/d-article.css b/src/styles/d-article.css index 050b4e3..1757650 100644 --- a/src/styles/d-article.css +++ b/src/styles/d-article.css @@ -17,7 +17,7 @@ d-article > * { @media(min-width: 1024px) { d-article { - font-size: 1rem; + font-size: 1.06rem; line-height: 1.7em; } } @@ -102,7 +102,6 @@ d-article blockquote { margin-bottom: 1em; margin-left: 0; margin-right: 0; - -webkit-font-smoothing: antialiased; } d-article blockquote { @@ -132,11 +131,15 @@ d-article ol { } d-article li { - margin-bottom: 24px; + margin-bottom: 1em; margin-left: 0; padding-left: 0; } +d-article li:last-child { + margin-bottom: 0; +} + d-article pre { font-size: 14px; margin-bottom: 20px;