fix excessive spacing around headers

This commit is contained in:
Ben Harris 2022-03-18 14:46:39 -04:00
parent bfdb0e25ee
commit c629d9ed56
6 changed files with 1162 additions and 128 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -217,33 +217,8 @@ ul.table-of-contents {
}
// Headings
h1 {
h1, h2 {
font-weight: bold;
text-decoration: underline;
margin-top: @line-height-with-unit * 2;
margin-bottom: @line-height-with-unit;
}
h2 {
font-weight: bold;
margin-top: @line-height-with-unit * 2;
margin-bottom: @line-height-with-unit;
}
h3 {
font-style: italic;
margin-top: @line-height-with-unit * 2;
margin-bottom: @line-height-with-unit;
}
h4 {
margin-top: @line-height-with-unit * 2;
margin-bottom: @line-height-with-unit;
}
h5 {
margin-top: @line-height-with-unit * 2;
margin-bottom: @line-height-with-unit;
}
h6 {
margin-top: @line-height-with-unit * 2;
margin-bottom: @line-height-with-unit;
}
// Space between paragraphs

View File

@ -63,13 +63,13 @@ Palette URL: http://paletton.com/#uid=12U0u0knnfti5bkladVnSlVo6tw
@font-family-serif: @font-family-monospace;
@font-family-base: @font-family-monospace;
@font-size-base: 16px;
@font-size-large: @font-size-base;
@font-size-small: @font-size-base;
@font-size-h1: @font-size-base;
@font-size-h2: @font-size-base;
@font-size-h3: @font-size-base;
@font-size-h4: @font-size-base;
@font-size-h5: @font-size-base;
@font-size-large: ceil(@font-size-base * 1.25);
@font-size-small: ceil(@font-size-base * 0.85);
@font-size-h1: floor((@font-size-base * 3));
@font-size-h2: floor((@font-size-base * 2.5));
@font-size-h3: floor((@font-size-base * 2));
@font-size-h4: floor((@font-size-base * 1.5));
@font-size-h5: floor((@font-size-base * 1.25));
@font-size-h6: @font-size-base;
@line-height-computed: floor(@font-size-base * @line-height-base);
@headings-font-family: @font-family-base;

View File

@ -61,13 +61,13 @@ Palette URL: http://paletton.com/#uid=12U0u0knnfti5bkladVnSlVo6tw
@font-family-serif: @font-family-monospace;
@font-family-base: @font-family-monospace;
@font-size-base: 16px;
@font-size-large: @font-size-base;
@font-size-small: @font-size-base;
@font-size-h1: @font-size-base;
@font-size-h2: @font-size-base;
@font-size-h3: @font-size-base;
@font-size-h4: @font-size-base;
@font-size-h5: @font-size-base;
@font-size-large: ceil(@font-size-base * 1.25);
@font-size-small: ceil(@font-size-base * 0.85);
@font-size-h1: floor((@font-size-base * 3));
@font-size-h2: floor((@font-size-base * 2.5));
@font-size-h3: floor((@font-size-base * 2));
@font-size-h4: floor((@font-size-base * 1.5));
@font-size-h5: floor((@font-size-base * 1.25));
@font-size-h6: @font-size-base;
@line-height-computed: floor(@font-size-base * @line-height-base);
@headings-font-family: @font-family-base;

1231
css/package-lock.json generated

File diff suppressed because it is too large Load Diff