Inject css to add shadow behind whiter text in hero images

This commit is contained in:
Keegan Rankin 2024-01-23 12:32:23 -08:00
parent 65f42cec88
commit 350d75ed69

View file

@ -0,0 +1,22 @@
uuid: 882955ac-8ef5-465a-b984-686e11a30368
langcode: en
status: true
dependencies:
module:
- block_visibility_groups
id: hero_body
label: 'Hero body'
code: |-
.has-background-image .hero-body .content {
background-color: rgba(0, 0, 0, 0.5);
padding: 0.2em;
}
media: all
preprocess: true
conditions:
condition_group:
id: condition_group
negate: false
block_visibility_group: ''
contexts: { }
conditions_require_all: true