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

sticky header styling

parent 1255eb38
...@@ -170,20 +170,21 @@ sup { ...@@ -170,20 +170,21 @@ sup {
// //
.wrapper-masthead { .wrapper-masthead {
background: inherit;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
margin-bottom: 50px; margin-bottom: 50px;
top: 0;
transition: box-shadow 1s;
} }
@media (min-height: 768px) { @media (min-height: 768px) {
div.wrapper-masthead { div.wrapper-masthead {
background: inherit; position: sticky;
position: sticky; }
top: 0;
}
} }
.masthead { .masthead {
padding: 20px 0; padding: 20px 0;
border-bottom: 1px solid $ldjbDarkerBlue;
@include mobile { @include mobile {
text-align: center; 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