Start moving color-changing code to separate 'paint' stylesheet
This commit is contained in:
parent
61210c0804
commit
4855fd770a
3 changed files with 20 additions and 21 deletions
18
web/themes/custom/geofresco/src/global/_paint.scss
Normal file
18
web/themes/custom/geofresco/src/global/_paint.scss
Normal file
|
@ -0,0 +1,18 @@
|
|||
// 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;
|
||||
}
|
||||
|
||||
.page--content-item--article .background-replacement-for-no-image {
|
||||
background-color: $article;
|
||||
}
|
||||
|
||||
.page--content-item--blog .background-replacement-for-no-image {
|
||||
background-color: $blog;
|
||||
}
|
||||
|
||||
.background-replacement-for-no-image,
|
||||
.page--content-item--collection .background-replacement-for-no-image {
|
||||
background-color: $collection;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue