From a560403fddf410168ec50d437b1419172a33b051 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Fri, 19 Jul 2019 14:09:15 -0600 Subject: [PATCH] normalize line height --- src/css/base.css | 2 +- src/css/doc.css | 1 + src/css/footer.css | 3 ++- src/css/nav.css | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/css/base.css b/src/css/base.css index bd9e94f..6656706 100644 --- a/src/css/base.css +++ b/src/css/base.css @@ -13,6 +13,7 @@ html { box-sizing: border-box; font-family: "Roboto", sans-serif; font-size: 1.1em; + line-height: 1.15; -webkit-text-size-adjust: 100%; } @@ -25,7 +26,6 @@ html { body { background: var(--body-background); color: var(--body-font-color); - line-height: 1.6; margin: 0; } diff --git a/src/css/doc.css b/src/css/doc.css index 1f3db0f..6382160 100644 --- a/src/css/doc.css +++ b/src/css/doc.css @@ -1,5 +1,6 @@ .doc { color: var(--doc-font-color); + line-height: 1.6; margin: 0 auto; max-width: var(--doc-max-width-mobile); padding: 0 1rem 4rem; diff --git a/src/css/footer.css b/src/css/footer.css index 7ca050f..dc675ef 100644 --- a/src/css/footer.css +++ b/src/css/footer.css @@ -1,7 +1,8 @@ footer.footer { - font-size: 0.75rem; background-color: var(--footer-background); color: var(--footer-font-color); + font-size: 0.75rem; + line-height: 1.6; padding: 1.5rem; } diff --git a/src/css/nav.css b/src/css/nav.css index 34be5cd..29ecd28 100644 --- a/src/css/nav.css +++ b/src/css/nav.css @@ -211,6 +211,7 @@ html.is-clipped--nav { } .nav-panel-explore .components { + line-height: 1.6; flex-grow: 1; box-shadow: inset 0 1px 5px var(--nav-panel-divider-color); background: var(--nav-secondary-background); -- 2.11.0