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
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
/* Main content */
|
2013-05-24 16:25:31 +02:00
|
|
|
#main {
|
2016-03-10 04:19:11 +01:00
|
|
|
counter-reset: captions;
|
|
|
|
@include container;
|
|
|
|
@include clearfix;
|
|
|
|
clear: both;
|
|
|
|
margin-top: 2em;
|
2016-03-10 17:13:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.page {
|
|
|
|
@include container;
|
|
|
|
@include grid(12,10);
|
|
|
|
@include prefix(12,1);
|
|
|
|
@include suffix(12,1);
|
|
|
|
margin-bottom: 2em;
|
2015-01-21 15:32:22 +01:00
|
|
|
|
2016-03-10 04:19:11 +01:00
|
|
|
@include breakpoint($small) {
|
|
|
|
@include grid(12,8);
|
|
|
|
@include prefix(12,0);
|
|
|
|
@include suffix(12,0);
|
|
|
|
}
|
2016-03-10 19:06:59 +01:00
|
|
|
|
2016-03-10 04:19:11 +01:00
|
|
|
@include breakpoint($large) {
|
|
|
|
@include grid(12,6);
|
|
|
|
}
|
2016-03-10 19:06:59 +01:00
|
|
|
|
2016-03-10 04:19:11 +01:00
|
|
|
@include breakpoint($x-large) {
|
|
|
|
@include grid(12,5);
|
|
|
|
}
|
2016-03-10 19:06:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.page__title {}
|
|
|
|
|
|
|
|
.page__content {
|
|
|
|
ul, ol {
|
|
|
|
li + li {
|
|
|
|
margin-top: 0.5em;
|
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-10 19:06:59 +01:00
|
|
|
.page__hero {
|
2016-03-10 04:19:11 +01:00
|
|
|
position: relative;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
@include clearfix;
|
|
|
|
&:after {
|
2016-03-10 19:06:59 +01:00
|
|
|
content: "";
|
2016-03-10 04:19:11 +01:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 8%;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border: 10px solid transparent;
|
2016-03-10 17:13:54 +01:00
|
|
|
border-bottom-color: $body-color;
|
2016-03-10 04:19:11 +01:00
|
|
|
@include breakpoint($small) {
|
|
|
|
left: 25%;
|
|
|
|
}
|
|
|
|
@include breakpoint($large) {
|
|
|
|
border-width: 20px;
|
|
|
|
}
|
|
|
|
@include breakpoint($x-large) {
|
|
|
|
left: 33.333333333%;
|
|
|
|
}
|
|
|
|
}
|
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
|
|
|
|
|
|
|
/* Post byline */
|
2013-05-24 16:25:31 +02:00
|
|
|
.byline {
|
2016-03-10 04:19:11 +01:00
|
|
|
clear: both;
|
|
|
|
font-size: 80%;
|
2013-05-24 16:25:31 +02:00
|
|
|
}
|
2016-02-23 03:44:55 +01:00
|
|
|
|
|
|
|
/* Author profile */
|
2016-03-07 04:05:43 +01:00
|
|
|
.sidebar {
|
2016-03-10 04:19:11 +01:00
|
|
|
display: none;
|
|
|
|
a, a:hover {
|
|
|
|
border-bottom: 0 solid transparent;
|
|
|
|
}
|
2016-03-07 04:05:43 +01:00
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2016-03-10 04:19:11 +01:00
|
|
|
@include breakpoint($small) {
|
|
|
|
display: block;
|
|
|
|
@include grid(12,2);
|
|
|
|
@include prefix(12,0.5);
|
|
|
|
@include suffix(12,0.5);
|
|
|
|
}
|
|
|
|
@include breakpoint($x-large) {
|
|
|
|
@include grid(12,1.5);
|
|
|
|
@include prefix(12,2);
|
|
|
|
}
|
2016-02-23 03:44:55 +01:00
|
|
|
}
|
2016-03-10 19:06:59 +01:00
|
|
|
.author__name {
|
2016-03-10 04:19:11 +01:00
|
|
|
margin-bottom: 0;
|
|
|
|
@include breakpoint($small) {
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
2016-02-23 03:44:55 +01:00
|
|
|
}
|
2016-03-10 19:06:59 +01:00
|
|
|
.author__bio {
|
2016-03-10 04:19:11 +01:00
|
|
|
font-size: 80%;
|
|
|
|
font-style: italic;
|
|
|
|
@include breakpoint($small) {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
2016-02-23 03:44:55 +01:00
|
|
|
}
|
2016-03-10 19:06:59 +01:00
|
|
|
.author__avatar {
|
2016-03-10 04:19:11 +01:00
|
|
|
max-width: 110px;
|
2016-03-10 17:13:54 +01:00
|
|
|
border-radius: 50%;
|
2013-05-24 16:25:31 +02:00
|
|
|
}
|
2016-03-10 19:06:59 +01:00
|
|
|
.author__social-url {
|
2016-02-23 16:19:11 +01:00
|
|
|
display: block;
|
2013-09-07 18:57:20 +02:00
|
|
|
margin-bottom: 5px;
|
2016-03-10 17:13:54 +01:00
|
|
|
font-size: 14px;
|
|
|
|
color: #000;
|
2016-03-10 19:06:59 +01:00
|
|
|
text-decoration: none;
|
2013-09-07 18:57:20 +02:00
|
|
|
&:visited {
|
2016-03-10 17:13:54 +01:00
|
|
|
color: #000;
|
2013-09-07 18:57:20 +02:00
|
|
|
}
|
|
|
|
&:hover {
|
2016-03-10 19:06:59 +01:00
|
|
|
text-decoration: underline;
|
2013-09-07 18:57:20 +02:00
|
|
|
}
|
2014-06-19 20:25:53 +02:00
|
|
|
.fa {
|
2016-03-10 04:19:11 +01:00
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2013-05-24 16:25:31 +02:00
|
|
|
}
|
2016-03-10 04:19:11 +01:00
|
|
|
@include breakpoint($small) {
|
|
|
|
display: block;
|
|
|
|
max-width: 125px;
|
|
|
|
}
|
|
|
|
@include breakpoint($large) {
|
2016-03-10 19:06:59 +01:00
|
|
|
.author__name,
|
|
|
|
.author__avatar,
|
|
|
|
.author__bio,
|
|
|
|
.author__social-url {
|
2016-03-10 04:19:11 +01:00
|
|
|
max-width: 150px;
|
|
|
|
}
|
2013-09-07 18:57:20 +02:00
|
|
|
}
|
2015-01-21 15:32:22 +01:00
|
|
|
|
2015-01-21 17:21:50 +01:00
|
|
|
/* Social sharing links */
|
|
|
|
.social-share {
|
2016-03-10 04:19:11 +01:00
|
|
|
h4 {
|
2016-03-10 17:13:54 +01:00
|
|
|
font-size: 14px;
|
2016-03-10 04:19:11 +01:00
|
|
|
margin-bottom: 10px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
2015-01-21 17:21:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2015-01-21 15:32:22 +01:00
|
|
|
/* Footer wrapper */
|
2013-05-24 16:25:31 +02:00
|
|
|
.footer-wrap {
|
2016-03-10 04:19:11 +01:00
|
|
|
@include container;
|
|
|
|
@include clearfix;
|
|
|
|
clear: both;
|
|
|
|
padding-bottom: 3em;
|
|
|
|
.copyright {
|
2016-03-10 17:13:54 +01:00
|
|
|
font-size: 14px;
|
2016-03-10 04:19:11 +01:00
|
|
|
}
|
|
|
|
footer {
|
|
|
|
@include grid(12,10);
|
|
|
|
@include prefix(12,1);
|
|
|
|
@include suffix(12,1);
|
|
|
|
@include breakpoint($small) {
|
|
|
|
@include grid(12,6);
|
|
|
|
@include prefix(12,3);
|
|
|
|
@include suffix(12,3);
|
|
|
|
}
|
|
|
|
@include breakpoint($x-large) {
|
|
|
|
@include grid(12,4.5);
|
|
|
|
@include prefix(12,4);
|
|
|
|
@include suffix(12,3.5);
|
|
|
|
}
|
|
|
|
}
|
2013-05-24 16:25:31 +02:00
|
|
|
}
|
2015-01-21 15:32:22 +01:00
|
|
|
|
2016-03-09 21:54:20 +01:00
|
|
|
/* Follow links */
|
|
|
|
.follow {
|
|
|
|
ul {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
li + li:before {
|
|
|
|
content: "";
|
|
|
|
padding-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-21 15:32:22 +01:00
|
|
|
/* Related articles list */
|
2013-05-24 16:25:31 +02:00
|
|
|
.related-articles {
|
2016-03-10 04:19:11 +01:00
|
|
|
@include grid(12,10);
|
|
|
|
@include prefix(12,1);
|
|
|
|
@include suffix(12,1);
|
|
|
|
margin-bottom: 2em;
|
|
|
|
@include breakpoint($small) {
|
|
|
|
@include grid(12,6);
|
|
|
|
@include prefix(12,3);
|
|
|
|
@include suffix(12,3);
|
|
|
|
}
|
|
|
|
@include breakpoint($x-large) {
|
|
|
|
@include grid(12,4.5);
|
|
|
|
@include prefix(12,4);
|
|
|
|
@include suffix(12,3.5);
|
|
|
|
}
|
|
|
|
h4 {
|
|
|
|
text-transform: uppercase;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2013-05-24 16:25:31 +02:00
|
|
|
}
|
2013-09-07 17:59:02 +02:00
|
|
|
|
2015-04-17 12:43:36 +02:00
|
|
|
/*
|
2015-01-21 15:32:22 +01:00
|
|
|
Browser upgrade alert
|
|
|
|
========================================================================== */
|
|
|
|
|
2013-09-07 16:10:55 +02:00
|
|
|
.browser-upgrade {
|
2016-03-10 04:19:11 +01:00
|
|
|
background: #000;
|
|
|
|
text-align: center;
|
|
|
|
margin: 0 0 2em 0;
|
|
|
|
padding: 10px;
|
|
|
|
text-align: center;
|
2016-03-10 17:13:54 +01:00
|
|
|
color: #fff;
|
2016-03-10 04:19:11 +01:00
|
|
|
a {
|
2016-03-10 17:13:54 +01:00
|
|
|
color: #fff;
|
|
|
|
border-bottom: 1px dotted #fff;
|
2016-03-10 04:19:11 +01:00
|
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
2016-03-10 17:13:54 +01:00
|
|
|
border-bottom: 1px solid #fff;
|
2016-03-10 04:19:11 +01:00
|
|
|
}
|
|
|
|
}
|
2013-09-07 17:59:02 +02:00
|
|
|
}
|
2016-03-05 04:57:12 +01:00
|
|
|
|
2015-04-17 12:43:36 +02:00
|
|
|
/*
|
2015-01-21 15:32:22 +01:00
|
|
|
Google search form
|
|
|
|
========================================================================== */
|
2013-09-07 17:59:02 +02:00
|
|
|
|
|
|
|
#goog-fixurl {
|
2016-03-10 04:19:11 +01:00
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin-left: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
li {
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
}
|
2013-09-07 17:59:02 +02:00
|
|
|
}
|
|
|
|
#goog-wm-qt {
|
2016-03-10 04:19:11 +01:00
|
|
|
width: auto;
|
|
|
|
margin-right: 10px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
padding: 8px 20px;
|
|
|
|
display: inline-block;
|
2016-03-10 17:13:54 +01:00
|
|
|
font-size: 14px;
|
|
|
|
background-color: #fff;
|
|
|
|
color: #000;
|
2016-03-10 04:19:11 +01:00
|
|
|
border-width: 2px !important;
|
|
|
|
border-style: solid !important;
|
2016-03-10 17:13:54 +01:00
|
|
|
border-color: lighten(#000,50);
|
|
|
|
border-radius: $border-radius;
|
2013-09-07 17:59:02 +02:00
|
|
|
}
|
|
|
|
#goog-wm-sb {
|
2016-03-10 04:19:11 +01:00
|
|
|
@extend .btn;
|
2016-03-09 21:11:34 +01:00
|
|
|
}
|