From 1ee5c5f310ee69dbfa5d8d5ff05d3aa6856883eb Mon Sep 17 00:00:00 2001 From: Ludwig Schubert Date: Mon, 16 Oct 2017 09:51:37 -0700 Subject: [PATCH] Text size and line-height bike-shedding, second time --- src/components/d-appendix.js | 10 ++++++---- src/components/d-citation-list.js | 4 +--- src/components/d-title.js | 9 +++++++++ src/helpers/citation.js | 2 +- src/styles/d-byline.css | 2 +- src/styles/styles-base.css | 8 ++------ 6 files changed, 20 insertions(+), 15 deletions(-) diff --git a/src/components/d-appendix.js b/src/components/d-appendix.js index 4587ef8..3e84aa3 100644 --- a/src/components/d-appendix.js +++ b/src/components/d-appendix.js @@ -6,7 +6,7 @@ const T = Template('d-appendix', ` d-appendix { contain: content; - font-size: 13px; + font-size: 0.8em; line-height: 1.7em; margin-bottom: 0; border-top: 1px solid rgba(0,0,0,0.1); @@ -19,14 +19,16 @@ d-appendix h3 { grid-column: page-start / text-start; font-size: 15px; font-weight: 500; - margin-top: 15px; + margin-top: 1em; margin-bottom: 0; color: rgba(0,0,0,0.65); - line-height: 1em; +} + +d-appendix h3 + * { + margin-top: 1em; } d-appendix ol { - margin-top: 15px; padding: 0 0 0 30px; margin-left: -30px; } diff --git a/src/components/d-citation-list.js b/src/components/d-citation-list.js index 5b86328..902733e 100644 --- a/src/components/d-citation-list.js +++ b/src/components/d-citation-list.js @@ -11,12 +11,10 @@ d-citation-list { d-citation-list .references { grid-column: text; - font-size: 12px; - line-height: 20px; } d-citation-list .references .title { - font-weight: 600; + font-weight: 500; } diff --git a/src/components/d-title.js b/src/components/d-title.js index 62a63bf..6cb80ec 100644 --- a/src/components/d-title.js +++ b/src/components/d-title.js @@ -2,11 +2,13 @@ import { Template } from '../mixins/template'; const T = Template('d-title', `