Stack header on top of all content

This commit is contained in:
Alex Liebowitz 2016-08-18 04:06:45 -04:00
parent 5c25f30c90
commit a98c97fe0f

View file

@ -21,7 +21,7 @@ $drawer-width: 240px;
left: 0; left: 0;
top: 0; top: 0;
background: $color-bg; background: $color-bg;
z-index: 1; z-index: 3;
.drawer-item .drawer-item
{ {
display: block; display: block;
@ -81,6 +81,7 @@ $drawer-width: 240px;
top: 0; top: 0;
left: 0; left: 0;
width: 100%; width: 100%;
z-index: 2;
box-sizing: border-box; box-sizing: border-box;
h1 { font-size: 1.8em; line-height: $header-height - $spacing-vertical; display: inline-block; float: left; } h1 { font-size: 1.8em; line-height: $header-height - $spacing-vertical; display: inline-block; float: left; }
&.header-scrolled &.header-scrolled