2017-03-24 09:47:37 -04:00
|
|
|
//
|
|
|
|
// The basic two column layout
|
|
|
|
//
|
|
|
|
|
2017-03-09 13:16:08 -05:00
|
|
|
.side-bar {
|
2019-12-03 03:12:54 -05:00
|
|
|
z-index: 0;
|
2018-10-24 14:06:12 -04:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
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;
|
2019-11-27 16:07:22 -05:00
|
|
|
position: fixed;
|
2019-05-12 15:49:19 -04:00
|
|
|
width: $nav-width-md;
|
2017-03-26 21:09:19 -04:00
|
|
|
height: 100%;
|
2017-03-09 13:16:08 -05:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-21 10:09:29 -04:00
|
|
|
.main {
|
2017-03-09 13:16:08 -05:00
|
|
|
@include mq(md) {
|
|
|
|
position: relative;
|
|
|
|
max-width: $content-width;
|
2019-05-12 15:49:19 -04:00
|
|
|
margin-left: $nav-width-md;
|
2017-03-09 13:16:08 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
@include mq(lg) {
|
2020-04-24 11:44:37 -04:00
|
|
|
margin-left: calc(
|
|
|
|
(100% - #{$nav-width + $content-width}) / 2 + #{$nav-width}
|
|
|
|
);
|
2017-03-09 13:16:08 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-21 10:09:29 -04:00
|
|
|
.main-content-wrap {
|
2019-05-12 08:12:00 -04: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 10:09:29 -04:00
|
|
|
.main-header {
|
2019-12-03 03:12:54 -05:00
|
|
|
z-index: 0;
|
2019-05-12 08:12:00 -04:00
|
|
|
display: none;
|
2018-11-15 15:12:12 -05:00
|
|
|
background-color: $sidebar-color;
|
2017-06-04 17:50:01 -04:00
|
|
|
|
|
|
|
@include mq(md) {
|
2019-05-12 08:12:00 -04:00
|
|
|
display: flex;
|
2019-12-03 03:12:54 -05:00
|
|
|
justify-content: space-between;
|
2019-05-12 08:12:00 -04:00
|
|
|
height: $header-height;
|
2019-08-13 17:23:35 -04:00
|
|
|
background-color: $body-background-color;
|
2019-05-12 08:12:00 -04:00
|
|
|
border-bottom: $border $border-color;
|
2017-11-08 11:23:05 -05:00
|
|
|
}
|
|
|
|
|
2019-05-12 08:12:00 -04:00
|
|
|
&.nav-open {
|
|
|
|
display: block;
|
2017-11-08 11:23:05 -05:00
|
|
|
|
|
|
|
@include mq(md) {
|
2017-06-04 17:50:01 -04:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-21 10:09:29 -04:00
|
|
|
.site-nav,
|
2019-05-12 08:12:00 -04:00
|
|
|
.site-header,
|
2018-10-23 11:40:39 -04:00
|
|
|
.site-footer {
|
2017-03-09 13:16:08 -05:00
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
@include mq(lg) {
|
2019-05-12 08:12:00 -04:00
|
|
|
width: $nav-width;
|
2017-03-09 13:16:08 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-21 10:09:29 -04:00
|
|
|
.site-nav {
|
2019-12-03 03:12:54 -05:00
|
|
|
display: none;
|
|
|
|
|
|
|
|
&.nav-open {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2017-03-09 13:16:08 -05:00
|
|
|
@include mq(md) {
|
2019-12-03 03:12:54 -05:00
|
|
|
display: block;
|
2017-03-26 21:09:19 -04:00
|
|
|
padding-top: $sp-8;
|
2019-05-12 08:12:00 -04:00
|
|
|
padding-bottom: $gutter-spacing-sm;
|
2018-10-24 14:06:12 -04:00
|
|
|
overflow-y: auto;
|
|
|
|
flex: 1 1 auto;
|
2017-03-09 13:16:08 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-12 08:12:00 -04:00
|
|
|
.site-header {
|
|
|
|
display: flex;
|
2019-07-20 17:42:27 -04:00
|
|
|
min-height: $header-height;
|
2019-05-12 08:12:00 -04:00
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
@include mq(md) {
|
|
|
|
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;
|
2019-07-20 18:06:36 -04:00
|
|
|
padding-top: $sp-3;
|
|
|
|
padding-bottom: $sp-3;
|
2019-05-12 08:12:00 -04:00
|
|
|
color: $body-heading-color;
|
|
|
|
@include fs-6;
|
2019-07-20 18:04:50 -04:00
|
|
|
|
|
|
|
@include mq(md) {
|
2019-07-20 18:06:36 -04:00
|
|
|
padding-top: $sp-2;
|
|
|
|
padding-bottom: $sp-2;
|
2019-07-20 18:04:50 -04:00
|
|
|
}
|
2019-05-12 08:12:00 -04:00
|
|
|
}
|
|
|
|
|
2019-08-17 08:32:25 -04:00
|
|
|
@if variable-exists(logo) {
|
|
|
|
.site-logo {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-image: url($logo);
|
|
|
|
background-repeat: no-repeat;
|
2019-09-09 15:55:31 -04:00
|
|
|
background-position: left center;
|
2019-08-17 08:32:25 -04:00
|
|
|
background-size: contain;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-21 10:55:34 -04:00
|
|
|
.site-button {
|
2019-08-13 17:23:35 -04:00
|
|
|
display: flex;
|
2019-05-12 08:12:00 -04:00
|
|
|
height: 100%;
|
|
|
|
padding: $gutter-spacing-sm;
|
|
|
|
align-items: center;
|
2019-12-03 03:12:54 -05:00
|
|
|
}
|
2019-05-12 08:12:00 -04:00
|
|
|
|
2019-12-03 03:12:54 -05:00
|
|
|
@include mq(md) {
|
|
|
|
.site-header .site-button {
|
2019-05-12 08:12:00 -04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-03 03:12:54 -05:00
|
|
|
.site-title:hover {
|
2019-11-27 06:37:10 -05:00
|
|
|
background-image: linear-gradient(-90deg, rgba($feedback-color, 1) 0%, rgba($feedback-color, 0.8) 80%, rgba($feedback-color, 0) 100%);
|
2019-08-10 14:53:59 -04:00
|
|
|
}
|
|
|
|
|
2019-12-03 03:12:54 -05:00
|
|
|
.site-button:hover {
|
|
|
|
background-image: linear-gradient(-90deg, rgba($feedback-color, 1) 0%, rgba($feedback-color, 0.8) 100%);
|
|
|
|
}
|
|
|
|
|
2019-04-30 21:00:56 -04:00
|
|
|
// stylelint-disable selector-max-type
|
|
|
|
|
2018-10-23 11:40:39 -04:00
|
|
|
body {
|
|
|
|
position: relative;
|
|
|
|
padding-bottom: $sp-10;
|
2019-12-04 04:39:30 -05:00
|
|
|
overflow-y: scroll;
|
2018-10-23 11:40:39 -04:00
|
|
|
|
|
|
|
@include mq(md) {
|
|
|
|
position: static;
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2019-04-30 21:00:56 -04:00
|
|
|
|
|
|
|
// stylelint-enable selector-max-type
|
2018-10-23 11:40:39 -04:00
|
|
|
|
2017-03-09 13:16:08 -05:00
|
|
|
.site-footer {
|
2019-05-12 08:12:00 -04:00
|
|
|
@include container;
|
2018-10-23 11:40:39 -04:00
|
|
|
position: absolute;
|
2018-10-24 14:06:12 -04:00
|
|
|
bottom: 0;
|
2019-08-06 15:56:29 -04:00
|
|
|
left: 0;
|
2018-10-24 14:06:12 -04:00
|
|
|
padding-top: $sp-4;
|
|
|
|
padding-bottom: $sp-4;
|
2019-07-21 10:55:34 -04:00
|
|
|
color: $grey-dk-000;
|
|
|
|
@include fs-2;
|
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;
|
|
|
|
justify-self: end;
|
2017-03-24 09:47:37 -04:00
|
|
|
}
|
2017-03-09 13:16:08 -05:00
|
|
|
}
|
2019-07-21 15:56:50 -04:00
|
|
|
|
|
|
|
.icon {
|
|
|
|
width: $sp-5;
|
|
|
|
height: $sp-5;
|
|
|
|
fill: $link-color;
|
|
|
|
}
|