mirror of
https://codeberg.org/angestoepselt/homepage.git
synced 2025-05-24 14:46:16 +00:00
Tweak some paragraph spacing
This commit is contained in:
parent
3deb534f93
commit
6a680aad38
2 changed files with 16 additions and 10 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue