Overlay intro image with theme’s `$accent-color`
This commit is contained in:
parent
1cc75384c0
commit
33336a9b1e
|
@ -13,6 +13,16 @@
|
|||
margin-top: -3rem; /* compensate for intro top margin */
|
||||
margin-bottom: 2rem;
|
||||
|
||||
&:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background-color: rgba($accent-color, 0.25);
|
||||
}
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue