2015-01-21 09:32:22 -05:00
|
|
|
/* ==========================================================================
|
2016-03-10 11:13:54 -05:00
|
|
|
SINGLE PAGE/POST
|
2015-01-21 09:32:22 -05:00
|
|
|
========================================================================== */
|
|
|
|
|
2013-05-24 10:25:31 -04:00
|
|
|
#main {
|
2016-03-09 22:19:11 -05:00
|
|
|
@include container;
|
|
|
|
@include clearfix;
|
2016-03-17 15:38:07 -04:00
|
|
|
position: relative;
|
2016-03-09 22:19:11 -05:00
|
|
|
margin-top: 2em;
|
2016-03-15 12:34:14 -04:00
|
|
|
padding-left: 2em;
|
|
|
|
padding-right: 2em;
|
2016-03-21 16:01:19 -04:00
|
|
|
z-index: 0;
|
2016-03-21 16:36:24 -04:00
|
|
|
|
2016-03-20 15:20:33 -04:00
|
|
|
@include breakpoint($large) {
|
2016-03-17 15:50:22 -04:00
|
|
|
padding-left: 1em;
|
|
|
|
padding-right: 1em;
|
|
|
|
}
|
2016-03-21 16:36:24 -04:00
|
|
|
|
2016-03-17 22:56:01 -04:00
|
|
|
@include breakpoint($x-large) {
|
|
|
|
max-width: $x-large;
|
|
|
|
}
|
2016-03-10 11:13:54 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.page {
|
2016-03-17 15:38:07 -04:00
|
|
|
@include breakpoint($large) {
|
2016-03-20 15:20:33 -04:00
|
|
|
@include span(10 of 12 last);
|
2016-03-29 23:13:00 -04:00
|
|
|
@include suffix(2 of 12);
|
2016-03-09 22:19:11 -05:00
|
|
|
}
|
2016-03-21 16:36:24 -04:00
|
|
|
|
2016-03-17 22:56:01 -04:00
|
|
|
@include breakpoint($x-large) {
|
|
|
|
@include prefix(0.5 of 12);
|
|
|
|
}
|
2016-03-23 16:33:21 -04:00
|
|
|
|
|
|
|
.page__inner-wrap {
|
2016-03-31 21:41:00 -04:00
|
|
|
@include full();
|
|
|
|
|
2016-03-23 16:33:21 -04:00
|
|
|
.page__content,
|
|
|
|
.page__meta,
|
|
|
|
.page__share {
|
|
|
|
@include full();
|
|
|
|
}
|
|
|
|
}
|
2016-03-10 13:06:59 -05:00
|
|
|
}
|
|
|
|
|
2016-03-10 22:29:30 -05:00
|
|
|
.page__title {
|
2016-03-11 15:55:06 -05:00
|
|
|
margin-top: 0;
|
2016-03-23 22:03:27 -04:00
|
|
|
line-height: 1;
|
2016-03-21 21:42:55 -04:00
|
|
|
& + .page__meta {
|
2016-03-30 16:59:48 -04:00
|
|
|
margin-top: -0.5em;
|
2016-03-21 21:42:55 -04:00
|
|
|
}
|
2016-03-10 22:29:30 -05:00
|
|
|
}
|
2016-03-10 13:06:59 -05:00
|
|
|
|
2016-03-24 15:28:29 -04:00
|
|
|
.page__lead {
|
|
|
|
font-family: $sans-serif;
|
2016-03-30 16:59:48 -04:00
|
|
|
font-size: $type-size-4;
|
2016-03-24 15:28:29 -04:00
|
|
|
}
|
|
|
|
|
2016-03-11 16:36:41 -05:00
|
|
|
.page__content {
|
2016-03-28 21:48:42 -04:00
|
|
|
p, li, dl {
|
2016-03-30 16:59:48 -04:00
|
|
|
font-size: 1em;
|
2016-03-11 16:36:41 -05:00
|
|
|
}
|
2016-03-25 09:11:13 -04:00
|
|
|
|
|
|
|
/* paragraph indents */
|
|
|
|
p {
|
|
|
|
margin: 0 0 $indent-var;
|
|
|
|
|
|
|
|
// sibling indentation
|
|
|
|
@if $paragraph-indent == true {
|
|
|
|
& + p {
|
|
|
|
text-indent: $indent-var;
|
|
|
|
margin-top: -($indent-var);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-03-28 21:48:42 -04:00
|
|
|
|
|
|
|
dt {
|
|
|
|
margin-top: 1em;
|
2016-03-30 22:20:55 -04:00
|
|
|
font-family: $sans-serif;
|
2016-03-28 21:48:42 -04:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
dd {
|
|
|
|
margin-left: 1em;
|
2016-03-30 22:20:55 -04:00
|
|
|
font-family: $sans-serif;
|
|
|
|
font-size: $type-size-6;
|
|
|
|
}
|
|
|
|
|
|
|
|
.small {
|
|
|
|
font-size: $type-size-6;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* blockquote citations */
|
|
|
|
blockquote + .small {
|
|
|
|
margin-top: -1.5em;
|
|
|
|
padding-left: 1.25rem;
|
2016-03-28 21:48:42 -04:00
|
|
|
}
|
2016-03-11 16:36:41 -05:00
|
|
|
}
|
2015-01-21 09:32:22 -05:00
|
|
|
|
2016-03-10 13:06:59 -05:00
|
|
|
.page__hero {
|
2016-03-09 22:19:11 -05:00
|
|
|
position: relative;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
@include clearfix;
|
2016-03-23 21:50:22 -04:00
|
|
|
|
|
|
|
&--overlay {
|
|
|
|
position: relative;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
padding: 3em 0;
|
|
|
|
@include clearfix;
|
|
|
|
text-align: center;
|
2016-03-23 21:59:58 -04:00
|
|
|
background-size: cover;
|
|
|
|
background-repeat: no-repeat;
|
2016-03-24 12:04:23 -04:00
|
|
|
background-position: center;
|
2016-03-23 21:50:22 -04:00
|
|
|
|
2016-03-24 15:28:29 -04:00
|
|
|
.wrapper {
|
|
|
|
padding-left: 2em;
|
|
|
|
padding-right: 2em;
|
|
|
|
}
|
|
|
|
|
2016-03-23 21:59:58 -04:00
|
|
|
.page__title,
|
2016-03-24 15:28:29 -04:00
|
|
|
.page__meta,
|
|
|
|
.page__lead,
|
|
|
|
.btn {
|
2016-03-23 21:50:22 -04:00
|
|
|
color: #fff;
|
|
|
|
text-shadow: 1px 1px 4px rgba(#000, 0.5);
|
|
|
|
}
|
2016-03-23 22:03:27 -04:00
|
|
|
|
|
|
|
.page__title {
|
2016-03-30 16:59:48 -04:00
|
|
|
font-size: $type-size-2;
|
2016-03-24 15:28:29 -04:00
|
|
|
|
|
|
|
@include breakpoint($small) {
|
2016-03-30 16:59:48 -04:00
|
|
|
font-size: $type-size-1;
|
2016-03-24 15:28:29 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.page__lead {
|
|
|
|
font-weight: bold;
|
2016-03-23 22:03:27 -04:00
|
|
|
}
|
2016-03-23 21:50:22 -04:00
|
|
|
}
|
2016-03-10 13:06:59 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.page__hero-image {
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
-ms-interpolation-mode: bicubic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page__hero-caption {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 2px 5px;
|
|
|
|
color: #fff;
|
|
|
|
font-family: $sans-serif;
|
2016-03-30 16:59:48 -04:00
|
|
|
font-size: $type-size-7;
|
2016-03-10 13:06:59 -05:00
|
|
|
background: #000;
|
|
|
|
text-align: right;
|
|
|
|
z-index: 5;
|
|
|
|
opacity: 0.5;
|
|
|
|
border-radius: $border-radius 0 $border-radius 0;
|
2016-03-21 16:36:24 -04:00
|
|
|
|
2016-03-20 15:20:33 -04:00
|
|
|
@include breakpoint($large) {
|
2016-03-10 13:06:59 -05:00
|
|
|
padding: 5px 10px;
|
|
|
|
}
|
2016-03-21 16:36:24 -04:00
|
|
|
|
2016-03-10 13:06:59 -05:00
|
|
|
a {
|
|
|
|
color: #fff;
|
|
|
|
text-decoration: none;
|
2016-03-09 22:19:11 -05:00
|
|
|
}
|
2013-05-24 10:25:31 -04:00
|
|
|
}
|
2015-01-21 09:32:22 -05:00
|
|
|
|
2016-03-10 22:29:30 -05:00
|
|
|
/*
|
|
|
|
Social sharing
|
|
|
|
========================================================================== */
|
2016-02-22 21:44:55 -05:00
|
|
|
|
2016-03-10 22:29:30 -05:00
|
|
|
.page__share {
|
2016-03-11 16:17:41 -05:00
|
|
|
margin-top: 2em;
|
2016-03-10 22:29:30 -05:00
|
|
|
padding-top: 1em;
|
|
|
|
border-top: 1px solid $border-color;
|
2016-02-22 21:44:55 -05:00
|
|
|
}
|
2016-03-10 22:29:30 -05:00
|
|
|
|
|
|
|
.page__share-title {
|
|
|
|
margin-bottom: 10px;
|
2016-03-30 16:59:48 -04:00
|
|
|
font-size: $type-size-6;
|
2016-03-10 22:29:30 -05:00
|
|
|
text-transform: uppercase;
|
2013-09-07 12:57:20 -04:00
|
|
|
}
|
2015-01-21 09:32:22 -05:00
|
|
|
|
2016-03-10 22:29:30 -05:00
|
|
|
|
|
|
|
/*
|
|
|
|
Page meta
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.page__meta {
|
|
|
|
margin-top: 2em;
|
2016-03-18 15:07:02 -04:00
|
|
|
color: mix(#fff, $gray, 25%);
|
2016-03-10 22:29:30 -05:00
|
|
|
font-family: $sans-serif;
|
2016-03-30 16:59:48 -04:00
|
|
|
font-size: $type-size-6;
|
2016-03-21 16:36:24 -04:00
|
|
|
|
2016-03-10 22:29:30 -05:00
|
|
|
p {
|
2016-03-19 21:50:18 -04:00
|
|
|
margin-bottom: 0.5em;
|
2016-03-09 22:19:11 -05:00
|
|
|
}
|
2015-01-21 11:21:50 -05:00
|
|
|
}
|
|
|
|
|
2016-03-11 15:55:06 -05:00
|
|
|
.page__meta-title {
|
|
|
|
margin-bottom: 10px;
|
2016-03-30 16:59:48 -04:00
|
|
|
font-size: $type-size-6;
|
2016-03-11 15:55:06 -05:00
|
|
|
text-transform: uppercase;
|
2013-05-24 10:25:31 -04:00
|
|
|
}
|
2015-01-21 09:32:22 -05:00
|
|
|
|
2016-03-09 15:54:20 -05:00
|
|
|
|
2016-03-19 21:50:18 -04:00
|
|
|
/*
|
|
|
|
Page taxonomy
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.page__taxonomy {
|
|
|
|
.sep {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-03-23 11:43:16 -04:00
|
|
|
|
|
|
|
strong {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2016-03-19 21:50:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.page__taxonomy-item {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
padding: 5px 10px;
|
|
|
|
text-decoration: none;
|
|
|
|
border: 1px solid $light-gray;
|
|
|
|
border-radius: $border-radius;
|
2016-03-21 16:36:24 -04:00
|
|
|
|
2016-03-19 21:50:18 -04:00
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
2016-03-29 23:13:00 -04:00
|
|
|
color: $gray;
|
2016-03-19 21:50:18 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-03-17 22:36:20 -04:00
|
|
|
/*
|
|
|
|
Comments
|
|
|
|
========================================================================== */
|
|
|
|
|
2016-03-23 16:33:21 -04:00
|
|
|
.page__comments {
|
|
|
|
@include full();
|
|
|
|
}
|
|
|
|
|
2016-03-17 22:36:20 -04:00
|
|
|
.page__comments-title {
|
|
|
|
margin-top: 2rem;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
padding-top: 2rem;
|
2016-03-30 16:59:48 -04:00
|
|
|
font-size: $type-size-6;
|
2016-03-17 22:36:20 -04:00
|
|
|
border-top: 1px solid $border-color;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-03-11 15:55:06 -05:00
|
|
|
/*
|
|
|
|
Related
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.page__related {
|
2016-03-11 16:17:41 -05:00
|
|
|
margin-top: 2em;
|
|
|
|
padding-top: 1em;
|
|
|
|
border-top: 1px solid $border-color;
|
2016-03-18 15:07:02 -04:00
|
|
|
@include clearfix();
|
|
|
|
float: left;
|
2016-03-21 16:36:24 -04:00
|
|
|
|
2016-03-20 15:20:33 -04:00
|
|
|
@include breakpoint($large) {
|
2016-03-17 22:56:01 -04:00
|
|
|
@include pre(2 of 12);
|
|
|
|
}
|
2016-03-21 16:36:24 -04:00
|
|
|
|
2016-03-17 22:56:01 -04:00
|
|
|
@include breakpoint($x-large) {
|
|
|
|
@include pre(2.5 of 12);
|
2016-03-09 22:19:11 -05:00
|
|
|
}
|
2016-03-21 16:36:24 -04:00
|
|
|
|
2016-03-09 22:19:11 -05:00
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2013-09-07 11:59:02 -04:00
|
|
|
}
|
2016-03-04 22:57:12 -05:00
|
|
|
|
2016-03-11 15:55:06 -05:00
|
|
|
.page__related-title {
|
|
|
|
margin-bottom: 10px;
|
2016-03-30 16:59:48 -04:00
|
|
|
font-size: $type-size-6;
|
2016-03-11 15:55:06 -05:00
|
|
|
text-transform: uppercase;
|
2016-03-09 15:11:34 -05:00
|
|
|
}
|