2016-03-11 04:29:30 +01:00
|
|
|
/* ==========================================================================
|
|
|
|
SIDEBAR
|
|
|
|
========================================================================== */
|
|
|
|
|
2016-03-20 20:20:33 +01:00
|
|
|
/*
|
|
|
|
Default
|
|
|
|
========================================================================== */
|
|
|
|
|
2016-03-11 04:29:30 +01:00
|
|
|
.sidebar {
|
2016-03-18 16:58:56 +01:00
|
|
|
@include clearfix();
|
2016-03-21 03:15:43 +01:00
|
|
|
margin-bottom: 1em;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-20 20:20:33 +01:00
|
|
|
@include breakpoint($large) {
|
2016-03-16 21:18:37 +01:00
|
|
|
@include span(2 of 12);
|
2016-04-05 22:14:35 +02:00
|
|
|
opacity: 0.75;
|
|
|
|
transition: opacity 0.2s ease-in-out;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2016-03-11 04:29:30 +01:00
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-18 03:56:01 +01:00
|
|
|
@include breakpoint($x-large) {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-11 22:36:41 +01:00
|
|
|
h2, h3, h4, h5, h6 {
|
2016-03-18 16:58:56 +01:00
|
|
|
margin-bottom: 0;
|
2016-03-11 22:36:41 +01:00
|
|
|
font-family: $sans-serif-narrow;
|
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-31 04:20:55 +02:00
|
|
|
h3, h4 {
|
|
|
|
font-size: $type-size-5;
|
2016-03-21 21:36:24 +01:00
|
|
|
}
|
|
|
|
|
2016-03-11 22:36:41 +01:00
|
|
|
p, li {
|
2016-03-21 21:36:24 +01:00
|
|
|
font-family: $sans-serif;
|
2016-03-30 22:59:48 +02:00
|
|
|
font-size: $type-size-6;
|
2016-03-31 04:20:55 +02:00
|
|
|
line-height: 1.5;
|
2016-03-11 22:36:41 +01:00
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-11 22:36:41 +01:00
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2016-03-11 04:29:30 +01:00
|
|
|
}
|
|
|
|
|
2016-03-20 20:20:33 +01:00
|
|
|
.sidebar__right {
|
2016-03-30 05:13:00 +02:00
|
|
|
margin-bottom: 1em;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-20 20:20:33 +01:00
|
|
|
@include breakpoint($large) {
|
2016-03-30 05:13:00 +02:00
|
|
|
float: right;
|
|
|
|
width: $right-sidebar-width-narrow;
|
|
|
|
margin-left: span(0.5 of 12);
|
2016-03-20 20:20:33 +01:00
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-20 20:20:33 +01:00
|
|
|
@include breakpoint($x-large) {
|
2016-03-30 05:13:00 +02:00
|
|
|
width: $right-sidebar-width;
|
2016-03-20 20:20:33 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-11 04:29:30 +01:00
|
|
|
/*
|
|
|
|
Author profile and links
|
|
|
|
========================================================================== */
|
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
.author__avatar {
|
2016-03-21 03:15:43 +01:00
|
|
|
display: table-cell;
|
|
|
|
vertical-align: top;
|
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-20 20:20:33 +01:00
|
|
|
@include breakpoint($large) {
|
2016-03-21 03:15:43 +01:00
|
|
|
display: block;
|
2016-04-05 21:18:05 +02:00
|
|
|
width: auto;
|
|
|
|
height: auto;
|
2016-03-18 16:58:56 +01:00
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
img {
|
|
|
|
max-width: 110px;
|
|
|
|
border-radius: 50%;
|
2016-03-29 03:48:42 +02:00
|
|
|
|
|
|
|
@include breakpoint($large) {
|
|
|
|
padding: 5px;
|
|
|
|
border: 1px solid $border-color;
|
|
|
|
}
|
2016-03-18 16:58:56 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.author__content {
|
2016-03-21 03:15:43 +01:00
|
|
|
display: table-cell;
|
|
|
|
vertical-align: top;
|
|
|
|
padding-left: 15px;
|
2016-03-25 14:39:18 +01:00
|
|
|
padding-right: 25px;
|
2016-03-21 03:15:43 +01:00
|
|
|
line-height: 1;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-20 20:20:33 +01:00
|
|
|
@include breakpoint($large) {
|
2016-03-21 03:15:43 +01:00
|
|
|
display: block;
|
2016-03-18 16:58:56 +01:00
|
|
|
width: 100%;
|
2016-03-21 03:15:43 +01:00
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
2016-03-18 16:58:56 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-11 04:29:30 +01:00
|
|
|
.author__name {
|
2016-03-18 16:58:56 +01:00
|
|
|
margin: 0;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-20 20:20:33 +01:00
|
|
|
@include breakpoint($large) {
|
2016-03-18 16:58:56 +01:00
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
2016-03-11 04:29:30 +01:00
|
|
|
}
|
2016-03-21 03:15:43 +01:00
|
|
|
.sidebar .author__name {
|
|
|
|
font-family: $sans-serif;
|
2016-03-30 22:59:48 +02:00
|
|
|
font-size: $type-size-5;
|
2016-03-21 03:15:43 +01:00
|
|
|
}
|
2016-03-11 04:29:30 +01:00
|
|
|
|
|
|
|
.author__bio {
|
2016-03-25 14:39:18 +01:00
|
|
|
margin: 0;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-20 20:20:33 +01:00
|
|
|
@include breakpoint($large) {
|
2016-03-25 14:39:18 +01:00
|
|
|
margin-top: 10px;
|
2016-03-18 16:58:56 +01:00
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
2016-03-11 04:29:30 +01:00
|
|
|
}
|
|
|
|
|
2016-03-21 05:03:46 +01:00
|
|
|
.author__urls-wrapper {
|
2016-03-21 03:15:43 +01:00
|
|
|
position: relative;
|
|
|
|
display: table-cell;
|
2016-03-25 14:39:18 +01:00
|
|
|
vertical-align: top;
|
2016-03-21 03:15:43 +01:00
|
|
|
font-family: $sans-serif;
|
2016-03-21 05:03:46 +01:00
|
|
|
z-index: 9999;
|
|
|
|
position: relative;
|
|
|
|
cursor: pointer;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-25 14:39:18 +01:00
|
|
|
li:last-child {
|
|
|
|
a {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-21 03:15:43 +01:00
|
|
|
@include breakpoint($large) {
|
|
|
|
display: block;
|
|
|
|
}
|
2016-03-21 05:03:46 +01:00
|
|
|
.btn {
|
|
|
|
@include breakpoint($large) {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-03-21 03:15:43 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
.author__urls {
|
2016-03-21 03:15:43 +01:00
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
2016-03-21 05:03:46 +01:00
|
|
|
margin-top: 15px;
|
2016-03-21 03:15:43 +01:00
|
|
|
padding: 10px;
|
2016-03-21 05:03:46 +01:00
|
|
|
list-style-type: none;
|
2016-03-21 03:15:43 +01:00
|
|
|
border: 1px solid $border-color;
|
|
|
|
border-radius: $border-radius;
|
2016-03-21 05:03:46 +01:00
|
|
|
background: #fff;
|
|
|
|
z-index: -1;
|
|
|
|
box-shadow: 0 0 10px rgba(#000, 0.25);
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-21 05:03:46 +01:00
|
|
|
@include breakpoint($large) {
|
|
|
|
display: block;
|
2016-03-21 17:37:10 +01:00
|
|
|
position: relative;
|
2016-03-21 05:03:46 +01:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
2016-03-21 17:37:10 +01:00
|
|
|
background: transparent;
|
|
|
|
box-shadow: none;
|
2016-03-21 05:03:46 +01:00
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-21 05:03:46 +01:00
|
|
|
&:before {
|
2016-03-21 21:01:19 +01:00
|
|
|
display: block;
|
2016-03-21 03:15:43 +01:00
|
|
|
content: "";
|
|
|
|
position: absolute;
|
2016-03-21 21:01:19 +01:00
|
|
|
top: -11px;
|
|
|
|
left: calc(50% - 10px);
|
|
|
|
width: 0;
|
2016-03-21 03:15:43 +01:00
|
|
|
border-style: solid;
|
|
|
|
border-width: 0 10px 10px;
|
2016-03-21 05:03:46 +01:00
|
|
|
border-color: $border-color transparent;
|
|
|
|
z-index: 0;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-21 05:03:46 +01:00
|
|
|
@include breakpoint($large) {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-03-21 03:15:43 +01:00
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-21 05:03:46 +01:00
|
|
|
&:after {
|
2016-03-21 21:01:19 +01:00
|
|
|
display: block;
|
2016-03-21 05:03:46 +01:00
|
|
|
content: "";
|
2016-03-21 03:15:43 +01:00
|
|
|
position: absolute;
|
2016-03-21 21:01:19 +01:00
|
|
|
top: -10px;
|
|
|
|
left: calc(50% - 10px);
|
|
|
|
width: 0;
|
2016-03-21 03:15:43 +01:00
|
|
|
border-style: solid;
|
|
|
|
border-width: 0 10px 10px;
|
2016-03-21 05:03:46 +01:00
|
|
|
border-color: #fff transparent;
|
|
|
|
z-index: 1;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-21 05:03:46 +01:00
|
|
|
@include breakpoint($large) {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-03-21 03:15:43 +01:00
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-04-10 18:16:10 +02:00
|
|
|
li {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
a {
|
2016-03-21 03:15:43 +01:00
|
|
|
display: block;
|
2016-03-18 16:58:56 +01:00
|
|
|
margin-bottom: 5px;
|
|
|
|
padding-right: 5px;
|
2016-03-23 03:59:39 +01:00
|
|
|
padding-top: 2px;
|
|
|
|
padding-bottom: 2px;
|
2016-04-06 03:37:16 +02:00
|
|
|
color: inherit;
|
2016-03-30 22:59:48 +02:00
|
|
|
font-size: $type-size-5;
|
2016-03-18 16:58:56 +01:00
|
|
|
text-decoration: none;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-18 16:58:56 +01:00
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2016-03-11 04:29:30 +01:00
|
|
|
}
|
2016-03-15 17:54:50 +01:00
|
|
|
}
|