Adjust width of .sidebar to match .sidebar__right

- Use `$right-sidebar-width-narrow` and `$right-sidebar-width` Sass variables to determine width of sidebar instead of Susy `span` function
This commit is contained in:
Michael Rose
2017-08-09 08:30:32 -04:00
parent d59818981b
commit 192549ef25
4 changed files with 13 additions and 3 deletions

View File

@ -15,7 +15,7 @@
@include breakpoint($large) {
float: left;
width: span(2 of 12);
width: calc(#{$right-sidebar-width-narrow} - 1em);
opacity: 0.75;
-webkit-transition: opacity 0.2s ease-in-out;
transition: opacity 0.2s ease-in-out;
@ -31,6 +31,10 @@
}
}
@include breakpoint($x-large) {
width: calc(#{$right-sidebar-width} - 1em);
}
h2, h3, h4, h5, h6 {
margin-bottom: 0;
font-family: $sans-serif-narrow;