2017-03-24 09:47:37 -04:00
|
|
|
//
|
|
|
|
// The basic two column layout
|
|
|
|
//
|
|
|
|
|
2017-03-09 13:16:08 -05:00
|
|
|
.page-wrap {
|
|
|
|
@include mq(md) {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2017-03-26 21:09:19 -04:00
|
|
|
display: flex;
|
2017-03-09 13:16:08 -05:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.side-bar {
|
2017-03-26 21:09:19 -04:00
|
|
|
z-index: 100;
|
2018-10-24 14:06:12 -04:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2017-03-24 09:47:37 -04:00
|
|
|
padding-top: $gutter-spacing-sm;
|
|
|
|
padding-bottom: $gutter-spacing-sm;
|
2018-11-15 15:12:12 -05:00
|
|
|
background-color: $sidebar-color;
|
2017-03-09 13:16:08 -05:00
|
|
|
|
|
|
|
@include mq(md) {
|
2018-10-24 14:06:12 -04:00
|
|
|
flex-wrap: nowrap;
|
2017-03-26 21:09:19 -04:00
|
|
|
position: absolute;
|
|
|
|
width: $nav-width + 16px;
|
|
|
|
height: 100%;
|
2017-03-09 13:16:08 -05:00
|
|
|
padding-top: $gutter-spacing * 2;
|
|
|
|
padding-bottom: 0;
|
|
|
|
flex-direction: column;
|
2017-03-26 21:09:19 -04:00
|
|
|
border-right: $border $border-color;
|
2017-03-09 13:16:08 -05:00
|
|
|
align-items: flex-end;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include mq(lg) {
|
|
|
|
width: calc((100% - #{$nav-width + $content-width}) / 2 + #{$nav-width});
|
|
|
|
min-width: $nav-width;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-content-wrap {
|
|
|
|
@include mq(md) {
|
|
|
|
position: absolute;
|
2017-03-26 21:09:19 -04:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2017-03-09 13:16:08 -05:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2017-03-24 09:47:37 -04:00
|
|
|
min-height: 600px;
|
2017-03-09 13:16:08 -05:00
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-04 17:50:01 -04:00
|
|
|
.main-content {
|
2017-03-24 09:47:37 -04:00
|
|
|
padding-top: $gutter-spacing-sm;
|
|
|
|
@include container;
|
|
|
|
|
2017-03-09 13:16:08 -05:00
|
|
|
@include mq(md) {
|
|
|
|
position: relative;
|
|
|
|
max-width: $content-width;
|
2017-03-24 09:47:37 -04:00
|
|
|
padding-top: $gutter-spacing;
|
2017-03-09 13:16:08 -05:00
|
|
|
padding-bottom: $gutter-spacing;
|
2017-03-26 21:09:19 -04:00
|
|
|
padding-left: $gutter-spacing * 1.5;
|
|
|
|
margin-left: $nav-width;
|
2017-03-09 13:16:08 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
@include mq(lg) {
|
|
|
|
padding-left: $gutter-spacing;
|
2017-03-26 21:09:19 -04:00
|
|
|
margin-left: calc((100% - #{$nav-width + $content-width}) / 2 + #{$nav-width});
|
2017-03-09 13:16:08 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-04 17:50:01 -04:00
|
|
|
.page-header {
|
2018-11-15 15:12:12 -05:00
|
|
|
background-color: $sidebar-color;
|
2017-06-04 17:50:01 -04:00
|
|
|
|
|
|
|
@include mq(md) {
|
2018-11-15 15:12:12 -05:00
|
|
|
background-color: $body-background-color;
|
2017-11-08 11:23:05 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.main-content {
|
|
|
|
padding-top: 0;
|
|
|
|
|
|
|
|
@include mq(md) {
|
2017-06-04 17:50:01 -04:00
|
|
|
display: flex;
|
2018-11-16 11:46:43 -05:00
|
|
|
justify-content: flex-end;
|
|
|
|
height: 60px;
|
2017-11-08 11:23:05 -05:00
|
|
|
padding-top: $sp-4;
|
2018-11-16 11:46:43 -05:00
|
|
|
padding-bottom: $sp-4;
|
|
|
|
border-bottom: $border $border-color;
|
2017-06-04 17:50:01 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-24 09:47:37 -04:00
|
|
|
.navigation,
|
2018-10-23 11:40:39 -04:00
|
|
|
.site-title,
|
|
|
|
.site-footer {
|
2017-03-09 13:16:08 -05:00
|
|
|
|
2017-03-24 09:47:37 -04:00
|
|
|
@include container;
|
2017-03-09 13:16:08 -05:00
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
@include mq(lg) {
|
|
|
|
width: $nav-width + 32px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation {
|
|
|
|
@include mq(md) {
|
2017-03-26 21:09:19 -04:00
|
|
|
padding-top: $sp-8;
|
2018-10-24 14:06:12 -04:00
|
|
|
overflow-y: auto;
|
|
|
|
flex: 1 1 auto;
|
2017-03-09 13:16:08 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-25 11:17:10 -04:00
|
|
|
// stylelint-disable selector-no-type
|
2018-10-23 11:40:39 -04:00
|
|
|
body {
|
|
|
|
position: relative;
|
|
|
|
padding-bottom: $sp-10;
|
|
|
|
|
|
|
|
@include mq(md) {
|
|
|
|
position: static;
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-10-25 11:17:10 -04:00
|
|
|
// stylelint-enable selector-no-type
|
2018-10-23 11:40:39 -04:00
|
|
|
|
2017-03-09 13:16:08 -05:00
|
|
|
.site-footer {
|
2018-10-23 11:40:39 -04:00
|
|
|
position: absolute;
|
2018-10-24 14:06:12 -04:00
|
|
|
bottom: 0;
|
|
|
|
padding-top: $sp-4;
|
|
|
|
padding-bottom: $sp-4;
|
2018-10-23 11:40:39 -04:00
|
|
|
|
2017-03-09 13:16:08 -05:00
|
|
|
@include mq(md) {
|
2018-10-24 14:06:12 -04:00
|
|
|
position: static;
|
|
|
|
align-self: flex-end;
|
|
|
|
justify-self: end;
|
2018-11-15 15:12:12 -05:00
|
|
|
background-color: $sidebar-color;
|
2017-03-24 09:47:37 -04:00
|
|
|
}
|
2017-03-09 13:16:08 -05:00
|
|
|
}
|