Add background color for title of gleaning nodes

Ref #28
This commit is contained in:
benjamin melançon 2019-09-23 08:32:59 -04:00
parent ed116c56cc
commit 1a2b7a8b6b
2 changed files with 14 additions and 0 deletions

View file

@ -43,3 +43,9 @@
height: 12rem;
background-color: cadetblue;
}
// Gleanings don't have the same faux-image structure (because they'll never
// have a featured image) but we still want the title to look about the same.
.page--content-item--gleaning .page-title {
background-color: $gleaning;
}

View file

@ -8,6 +8,14 @@ $green: #478D00;
$green-gray: #8FB489;
$offwhite: #F8F8F8;
// No idea where this yellow came from, apparently Bulma, but we never set it
// yet it is the right color. Anyway i'm past trying to figure things out.
// Re-setting it here, just so that we can assign it to Gleanings, below.
$yellow: #ffdd57;
// A color for each content type
$gleaning: $yellow;
// Update Bulma's global variables.
$primary: $green;