Skip to content
Snippets Groups Projects
Commit 69bb2082 authored by Chris Lawton's avatar Chris Lawton
Browse files

adding overlay class/placeholder and adding to header

parent 232b444b
No related branches found
No related tags found
No related merge requests found
......@@ -83,3 +83,15 @@ ol {
%is-unhidden {
display: block;
}
.overlay,
%overlay {
position: absolute;
top: 0;
left: 0;
z-index: 5;
width: 100%;
background-image: linear-gradient(-180deg, rgba(0, 0, 0, 0.72) 0%, rgba(116, 116, 118, 0) 96%);
content: '';
opacity: 0.3;
}
......@@ -4,6 +4,11 @@
padding: 10px;
background-color: $color--primary;
&::before {
@extend %overlay;
height: 300px;
}
@include media-query(tablet-portrait) {
height: 410px;
padding: 20px;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment