2017-03-24 13:47:37 +00:00
|
|
|
//
|
|
|
|
// The basic two column layout
|
|
|
|
//
|
|
|
|
|
2017-03-09 18:16:08 +00:00
|
|
|
.page-wrap {
|
|
|
|
@include mq(md) {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2017-03-27 01:09:19 +00:00
|
|
|
display: flex;
|
2017-03-09 18:16:08 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.side-bar {
|
2017-03-27 01:09:19 +00:00
|
|
|
z-index: 100;
|
2018-10-24 18:06:12 +00:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2018-11-15 20:12:12 +00:00
|
|
|
background-color: $sidebar-color;
|
2017-03-09 18:16:08 +00:00
|
|
|
|
|
|
|
@include mq(md) {
|
2018-10-24 18:06:12 +00:00
|
|
|
flex-wrap: nowrap;
|
2017-03-27 01:09:19 +00:00
|
|
|
position: absolute;
|
2019-05-12 19:49:19 +00:00
|
|
|
width: $nav-width-md;
|
2017-03-27 01:09:19 +00:00
|
|
|
height: 100%;
|
2017-03-09 18:16:08 +00:00
|
|
|
flex-direction: column;
|
2017-03-27 01:09:19 +00:00
|
|
|
border-right: $border $border-color;
|
2017-03-09 18:16:08 +00:00
|
|
|
align-items: flex-end;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include mq(lg) {
|
|
|
|
width: calc((100% - #{$nav-width + $content-width}) / 2 + #{$nav-width});
|
|
|
|
min-width: $nav-width;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-21 14:09:29 +00:00
|
|
|
.main-wrap {
|
2017-03-09 18:16:08 +00:00
|
|
|
@include mq(md) {
|
|
|
|
position: absolute;
|
2017-03-27 01:09:19 +00:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2017-03-09 18:16:08 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
2019-07-21 14:09:29 +00:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
2017-03-09 18:16:08 +00:00
|
|
|
}
|
|
|
|
|
2019-07-21 14:09:29 +00:00
|
|
|
.main {
|
2017-03-09 18:16:08 +00:00
|
|
|
@include mq(md) {
|
|
|
|
position: relative;
|
|
|
|
max-width: $content-width;
|
2019-05-12 19:49:19 +00:00
|
|
|
margin-left: $nav-width-md;
|
2017-03-09 18:16:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include mq(lg) {
|
2017-03-27 01:09:19 +00:00
|
|
|
margin-left: calc((100% - #{$nav-width + $content-width}) / 2 + #{$nav-width});
|
2017-03-09 18:16:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-21 14:09:29 +00:00
|
|
|
.main-content-wrap {
|
2019-05-12 12:12:00 +00:00
|
|
|
@include container;
|
|
|
|
padding-top: $gutter-spacing-sm;
|
|
|
|
padding-bottom: $gutter-spacing-sm;
|
|
|
|
|
|
|
|
@include mq(md) {
|
|
|
|
padding-top: $gutter-spacing;
|
|
|
|
padding-bottom: $gutter-spacing;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-21 14:09:29 +00:00
|
|
|
.main-header {
|
2019-05-12 12:12:00 +00:00
|
|
|
@include container;
|
|
|
|
display: none;
|
|
|
|
padding-top: $gutter-spacing-sm;
|
|
|
|
padding-bottom: $gutter-spacing-sm;
|
2018-11-15 20:12:12 +00:00
|
|
|
background-color: $sidebar-color;
|
2017-06-04 21:50:01 +00:00
|
|
|
|
|
|
|
@include mq(md) {
|
2019-05-12 12:12:00 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
height: $header-height;
|
2019-08-13 21:23:35 +00:00
|
|
|
background-color: $body-background-color;
|
2019-05-12 12:12:00 +00:00
|
|
|
border-bottom: $border $border-color;
|
2017-11-08 16:23:05 +00:00
|
|
|
}
|
|
|
|
|
2019-05-12 12:12:00 +00:00
|
|
|
&.nav-open {
|
|
|
|
display: block;
|
2017-11-08 16:23:05 +00:00
|
|
|
|
|
|
|
@include mq(md) {
|
2017-06-04 21:50:01 +00:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-21 14:09:29 +00:00
|
|
|
.site-nav,
|
2019-05-12 12:12:00 +00:00
|
|
|
.site-header,
|
2018-10-23 15:40:39 +00:00
|
|
|
.site-footer {
|
2017-03-09 18:16:08 +00:00
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
@include mq(lg) {
|
2019-05-12 12:12:00 +00:00
|
|
|
width: $nav-width;
|
2017-03-09 18:16:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-21 14:09:29 +00:00
|
|
|
.site-nav {
|
2017-03-09 18:16:08 +00:00
|
|
|
@include mq(md) {
|
2017-03-27 01:09:19 +00:00
|
|
|
padding-top: $sp-8;
|
2019-05-12 12:12:00 +00:00
|
|
|
padding-bottom: $gutter-spacing-sm;
|
2018-10-24 18:06:12 +00:00
|
|
|
overflow-y: auto;
|
|
|
|
flex: 1 1 auto;
|
2017-03-09 18:16:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-12 12:12:00 +00:00
|
|
|
.site-header {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
@include mq(md) {
|
2019-08-13 21:23:35 +00:00
|
|
|
z-index: 101;
|
2019-05-12 12:12:00 +00:00
|
|
|
height: $header-height;
|
|
|
|
min-height: $header-height;
|
|
|
|
max-height: $header-height;
|
|
|
|
border-bottom: $border $border-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-title {
|
|
|
|
@include container;
|
|
|
|
flex-grow: 1;
|
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
|
|
|
align-items: center;
|
|
|
|
padding-top: $gutter-spacing-sm;
|
|
|
|
padding-bottom: $gutter-spacing-sm;
|
|
|
|
color: $body-heading-color;
|
|
|
|
@include fs-6;
|
|
|
|
}
|
|
|
|
|
2019-07-21 14:55:34 +00:00
|
|
|
.site-button {
|
2019-08-13 21:23:35 +00:00
|
|
|
display: flex;
|
2019-05-12 12:12:00 +00:00
|
|
|
height: 100%;
|
|
|
|
padding: $gutter-spacing-sm;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
@include mq(md) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-10 18:53:59 +00:00
|
|
|
.site-title:hover,
|
|
|
|
.site-button:hover {
|
2019-08-10 19:24:36 +00:00
|
|
|
background-color: $feedback-color;
|
2019-08-10 18:53:59 +00:00
|
|
|
}
|
|
|
|
|
2019-05-01 01:00:56 +00:00
|
|
|
// stylelint-disable selector-max-type
|
|
|
|
|
2018-10-23 15:40:39 +00:00
|
|
|
body {
|
|
|
|
position: relative;
|
|
|
|
padding-bottom: $sp-10;
|
|
|
|
|
|
|
|
@include mq(md) {
|
|
|
|
position: static;
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2019-05-01 01:00:56 +00:00
|
|
|
|
|
|
|
// stylelint-enable selector-max-type
|
2018-10-23 15:40:39 +00:00
|
|
|
|
2017-03-09 18:16:08 +00:00
|
|
|
.site-footer {
|
2019-05-12 12:12:00 +00:00
|
|
|
@include container;
|
2018-10-23 15:40:39 +00:00
|
|
|
position: absolute;
|
2018-10-24 18:06:12 +00:00
|
|
|
bottom: 0;
|
2019-08-06 19:56:29 +00:00
|
|
|
left: 0;
|
2018-10-24 18:06:12 +00:00
|
|
|
padding-top: $sp-4;
|
|
|
|
padding-bottom: $sp-4;
|
2019-07-21 14:55:34 +00:00
|
|
|
color: $grey-dk-000;
|
|
|
|
@include fs-2;
|
2018-10-23 15:40:39 +00:00
|
|
|
|
2017-03-09 18:16:08 +00:00
|
|
|
@include mq(md) {
|
2018-10-24 18:06:12 +00:00
|
|
|
position: static;
|
|
|
|
justify-self: end;
|
2017-03-24 13:47:37 +00:00
|
|
|
}
|
2017-03-09 18:16:08 +00:00
|
|
|
}
|
2019-07-21 19:56:50 +00:00
|
|
|
|
|
|
|
.icon {
|
|
|
|
width: $sp-5;
|
|
|
|
height: $sp-5;
|
|
|
|
fill: $link-color;
|
|
|
|
}
|