mirror of
https://github.com/picocss/pico.git
synced 2025-04-24 18:26:14 -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
|
@ -198,6 +198,30 @@ hgroup {
|
|||
// Paragraphs
|
||||
p {
|
||||
margin-bottom: $spacing-typography/2;
|
||||
|
||||
& ~ h1 {
|
||||
margin-top: $spacing-typography*2;
|
||||
}
|
||||
|
||||
& ~ h2 {
|
||||
margin-top: $spacing-typography*1.75;
|
||||
}
|
||||
|
||||
& ~ h3 {
|
||||
margin-top: $spacing-typography*1.5;
|
||||
}
|
||||
|
||||
& ~ h4 {
|
||||
margin-top: $spacing-typography*1.25;
|
||||
}
|
||||
|
||||
& ~ h5 {
|
||||
margin-top: $spacing-typography*1.125;
|
||||
}
|
||||
|
||||
& ~ h6 {
|
||||
margin-top: $spacing-typography;
|
||||
}
|
||||
}
|
||||
|
||||
// Small
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue