From 71224d68a268a50438e11a69a6850eba00e39300 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Fri, 14 Feb 2020 08:40:06 -0500 Subject: [PATCH 1/2] Change line-height to 1.5 --- less/core.less | 10 +++++----- less/new-core.less | 4 ++-- less/post-temp.less | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/less/core.less b/less/core.less index fe8a28d..83a9d2a 100644 --- a/less/core.less +++ b/less/core.less @@ -524,12 +524,12 @@ pre, body#post article, #post .alert, #subpage .alert, body#collection article, margin-bottom: 1em; p { text-align: left; - line-height: 1.4; + line-height: 1.5; } } textarea, pre, body#post article, body#collection article p { &.norm, &.sans, &.wrap { - line-height: 1.4em; + line-height: 1.5; white-space: pre-wrap; /* CSS 3 */ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ white-space: -pre-wrap; /* Opera 4-6 */ @@ -644,7 +644,7 @@ body#collection article, body#subpage article { padding-bottom: 0; .book { h2 { - font-size: 1.4em; + font-size: 1.5; } a.hidden.action { color: #666; @@ -813,7 +813,7 @@ input { font-weight: normal; } p { - line-height: 1.4; + line-height: 1.5; } li { margin: 0.3em 0; @@ -1007,7 +1007,7 @@ footer.contain-me { } li { - line-height: 1.4; + line-height: 1.5; .item-desc, .prog-lang { font-size: 0.6em; diff --git a/less/new-core.less b/less/new-core.less index 802f34d..d618042 100644 --- a/less/new-core.less +++ b/less/new-core.less @@ -113,7 +113,7 @@ textarea { ul { margin: 0; padding: 0 0 0 1em; - line-height: 1.4; + line-height: 1.5; &.collections, &.posts, &.integrations { list-style: none; @@ -206,7 +206,7 @@ code, textarea#embed { font-weight: normal; } p { - line-height: 1.4; + line-height: 1.5; } li { margin: 0.3em 0; diff --git a/less/post-temp.less b/less/post-temp.less index 8173864..1a05280 100644 --- a/less/post-temp.less +++ b/less/post-temp.less @@ -58,7 +58,7 @@ body#post article, pre, .hljs { } } .article-p() { - line-height: 1.4em; + line-height: 1.5; white-space: pre-wrap; /* CSS 3 */ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ white-space: -pre-wrap; /* Opera 4-6 */ From eda267e30aa7a4af797b7405c5aa809fea0c53a4 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Wed, 4 Mar 2020 10:14:33 -0600 Subject: [PATCH 2/2] Revert accidental h2 font-size change --- less/core.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/less/core.less b/less/core.less index 83a9d2a..147d714 100644 --- a/less/core.less +++ b/less/core.less @@ -644,7 +644,7 @@ body#collection article, body#subpage article { padding-bottom: 0; .book { h2 { - font-size: 1.5; + font-size: 1.4em; } a.hidden.action { color: #666;