Tweak some paragraph spacing

This commit is contained in:
Yannik Rödel 2021-07-08 16:29:07 +02:00
parent 3deb534f93
commit 6a680aad38
2 changed files with 16 additions and 10 deletions

View file

@ -11,6 +11,10 @@ h2 {
font-size: 2.2rem;
line-height: 4rem;
&:first-child {
margin-top: 0;
}
&:after {
content: '';
display: block;
@ -25,6 +29,10 @@ h3 {
margin: layout.$normal-gap 0;
font-size: 1.6rem;
line-height: 2rem;
&:first-child {
margin-top: 0;
}
}
section > h2:first-child {
@ -33,6 +41,14 @@ section > h2:first-child {
p {
margin: layout.$normal-gap 0;
&:first-child {
margin-top: 0;
}
&:last-child {
margin-bottom: 0;
}
}
a {

View file

@ -126,16 +126,6 @@
flex-wrap: wrap;
justify-content: space-between;
gap: layout.$normal-gap;
.content {
> p:first-child {
margin-top: 0;
}
> p:last-child {
margin-bottom: 0;
}
}
}
// ------------------------------