Beginning responsive

This commit is contained in:
James Barnsley
2016-11-21 21:46:53 +13:00
parent e3003a65db
commit 8ba3ef3b46
11 changed files with 109 additions and 4 deletions

View File

@ -0,0 +1,24 @@
.sidebar-toggle {
position: absolute;
top: 0;
left: 0;
padding: 20px;
z-index: 98;
color: #FFFFFF;
font-size: 18px;
cursor: pointer;
&.open {
.open {
display: none;
}
}
&:not(.open) {
.close {
display: none;
}
}
}

View File

@ -9,6 +9,15 @@ aside{
width: 200px;
overflow: hidden;
box-shadow: inset -20px 0px 30px -20px rgba(0, 0, 0, 0.5);
@include responsive( 800px ){
width: 50%;
left: -50%;
.sidebar-open & {
left: 0px;
}
}
.thumbnail {
position: absolute;