Files
grecia/app/assets/stylesheets/sdg/goals/index.scss
taitus 4a880fc1c5 Render header on sdg index page
We no longer show the static header when we have created a
custom header.
2021-02-26 16:20:57 +01:00

55 lines
873 B
SCSS

.sdg-goals-index {
.section-header {
h1 {
@include grid-row;
@include grid-column-gutter;
&::before {
@extend %font-icon;
background: image-url("sdg.svg");
display: inline-block;
height: 1.5em;
width: 1.5em;
}
}
}
.sdg-goal-list {
$spacing: 1.5%;
@include sdg-goal-list($spacing);
@include grid-row;
@include grid-column-gutter;
max-width: 60rem;
width: 100%;
li {
line-height: 0;
margin-left: $spacing / 2;
margin-right: $spacing / 2;
width: calc(100% / 6 - #{$spacing});
.sdg-goal-icon {
width: 100%;
}
}
}
.sdg-phase {
@include grid-row;
@include grid-column-gutter;
.cards-container {
@include grid-row-nest;
}
}
.background-header {
margin-bottom: $line-height;
}
}