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 clearfix;
|
2017-07-21 22:08:29 +02:00
|
|
|
margin-left: auto;
|
2016-03-10 04:19:11 +01:00
|
|
|
margin-top: 2em;
|
2017-07-21 22:08:29 +02:00
|
|
|
margin-right: auto;
|
2016-04-18 22:18:12 +02:00
|
|
|
padding-left: 1em;
|
|
|
|
padding-right: 1em;
|
2017-08-02 18:27:01 +02:00
|
|
|
-webkit-animation: $intro-transition;
|
2017-12-07 14:56:14 +01:00
|
|
|
animation: $intro-transition;
|
2017-07-21 22:08:29 +02:00
|
|
|
max-width: 100%;
|
2017-12-07 14:56:14 +01:00
|
|
|
-webkit-animation-delay: 0.15s;
|
|
|
|
animation-delay: 0.15s;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
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-17 20:38:07 +01:00
|
|
|
@include breakpoint($large) {
|
2017-07-21 22:08:29 +02:00
|
|
|
float: right;
|
2017-08-08 20:41:46 +02:00
|
|
|
width: calc(100% - #{$right-sidebar-width-narrow});
|
|
|
|
padding-right: $right-sidebar-width-narrow;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint($x-large) {
|
|
|
|
width: calc(100% - #{$right-sidebar-width});
|
|
|
|
padding-right: $right-sidebar-width;
|
2016-03-18 03:56:01 +01:00
|
|
|
}
|
2016-03-23 21:33:21 +01:00
|
|
|
|
|
|
|
.page__inner-wrap {
|
2017-07-21 22:08:29 +02:00
|
|
|
float: left;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
width: 100%;
|
|
|
|
clear: both;
|
2016-04-01 03:41:00 +02:00
|
|
|
|
2016-03-23 21:33:21 +01:00
|
|
|
.page__content,
|
|
|
|
.page__meta,
|
|
|
|
.page__share {
|
2017-08-08 20:41:46 +02:00
|
|
|
position: relative;
|
2017-07-21 22:08:29 +02:00
|
|
|
float: left;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
width: 100%;
|
|
|
|
clear: both;
|
2016-03-23 21:33:21 +01:00
|
|
|
}
|
|
|
|
}
|
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-24 03:03:27 +01:00
|
|
|
line-height: 1;
|
2016-04-12 16:00:32 +02:00
|
|
|
|
2016-03-22 02:42:55 +01:00
|
|
|
& + .page__meta {
|
2016-03-30 22:59:48 +02:00
|
|
|
margin-top: -0.5em;
|
2016-03-22 02:42:55 +01:00
|
|
|
}
|
2016-03-11 04:29:30 +01:00
|
|
|
}
|
2016-03-10 19:06:59 +01:00
|
|
|
|
2016-03-24 20:28:29 +01:00
|
|
|
.page__lead {
|
2016-04-05 21:18:05 +02:00
|
|
|
font-family: $global-font-family;
|
2016-03-30 22:59:48 +02:00
|
|
|
font-size: $type-size-4;
|
2016-03-24 20:28:29 +01:00
|
|
|
}
|
|
|
|
|
2016-03-11 22:36:41 +01:00
|
|
|
.page__content {
|
2016-06-07 03:16:57 +02:00
|
|
|
h2 {
|
|
|
|
padding-bottom: 0.5em;
|
|
|
|
border-bottom: 1px solid $border-color;
|
|
|
|
}
|
|
|
|
|
2017-12-07 14:56:14 +01:00
|
|
|
p,
|
|
|
|
li,
|
|
|
|
dl {
|
2016-03-30 22:59:48 +02:00
|
|
|
font-size: 1em;
|
2016-03-11 22:36:41 +01:00
|
|
|
}
|
2016-03-25 14:11:13 +01:00
|
|
|
|
|
|
|
/* paragraph indents */
|
|
|
|
p {
|
|
|
|
margin: 0 0 $indent-var;
|
|
|
|
|
2016-08-08 22:01:37 +02:00
|
|
|
/* sibling indentation*/
|
2016-03-25 14:11:13 +01:00
|
|
|
@if $paragraph-indent == true {
|
|
|
|
& + p {
|
|
|
|
text-indent: $indent-var;
|
|
|
|
margin-top: -($indent-var);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-03-29 03:48:42 +02:00
|
|
|
|
2017-09-12 18:01:43 +02:00
|
|
|
a:not(.btn) {
|
2016-04-06 03:37:16 +02:00
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
2016-04-06 21:50:10 +02:00
|
|
|
|
|
|
|
img {
|
|
|
|
box-shadow: 0 0 10px rgba(#000, 0.25);
|
|
|
|
}
|
2016-04-06 03:37:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-29 03:48:42 +02:00
|
|
|
dt {
|
|
|
|
margin-top: 1em;
|
2016-03-31 04:20:55 +02:00
|
|
|
font-family: $sans-serif;
|
2016-03-29 03:48:42 +02:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
dd {
|
|
|
|
margin-left: 1em;
|
2016-03-31 04:20:55 +02: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-29 03:48:42 +02:00
|
|
|
}
|
2016-03-11 22:36:41 +01:00
|
|
|
}
|
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;
|
2017-08-02 18:27:01 +02:00
|
|
|
-webkit-animation: $intro-transition;
|
2017-12-07 14:56:14 +01:00
|
|
|
animation: $intro-transition;
|
2017-02-14 18:42:50 +01:00
|
|
|
-webkit-animation-delay: 0.25s;
|
2017-12-07 14:56:14 +01:00
|
|
|
animation-delay: 0.25s;
|
2016-03-24 02:50:22 +01:00
|
|
|
|
|
|
|
&--overlay {
|
|
|
|
position: relative;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
padding: 3em 0;
|
|
|
|
@include clearfix;
|
2016-03-24 02:59:58 +01:00
|
|
|
background-size: cover;
|
|
|
|
background-repeat: no-repeat;
|
2016-03-24 17:04:23 +01:00
|
|
|
background-position: center;
|
2017-08-02 18:27:01 +02:00
|
|
|
-webkit-animation: $intro-transition;
|
2017-12-07 14:56:14 +01:00
|
|
|
animation: $intro-transition;
|
2017-02-14 18:42:50 +01:00
|
|
|
-webkit-animation-delay: 0.25s;
|
2017-12-07 14:56:14 +01:00
|
|
|
animation-delay: 0.25s;
|
2016-03-24 02:50:22 +01:00
|
|
|
|
2016-06-07 04:28:51 +02:00
|
|
|
a {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2016-03-24 20:28:29 +01:00
|
|
|
.wrapper {
|
2016-06-06 21:16:24 +02:00
|
|
|
padding-left: 1em;
|
|
|
|
padding-right: 1em;
|
|
|
|
|
|
|
|
@include breakpoint($x-large) {
|
|
|
|
max-width: $x-large;
|
|
|
|
}
|
2016-03-24 20:28:29 +01:00
|
|
|
}
|
|
|
|
|
2016-03-24 02:59:58 +01:00
|
|
|
.page__title,
|
2016-03-24 20:28:29 +01:00
|
|
|
.page__meta,
|
|
|
|
.page__lead,
|
|
|
|
.btn {
|
2016-03-24 02:50:22 +01:00
|
|
|
color: #fff;
|
|
|
|
text-shadow: 1px 1px 4px rgba(#000, 0.5);
|
|
|
|
}
|
2016-03-24 03:03:27 +01:00
|
|
|
|
2016-06-06 21:16:24 +02:00
|
|
|
.page__lead {
|
|
|
|
max-width: $medium;
|
|
|
|
}
|
|
|
|
|
2016-03-24 03:03:27 +01:00
|
|
|
.page__title {
|
2016-03-30 22:59:48 +02:00
|
|
|
font-size: $type-size-2;
|
2016-03-24 20:28:29 +01:00
|
|
|
|
|
|
|
@include breakpoint($small) {
|
2016-03-30 22:59:48 +02:00
|
|
|
font-size: $type-size-1;
|
2016-03-24 20:28:29 +01:00
|
|
|
}
|
|
|
|
}
|
2016-03-24 02:50:22 +01:00
|
|
|
}
|
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;
|
2016-04-05 21:18:05 +02:00
|
|
|
font-family: $caption-font-family;
|
2016-03-30 22:59:48 +02:00
|
|
|
font-size: $type-size-7;
|
2016-03-10 19:06:59 +01:00
|
|
|
background: #000;
|
|
|
|
text-align: right;
|
|
|
|
z-index: 5;
|
|
|
|
opacity: 0.5;
|
2017-03-23 19:34:13 +01:00
|
|
|
border-radius: $border-radius 0 0 0;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-20 20:20:33 +01:00
|
|
|
@include breakpoint($large) {
|
2016-03-10 19:06:59 +01:00
|
|
|
padding: 5px 10px;
|
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-10 19:06:59 +01:00
|
|
|
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-04-01 22:02:19 +02:00
|
|
|
|
|
|
|
@include breakpoint(max-width $small) {
|
|
|
|
.btn span {
|
|
|
|
border: 0;
|
|
|
|
clip: rect(0 0 0 0);
|
|
|
|
height: 1px;
|
|
|
|
margin: -1px;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0;
|
|
|
|
position: absolute;
|
|
|
|
width: 1px;
|
|
|
|
}
|
|
|
|
}
|
2016-02-23 03:44:55 +01:00
|
|
|
}
|
2016-03-11 04:29:30 +01:00
|
|
|
|
|
|
|
.page__share-title {
|
|
|
|
margin-bottom: 10px;
|
2016-03-30 22:59:48 +02:00
|
|
|
font-size: $type-size-6;
|
2016-03-11 04:29:30 +01:00
|
|
|
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;
|
2017-09-12 18:01:43 +02:00
|
|
|
color: $muted-text-color;
|
2016-03-11 04:29:30 +01:00
|
|
|
font-family: $sans-serif;
|
2016-03-30 22:59:48 +02:00
|
|
|
font-size: $type-size-6;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-11 04:29:30 +01:00
|
|
|
p {
|
2016-04-04 03:35:53 +02:00
|
|
|
margin: 0;
|
2016-03-10 04:19:11 +01:00
|
|
|
}
|
2016-04-05 21:18:05 +02:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
}
|
2015-01-21 17:21:50 +01:00
|
|
|
}
|
|
|
|
|
2016-03-11 21:55:06 +01:00
|
|
|
.page__meta-title {
|
|
|
|
margin-bottom: 10px;
|
2016-03-30 22:59:48 +02:00
|
|
|
font-size: $type-size-6;
|
2016-03-11 21:55:06 +01:00
|
|
|
text-transform: uppercase;
|
2013-05-24 16:25:31 +02:00
|
|
|
}
|
2015-01-21 15:32:22 +01:00
|
|
|
|
2016-03-20 02:50:18 +01:00
|
|
|
/*
|
|
|
|
Page taxonomy
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.page__taxonomy {
|
|
|
|
.sep {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-03-23 16:43:16 +01:00
|
|
|
|
|
|
|
strong {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2016-03-20 02:50:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.page__taxonomy-item {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
padding: 5px 10px;
|
|
|
|
text-decoration: none;
|
2017-09-12 18:01:43 +02:00
|
|
|
border: 1px solid mix(#000, $border-color, 25%);
|
2016-03-20 02:50:18 +01:00
|
|
|
border-radius: $border-radius;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-20 02:50:18 +01:00
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
2016-04-06 20:46:35 +02:00
|
|
|
color: $link-color-hover;
|
2016-03-20 02:50:18 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-18 03:36:20 +01:00
|
|
|
/*
|
|
|
|
Comments
|
|
|
|
========================================================================== */
|
|
|
|
|
2016-03-23 21:33:21 +01:00
|
|
|
.page__comments {
|
2017-07-21 22:08:29 +02:00
|
|
|
float: left;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
width: 100%;
|
|
|
|
clear: both;
|
2016-03-23 21:33:21 +01:00
|
|
|
}
|
|
|
|
|
2016-03-18 03:36:20 +01:00
|
|
|
.page__comments-title {
|
|
|
|
margin-top: 2rem;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
padding-top: 2rem;
|
2016-03-30 22:59:48 +02:00
|
|
|
font-size: $type-size-6;
|
2016-03-18 03:36:20 +01:00
|
|
|
border-top: 1px solid $border-color;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
2016-08-11 16:14:27 +02:00
|
|
|
.page__comments-form {
|
2017-02-14 18:42:50 +01:00
|
|
|
-webkit-transition: $global-transition;
|
2016-08-12 04:32:27 +02:00
|
|
|
transition: $global-transition;
|
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
input,
|
|
|
|
button,
|
|
|
|
textarea,
|
|
|
|
label {
|
|
|
|
pointer-events: none;
|
|
|
|
cursor: not-allowed;
|
|
|
|
filter: alpha(opacity=65);
|
|
|
|
box-shadow: none;
|
|
|
|
opacity: 0.65;
|
|
|
|
}
|
|
|
|
}
|
2016-08-11 16:14:27 +02:00
|
|
|
}
|
|
|
|
|
2016-08-10 21:45:48 +02:00
|
|
|
.comment {
|
2016-08-12 04:32:27 +02:00
|
|
|
@include clearfix();
|
|
|
|
margin: 1em 0;
|
2016-08-10 21:45:48 +02:00
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
border-bottom: 1px solid $border-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment__avatar-wrapper {
|
2016-08-12 04:32:27 +02:00
|
|
|
float: left;
|
2016-08-10 21:45:48 +02:00
|
|
|
width: 60px;
|
|
|
|
height: 60px;
|
|
|
|
|
|
|
|
@include breakpoint($large) {
|
|
|
|
width: 100px;
|
|
|
|
height: 100px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment__avatar {
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
|
|
@include breakpoint($large) {
|
|
|
|
width: 80px;
|
|
|
|
height: 80px;
|
|
|
|
padding: 5px;
|
|
|
|
border: 1px solid $border-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment__content-wrapper {
|
2016-08-12 04:32:27 +02:00
|
|
|
float: right;
|
|
|
|
width: calc(100% - 60px);
|
|
|
|
|
|
|
|
@include breakpoint($large) {
|
|
|
|
width: calc(100% - 100px);
|
|
|
|
}
|
2016-08-10 21:45:48 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment__author {
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment__date {
|
|
|
|
@extend .page__meta;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-11 21:55:06 +01:00
|
|
|
/*
|
|
|
|
Related
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.page__related {
|
2017-07-21 22:08:29 +02:00
|
|
|
@include clearfix();
|
|
|
|
float: left;
|
2016-03-11 22:17:41 +01:00
|
|
|
margin-top: 2em;
|
|
|
|
padding-top: 1em;
|
|
|
|
border-top: 1px solid $border-color;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-20 20:20:33 +01:00
|
|
|
@include breakpoint($large) {
|
2017-07-21 22:08:29 +02:00
|
|
|
float: right;
|
2017-08-08 20:41:46 +02:00
|
|
|
width: calc(100% - #{$right-sidebar-width-narrow});
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint($x-large) {
|
|
|
|
width: calc(100% - #{$right-sidebar-width});
|
2016-03-10 04:19:11 +01:00
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-10 04:19:11 +01:00
|
|
|
a {
|
2016-04-05 21:18:05 +02:00
|
|
|
color: inherit;
|
2016-03-10 04:19:11 +01:00
|
|
|
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 {
|
|
|
|
margin-bottom: 10px;
|
2016-03-30 22:59:48 +02:00
|
|
|
font-size: $type-size-6;
|
2016-03-11 21:55:06 +01:00
|
|
|
text-transform: uppercase;
|
2017-12-07 14:56:14 +01:00
|
|
|
}
|