Commit 2a103f95 authored by Leon Byford's avatar Leon Byford

sticky header styling

parent 1255eb38
......@@ -170,20 +170,21 @@ sup {
//
.wrapper-masthead {
background: inherit;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
margin-bottom: 50px;
top: 0;
transition: box-shadow 1s;
}
@media (min-height: 768px) {
div.wrapper-masthead {
background: inherit;
position: sticky;
top: 0;
}
div.wrapper-masthead {
position: sticky;
}
}
.masthead {
padding: 20px 0;
border-bottom: 1px solid $ldjbDarkerBlue;
@include mobile {
text-align: center;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment