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-09-07 16:10:55 +02:00
|
|
|
body {
|
2016-03-10 17:13:54 +01:00
|
|
|
background-color: $body-color;
|
2016-03-10 04:19:11 +01:00
|
|
|
font-family: $serif;
|
|
|
|
color: $text-color;
|
2013-05-24 16:25:31 +02:00
|
|
|
}
|
2015-01-21 15:32:22 +01:00
|
|
|
|
2015-04-17 12:43:36 +02:00
|
|
|
/*
|
2015-01-21 15:32:22 +01:00
|
|
|
Header
|
|
|
|
========================================================================== */
|
|
|
|
|
2013-05-24 16:25:31 +02:00
|
|
|
.navigation-wrapper {
|
2016-03-10 04:19:11 +01:00
|
|
|
@include container;
|
|
|
|
padding: 2em 0 1em;
|
|
|
|
font-family: $sans-serif-narrow;
|
|
|
|
font-weight: 700;
|
|
|
|
text-transform: uppercase;
|
|
|
|
@include clearfix;
|
2013-05-24 16:25:31 +02:00
|
|
|
}
|
2015-01-21 15:32:22 +01:00
|
|
|
|
|
|
|
/* Site name */
|
2013-05-24 16:25:31 +02:00
|
|
|
.site-name {
|
2016-03-10 04:19:11 +01:00
|
|
|
@include grid(12,10);
|
|
|
|
@include prefix(12,1);
|
|
|
|
@include suffix(12,1);
|
|
|
|
margin-bottom: 1em;
|
|
|
|
float: none;
|
|
|
|
display: block;
|
2016-03-10 17:13:54 +01:00
|
|
|
font-size: 24px;
|
2016-03-10 04:19:11 +01:00
|
|
|
@include breakpoint($small) {
|
|
|
|
@include grid(12,2);
|
|
|
|
@include prefix(12,0.5);
|
|
|
|
@include suffix(12,0.5);
|
2016-03-10 17:13:54 +01:00
|
|
|
font-size: 16px;
|
2016-03-10 04:19:11 +01:00
|
|
|
}
|
|
|
|
@include breakpoint($x-large) {
|
|
|
|
@include grid(12,1.5);
|
|
|
|
@include prefix(12,2);
|
|
|
|
}
|
2013-05-24 16:25:31 +02:00
|
|
|
}
|
2015-01-21 15:32:22 +01:00
|
|
|
|
|
|
|
/* Top navigation links */
|
2013-05-24 16:25:31 +02:00
|
|
|
.top-navigation {
|
2016-03-10 04:19:11 +01:00
|
|
|
@include grid(12,10);
|
|
|
|
@include prefix(12,1);
|
|
|
|
@include suffix(12,1);
|
|
|
|
margin-bottom: 1em;
|
|
|
|
float: none;
|
|
|
|
display: block;
|
|
|
|
@include breakpoint($small) {
|
|
|
|
@include grid(12,9);
|
|
|
|
@include prefix(12,0);
|
|
|
|
@include suffix(12,0);
|
|
|
|
}
|
|
|
|
@include breakpoint($x-large) {
|
|
|
|
@include grid(12,8);
|
|
|
|
}
|
|
|
|
ul {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
clear: both;
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
display: block;
|
|
|
|
list-style-type: none;
|
2016-03-10 17:13:54 +01:00
|
|
|
border-bottom: 1px solid lighten(#000,80);
|
|
|
|
border-bottom: 1px solid fade(#000,10);
|
|
|
|
font-size: 16px;
|
2016-03-10 04:19:11 +01:00
|
|
|
&:last-child {
|
|
|
|
border-bottom: 0 solid transparent;
|
|
|
|
}
|
|
|
|
@include breakpoint($small) {
|
|
|
|
display: inline;
|
|
|
|
margin-right: 25px;
|
|
|
|
white-space: nowrap;
|
|
|
|
border-bottom: 0 solid transparent;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
padding: 10px 0;
|
|
|
|
decoration: none;
|
|
|
|
border-bottom: 0 solid transparent;
|
|
|
|
@include breakpoint($small) {
|
|
|
|
display: inline;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-02-13 20:20:28 +01:00
|
|
|
}
|
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;
|
|
|
|
@include breakpoint($small) {
|
|
|
|
@include grid(12,8);
|
|
|
|
@include prefix(12,0);
|
|
|
|
@include suffix(12,0);
|
2016-03-10 04:19:11 +01:00
|
|
|
}
|
2016-03-10 17:13:54 +01:00
|
|
|
@include breakpoint($large) {
|
|
|
|
@include grid(12,6);
|
2016-03-10 04:19:11 +01:00
|
|
|
}
|
2016-03-10 17:13:54 +01:00
|
|
|
@include breakpoint($x-large) {
|
|
|
|
@include grid(12,5);
|
2016-03-10 03:23:27 +01:00
|
|
|
}
|
2013-05-24 16:25:31 +02:00
|
|
|
}
|
2015-01-21 15:32:22 +01:00
|
|
|
|
2016-02-23 03:44:55 +01:00
|
|
|
/* Archive listing specific styling */
|
|
|
|
.archive {
|
2016-03-10 04:19:11 +01:00
|
|
|
@include container;
|
|
|
|
@include grid(12,10);
|
|
|
|
@include prefix(12,1);
|
|
|
|
@include suffix(12,1);
|
|
|
|
margin-bottom: 2em;
|
|
|
|
@include breakpoint($small) {
|
|
|
|
@include grid(12,8);
|
|
|
|
@include prefix(12,0);
|
|
|
|
@include suffix(12,0);
|
|
|
|
}
|
|
|
|
@include breakpoint($large) {
|
|
|
|
@include grid(12,6);
|
|
|
|
}
|
|
|
|
@include breakpoint($x-large) {
|
|
|
|
@include grid(12,5);
|
|
|
|
}
|
|
|
|
h3 {
|
|
|
|
margin: 0;
|
|
|
|
padding-bottom: .5em;
|
2016-03-10 17:13:54 +01:00
|
|
|
font-size: 28px;
|
|
|
|
border-bottom: 1px solid mix(#fff, #000, 70%);
|
2016-03-10 04:19:11 +01:00
|
|
|
}
|
|
|
|
article {
|
|
|
|
h2 {
|
|
|
|
margin-bottom: 4px;
|
2016-03-10 17:13:54 +01:00
|
|
|
font-size: 20px;
|
2016-03-10 04:19:11 +01:00
|
|
|
}
|
|
|
|
p {
|
2016-03-10 17:13:54 +01:00
|
|
|
font-size: 14px;
|
2016-03-10 04:19:11 +01:00
|
|
|
}
|
2016-03-10 17:13:54 +01:00
|
|
|
p + p {
|
2016-03-10 04:19:11 +01:00
|
|
|
text-indent: 0;
|
|
|
|
}
|
|
|
|
}
|
2013-05-24 16:25:31 +02:00
|
|
|
}
|
2015-01-21 15:32:22 +01:00
|
|
|
|
|
|
|
/* Large feature header image */
|
2013-05-24 16:25:31 +02:00
|
|
|
.image-wrap {
|
2016-03-10 04:19:11 +01:00
|
|
|
position: relative;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
@include clearfix;
|
|
|
|
&:after {
|
|
|
|
content: " ";
|
|
|
|
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%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
-ms-interpolation-mode: bicubic;
|
|
|
|
}
|
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
|
|
|
}
|
|
|
|
.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
|
|
|
}
|
|
|
|
.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
|
|
|
}
|
|
|
|
.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
|
|
|
}
|
2013-09-07 18:57:20 +02:00
|
|
|
.author-social {
|
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;
|
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 17:13:54 +01:00
|
|
|
transform: scale(1.1);
|
2013-09-07 18:57:20 +02:00
|
|
|
}
|
|
|
|
&:active {
|
2016-03-10 17:13:54 +01:00
|
|
|
transform: translate(0, 2px);
|
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) {
|
|
|
|
.author-name,
|
|
|
|
.author-avatar,
|
|
|
|
.author-bio,
|
|
|
|
.author-social {
|
|
|
|
max-width: 150px;
|
|
|
|
}
|
2013-09-07 18:57:20 +02:00
|
|
|
}
|
2015-01-21 15:32:22 +01:00
|
|
|
|
|
|
|
/* Post content wrapper */
|
2013-09-07 18:57:20 +02:00
|
|
|
.article-wrap {
|
2016-03-10 04:19:11 +01:00
|
|
|
// Dotted line underlines for links
|
|
|
|
p > a,
|
|
|
|
p > em > a,
|
|
|
|
p > strong > a,
|
|
|
|
li > a {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2013-05-24 16:25:31 +02:00
|
|
|
}
|
2015-01-21 15:32:22 +01:00
|
|
|
|
|
|
|
/* Image grid - not used */
|
2013-05-24 16:25:31 +02:00
|
|
|
.image-grid {
|
2016-03-10 04:19:11 +01:00
|
|
|
@include clearfix;
|
|
|
|
list-style: none;
|
|
|
|
margin: 0 0 1em;
|
|
|
|
padding: 0;
|
|
|
|
li {
|
|
|
|
@include grid(12,6);
|
|
|
|
@include breakpoint($micro) {
|
|
|
|
width: 33.333333%;
|
|
|
|
}
|
|
|
|
@include breakpoint($small) {
|
|
|
|
width: 25%;
|
|
|
|
}
|
|
|
|
@include breakpoint($medium) {
|
|
|
|
width: 20%;
|
|
|
|
}
|
|
|
|
@include breakpoint($large) {
|
|
|
|
width: 16.666666666%;
|
|
|
|
}
|
|
|
|
}
|
2013-05-24 16:25:31 +02:00
|
|
|
}
|
2015-01-21 15:32:22 +01:00
|
|
|
|
|
|
|
/* Recent grid - not used */
|
2013-05-24 16:25:31 +02:00
|
|
|
.recent-grid {
|
2016-03-10 04:19:11 +01:00
|
|
|
@include clearfix;
|
|
|
|
list-style: none;
|
|
|
|
margin: 1em 0;
|
|
|
|
li {
|
|
|
|
display: inline;
|
|
|
|
a {
|
|
|
|
border-bottom: 0 solid transparent;
|
|
|
|
&:hover {
|
|
|
|
border-bottom: 0 solid transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
img {
|
|
|
|
width: 19%;
|
|
|
|
margin-bottom: 1%;
|
|
|
|
}
|
2013-05-24 16:25:31 +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;
|
2014-04-07 12:29:07 +02:00
|
|
|
}
|
2016-03-05 04:57:12 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
Breadcrumbs
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.breadcrumbs {
|
|
|
|
ol {
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
.current {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
2016-03-09 21:11:34 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
Post pagination links
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.pagination {
|
|
|
|
padding-top: 0.5em;
|
2016-03-10 17:13:54 +01:00
|
|
|
border-top: 1px solid mix(#fff, #000, 70%);
|
2016-03-09 21:11:34 +01:00
|
|
|
ul {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
li + li:before {
|
|
|
|
content: "";
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
.current {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|