Massage the grid layout

This commit is contained in:
Michael Rose
2016-03-20 15:20:33 -04:00
parent 1e3b62d893
commit 780b30c9f6
12 changed files with 56 additions and 39 deletions

View File

@@ -9,16 +9,6 @@
text-transform: uppercase;
letter-spacing: 1px;
background-color: #fff;
@include breakpoint($large) {
position: absolute;
top: 0;
right: calc(50% - (0.5 * #{$large}) + 1em); // 50% - 1/2 of wrapper's max-width + wrapper padding
width: $right-sidebar-width;
padding-left: 2em;
}
@include breakpoint($x-large) {
right: calc(50% - (0.5 * #{$x-large}) + 1em); // 50% - 1/2 of wrapper's max-width + wrapper padding
}
}
.toc__title {
@@ -53,7 +43,7 @@
// hide sub sub links on small screens
li > ul li {
display: none;
@include breakpoint($large) {
@include breakpoint($medium) {
display: block;
}
}