2015-01-21 15:32:22 +01:00
|
|
|
/* ==========================================================================
|
2016-03-10 17:13:54 +01:00
|
|
|
SINGLE PAGE/POST
|
2015-01-21 15:32:22 +01:00
|
|
|
========================================================================== */
|
|
|
|
|
2013-05-24 16:25:31 +02:00
|
|
|
#main {
|
2016-03-10 04:19:11 +01:00
|
|
|
@include container;
|
|
|
|
@include clearfix;
|
2016-03-17 20:38:07 +01:00
|
|
|
position: relative;
|
2016-03-10 04:19:11 +01:00
|
|
|
margin-top: 2em;
|
2016-03-15 17:34:14 +01:00
|
|
|
padding-left: 2em;
|
|
|
|
padding-right: 2em;
|
2016-03-17 20:50:22 +01:00
|
|
|
@include breakpoint($medium) {
|
|
|
|
padding-left: 1em;
|
|
|
|
padding-right: 1em;
|
|
|
|
}
|
2016-03-18 03:56:01 +01:00
|
|
|
@include breakpoint($x-large) {
|
|
|
|
max-width: $x-large;
|
|
|
|
}
|
2016-03-10 17:13:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.page {
|
2016-03-15 17:34:14 +01:00
|
|
|
@include breakpoint($medium) {
|
2016-03-16 21:18:37 +01:00
|
|
|
@include span(10 of 12 last);
|
2016-03-17 20:38:07 +01:00
|
|
|
}
|
|
|
|
@include breakpoint($large) {
|
2016-03-16 21:18:37 +01:00
|
|
|
padding-right: $right-sidebar-width;
|
2016-03-10 04:19:11 +01:00
|
|
|
}
|
2016-03-18 03:56:01 +01:00
|
|
|
@include breakpoint($x-large) {
|
|
|
|
@include prefix(0.5 of 12);
|
|
|
|
}
|
2016-03-10 19:06:59 +01:00
|
|
|
}
|
|
|
|
|
2016-03-11 04:29:30 +01:00
|
|
|
.page__title {
|
2016-03-11 21:55:06 +01:00
|
|
|
margin-top: 0;
|
2016-03-11 04:29:30 +01:00
|
|
|
font-family: $serif;
|
|
|
|
}
|
2016-03-10 19:06:59 +01:00
|
|
|
|
2016-03-11 22:36:41 +01:00
|
|
|
.page__content {
|
|
|
|
p, li {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
}
|
2015-01-21 15:32:22 +01:00
|
|
|
|
2016-03-10 19:06:59 +01:00
|
|
|
.page__hero {
|
2016-03-10 04:19:11 +01:00
|
|
|
position: relative;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
@include clearfix;
|
2016-03-10 19:06:59 +01: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;
|
|
|
|
font-size: 10px;
|
|
|
|
background: #000;
|
|
|
|
text-align: right;
|
|
|
|
z-index: 5;
|
|
|
|
opacity: 0.5;
|
|
|
|
border-radius: $border-radius 0 $border-radius 0;
|
|
|
|
@include breakpoint($medium) {
|
|
|
|
padding: 5px 10px;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
color: #fff;
|
|
|
|
text-decoration: none;
|
2016-03-10 04:19:11 +01:00
|
|
|
}
|
2013-05-24 16:25:31 +02:00
|
|
|
}
|
2015-01-21 15:32:22 +01:00
|
|
|
|
2016-03-11 04:29:30 +01:00
|
|
|
/*
|
|
|
|
Social sharing
|
|
|
|
========================================================================== */
|
2016-02-23 03:44:55 +01:00
|
|
|
|
2016-03-11 04:29:30 +01:00
|
|
|
.page__share {
|
2016-03-11 22:17:41 +01:00
|
|
|
margin-top: 2em;
|
2016-03-11 04:29:30 +01:00
|
|
|
padding-top: 1em;
|
|
|
|
border-top: 1px solid $border-color;
|
2016-02-23 03:44:55 +01:00
|
|
|
}
|
2016-03-11 04:29:30 +01:00
|
|
|
|
|
|
|
.page__share-title {
|
2016-03-10 17:13:54 +01:00
|
|
|
font-size: 14px;
|
2016-03-11 04:29:30 +01:00
|
|
|
margin-bottom: 10px;
|
|
|
|
text-transform: uppercase;
|
2013-09-07 18:57:20 +02:00
|
|
|
}
|
2015-01-21 15:32:22 +01:00
|
|
|
|
2016-03-11 04:29:30 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
Page meta
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.page__meta {
|
|
|
|
margin-top: 2em;
|
2016-03-18 20:07:02 +01:00
|
|
|
color: mix(#fff, $gray, 25%);
|
2016-03-11 04:29:30 +01:00
|
|
|
font-family: $sans-serif;
|
|
|
|
font-size: 14px;
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
p {
|
2016-03-11 21:55:06 +01:00
|
|
|
margin-bottom: 0;
|
2016-03-10 04:19:11 +01:00
|
|
|
}
|
2015-01-21 17:21:50 +01:00
|
|
|
}
|
|
|
|
|
2016-03-11 21:55:06 +01:00
|
|
|
.page__meta-title {
|
|
|
|
font-size: 14px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
text-transform: uppercase;
|
2013-05-24 16:25:31 +02:00
|
|
|
}
|
2015-01-21 15:32:22 +01:00
|
|
|
|
2016-03-09 21:54:20 +01:00
|
|
|
|
2016-03-18 03:36:20 +01:00
|
|
|
/*
|
|
|
|
Comments
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.page__comments-title {
|
|
|
|
font-size: 14px;
|
|
|
|
margin-top: 2rem;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
padding-top: 2rem;
|
|
|
|
border-top: 1px solid $border-color;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-03-11 21:55:06 +01:00
|
|
|
/*
|
|
|
|
Related
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.page__related {
|
2016-03-11 22:17:41 +01:00
|
|
|
margin-top: 2em;
|
|
|
|
padding-top: 1em;
|
|
|
|
border-top: 1px solid $border-color;
|
2016-03-18 20:07:02 +01:00
|
|
|
@include clearfix();
|
|
|
|
float: left;
|
2016-03-15 17:34:14 +01:00
|
|
|
@include breakpoint($medium) {
|
2016-03-18 03:56:01 +01:00
|
|
|
@include pre(2 of 12);
|
|
|
|
}
|
|
|
|
@include breakpoint($x-large) {
|
|
|
|
@include pre(2.5 of 12);
|
2016-03-10 04:19:11 +01:00
|
|
|
}
|
2016-03-18 20:07:02 +01:00
|
|
|
.grid__item {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
.archive__item-excerpt {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.archive__item-teaser {
|
|
|
|
border-radius: $border-radius;
|
|
|
|
}
|
|
|
|
@include breakpoint($small) {
|
|
|
|
@include gallery(5 of 10);
|
|
|
|
.archive__item-teaser {
|
|
|
|
max-height: 200px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include breakpoint($medium) {
|
|
|
|
margin-left: 0; // reset before mixin does its thing
|
|
|
|
margin-right: 0; // reset before mixin does its thing
|
|
|
|
@include gallery(2.5 of 10);
|
|
|
|
.archive__item-teaser {
|
|
|
|
max-height: 120px;
|
|
|
|
}
|
|
|
|
.archive__item-excerpt {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2016-03-10 04:19:11 +01:00
|
|
|
}
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2013-09-07 17:59:02 +02:00
|
|
|
}
|
2016-03-05 04:57:12 +01:00
|
|
|
|
2016-03-11 21:55:06 +01:00
|
|
|
.page__related-title {
|
2016-03-10 17:13:54 +01:00
|
|
|
font-size: 14px;
|
2016-03-11 21:55:06 +01:00
|
|
|
margin-bottom: 10px;
|
|
|
|
text-transform: uppercase;
|
2016-03-09 21:11:34 +01:00
|
|
|
}
|