Add full width background to SDG headers
We couldn't do it before because we didn't have a way to add full width backgrounds to elements which were inside a ".row"-like element.
This commit is contained in:
@@ -1,13 +1,12 @@
|
|||||||
.sdg-goal-show {
|
.sdg-goal-show {
|
||||||
|
|
||||||
> :not(.feeds-participation) {
|
> :not(.feeds-participation):not(.sdg-goal) {
|
||||||
@include grid-column-gutter;
|
@include grid-column-gutter;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sdg-goal {
|
.sdg-goal {
|
||||||
|
|
||||||
> header {
|
> header {
|
||||||
@include grid-column-gutter;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -30,6 +29,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
|
@include grid-column-gutter;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
font-family: "Oswald" !important;
|
font-family: "Oswald" !important;
|
||||||
@@ -55,6 +55,7 @@
|
|||||||
|
|
||||||
@each $code, $color in $sdg-colors {
|
@each $code, $color in $sdg-colors {
|
||||||
&.sdg-goal-#{$code} > header {
|
&.sdg-goal-#{$code} > header {
|
||||||
|
@include full-width-background;
|
||||||
background-color: $color;
|
background-color: $color;
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
@@ -64,6 +65,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.goal-description-content {
|
.goal-description-content {
|
||||||
|
@include grid-column-gutter;
|
||||||
|
|
||||||
.read-more {
|
.read-more {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
Reference in New Issue
Block a user