rickvanlieshout.com/src/components/Sidebar/Sidebar.module.scss

45 lines
777 B
SCSS
Raw Normal View History

@import "../../assets/scss/variables";
@import "../../assets/scss/mixins";
2018-11-09 18:08:48 +01:00
.sidebar {
width: 100%;
&__inner {
padding: 25px 20px 0;
position: relative;
}
2018-11-09 18:08:48 +01:00
}
@include breakpoint-sm {
.sidebar {
lost-column: 5/12;
&__inner {
padding: 30px 20px 0;
&:after {
background: $color-gray-border;
background: linear-gradient(
to bottom,
$color-gray-border 0%,
$color-gray-border 48%,
$color-white 100%
);
bottom: 0;
content: "";
height: 540px;
position: absolute;
right: -10px;
top: 30px;
width: 1px;
}
2018-11-09 18:08:48 +01:00
}
}
2018-11-09 18:08:48 +01:00
}
@include breakpoint-md {
.sidebar {
lost-column: 1/3;
&__inner {
padding: 40px;
2018-11-09 18:08:48 +01:00
}
}
2018-11-09 18:08:48 +01:00
}