Merge pull request #263 from writeas/typography-alpha

Typography Improvements, Vol. I
This commit is contained in:
Matt Baer 2020-03-06 07:05:51 -06:00 committed by GitHub
commit 172a6dba25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -524,12 +524,12 @@ pre, body#post article, #post .alert, #subpage .alert, body#collection article,
margin-bottom: 1em; margin-bottom: 1em;
p { p {
text-align: left; text-align: left;
line-height: 1.4; line-height: 1.5;
} }
} }
textarea, pre, body#post article, body#collection article p { textarea, pre, body#post article, body#collection article p {
&.norm, &.sans, &.wrap { &.norm, &.sans, &.wrap {
line-height: 1.4em; line-height: 1.5;
white-space: pre-wrap; /* CSS 3 */ white-space: pre-wrap; /* CSS 3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */ white-space: -pre-wrap; /* Opera 4-6 */
@ -810,7 +810,7 @@ input {
font-weight: normal; font-weight: normal;
} }
p { p {
line-height: 1.4; line-height: 1.5;
} }
li { li {
margin: 0.3em 0; margin: 0.3em 0;
@ -990,7 +990,7 @@ footer.contain-me {
} }
li { li {
line-height: 1.4; line-height: 1.5;
.item-desc, .prog-lang { .item-desc, .prog-lang {
font-size: 0.6em; font-size: 0.6em;

View File

@ -113,7 +113,7 @@ textarea {
ul { ul {
margin: 0; margin: 0;
padding: 0 0 0 1em; padding: 0 0 0 1em;
line-height: 1.4; line-height: 1.5;
&.collections, &.posts, &.integrations { &.collections, &.posts, &.integrations {
list-style: none; list-style: none;
@ -206,7 +206,7 @@ code, textarea#embed {
font-weight: normal; font-weight: normal;
} }
p { p {
line-height: 1.4; line-height: 1.5;
} }
li { li {
margin: 0.3em 0; margin: 0.3em 0;

View File

@ -58,7 +58,7 @@ body#post article, pre, .hljs {
} }
} }
.article-p() { .article-p() {
line-height: 1.4em; line-height: 1.5;
white-space: pre-wrap; /* CSS 3 */ white-space: pre-wrap; /* CSS 3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */ white-space: -pre-wrap; /* Opera 4-6 */