html {
overflow: -moz-scrollbars-vertical;
overflow-y: scroll;
}
/**
* Site header
*/
.site-header {
min-height: $spacing-unit * 1.865;
height: $banner-height;
// Positioning context for the mobile navigation icon
position: relative;
margin-top: 30px;
@media print {
margin-top: 0px;
display: none;
}
}
.content-wrapper {
flex: 1 0 auto;
}
/**
* SVG BANNER
*/
.site-title {
@include relative-font-size(1.625);
font-weight: 300;
line-height: $base-line-height * $base-font-size * 2.25;
letter-spacing: -1px;
margin-bottom: 0;
float: left;
&,
&:visited {
color: $grey-color-dark;
}
}
.site-nav {
margin-top: 10px;
float: right;
line-height: $base-line-height * $base-font-size * 2.25;
.page-tabs {
padding-right: 50px;
}
.nav-trigger {
display: none;
}
.menu-icon {
display: none;
}
a.page-link2.active {
color: #222;
}
.page-link:hover, .page-link2:hover {
text-decoration: none;
}
.page-link:hover:after {
border-color: #58595B;
}
@media (min-width: 640px) {
.page-link:after {
content: " ";
width: 22px;
border-bottom: solid 3px #cbcfda;
position: absolute;
top: 30px;
left: 10px;
float: left;
}
.page-link2.active {
border-bottom: 3px solid #808080;
}
}
@media (max-width: 640px) {
.page-link.active:before, .page-link2.active:before {
content: "\2023";
margin-right: 10px;
position: absolute;
left: 20px;
color: rgb(23, 168, 225);
}
.page-link.active, .page-link2.active {
font-weight: 600;
color: rgb(23, 168, 225);
}
.page-link, .page-link2 {
color: #222;
}
}
@media (min-width: 640px) {
.page-link2:hover {
border-bottom: 3px solid #808080;
}
.page-link:hover, .page-link2:hover {
color: #222 !important;
&:not(.active) { // padding-top: 20px;
}
}
.page-link2 {
position: relative;
// New version (full underline)
min-width: 40px;
margin: 0 15px 0 8px;
padding: 0 2px 0 2px;
border-bottom: 3px solid #e0e0e0;
float: left;
-moz-transition: padding 0.8s ease;
-webkit-transition: padding 0.8s ease;
-o-transition: padding 0.8s ease;
transition: padding 0.8s ease;
-moz-transition: border 0.3s ease;
-webkit-transition: border 0.3s ease;
-o-transition: border 0.3s ease;
transition: border 0.3s ease;
z-index: 8;
}
.page-link {
position: relative;
min-width: 60px;
margin: 0 0 0 -1px;
padding: 2px 10px 4px 9px;
float: left;
-moz-transition: padding 0.8s ease;
-webkit-transition: padding 0.8s ease;
-o-transition: padding 0.8s ease;
transition: padding 0.8s ease;
-moz-transition: border 0.3s ease;
-webkit-transition: border 0.3s ease;
-o-transition: border 0.3s ease;
transition: border 0.3s ease;
z-index: 8;
}
.active:after {
border-color: $brand-color;
}
}
.page-link, .page-link2 {
// color: $text-color;
line-height: $base-line-height;
font-weight: 600;
text-align: left;
// Gaps between nav items, but not on the last one
&:not(:last-child) {
// margin-right: -6px;
}
}
@include media-query($on-palm) {
position: absolute;
top: -25px;
right: calc($spacing-unit / 2);
background-color: $background-color;
border: 1px solid $grey-color-light;
border-radius: 5px;
text-align: right;
max-width: calc(100% - 30px);
label[for="nav-trigger"] {
display: block;
float: right;
width: 36px;
height: 36px;
z-index: 2;
cursor: pointer;
}
.menu-icon {
display: block;
float: right;
width: 36px;
height: 26px;
line-height: 0;
padding-top: 10px;
text-align: center;
> svg path {
fill: $grey-color-dark;
}
}
input ~ .trigger {
clear: both;
display: none;
}
input:checked ~ div {
width: 100%;
}
input:checked ~ .trigger {
display: block;
padding-bottom: 15px;
padding-right: 15px;
width: calc(100% - 15px);
}
.page-link, .page-link2 {
display: block;
padding: 7px 10px;
&:not(:last-child) {
margin-right: 0;
border-bottom: solid 1px #eceaea;
}
margin-left: 20px;
}
}
}
/**
* Site footer
*/
.site-footer {
padding: $spacing-unit 0;
bottom: 0;
display:flex;
justify-content:center;
align-items:center;
width:100%;
margin-top: -$footer-height + $spacing-unit;
flex-shrink: 0;
min-height: $footer-height;
line-height: 15px;
@media print {
display: none;
}
}
.footer-wrapper {
width: 100%;
padding: 0;
padding-top: $spacing-unit;
padding-bottom: calc($spacing-unit * 3);
border-top: 1px solid $grey-color-light;
}
.footer-wrapper p {
margin-top: 0;
}
.footer-heading {
@include relative-font-size(1.125);
margin-bottom: calc($spacing-unit / 2);
}
.contact-list,
.social-media-list {
list-style: none;
margin-left: 0;
}
.social-media-list {
margin: 0;
padding: 0;
list-style-type: none;
text-align: center;
li {
display: inline;
a {
text-decoration: none;
padding: .2em 1em;
}
}
}
.footer-cp {
@include relative-font-size(0.8);
color: $grey-color;
@extend %clearfix;
position: relative;
text-align: center;
}
@include media-query($on-palm) {
.footer-col {
float: none;
width: -webkit-calc(100% - (#{$spacing-unit} / 2));
width: calc(100% - (#{$spacing-unit} / 2));
}
}
/**
* Page content
*/
.page-content {
margin-top: 30px;
margin-left: 5%;
margin-right: 5%;
@include media-query($on-palm) {
margin-top: 5px;
padding-top: 0px;
margin-left: 1%;
}
padding: $spacing-unit 0;
padding-bottom: $footer-height;
@media print {
margin-top: 2px;
margin-left: unset;
}
}
.page-heading {
@include relative-font-size(2);
}
.post-list-heading {
@include relative-font-size(1.75);
}
.post-list {
margin-left: 0;
list-style: none;
> li {
margin-bottom: $spacing-unit;
}
}
.post-meta {
font-size: $small-font-size;
color: $grey-color;
}
.post-link {
display: block;
@include relative-font-size(1.5);
}
/**
* Posts
*/
.post-header {
margin-bottom: $spacing-unit;
}
.post-title {
@include relative-font-size(2.625);
letter-spacing: -1px;
line-height: 1;
@include media-query($on-laptop) {
@include relative-font-size(2.25);
}
}
.post-content {
margin-bottom: $spacing-unit;
h2 {
@include relative-font-size(2);
@include media-query($on-laptop) {
@include relative-font-size(1.75);
}
}
h3 {
@include relative-font-size(1.625);
@include media-query($on-laptop) {
@include relative-font-size(1.375);
}
}
h4 {
@include relative-font-size(1.25);
@include media-query($on-laptop) {
@include relative-font-size(1.125);
}
}
}
.pager-active {
background-color: #cbdce9;
}
.center-image {
margin: 0 auto;
display: block;
}
.wrapper-menu-right {
// Print button, add to bookmarks, etc.
float: right;
margin: 14px -2.5% 25px 10%;
padding-bottom: 5px;
color: #252525;
@media print {
display: none;
}
@include media-query($on-palm) {
display: none;
}
div {
display: inline;
margin-right: 20px;
span {
padding-left: 2px;
}
}
}