Overlay intro image with theme’s `$accent-color`

This commit is contained in:
Michael Rose 2017-03-13 22:38:34 -04:00
parent 1cc75384c0
commit 33336a9b1e
1 changed files with 10 additions and 0 deletions

View File

@ -13,6 +13,16 @@
margin-top: -3rem; /* compensate for intro top margin */ margin-top: -3rem; /* compensate for intro top margin */
margin-bottom: 2rem; margin-bottom: 2rem;
&:before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba($accent-color, 0.25);
}
img { img {
width: 100%; width: 100%;
} }