diff --git a/_config.yml b/_config.yml index 987ab27..e771452 100755 --- a/_config.yml +++ b/_config.yml @@ -43,7 +43,7 @@ style: h2: 48px # Spacing above H2 (only px unit) h3: 24px # Spacing above H3 (only px unit) h4: 16px # Spacing above H4 (only px unit) - paragraph: 1rem # Paragraph spacing between paragraphs + paragraph: .75rem # Paragraph spacing between paragraphs row: .5rem # Paragraph spacing between other elements line_height: 1.75 border_radius: diff --git a/source/css/_base/index.styl b/source/css/_base/index.styl index 1752d1c..92240c8 100644 --- a/source/css/_base/index.styl +++ b/source/css/_base/index.styl @@ -244,12 +244,14 @@ table max-width: 100% scrollbar() margin-right: $gap-row - vertical-align: text-top; + vertical-align: text-top th background-color: darken($color-block, 2) td,th padding: 6px 16px border: 2px solid darken($color-block, 2) + line-height: 1.5 + font-size: $fontsize-meta tr word-break: keep-all background-color: lighten($color-block, 3) diff --git a/source/css/_highlight/index.styl b/source/css/_highlight/index.styl index 2405f94..6194edd 100644 --- a/source/css/_highlight/index.styl +++ b/source/css/_highlight/index.styl @@ -92,6 +92,7 @@ pre td,th padding: 0 border: none + line-height: 1.5 margin: 0 background-color: transparent border: none diff --git a/source/css/_layout/article.styl b/source/css/_layout/article.styl index a06bdbc..1ff56b9 100644 --- a/source/css/_layout/article.styl +++ b/source/css/_layout/article.styl @@ -130,8 +130,8 @@ margin-top: 0 margin-bottom: 0 li - margin-top: $gap-row * 0.5 - margin-bottom: $gap-row * 0.5 + margin-top: 2px + margin-bottom: 2px li margin-top: 0 margin-bottom: 0 diff --git a/source/css/_layout/main.styl b/source/css/_layout/main.styl index eb0e1fa..02a5c01 100644 --- a/source/css/_layout/main.styl +++ b/source/css/_layout/main.styl @@ -72,7 +72,6 @@ mobile-post() .post div.meta - margin-bottom: $gap .title font-size: $fontsize-h3 @media screen and (max-width: $device-mobile) @@ -128,6 +127,7 @@ font-size: $fontsize-h1 section.meta color: $color-meta + margin-bottom: $gap &#header-meta margin-top: 0 margin-bottom: 1 * $gap diff --git a/source/css/_tag-plugins/span.styl b/source/css/_tag-plugins/span.styl index ec086a5..ca43780 100644 --- a/source/css/_tag-plugins/span.styl +++ b/source/css/_tag-plugins/span.styl @@ -4,7 +4,7 @@ p.p.subtitle color: $color-theme padding-top: $gap-row * 2 &:first-child - padding-top: 0 + padding-top: $gap-row span.p,p.p &.logo diff --git a/source/css/_tag-plugins/tabs.styl b/source/css/_tag-plugins/tabs.styl index b9135a8..5188db2 100644 --- a/source/css/_tag-plugins/tabs.styl +++ b/source/css/_tag-plugins/tabs.styl @@ -24,6 +24,7 @@ div.tabs padding: 8px 8px 0 8px background: $color-block border-radius: $tbr $tbr 0 0 + line-height: 1.5 li.tab list-style-type: none margin-top: 0