Fixed h2 margins

This commit is contained in:
Crom (Thibaut CHARLES) 2022-11-25 16:15:23 +01:00
parent 8ab3603f73
commit 9cbafa73eb
Signed by: tcharles
GPG Key ID: 45A3D5F880B9E6D0
2 changed files with 2 additions and 2 deletions

View File

@ -274,7 +274,7 @@ nav#top:hover, nav#top:active {
float: left;
}
#section-main article h2 {
margin: -24px;
margin: 0 -24px;
padding: 0.4em 24px;
border-top: 1px solid #d5d5d5;
border-bottom: 1px solid #d5d5d5;

View File

@ -115,7 +115,7 @@ $ArticleFinalMargins: #{$ArticleBorderWidth + $ArticleBorderRadius};
}
h2{
margin: -$ArticleFinalMargins;
margin: 0 (-$ArticleFinalMargins);
padding: 0.4em $ArticleFinalMargins;
border-top: 1px solid #d5d5d5;
border-bottom: 1px solid #d5d5d5;