Massage the grid layout
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user