Group styles setting padding to the main content

So we don't add the same lines to pretty much every stylesheet we
create.

Eventually we'll remove this code and add a padding to every <main>
element, or (even better) to the <body> element itself.
This commit is contained in:
Javi Martín
2021-07-10 02:49:58 +02:00
parent a71d132164
commit c4542457ac
5 changed files with 8 additions and 5 deletions

View File

@@ -1,6 +1,5 @@
.budget-investment-new {
$border-width: 4px;
@include grid-column-gutter;
h1 {
margin-bottom: 0;

View File

@@ -66,6 +66,12 @@ body {
main {
display: block;
&.budget-investment-new,
&.sdg-goals-index,
&.sdg-goal-show {
@include grid-column-gutter;
}
}
h1,

View File

@@ -1,5 +1,4 @@
.sdg-goals-index {
@include grid-column-gutter;
.section-header {

View File

@@ -1,5 +1,4 @@
.sdg-goal-show {
@include grid-column-gutter;
.sdg-goal {