Better heading spacings after <p>

This commit is contained in:
Lucas 2020-09-12 10:38:23 +07:00
parent 6273184242
commit b319b6785a
9 changed files with 124 additions and 4 deletions

View file

@ -443,6 +443,30 @@ p {
margin-bottom: 0.75rem;
}
p ~ h1 {
margin-top: 3rem;
}
p ~ h2 {
margin-top: 2.625rem;
}
p ~ h3 {
margin-top: 2.25rem;
}
p ~ h4 {
margin-top: 1.875rem;
}
p ~ h5 {
margin-top: 1.6875rem;
}
p ~ h6 {
margin-top: 1.5rem;
}
small {
font-size: 85%;
}

File diff suppressed because one or more lines are too long

View file

@ -526,6 +526,30 @@ p {
margin-bottom: 0.75rem;
}
p ~ h1 {
margin-top: 3rem;
}
p ~ h2 {
margin-top: 2.625rem;
}
p ~ h3 {
margin-top: 2.25rem;
}
p ~ h4 {
margin-top: 1.875rem;
}
p ~ h5 {
margin-top: 1.6875rem;
}
p ~ h6 {
margin-top: 1.5rem;
}
small {
font-size: 85%;
}

View file

@ -439,6 +439,30 @@ p {
margin-bottom: 0.75rem;
}
p ~ h1 {
margin-top: 3rem;
}
p ~ h2 {
margin-top: 2.625rem;
}
p ~ h3 {
margin-top: 2.25rem;
}
p ~ h4 {
margin-top: 1.875rem;
}
p ~ h5 {
margin-top: 1.6875rem;
}
p ~ h6 {
margin-top: 1.5rem;
}
small {
font-size: 85%;
}

File diff suppressed because one or more lines are too long

2
css/pico.min.css vendored

File diff suppressed because one or more lines are too long

View file

@ -464,6 +464,30 @@ p {
margin-bottom: 0.75rem;
}
p ~ h1 {
margin-top: 3rem;
}
p ~ h2 {
margin-top: 2.625rem;
}
p ~ h3 {
margin-top: 2.25rem;
}
p ~ h4 {
margin-top: 1.875rem;
}
p ~ h5 {
margin-top: 1.6875rem;
}
p ~ h6 {
margin-top: 1.5rem;
}
small {
font-size: 85%;
}

File diff suppressed because one or more lines are too long