Inject css to add shadow behind whiter text in hero images
This commit is contained in:
parent
65f42cec88
commit
350d75ed69
1 changed files with 22 additions and 0 deletions
22
config/asset_injector.css.hero_body.yml
Normal file
22
config/asset_injector.css.hero_body.yml
Normal 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
|
Loading…
Reference in a new issue