mirror of
https://github.com/picocss/pico.git
synced 2025-04-24 02:16:15 -04:00
Better heading spacings after <p>
This commit is contained in:
parent
6273184242
commit
b319b6785a
9 changed files with 124 additions and 4 deletions
|
@ -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%;
|
||||
}
|
||||
|
|
2
css/pico.classless.min.css
vendored
2
css/pico.classless.min.css
vendored
File diff suppressed because one or more lines are too long
24
css/pico.css
24
css/pico.css
|
@ -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%;
|
||||
}
|
||||
|
|
|
@ -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%;
|
||||
}
|
||||
|
|
2
css/pico.fluid.classless.min.css
vendored
2
css/pico.fluid.classless.min.css
vendored
File diff suppressed because one or more lines are too long
2
css/pico.min.css
vendored
2
css/pico.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -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%;
|
||||
}
|
||||
|
|
2
css/pico.slim.min.css
vendored
2
css/pico.slim.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue