casper-i18n/assets/css/screen.css

2281 lines
42 KiB
CSS
Raw Normal View History

2017-06-16 08:17:11 +00:00
/* Table of Contents
/* ------------------------------------------------------------
This is a development CSS file which is built to a minified
production stylesheet in assets/built/screen.css
2017-06-16 08:44:12 +00:00
2017-06-16 08:17:11 +00:00
1. Global Styles
2. Layout
3. Special Templates
4. Site Header
5. Site Navigation
6. Post Feed
7. Single Post
7.1. Subscribe Form
7.2. Post Footer
2018-04-12 08:05:53 +00:00
7.2.1 Single Author Byline
7.2.2 Multiple Author Byline
2017-06-16 08:17:11 +00:00
7.3. Comments
7.4. Related Posts
7.5. Floating Header
7.6. Koenig Styles
2017-06-16 08:17:11 +00:00
8. Author Template
9. Error Template
10. Subscribe Overlay
11. Site Footer
*/
/* 1. Global - Set up the things
2017-05-15 20:03:47 +00:00
/* ---------------------------------------------------------- */
2017-06-16 08:44:12 +00:00
@import "global.css";
2013-08-10 16:42:21 +00:00
2017-05-15 20:03:47 +00:00
body {
2017-06-13 12:48:06 +00:00
background: #f4f8fb;
2017-05-15 20:03:47 +00:00
}
2013-08-10 16:42:21 +00:00
2017-05-15 20:03:47 +00:00
.img {
display: block;
width: 100%;
height: 100%;
2017-08-02 08:41:14 +00:00
background-position: center center;
2017-11-20 05:42:32 +00:00
background-size: cover;
2017-06-16 08:44:12 +00:00
border-radius: 100%;
2017-05-15 20:03:47 +00:00
}
2013-08-10 16:42:21 +00:00
2017-05-15 20:03:47 +00:00
.hidden {
2017-06-16 08:44:12 +00:00
visibility: hidden;
2017-05-15 20:03:47 +00:00
position: absolute;
text-indent: -9999px;
}
2013-08-10 16:42:21 +00:00
2013-09-01 19:45:19 +00:00
2017-06-16 08:17:11 +00:00
/* 2. Layout - Page building blocks
2017-05-15 20:03:47 +00:00
/* ---------------------------------------------------------- */
2013-09-01 19:45:19 +00:00
.site-wrapper {
display: flex;
flex-direction: column;
min-height: 100vh;
}
.site-main {
z-index: 100;
flex-grow: 1;
}
2017-05-15 20:03:47 +00:00
/* Full width page blocks */
.outer {
position: relative;
padding: 0 4vw;
2013-09-01 19:45:19 +00:00
}
2017-05-15 20:03:47 +00:00
/* Centered content container blocks */
.inner {
2017-08-02 08:41:14 +00:00
margin: 0 auto;
2017-11-20 05:42:32 +00:00
max-width: 1040px;
width: 100%;
2013-09-01 19:45:19 +00:00
}
2017-05-15 20:03:47 +00:00
/* Usage:
2013-09-01 19:45:19 +00:00
2017-05-15 20:03:47 +00:00
<div class="outer">
<div class="inner">
Centered content
</div>
</div>
2013-09-01 19:45:19 +00:00
2017-05-15 20:03:47 +00:00
*/
2013-08-10 16:42:21 +00:00
2017-06-16 08:17:11 +00:00
/* 3. Special Template Styles
2017-05-15 20:03:47 +00:00
/* ---------------------------------------------------------- */
2013-08-10 16:42:21 +00:00
2017-05-15 20:03:47 +00:00
@media (min-width: 900px) {
2017-05-31 18:09:50 +00:00
.home-template .post-feed,
2017-06-13 12:48:06 +00:00
.tag-template .post-feed,
.author-template .post-feed {
margin-top: -70px;
padding-top: 0;
2017-05-15 20:03:47 +00:00
}
.home-template .site-nav {
position: relative;
top: -70px;
}
2013-08-10 16:42:21 +00:00
}
2017-06-16 08:17:11 +00:00
/* 4. Site Header
2017-05-15 20:03:47 +00:00
/* ---------------------------------------------------------- */
2017-05-15 20:03:47 +00:00
.site-header {
position: relative;
padding-top: 12px;
padding-bottom: 12px;
color: #fff;
2017-06-12 09:01:00 +00:00
background: color(var(--darkgrey) l(-5%)) no-repeat center center;
2017-05-15 20:03:47 +00:00
background-size: cover;
}
2017-05-15 20:03:47 +00:00
.site-header:before {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 10;
2017-06-16 08:44:12 +00:00
display: block;
2017-05-15 20:03:47 +00:00
background: rgba(0,0,0,0.18);
2013-08-10 16:42:21 +00:00
}
2017-05-15 20:03:47 +00:00
.site-header:after {
content: "";
position: absolute;
2017-06-13 12:48:06 +00:00
top: 0;
2017-05-15 20:03:47 +00:00
right: 0;
2017-06-13 12:48:06 +00:00
bottom: auto;
left: 0;
2017-05-15 20:03:47 +00:00
z-index: 10;
2017-06-16 08:44:12 +00:00
display: block;
2017-06-13 12:48:06 +00:00
height: 80px;
background: linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0));
}
.site-header.no-image:before,
.site-header.no-image:after {
2017-05-15 20:03:47 +00:00
display: none;
}
2017-05-15 20:03:47 +00:00
.site-header-content {
display: flex;
flex-direction: column;
justify-content: center;
2017-06-13 12:48:06 +00:00
align-items: center;
2017-11-20 05:42:32 +00:00
padding: 10vw 4vw;
2017-05-15 20:03:47 +00:00
min-height: 200px;
max-height: 450px;
text-align: center;
}
2017-05-15 20:03:47 +00:00
.site-title {
z-index: 10;
2017-05-15 20:03:47 +00:00
margin: 0;
padding: 0;
font-size: 3.8rem;
font-weight: 700;
}
2017-05-15 20:03:47 +00:00
.site-logo {
max-height: 45px;
}
2017-05-15 20:03:47 +00:00
.site-description {
z-index: 10;
2017-05-15 20:03:47 +00:00
margin: 0;
padding: 5px 0;
font-size: 2.2rem;
font-weight: 300;
letter-spacing: 0.5px;
opacity: 0.8;
}
2017-06-16 12:16:22 +00:00
@media (max-width: 500px) {
.site-title {
font-size: 3rem;
}
.site-description {
font-size: 1.8rem;
}
}
2017-06-16 08:17:11 +00:00
/* 5. Site Navigation
2017-05-15 20:03:47 +00:00
/* ---------------------------------------------------------- */
2014-07-12 17:56:26 +00:00
2017-05-15 20:03:47 +00:00
.site-nav {
position: relative;
z-index: 300;
2017-05-15 20:03:47 +00:00
display: flex;
justify-content: space-between;
2017-06-16 08:44:12 +00:00
align-items: flex-start;
2017-08-02 08:41:14 +00:00
overflow-y: hidden;
2017-11-20 05:42:32 +00:00
height: 40px;
2017-06-14 11:16:16 +00:00
font-size: 1.2rem;
}
2017-05-15 20:03:47 +00:00
.site-nav-left {
display: flex;
align-items: center;
2017-06-16 08:44:12 +00:00
overflow-x: auto;
overflow-y: hidden;
2017-11-20 05:42:32 +00:00
-webkit-overflow-scrolling: touch;
2017-05-15 20:03:47 +00:00
margin-right: 10px;
padding-bottom: 80px;
2017-06-14 11:16:16 +00:00
letter-spacing: 0.4px;
2017-05-15 20:03:47 +00:00
white-space: nowrap;
2017-11-20 05:42:32 +00:00
2017-05-15 20:03:47 +00:00
-ms-overflow-scrolling: touch;
}
2017-05-15 20:03:47 +00:00
/* Site Nav Hack Explanation (above):
What's happening above it .site-nav-left is set to overflow-x and allow sideways scrolling, so that when there isn't enough space for all nav items (either due to lots of nav items, or a small viewport), you can still scroll side-to-side to reach them.
The knock-on effect of this is ugly browser-scroll bars at the bottom, so 80px of padding-bottom and a 40px fixed height parent (.site-nav) hides that entirely. Slightly hacky code. But nice clean end-result.
*/
.site-nav-logo {
2017-06-05 11:19:29 +00:00
flex-shrink: 0;
2017-05-15 20:03:47 +00:00
display: block;
margin-right: 24px;
padding: 11px 0;
2017-06-16 08:44:12 +00:00
color: #fff;
2017-06-12 09:01:00 +00:00
font-size: 1.7rem;
2017-06-14 11:16:16 +00:00
line-height: 1em;
2017-06-12 09:01:00 +00:00
font-weight: bold;
letter-spacing: -0.5px;
}
.site-nav-logo:hover {
text-decoration: none;
2013-10-31 18:09:15 +00:00
}
2017-05-15 20:03:47 +00:00
.site-nav-logo img {
display: block;
width: auto;
2017-06-16 08:44:12 +00:00
height: 21px;
2013-10-31 18:09:15 +00:00
}
.nav {
2017-05-15 20:03:47 +00:00
display: flex;
margin: 0 0 0 -12px;
padding: 0;
list-style: none;
2014-09-25 13:41:04 +00:00
}
.nav li {
2017-05-15 20:03:47 +00:00
display: block;
2014-09-25 13:41:04 +00:00
margin: 0;
2017-05-15 20:03:47 +00:00
padding: 0;
text-transform: uppercase;
2014-09-25 13:41:04 +00:00
}
.nav li a {
2017-05-15 20:03:47 +00:00
display: block;
margin: 0;
padding: 10px 12px;
color: #fff;
opacity: 0.8;
}
.nav li a:hover {
2017-05-15 20:03:47 +00:00
text-decoration: none;
2017-06-16 08:44:12 +00:00
opacity: 1;
}
2017-05-15 20:03:47 +00:00
.site-nav-right {
2017-06-16 08:44:12 +00:00
flex-shrink: 0;
2017-05-15 20:03:47 +00:00
display: flex;
align-items: center;
2017-05-31 18:09:50 +00:00
height: 40px;
}
2017-05-15 20:03:47 +00:00
.social-links {
2017-06-16 08:44:12 +00:00
flex-shrink: 0;
2017-05-15 20:03:47 +00:00
display: flex;
align-items: center;
}
2017-05-15 20:03:47 +00:00
.social-links a:last-of-type {
padding-right: 20px;
}
2017-05-15 20:03:47 +00:00
.social-link {
display: flex;
justify-content: center;
2017-06-16 08:44:12 +00:00
align-items: center;
2017-05-15 20:03:47 +00:00
margin: 0;
padding: 10px;
color: #fff;
opacity: 0.8;
}
2017-05-15 20:03:47 +00:00
.social-link:hover {
opacity: 1;
}
2017-05-15 20:03:47 +00:00
.social-link svg {
height: 1.8rem;
fill: #fff;
}
2017-05-15 20:03:47 +00:00
.social-link-fb svg {
height: 1.5rem;
}
2017-06-13 12:48:06 +00:00
.social-link-wb svg {
height: 1.6rem;
}
.social-link-wb svg path {
stroke: #fff;
}
.social-link-rss svg {
height: 1.9rem;
}
2017-05-15 20:03:47 +00:00
.subscribe-button {
display: block;
padding: 4px 10px;
border: #fff 1px solid;
color: #fff;
font-size: 1.2rem;
line-height: 1em;
border-radius: 10px;
opacity: 0.8;
}
2017-05-15 20:03:47 +00:00
.subscribe-button:hover {
text-decoration: none;
opacity: 1;
}
2017-05-15 20:03:47 +00:00
.rss-button {
opacity: 0.8;
}
2017-05-15 20:03:47 +00:00
.rss-button:hover {
opacity: 1;
}
2017-05-15 20:03:47 +00:00
.rss-button svg {
2017-08-02 08:41:14 +00:00
margin-bottom: 1px;
2017-11-20 05:42:32 +00:00
height: 2.1rem;
2017-05-15 20:03:47 +00:00
fill: #fff;
}
2017-06-16 12:16:22 +00:00
@media (max-width: 700px) {
.site-header {
padding-right: 0;
2017-08-02 08:41:14 +00:00
padding-left: 0;
2017-06-16 12:16:22 +00:00
}
.site-nav-left {
margin-right: 0;
2017-08-02 08:41:14 +00:00
padding-left: 4vw;
2017-06-16 12:16:22 +00:00
}
.site-nav-right {
display: none;
}
}
2017-06-16 08:17:11 +00:00
/* 6. Post Feed
2017-05-15 20:03:47 +00:00
/* ---------------------------------------------------------- */
.post-feed {
position: relative;
display: flex;
flex-wrap: wrap;
margin: 0 -20px;
padding: 40px 0 0 0;
}
2017-05-15 20:03:47 +00:00
.post-card {
2017-06-16 08:44:12 +00:00
flex: 1 1 300px;
2017-05-16 09:26:08 +00:00
display: flex;
flex-direction: column;
2017-06-16 08:44:12 +00:00
overflow: hidden;
2017-06-05 11:19:29 +00:00
margin: 0 20px 40px;
2017-11-20 05:42:32 +00:00
min-height: 300px;
2017-05-15 20:03:47 +00:00
background: #fff center center;
background-size: cover;
border-radius: 5px;
2017-06-16 08:44:12 +00:00
box-shadow: rgba(39,44,49,0.06) 8px 14px 38px, rgba(39, 44, 49, 0.03) 1px 3px 8px;
2017-05-15 20:03:47 +00:00
transition: all 0.5s ease;
}
2017-05-15 20:03:47 +00:00
.post-card:hover {
2018-04-10 13:15:33 +00:00
box-shadow: rgba(39,44,49,0.07) 8px 28px 50px, rgba(39, 44, 49, 0.04) 1px 6px 12px;
transition: all 0.4s ease;
transform: translate3D(0, -1px, 0) scale(1.02);
2017-05-15 20:03:47 +00:00
}
2017-05-15 20:03:47 +00:00
.post-card-image-link {
position: relative;
display: block;
overflow: hidden;
border-radius: 5px 5px 0 0;
}
2017-05-15 20:03:47 +00:00
.post-card-image {
2018-12-17 12:25:57 +00:00
width: 100%;
2017-05-15 20:03:47 +00:00
height: 200px;
background: var(--lightgrey) no-repeat center center;
2018-12-17 12:25:57 +00:00
object-fit: cover;
}
2017-05-15 20:03:47 +00:00
.post-card-content-link {
position: relative;
2018-04-10 18:19:29 +00:00
flex-grow: 1;
display: block;
2017-05-15 20:03:47 +00:00
padding: 25px 25px 0;
color: var(--darkgrey);
}
2017-05-15 20:03:47 +00:00
.post-card-content-link:hover {
text-decoration: none;
}
2017-06-08 07:19:22 +00:00
.post-card-tags {
display: block;
margin-bottom: 4px;
color: var(--midgrey);
font-size: 1.2rem;
line-height: 1.15em;
font-weight: 500;
2017-06-16 08:44:12 +00:00
letter-spacing: 0.5px;
text-transform: uppercase;
2017-06-08 07:19:22 +00:00
}
2017-05-15 20:03:47 +00:00
.post-card-title {
margin-top: 0;
}
2017-05-15 20:03:47 +00:00
.post-card-content {
2017-06-13 17:51:08 +00:00
flex-grow: 1;
2017-05-15 20:03:47 +00:00
display: flex;
flex-direction: column;
justify-content: space-between;
}
2017-05-15 20:03:47 +00:00
.post-card-excerpt {
font-family: Georgia, serif;
}
2017-05-15 20:03:47 +00:00
.post-card-meta {
2018-04-10 18:19:29 +00:00
display: flex;
justify-content: space-between;
2018-04-12 08:05:40 +00:00
align-items: flex-end;
2017-05-15 20:03:47 +00:00
padding: 0 25px 25px;
}
.author-profile-image,
.avatar-wrapper {
2018-04-12 08:05:40 +00:00
display: block;
width: 100%;
height: 100%;
2018-04-12 08:05:40 +00:00
background: color(var(--lightgrey) l(+10%));
2017-05-16 09:26:08 +00:00
border-radius: 100%;
object-fit: cover;
2017-05-16 09:26:08 +00:00
}
2018-04-10 18:19:29 +00:00
.post-card-meta .profile-image-wrapper,
.post-card-meta .avatar-wrapper {
position: relative;
}
.author-list {
display: flex;
2018-04-12 08:05:40 +00:00
flex-wrap: wrap-reverse;
margin: 0;
2018-04-10 18:19:29 +00:00
padding: 0;
2018-04-12 08:05:40 +00:00
list-style: none;
2018-04-10 18:19:29 +00:00
}
.author-list-item {
position: relative;
2018-05-21 15:36:08 +00:00
flex-shrink: 0;
2018-04-10 18:19:29 +00:00
margin: 0;
padding: 0;
}
2018-05-21 15:36:08 +00:00
.author-list-item:nth-child(1) {
z-index: 10;
}
.author-list-item:nth-child(2) {
z-index: 9;
}
.author-list-item:nth-child(3) {
z-index: 8;
}
.author-list-item:nth-child(4) {
z-index: 7;
}
.author-list-item:nth-child(5) {
z-index: 6;
}
.author-list-item:nth-child(6) {
z-index: 5;
}
.author-list-item:nth-child(7) {
z-index: 4;
}
.author-list-item:nth-child(8) {
z-index: 3;
}
.author-list-item:nth-child(9) {
z-index: 2;
}
.author-list-item:nth-child(10) {
z-index: 1;
}
2018-04-10 18:19:29 +00:00
2018-04-12 08:05:40 +00:00
.static-avatar {
display: block;
2018-05-21 15:36:08 +00:00
overflow: hidden;
margin: 0 -5px;
2018-04-12 08:05:40 +00:00
width: 34px;
2018-05-21 15:36:08 +00:00
height: 34px;
2018-04-12 08:05:40 +00:00
border: #fff 2px solid;
border-radius: 100%;
2018-04-10 18:19:29 +00:00
}
2018-04-12 08:05:40 +00:00
.moving-avatar {
display: block;
2018-05-21 15:36:08 +00:00
overflow: hidden;
margin: 0 -6px;
2018-04-12 08:05:40 +00:00
width: 56px;
2018-05-21 15:36:08 +00:00
height: 56px;
2018-04-12 08:05:40 +00:00
border: #fff 2px solid;
border-radius: 100%;
transition: all 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99) 0.7s;
2018-04-10 18:19:29 +00:00
}
2018-04-12 08:05:40 +00:00
@media (min-width: 800px) {
.author-list:hover .moving-avatar {
margin: 0;
transition: all 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99);
}
2018-04-10 18:19:29 +00:00
}
.author-name-tooltip {
position: absolute;
2018-04-12 08:05:40 +00:00
bottom: 105%;
2018-04-10 18:19:29 +00:00
z-index: 999;
display: block;
padding: 2px 8px;
color: white;
font-size: 1.2rem;
letter-spacing: 0.2px;
white-space: nowrap;
background: var(--darkgrey);
border-radius: 3px;
box-shadow: rgba(39,44,49,0.08) 0 12px 26px, rgba(39, 44, 49, 0.03) 1px 3px 8px;
opacity: 0;
transition: all 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99);
transform: translateY(6px);
pointer-events: none;
}
.author-list-item:hover .author-name-tooltip {
opacity: 1.0;
transform: translateY(0px);
}
@media (max-width: 650px) {
.author-name-tooltip {
display: none;
}
}
.reading-time {
2018-04-12 08:05:40 +00:00
flex-shrink: 0;
margin-left: 20px;
2018-04-10 18:19:29 +00:00
color: var(--midgrey);
font-size: 1.2rem;
2018-04-12 08:05:40 +00:00
line-height: 33px;
2017-05-16 09:26:08 +00:00
font-weight: 500;
2017-06-16 08:44:12 +00:00
letter-spacing: 0.5px;
text-transform: uppercase;
2017-05-16 09:26:08 +00:00
}
2017-05-31 18:09:50 +00:00
/* Special Styling for home page grid (below):
2018-12-17 12:25:57 +00:00
The first post in the list is styled to be bigger than the others and take over
the full width of the grid to give it more emphasis. Wrapped in a media query to
make sure this only happens on large viewports / desktop-ish devices.
2017-05-15 20:03:47 +00:00
*/
2017-05-15 20:03:47 +00:00
@media (min-width: 795px) {
2018-12-17 12:25:57 +00:00
.post-card-large {
2017-05-15 20:03:47 +00:00
flex: 1 1 100%;
2017-05-16 09:26:08 +00:00
flex-direction: row;
2017-05-15 20:03:47 +00:00
}
2018-12-17 12:25:57 +00:00
.post-card-large .post-card-image-link {
2017-06-13 17:51:08 +00:00
position: relative;
2017-05-15 20:03:47 +00:00
flex: 1 1 auto;
border-radius: 5px 0 0 5px;
2017-05-15 20:03:47 +00:00
}
2013-08-28 16:41:32 +00:00
2018-12-17 12:25:57 +00:00
.post-card-large .post-card-image {
2017-06-13 17:51:08 +00:00
position: absolute;
2017-05-15 20:03:47 +00:00
width: 100%;
height: 100%;
}
2015-02-27 14:48:15 +00:00
2018-12-17 12:25:57 +00:00
.post-card-large .post-card-content {
2017-05-15 20:03:47 +00:00
flex: 0 1 357px;
}
2015-02-27 14:48:15 +00:00
2018-12-17 12:25:57 +00:00
.post-card-large h2 {
2017-05-15 20:03:47 +00:00
font-size: 2.6rem;
}
2018-12-17 12:25:57 +00:00
.post-card-large p {
2017-05-15 20:03:47 +00:00
font-size: 1.8rem;
line-height: 1.55em;
}
2013-08-10 16:42:21 +00:00
2018-12-17 12:25:57 +00:00
.post-card-large .post-card-content-link {
2017-06-08 07:19:22 +00:00
padding: 30px 40px 0;
2017-05-15 20:03:47 +00:00
}
2013-08-20 16:53:02 +00:00
2018-12-17 12:25:57 +00:00
.post-card-large .post-card-meta {
2017-06-08 07:19:22 +00:00
padding: 0 40px 30px;
2017-05-15 20:03:47 +00:00
}
}
2017-06-13 12:48:06 +00:00
.home-template .site-header:after {
display: none;
}
2017-05-15 20:03:47 +00:00
2017-05-31 18:09:50 +00:00
2017-06-16 12:16:22 +00:00
/* Adjust some margins for smaller screens */
@media (max-width: 650px) {
.post-feed {
padding-top: 5vw;
}
.post-card {
margin: 0 20px 5vw;
}
}
2017-05-31 18:09:50 +00:00
2017-06-16 08:17:11 +00:00
/* 7. Single Post
2017-05-15 20:03:47 +00:00
/* ---------------------------------------------------------- */
2017-06-05 11:19:29 +00:00
.post-template .site-main,
.page-template .site-main {
padding-bottom: 4vw;
2017-05-15 20:03:47 +00:00
background: #fff;
}
2017-05-15 20:03:47 +00:00
.post-full {
position: relative;
z-index: 50;
2015-02-27 14:48:15 +00:00
}
2017-05-15 20:03:47 +00:00
/* ^ Required to make .post-full-content:before/after z-index stacking work */
2015-02-27 14:48:15 +00:00
2017-05-15 20:03:47 +00:00
.post-full-header {
margin: 0 auto;
2017-06-13 17:51:08 +00:00
padding: 6vw 3vw 3vw;
2017-11-20 05:42:32 +00:00
max-width: 1040px;
2017-05-15 20:03:47 +00:00
text-align: center;
2015-02-27 14:48:15 +00:00
}
@media (max-width: 500px) {
.post-full-header {
padding: 14vw 3vw 10vw;
}
}
2015-02-27 14:48:15 +00:00
2017-05-15 20:03:47 +00:00
.post-full-meta {
display: flex;
justify-content: center;
2017-06-16 08:44:12 +00:00
align-items: center;
color: var(--midgrey);
2017-05-15 20:03:47 +00:00
font-size: 1.4rem;
2017-06-16 08:44:12 +00:00
font-weight: 600;
text-transform: uppercase;
2015-02-28 12:34:58 +00:00
}
2017-05-15 20:03:47 +00:00
.post-full-meta-date {
color: var(--blue);
2015-02-27 14:48:15 +00:00
}
2017-05-15 20:03:47 +00:00
.post-full-title {
2017-06-13 12:48:06 +00:00
margin: 0;
2017-06-08 07:19:22 +00:00
color: color(var(--darkgrey) l(-5%));
2015-02-27 14:48:15 +00:00
}
2017-05-15 20:03:47 +00:00
.date-divider {
display: inline-block;
margin: 0 6px 1px;
2015-02-27 14:48:15 +00:00
}
2017-05-15 20:03:47 +00:00
.post-full-image {
2017-08-02 08:41:14 +00:00
margin: 0 -10vw -165px;
2017-05-15 20:03:47 +00:00
background: var(--lightgrey) center center;
border-radius: 5px;
2018-12-17 12:25:57 +00:00
overflow: hidden;
}
.post-full-image img {
width: 100%;
height: 800px;
object-fit: cover;
2015-02-27 14:48:15 +00:00
}
2017-05-15 20:03:47 +00:00
@media (max-width: 1170px) {
.post-full-image {
2017-08-02 08:41:14 +00:00
margin: 0 -4vw -100px;
2017-06-05 11:19:29 +00:00
border-radius: 0;
2017-05-15 20:03:47 +00:00
}
2018-12-17 12:25:57 +00:00
.post-full-image img {
height: 600px;
}
2015-02-27 14:48:15 +00:00
}
2017-06-13 17:51:08 +00:00
@media (max-width: 800px) {
2018-12-17 12:25:57 +00:00
.post-full-image img {
2017-06-13 17:51:08 +00:00
height: 400px;
}
}
2017-05-15 20:03:47 +00:00
.post-full-content {
position: relative;
margin: 0 auto;
2017-06-16 08:44:12 +00:00
padding: 70px 100px 0;
2017-11-20 05:42:32 +00:00
min-height: 230px;
2017-06-16 08:44:12 +00:00
font-family: Georgia, serif;
2017-05-15 20:03:47 +00:00
font-size: 2.2rem;
2017-05-31 18:09:50 +00:00
line-height: 1.6em;
2017-05-15 20:03:47 +00:00
background: #fff;
}
2015-02-28 12:34:58 +00:00
2017-06-05 11:19:29 +00:00
@media (max-width: 1170px) {
.post-full-content {
padding: 5vw 7vw 0;
}
}
@media (max-width: 800px) {
.post-full-content {
font-size: 1.9rem;
}
}
2017-05-15 20:03:47 +00:00
.post-full-content:before {
content: "";
position: absolute;
top: 15px;
left: -5px;
z-index: -1;
2017-06-16 08:44:12 +00:00
display: block;
width: 20px;
height: 200px;
2017-05-16 09:26:08 +00:00
background: rgba(39,44,49,0.15);
2017-05-15 20:03:47 +00:00
filter: blur(5px);
2017-06-16 08:44:12 +00:00
transform: rotate(-5deg);
2015-02-27 14:48:15 +00:00
}
2017-05-15 20:03:47 +00:00
.post-full-content:after {
content: "";
position: absolute;
top: 15px;
right: -5px;
z-index: -1;
2017-06-16 08:44:12 +00:00
display: block;
width: 20px;
height: 200px;
2017-05-16 09:26:08 +00:00
background: rgba(39,44,49,0.15);
2017-05-15 20:03:47 +00:00
filter: blur(5px);
2017-06-16 08:44:12 +00:00
transform: rotate(5deg);
2015-02-28 12:34:58 +00:00
}
2017-06-13 12:48:06 +00:00
.no-image .post-full-content {
padding-top: 0;
}
2017-06-05 11:19:29 +00:00
.no-image .post-full-content:before,
.no-image .post-full-content:after {
display: none;
}
2017-06-08 07:19:22 +00:00
.post-full-content h1,
.post-full-content h2,
.post-full-content h3,
.post-full-content h4,
.post-full-content h5,
2017-06-15 14:03:19 +00:00
.post-full-content h6,
.post-full-content p,
.post-full-content ul,
.post-full-content ol,
.post-full-content dl,
.post-full-content pre,
.post-full-content blockquote,
2017-06-15 14:03:19 +00:00
.post-full-comments,
.footnotes {
2017-05-31 18:09:50 +00:00
min-width: 100%;
}
.post-full-content li {
word-break: break-word;
}
.post-full-content li p {
margin: 0;
}
2017-05-31 18:09:50 +00:00
.post-full-content a {
2017-06-05 11:19:29 +00:00
color: #000;
word-break: break-word;
2017-05-31 18:09:50 +00:00
box-shadow: var(--blue) 0 -1px 0 inset;
}
.post-full-content a:hover {
2017-06-05 11:19:29 +00:00
color: var(--blue);
2017-05-31 18:09:50 +00:00
text-decoration: none;
}
2017-06-08 07:19:22 +00:00
.post-full-content strong,
.post-full-content em {
color: color(var(--darkgrey) l(-5%));
}
.post-full-content small {
display: inline-block;
line-height: 1.6em;
}
.post-full-content li:first-child {
margin-top: 0;
}
2017-07-27 07:15:19 +00:00
.post-full-content img,
.post-full-content video {
display: block;
2017-08-02 08:41:14 +00:00
margin: 1.5em auto;
2017-11-20 05:42:32 +00:00
max-width: 1040px;
height: auto;
2017-05-31 18:09:50 +00:00
}
@media (max-width: 1040px) {
2017-07-27 07:15:19 +00:00
.post-full-content img,
.post-full-content video {
width: 100%;
}
}
2017-05-31 18:09:50 +00:00
/* Full bleed images (#full)
2017-05-31 18:09:50 +00:00
Super neat trick courtesy of @JoelDrapper
Usage (In Ghost edtior):
![img](/some/image.jpg#full)
2017-05-31 18:09:50 +00:00
*/
.post-full-content img[src$="#full"] {
max-width: none;
2017-11-20 05:42:32 +00:00
width: 100vw;
2017-05-31 18:09:50 +00:00
}
/* Image captions
Usage (In Ghost editor):
![img](/some/image.jpg)
<small>Your image caption</small>
*/
.post-full-content img + br + small {
display: block;
margin-top: -3em;
2017-08-09 13:10:28 +00:00
margin-bottom: 1.5em;
2018-06-13 17:34:59 +00:00
text-align: center;
}
/* Override third party iframe styles */
2017-07-27 09:12:04 +00:00
.post-full-content iframe {
margin: 0 auto !important;
2017-07-27 09:12:04 +00:00
}
2017-05-15 20:03:47 +00:00
.post-full-content blockquote {
margin: 0 0 1.5em;
padding: 0 1.5em;
border-left: #3eb0ef 3px solid;
2017-05-31 18:09:50 +00:00
}
.post-full-content blockquote p {
margin: 0 0 1em 0;
color: inherit;
font-size: inherit;
line-height: inherit;
font-style: italic;
2015-02-27 14:48:15 +00:00
}
.post-full-content blockquote p:last-child {
margin-bottom: 0;
2014-07-22 11:21:33 +00:00
}
2017-06-08 07:19:22 +00:00
.post-full-content code {
padding: 0 5px 2px;
font-size: 0.8em;
line-height: 1em;
font-weight: 400!important;
background: var(--whitegrey);
border-radius: 3px;
}
.post-full-content p code {
word-break: break-all;
}
2017-06-08 07:19:22 +00:00
.post-full-content pre {
2017-06-16 08:44:12 +00:00
overflow-x: auto;
2017-06-08 07:19:22 +00:00
margin: 1.5em 0 3em;
padding: 20px;
2017-11-20 05:42:32 +00:00
max-width: 100%;
2017-06-08 07:19:22 +00:00
border: color(var(--darkgrey) l(-10%)) 1px solid;
2017-06-16 08:44:12 +00:00
color: var(--whitegrey);
2017-06-08 07:19:22 +00:00
font-size: 1.4rem;
line-height: 1.5em;
background: color(var(--darkgrey) l(-3%));
border-radius: 5px;
}
.post-full-content pre code {
padding: 0;
font-size: inherit;
line-height: inherit;
background: transparent;
}
.post-full-content pre code :not(span) {
color: inherit;
}
2017-06-05 11:19:29 +00:00
.post-full-content .fluid-width-video-wrapper {
margin: 1.5em 0 3em;
}
2017-06-16 12:16:22 +00:00
.post-full-content hr {
margin: 4vw 0;
}
2017-06-08 07:19:22 +00:00
.post-full-content hr:after {
content: "";
position: absolute;
top: -15px;
left: 50%;
2017-06-16 08:44:12 +00:00
display: block;
2017-11-20 05:42:32 +00:00
margin-left: -10px;
2017-06-08 07:19:22 +00:00
width: 1px;
2017-06-16 08:44:12 +00:00
height: 30px;
2017-06-08 07:19:22 +00:00
background: color(var(--lightgrey) l(+10%));
box-shadow: #fff 0 0 0 5px;
transform: rotate(45deg);
}
.post-full-content h1,
.post-full-content h2,
.post-full-content h3,
.post-full-content h4,
.post-full-content h5,
.post-full-content h6 {
color: color(var(--darkgrey) l(-5%));
2017-06-16 08:44:12 +00:00
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
2017-06-08 07:19:22 +00:00
}
.post-full-content h1 {
margin: 0.5em 0 0.2em 0;
font-size: 4.6rem;
font-weight: 700;
}
@media (max-width: 500px) {
.post-full-content h1 {
font-size: 2.8rem;
}
2017-06-08 07:19:22 +00:00
}
.post-full-content h2 {
margin: 0.5em 0 0.2em 0;
font-size: 3.6rem;
font-weight: 700;
}
@media (max-width: 500px) {
.post-full-content h2 {
font-size: 2.6rem;
}
2017-06-08 07:19:22 +00:00
}
.post-full-content h3 {
margin: 0.5em 0 0.2em 0;
font-size: 2.8rem;
font-weight: 700;
}
@media (max-width: 500px) {
.post-full-content h3 {
font-size: 2.2rem;
}
2017-06-08 07:19:22 +00:00
}
.post-full-content h4 {
margin: 0.5em 0 0.2em 0;
font-size: 2.8rem;
font-weight: 700;
}
@media (max-width: 500px) {
.post-full-content h4 {
font-size: 2.2rem;
}
2017-06-08 07:19:22 +00:00
}
.post-full-content h5 {
display: block;
margin: 0.5em 0;
padding: 1em 0 1.5em;
border: 0;
color: var(--blue);
font-family: Georgia,serif;
font-size: 3.2rem;
line-height: 1.35em;
text-align: center;
}
@media (min-width: 1180px) {
.post-full-content h5 {
max-width: 1060px;
2017-11-20 05:42:32 +00:00
width: 100vw;
}
}
@media (max-width: 500px) {
.post-full-content h5 {
padding: 0 0 0.5em;
font-size: 2.2rem;
}
2017-06-08 07:19:22 +00:00
}
.post-full-content h6 {
margin: 0.5em 0 0.2em 0;
font-size: 2.3rem;
font-weight: 700;
}
@media (max-width: 500px) {
.post-full-content h6 {
font-size: 2rem;
}
2017-06-08 07:19:22 +00:00
}
2017-06-15 14:03:19 +00:00
.footnotes-sep {
margin-bottom: 30px;
}
.footnotes {
font-size: 1.5rem;
}
.footnotes p {
margin: 0;
}
.footnote-backref {
color: var(--blue) !important;
font-size: 1.2rem;
font-weight: bold;
2017-06-16 08:44:12 +00:00
text-decoration: none !important;
box-shadow: none !important;
2017-06-15 14:03:19 +00:00
}
2017-06-16 12:16:22 +00:00
/* Some grouped styles for smaller viewports */
@media (max-width: 500px) {
.post-full-meta {
font-size: 1.2rem;
line-height: 1.3em;
}
.post-full-title {
font-size: 2.9rem;
}
.post-full-image {
margin-bottom: 4vw;
2017-11-20 05:42:32 +00:00
height: 350px;
2017-06-16 12:16:22 +00:00
}
.post-full-content {
padding: 0;
}
.post-full-content:before,
.post-full-content:after {
display: none;
}
}
/* Tables */
.post-full-content table {
display: inline-block;
overflow-x: auto;
margin: 0.5em 0 2.5em;
2017-11-20 05:42:32 +00:00
max-width: 100%;
width: auto;
2017-08-02 08:41:14 +00:00
border-spacing: 0;
border-collapse: collapse;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
font-size: 1.6rem;
2017-08-02 08:41:14 +00:00
white-space: nowrap;
2017-11-20 05:42:32 +00:00
vertical-align: top;
}
.post-full-content table {
2017-11-20 05:42:32 +00:00
-webkit-overflow-scrolling: touch;
background: radial-gradient(ellipse at left, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 0 center, radial-gradient(ellipse at right, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 100% center;
background-attachment: scroll, scroll;
2017-11-20 05:42:32 +00:00
background-size: 10px 100%, 10px 100%;
background-repeat: no-repeat;
}
.post-full-content table td:first-child {
background-image: linear-gradient(to right, rgba(255,255,255, 1) 50%, rgba(255,255,255, 0) 100%);
background-size: 20px 100%;
2017-08-02 08:41:14 +00:00
background-repeat: no-repeat;
}
.post-full-content table td:last-child {
background-image: linear-gradient(to left, rgba(255,255,255, 1) 50%, rgba(255,255,255, 0) 100%);
2017-08-02 08:41:14 +00:00
background-position: 100% 0;
2017-11-20 05:42:32 +00:00
background-size: 20px 100%;
2017-08-02 08:41:14 +00:00
background-repeat: no-repeat;
}
.post-full-content table th {
color: var(--darkgrey);
2017-08-02 08:41:14 +00:00
font-size: 1.2rem;
font-weight: 700;
2017-08-02 08:41:14 +00:00
letter-spacing: 0.2px;
text-align: left;
text-transform: uppercase;
background-color: color(var(--whitegrey) l(+4%));
}
.post-full-content table th,
.post-full-content table td {
padding: 6px 12px;
border: color(var(--whitegrey) l(-1%) s(-5%)) 1px solid;
}
2017-06-16 08:17:11 +00:00
/* 7.1. Subscribe Form
2017-05-15 20:03:47 +00:00
/* ---------------------------------------------------------- */
.subscribe-form {
2017-06-05 11:19:29 +00:00
margin: 1.5em 0;
2017-06-08 07:19:22 +00:00
padding: 6.5vw 7vw 7vw;
border: color(var(--whitegrey) l(+2%)) 1px solid;
2017-05-15 20:03:47 +00:00
text-align: center;
2017-06-05 11:19:29 +00:00
background: color(var(--whitegrey) l(+4%));
2017-06-08 07:19:22 +00:00
border-radius: 7px;
}
2017-05-15 20:03:47 +00:00
.subscribe-form-title {
margin: 0 0 3px 0;
padding: 0;
2017-06-16 08:44:12 +00:00
color: var(--darkgrey);
2017-06-08 07:19:22 +00:00
font-size: 3.5rem;
2017-06-05 11:19:29 +00:00
line-height: 1;
2017-05-15 20:03:47 +00:00
font-weight: 700;
}
2017-05-15 20:03:47 +00:00
.subscribe-form p {
2017-06-08 07:19:22 +00:00
margin-bottom: 1em;
2017-06-16 08:44:12 +00:00
color: var(--midgrey);
2017-06-05 11:19:29 +00:00
font-size: 2.2rem;
2017-05-15 20:03:47 +00:00
line-height: 1.55em;
2017-06-05 11:19:29 +00:00
letter-spacing: 0.2px;
2015-02-28 12:34:58 +00:00
}
2017-05-15 20:03:47 +00:00
.subscribe-form form {
display: flex;
justify-content: center;
align-items: center;
2017-08-02 08:41:14 +00:00
margin: 0 auto;
2017-11-20 05:42:32 +00:00
max-width: 420px;
2015-02-27 14:48:15 +00:00
}
2017-05-15 20:03:47 +00:00
.subscribe-form .form-group {
flex-grow: 1;
}
2017-05-15 20:03:47 +00:00
.subscribe-email {
display: block;
2017-08-02 08:41:14 +00:00
padding: 10px;
2017-11-20 05:42:32 +00:00
width: 100%;
2017-05-15 20:03:47 +00:00
border: color(var(--lightgrey) l(+7%)) 1px solid;
color: var(--midgrey);
font-size: 1.8rem;
line-height: 1em;
font-weight: normal;
user-select: text;
border-radius: 5px;
transition: border-color 0.15s linear;
-webkit-appearance: none;
}
2017-05-15 20:03:47 +00:00
.subscribe-email:focus {
outline: 0;
border-color: color(var(--lightgrey) l(-2%));
2013-08-20 16:53:02 +00:00
}
2017-05-15 20:03:47 +00:00
.subscribe-form button {
display: inline-block;
margin: 0 0 0 10px;
padding: 0 20px;
2017-11-20 05:42:32 +00:00
height: 41px;
2017-06-16 08:44:12 +00:00
outline: none;
color: #fff;
2017-06-05 11:19:29 +00:00
font-size: 1.5rem;
2017-05-15 20:03:47 +00:00
line-height: 37px;
2014-07-12 17:56:26 +00:00
font-weight: 400;
2017-05-15 20:03:47 +00:00
text-align: center;
2017-06-16 08:44:12 +00:00
text-shadow: 0 -1px 0 rgba(0,0,0,0.1);
2017-05-15 20:03:47 +00:00
background: linear-gradient(
color(var(--blue) whiteness(+7%)),
color(var(--blue) lightness(-7%) saturation(-10%)) 60%,
color(var(--blue) lightness(-7%) saturation(-10%)) 90%,
color(var(--blue) lightness(-4%) saturation(-10%))
);
2017-06-16 08:44:12 +00:00
border-radius: 5px;
2017-05-15 20:03:47 +00:00
box-shadow: 0 0 0 1px inset rgba(0,0,0,0.14);
2017-05-15 20:03:47 +00:00
-webkit-font-smoothing: subpixel-antialiased;
}
2017-05-15 20:03:47 +00:00
.subscribe-form button:active,
.subscribe-form button:focus {
background: color(var(--blue) lightness(-9%) saturation(-10%));
}
2017-06-16 12:16:22 +00:00
@media (max-width: 650px) {
.subscribe-form-title {
font-size: 2.4rem;
}
.subscribe-form p {
font-size: 1.6rem;
}
}
@media (max-width: 500px) {
.subscribe-form form {
flex-direction: column;
}
.subscribe-form .form-group {
width: 100%;
}
.subscribe-form button {
margin: 10px 0 0 0;
2017-11-20 05:42:32 +00:00
width: 100%;
2017-06-16 12:16:22 +00:00
}
}
2014-07-11 10:22:28 +00:00
2017-06-16 08:17:11 +00:00
/* 7.2. Post Footer
2017-06-05 11:19:29 +00:00
/* ---------------------------------------------------------- */
.post-full-footer {
display: flex;
justify-content: space-between;
2017-06-15 14:03:19 +00:00
align-items: center;
2017-06-05 11:19:29 +00:00
margin: 0 auto;
padding: 3vw 0 6vw 0;
2017-11-20 05:42:32 +00:00
max-width: 840px;
2017-06-05 11:19:29 +00:00
}
2018-04-12 08:05:53 +00:00
/* 7.2.1 Single Author Byline
/* ---------------------------------------------------------- */
2017-06-05 11:19:29 +00:00
.author-card {
display: flex;
2018-04-12 08:05:53 +00:00
}
.author-card .author-profile-image,
.author-card .avatar-wrapper {
2018-04-12 08:05:40 +00:00
margin-right: 15px;
width: 60px;
height: 60px;
2017-06-05 11:19:29 +00:00
}
2017-06-15 14:03:19 +00:00
.author-card-name {
2018-04-12 08:05:53 +00:00
margin: 8px 0 2px 0;
2017-06-05 11:19:29 +00:00
padding: 0;
font-size: 2rem;
}
2017-06-15 14:03:19 +00:00
.author-card-name a {
2017-06-05 11:19:29 +00:00
color: var(--darkgrey);
font-weight: 700;
}
2017-06-15 14:03:19 +00:00
.author-card-name a:hover {
2017-06-05 11:19:29 +00:00
text-decoration: none;
}
.author-card-content p {
margin: 0;
color: var(--midgrey);
2017-06-16 08:44:12 +00:00
line-height: 1.3em;
2017-06-05 11:19:29 +00:00
}
2017-06-15 14:03:19 +00:00
.post-full-footer-right {
flex-shrink: 0;
margin-left: 20px;
}
.author-card-button {
display: block;
padding: 9px 16px;
2017-06-16 08:44:12 +00:00
border: color(var(--midgrey) l(+20%)) 1px solid;
color: var(--midgrey);
2017-06-15 14:03:19 +00:00
font-size: 1.2rem;
line-height: 1;
font-weight: 500;
border-radius: 20px;
transition: all ease 0.2s;
}
.author-card-button:hover {
border-color: var(--blue);
color: var(--blue);
text-decoration: none;
}
2018-04-12 08:05:53 +00:00
/* 7.2.2 Multiple Author Byline
/* ---------------------------------------------------------- */
2018-04-10 18:19:29 +00:00
.post-full-authors {
flex-grow: 1;
display: flex;
flex-direction: column;
align-items: center;
margin-top: 20px;
padding-top: 40px;
border-top: color(var(--lightgrey) l(+10%)) 1px solid;
}
.post-full-authors-content {
margin-bottom: 20px;
}
.post-full-authors-content p {
margin-bottom: 0;
color: var(--midgrey);
font-size: 1.4rem;
letter-spacing: 0.2px;
text-align: center;
text-transform: uppercase;
}
.post-full-authors-content a {
display: inline-block;
color: color(var(--darkgrey) l(+20%));
font-size: 1.4rem;
font-weight: 600;
text-transform: uppercase;
}
2018-04-12 08:05:40 +00:00
.post-full-footer .author-list {
justify-content: center;
padding: 10px 20px;
2018-04-10 18:19:29 +00:00
}
.author-card .author-profile-image,
.author-card .avatar-wrapper {
position: relative;
2018-05-21 15:36:08 +00:00
margin-right: 15px;
2018-04-10 18:19:29 +00:00
}
.author-list-item .author-card {
position: absolute;
2018-04-12 08:05:40 +00:00
bottom: 130%;
left: 50%;
z-index: 300;
2018-04-10 18:19:29 +00:00
display: block;
2018-04-12 08:05:40 +00:00
margin-left: -160px;
2018-05-21 15:36:08 +00:00
width: 320px;
2018-04-10 18:19:29 +00:00
font-size: 1.4rem;
letter-spacing: 0.2px;
background: white;
border-radius: 6px;
box-shadow: rgba(39,44,49,0.08) 0 12px 26px, rgba(39, 44, 49, 0.03) 1px 3px 8px;
opacity: 0;
transition: all 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99);
2018-04-12 08:05:40 +00:00
transform: scale(0.98) translateY(15px);
2018-04-10 18:19:29 +00:00
pointer-events: none;
}
.author-list-item .author-card:before {
content: "";
position: absolute;
top: 100%;
2018-04-12 08:05:40 +00:00
left: 50%;
2018-04-10 18:19:29 +00:00
display: block;
2018-05-21 15:36:08 +00:00
margin-left: -12px;
2018-04-10 18:19:29 +00:00
width: 0;
height: 0;
border-top: 12px solid #fff;
border-right: 12px solid transparent;
border-left: 12px solid transparent;
}
.author-list-item .author-card.hovered {
opacity: 1.0;
transform: scale(1) translateY(0px);
pointer-events: auto;
}
.author-card .basic-info {
display: flex;
flex-direction: column;
align-items: center;
padding: 30px 20px 20px 20px;
color: #fff;
background: var(--darkgrey);
border-radius: 6px 6px 0 0;
}
.author-card .basic-info h2 {
margin: 1em 0 0.5em;
}
.author-card .bio {
padding: 20px 20px 0;
}
@media (max-width: 650px) {
.author-list-item .author-card {
display: none;
}
}
.basic-info .author-profile-image {
margin: 0;
width: 88px;
height: 88px;
border: none;
}
.basic-info .avatar-wrapper {
position: relative;
margin: 0;
width: 88px;
height: 88px;
border: none;
background: rgba(229, 239, 245, 0.1);
}
.basic-info .avatar-wrapper svg {
margin: 0;
width: 88px;
height: 88px;
opacity: 0.15;
}
2017-06-05 11:19:29 +00:00
2017-06-16 08:17:11 +00:00
/* 7.3. Comments
2017-06-05 11:19:29 +00:00
/* ---------------------------------------------------------- */
.post-full-comments {
2017-08-02 08:41:14 +00:00
margin: 0 auto;
2017-11-20 05:42:32 +00:00
max-width: 840px;
2017-06-05 11:19:29 +00:00
}
2017-06-16 08:17:11 +00:00
/* 7.4. Related posts
2017-05-15 20:03:47 +00:00
/* ---------------------------------------------------------- */
.read-next-feed {
display: flex;
flex-wrap: wrap;
2017-06-12 09:01:00 +00:00
margin: 0 -20px;
padding: 40px 0 0 0;
2014-07-11 10:22:28 +00:00
}
2013-08-20 16:53:02 +00:00
2017-05-15 20:03:47 +00:00
.read-next-card {
position: relative;
2017-05-15 20:03:47 +00:00
flex: 1 1 300px;
2017-05-31 18:09:50 +00:00
display: flex;
flex-direction: column;
2017-06-16 08:44:12 +00:00
overflow: hidden;
2017-06-12 09:01:00 +00:00
margin: 0 20px 40px;
2017-05-15 20:03:47 +00:00
padding: 25px;
color: #fff;
background: var(--darkgrey) center center;
background-size: cover;
border-radius: 5px;
2017-06-16 08:44:12 +00:00
box-shadow: rgba(39,44,49,0.06) 8px 14px 38px, rgba(39, 44, 49, 0.03) 1px 3px 8px;
}
2017-05-15 20:03:47 +00:00
.read-next-card:before {
content: "";
position: absolute;
2017-05-15 20:03:47 +00:00
top: 0;
right: 0;
bottom: 0;
left: 0;
2017-06-16 08:44:12 +00:00
display: block;
2017-06-13 17:51:08 +00:00
background: linear-gradient(135deg, rgba(0,40,60,0.8) 0%,rgba(0,20,40,0.7) 100%);
2017-05-31 18:09:50 +00:00
border-radius: 5px;
2017-06-16 08:44:12 +00:00
2017-05-31 18:09:50 +00:00
backdrop-filter: blur(2px);
}
2017-05-15 20:03:47 +00:00
.read-next-card-header {
position: relative;
z-index: 50;
2017-06-13 17:51:08 +00:00
padding-top: 20px;
2017-05-15 20:03:47 +00:00
text-align: center;
}
2017-06-13 17:51:08 +00:00
.read-next-card-header-sitetitle {
display: block;
font-size: 1.3rem;
line-height: 1.3em;
opacity: 0.8;
}
2017-05-15 20:03:47 +00:00
.read-next-card-header-title {
margin: 0;
2017-06-16 08:44:12 +00:00
padding: 0 20px;
color: #fff;
2017-05-15 20:03:47 +00:00
font-size: 3rem;
line-height: 1.2em;
letter-spacing: 1px;
}
2017-06-13 17:51:08 +00:00
.read-next-card-header-title a {
color: #fff;
font-weight: 300;
text-decoration: none;
}
.read-next-card-header-title a:hover {
text-decoration: none;
}
2017-06-12 09:01:00 +00:00
.read-next-divider {
2017-06-13 12:48:06 +00:00
position: relative;
2017-06-12 09:01:00 +00:00
display: flex;
justify-content: center;
height: 80px;
}
.read-next-divider svg {
2017-06-13 17:51:08 +00:00
width: 40px;
2017-08-02 08:41:14 +00:00
fill: transparent;
2017-11-20 05:42:32 +00:00
stroke: #fff;
2017-06-13 17:51:08 +00:00
stroke-width: 0.5px;
2017-06-13 12:48:06 +00:00
stroke-opacity: 0.65;
2017-06-12 09:01:00 +00:00
}
2017-05-15 20:03:47 +00:00
.read-next-card-content {
position: relative;
z-index: 50;
2017-06-16 08:44:12 +00:00
flex-grow: 1;
display: flex;
2017-05-15 20:03:47 +00:00
font-size: 1.7rem;
2013-08-20 16:53:02 +00:00
}
2017-06-13 17:51:08 +00:00
.read-next-card-content ul {
2017-05-31 18:09:50 +00:00
display: flex;
flex-direction: column;
2017-06-12 09:01:00 +00:00
margin: 0 auto;
2017-06-13 17:51:08 +00:00
padding: 0;
2017-08-02 08:41:14 +00:00
text-align: center;
2017-11-20 05:42:32 +00:00
list-style: none;
2014-03-22 14:15:41 +00:00
}
2017-05-15 20:03:47 +00:00
.read-next-card-content li {
2017-06-13 17:51:08 +00:00
margin: 0;
padding: 0;
font-size: 1.6rem;
2017-06-12 09:01:00 +00:00
line-height: 1.25em;
2017-05-15 20:03:47 +00:00
font-weight: 200;
2017-06-16 08:44:12 +00:00
letter-spacing: -0.5px;
}
2017-05-15 20:03:47 +00:00
.read-next-card-content li a {
2017-06-13 17:51:08 +00:00
display: block;
padding: 20px 0;
border-bottom: rgba(255,255,255,0.3) 1px solid;
2017-06-12 09:01:00 +00:00
color: #fff;
2017-06-16 08:44:12 +00:00
font-weight: 500;
2017-11-20 05:42:32 +00:00
vertical-align: top;
2017-06-12 09:01:00 +00:00
transition: opacity 0.3s ease;
2017-06-13 17:51:08 +00:00
}
.read-next-card-content li:first-of-type a {
padding-top: 10px;
2017-06-12 09:01:00 +00:00
}
.read-next-card-content li a:hover {
opacity: 1;
}
2017-06-13 17:51:08 +00:00
.read-next-card-footer {
position: relative;
margin: 15px 0 3px 0;
text-align: center;
}
.read-next-card-footer a {
color: #fff;
}
2017-06-16 08:17:11 +00:00
/* 7.5. Floating Header
2017-05-15 20:03:47 +00:00
/* ---------------------------------------------------------- */
2017-05-15 20:03:47 +00:00
.floating-header {
visibility: hidden;
2017-06-16 08:44:12 +00:00
position: fixed;
top: 0;
right: 0;
left: 0;
z-index: 1000;
2017-05-15 20:03:47 +00:00
display: flex;
align-items: center;
2017-06-14 11:16:16 +00:00
height: 60px;
2017-05-15 20:03:47 +00:00
border-bottom: rgba(0,0,0,0.06) 1px solid;
background: rgba(255,255,255,0.95);
transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
2017-06-16 08:44:12 +00:00
transform: translate3d(0, -120%, 0);
2014-07-21 18:37:05 +00:00
}
2017-05-15 20:03:47 +00:00
.floating-active {
visibility: visible;
transition: all 500ms cubic-bezier(0.22, 1, 0.27, 1);
2017-06-16 08:44:12 +00:00
transform: translate3d(0, 0, 0);
2014-01-31 07:35:24 +00:00
}
2017-05-15 20:03:47 +00:00
.floating-header-logo {
2017-06-16 08:44:12 +00:00
overflow: hidden;
2017-06-14 11:16:16 +00:00
margin: 0 0 0 20px;
2017-06-15 14:03:19 +00:00
font-size: 1.6rem;
2017-06-14 11:16:16 +00:00
line-height: 1em;
letter-spacing: -1px;
2017-05-15 20:03:47 +00:00
text-overflow: ellipsis;
2017-06-16 08:44:12 +00:00
white-space: nowrap;
}
2017-05-15 20:03:47 +00:00
.floating-header-logo a {
display: flex;
align-items: center;
color: var(--darkgrey);
line-height: 1.1em;
2017-08-02 08:41:14 +00:00
font-weight: 700;
}
2017-05-15 20:03:47 +00:00
.floating-header-logo a:hover {
text-decoration: none;
}
2017-05-15 20:03:47 +00:00
.floating-header-logo img {
2017-08-02 08:41:14 +00:00
margin: 0 10px 0 0;
2017-11-20 05:42:32 +00:00
max-height: 20px;
2015-03-23 10:21:28 +00:00
}
2017-05-15 20:03:47 +00:00
.floating-header-divider {
margin: 0 5px;
line-height: 1em;
2015-03-23 10:21:28 +00:00
}
2017-05-15 20:03:47 +00:00
.floating-header-title {
flex: 1;
2017-06-16 08:44:12 +00:00
overflow: hidden;
2015-03-23 10:21:28 +00:00
margin: 0;
2017-06-16 08:44:12 +00:00
color: #2e2e2e;
2017-06-15 14:03:19 +00:00
font-size: 1.6rem;
line-height: 1.3em;
2017-06-16 08:44:12 +00:00
font-weight: bold;
2017-05-15 20:03:47 +00:00
text-overflow: ellipsis;
2017-06-16 08:44:12 +00:00
white-space: nowrap;
2015-03-23 10:21:28 +00:00
}
2017-05-15 20:03:47 +00:00
.floating-header-share {
display: flex;
justify-content: flex-end;
align-items: center;
padding-left: 2%;
font-size: 1.3rem;
line-height: 1;
}
2017-05-15 20:03:47 +00:00
.floating-header-share a {
display: flex;
justify-content: center;
2017-06-16 08:44:12 +00:00
align-items: center;
}
2017-05-15 20:03:47 +00:00
.floating-header-share svg {
width: auto;
2017-06-16 08:44:12 +00:00
height: 16px;
fill: #fff;
}
2017-05-15 20:03:47 +00:00
.floating-header-share-label {
flex-shrink: 0;
display: flex;
align-items: center;
margin-right: 10px;
color: rgba(0,0,0,0.7);
font-weight: 500;
}
2017-05-15 20:03:47 +00:00
.floating-header-share-label svg {
2017-11-20 05:42:32 +00:00
margin: 0 5px 0 10px;
2017-05-15 20:03:47 +00:00
width: 18px;
height: 18px;
stroke: rgba(0,0,0,0.7);
transform: rotate(90deg);
}
2017-05-15 20:03:47 +00:00
.floating-header-share-tw,
.floating-header-share-fb {
display: block;
2017-06-16 08:44:12 +00:00
align-items: center;
2017-06-14 11:16:16 +00:00
width: 60px;
height: 60px;
2017-06-16 08:44:12 +00:00
color: #fff;
2017-06-14 11:16:16 +00:00
line-height: 48px;
2017-05-15 20:03:47 +00:00
text-align: center;
transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
}
2017-05-15 20:03:47 +00:00
.floating-header-share-tw {
background: #33b1ff;
}
2017-05-15 20:03:47 +00:00
.floating-header-share-fb {
background: #005e99;
}
2017-06-14 11:16:16 +00:00
.progress {
position: absolute;
2017-06-16 08:44:12 +00:00
right: 0;
2017-06-14 11:16:16 +00:00
bottom: -1px;
left: 0;
width: 100%;
2017-06-15 14:03:19 +00:00
height: 2px;
2017-06-14 11:16:16 +00:00
border: none;
color: var(--blue);
background: transparent;
2017-06-16 08:44:12 +00:00
2017-06-14 11:16:16 +00:00
appearance: none;
}
.progress::-webkit-progress-bar {
2017-06-16 08:44:12 +00:00
background-color: transparent;
2017-06-14 11:16:16 +00:00
}
.progress::-webkit-progress-value {
2017-06-16 08:44:12 +00:00
background-color: var(--blue);
2017-06-14 11:16:16 +00:00
}
.progress::-moz-progress-bar {
background-color: var(--blue);
}
2017-06-14 11:16:16 +00:00
.progress-container {
2017-06-16 08:44:12 +00:00
position: absolute;
top: 0;
left: 0;
display: block;
width: 100%;
height: 2px;
background-color: transparent;
2017-06-14 11:16:16 +00:00
}
.progress-bar {
2017-06-16 08:44:12 +00:00
display: block;
width: 50%;
height: inherit;
background-color: var(--blue);
2017-06-14 11:16:16 +00:00
}
2017-05-15 20:03:47 +00:00
@media (max-width: 900px) {
2017-06-16 08:44:12 +00:00
.floating-header {
height: 40px;
}
2017-06-14 11:16:16 +00:00
.floating-header-title,
.floating-header-logo {
font-size: 1.5rem;
}
2017-05-15 20:03:47 +00:00
.floating-header-share-tw,
.floating-header-share-fb {
width: 40px;
2017-06-16 08:44:12 +00:00
height: 40px;
2017-05-15 20:03:47 +00:00
line-height: 38px;
}
}
2017-05-15 20:03:47 +00:00
@media (max-width: 800px) {
2017-06-16 08:44:12 +00:00
.floating-header-logo {
margin-left: 10px;
}
.floating-header-logo a {
color: #2e2e2e;
}
2017-05-15 20:03:47 +00:00
.floating-header-title,
2017-06-16 08:44:12 +00:00
.floating-header-divider {
visibility: hidden;
}
}
2017-05-15 20:03:47 +00:00
@media (max-width: 450px) {
2017-06-16 08:44:12 +00:00
.floating-header-share-label {
display: none;
}
2014-07-22 11:21:33 +00:00
}
2017-06-13 12:48:06 +00:00
/* 7.6. Koenig Styles
/* ---------------------------------------------------------- */
.post-content {
display: flex;
flex-direction: column;
align-items: center;
max-width: 920px;
}
.post-template .post-content > p:first-child {
font-size: 1.25em;
line-height: 1.5em;
}
.post-full-content .kg-image {
max-width: 100%;
}
/* Preventing full-width image overlap with post image. */
.post-full-image + .post-full-content .kg-content *:first-child .kg-image {
width: 100%;
}
.post-full-content .kg-width-wide .kg-image {
max-width: 1040px;
}
.post-full-content .kg-width-full .kg-image {
max-width: 100vw;
}
.post-full-content figure {
margin: 1.5em 0 3em;
}
.post-full-content figure img {
margin: 0;
}
.post-full-content figcaption {
margin: 1.0em 0 0;
font-size: 80%;
2018-06-13 17:34:59 +00:00
line-height: 1.6em;
text-align: center;
}
.kg-width-full figcaption {
padding: 0 1.5em;
}
2018-06-13 17:34:59 +00:00
.kg-embed-card {
display: flex;
flex-direction: column;
align-items: center;
min-width: 100%;
}
2018-06-13 17:34:59 +00:00
.kg-embed-card .fluid-width-video-wrapper {
margin: 0;
}
@media (max-width: 1040px) {
.post-full-content .kg-width-full .kg-image {
2018-06-13 17:34:59 +00:00
width: 100vw;
}
}
.kg-gallery-container {
display: flex;
flex-direction: column;
max-width: 1040px;
width: 100vw;
}
.kg-gallery-row {
display: flex;
flex-direction: row;
justify-content: center;
}
.kg-gallery-image img {
display: block;
margin: 0;
width: 100%;
height: 100%;
}
.kg-gallery-row:not(:first-of-type) {
margin: 0.75em 0 0 0;
}
.kg-gallery-image:not(:first-of-type) {
margin: 0 0 0 0.75em;
}
.kg-gallery-card + .kg-image-card.kg-width-wide,
.kg-gallery-card + .kg-gallery-card,
.kg-image-card.kg-width-wide + .kg-gallery-card,
.kg-image-card.kg-width-wide + .kg-image-card.kg-width-wide {
margin: -2.25em 0 3em;
}
2017-06-16 08:17:11 +00:00
/* 8. Author Template
/* ---------------------------------------------------------- */
2017-06-13 12:48:06 +00:00
.site-header-content .author-profile-image {
z-index: 10;
2017-06-13 12:48:06 +00:00
flex-shrink: 0;
2017-11-20 05:42:32 +00:00
margin: 0 0 20px 0;
2017-06-13 12:48:06 +00:00
width: 100px;
height: 100px;
box-shadow: rgba(255,255,255,0.1) 0 0 0 6px;
}
.site-header-content .author-bio {
z-index: 10;
flex-shrink: 0;
2017-08-02 08:41:14 +00:00
margin: 5px 0 10px 0;
2017-11-20 05:42:32 +00:00
max-width: 600px;
2017-06-13 12:48:06 +00:00
font-size: 2rem;
line-height: 1.3em;
font-weight: 300;
letter-spacing: 0.5px;
2017-06-16 08:44:12 +00:00
opacity: 0.8;
2017-06-13 12:48:06 +00:00
}
.site-header-content .author-meta {
z-index: 10;
flex-shrink: 0;
2017-06-13 12:48:06 +00:00
display: flex;
justify-content: center;
align-items: center;
margin: 0 0 10px 0;
font-family: Georgia, serif;
font-style: italic;
}
.site-header-content .author-location svg {
height: 1.9rem;
stroke: #fff;
}
.site-header-content .bull {
display: inline-block;
margin: 0 12px;
opacity: 0.5;
}
.site-header-content .social-link:first-of-type {
padding-left: 4px;
}
2017-06-16 12:16:22 +00:00
@media (max-width: 500px) {
.site-header-content .author-bio {
font-size: 1.8rem;
line-height: 1.15em;
letter-spacing: 0;
}
.author-location,
.author-stats {
display: none;
}
}
2017-06-13 12:48:06 +00:00
2017-06-16 08:17:11 +00:00
/* 9. Error Template
/* ---------------------------------------------------------- */
2017-06-13 12:48:06 +00:00
.error-template .site-main {
padding: 7vw 4vw;
}
.site-nav-center {
2017-06-16 08:44:12 +00:00
display: flex;
justify-content: center;
align-items: center;
text-align: center;
2017-06-13 12:48:06 +00:00
}
.site-nav-center .site-nav-logo {
2017-06-16 08:44:12 +00:00
margin-right: 0;
2017-06-13 12:48:06 +00:00
}
.error-message {
text-align: center;
}
.error-code {
margin: 0;
font-size: 12vw;
line-height: 1em;
letter-spacing: -5px;
opacity: 0.3;
}
.error-description {
margin: 0;
2017-06-16 08:44:12 +00:00
color: var(--midgrey);
2017-06-13 12:48:06 +00:00
font-size: 3rem;
line-height: 1.3em;
font-weight: 400;
}
@media (max-width: 800px) {
.error-description {
margin: 5px 0 0 0;
font-size: 1.8rem;
}
}
.error-link {
display: inline-block;
margin-top: 5px;
}
.error-template .post-feed {
padding-top: 0;
}
2017-06-15 14:03:19 +00:00
2017-06-16 08:17:11 +00:00
/* 10. Subscribe Overlay
/* ---------------------------------------------------------- */
2017-06-15 14:03:19 +00:00
.subscribe-overlay {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
2017-06-16 08:44:12 +00:00
z-index: 9000;
2017-06-15 14:03:19 +00:00
display: flex;
justify-content: center;
align-items: center;
background: rgba(0,25,40,0.97);
opacity: 0;
transition: opacity 200ms ease-in;
pointer-events: none;
2017-06-16 08:44:12 +00:00
2017-06-15 14:03:19 +00:00
backdrop-filter: blur(3px);
}
.subscribe-overlay:target {
opacity: 1;
pointer-events: auto;
}
.subscribe-overlay-content {
position: relative;
z-index: 9999;
margin: 0 0 5vw 0;
2017-06-16 08:44:12 +00:00
padding: 4vw;
2017-06-15 14:03:19 +00:00
color: #fff;
2017-06-16 08:44:12 +00:00
text-align: center;
2017-06-15 14:03:19 +00:00
}
.subscribe-overlay-logo {
position: fixed;
top: 23px;
left: 30px;
height: 30px;
}
.subscribe-overlay-title {
display: inline-block;
margin: 0 0 10px 0;
font-size: 6rem;
line-height: 1.15em;
}
.subscribe-overlay-description {
2017-08-02 08:41:14 +00:00
margin: 0 auto 50px;
2017-11-20 05:42:32 +00:00
max-width: 650px;
2017-06-16 08:44:12 +00:00
font-family: Georgia, serif;
2017-06-15 14:03:19 +00:00
font-size: 3rem;
line-height: 1.3em;
font-weight: 300;
opacity: 0.8;
}
.subscribe-overlay form {
display: flex;
justify-content: center;
align-items: center;
2017-08-02 08:41:14 +00:00
margin: 0 auto;
2017-11-20 05:42:32 +00:00
max-width: 500px;
2017-06-15 14:03:19 +00:00
}
.subscribe-overlay .form-group {
flex-grow: 1;
}
.subscribe-overlay .subscribe-email {
display: block;
2017-08-02 08:41:14 +00:00
padding: 14px 20px;
2017-11-20 05:42:32 +00:00
width: 100%;
2017-06-15 14:03:19 +00:00
border: none;
color: var(--midgrey);
font-size: 2rem;
line-height: 1em;
font-weight: normal;
2017-06-16 08:44:12 +00:00
letter-spacing: 0.5px;
2017-06-15 14:03:19 +00:00
user-select: text;
border-radius: 8px;
transition: border-color 0.15s linear;
-webkit-appearance: none;
}
.subscribe-email:focus {
outline: 0;
border-color: color(var(--lightgrey) l(-2%));
}
.subscribe-overlay button {
display: inline-block;
margin: 0 0 0 15px;
padding: 0 25px;
2017-11-20 05:42:32 +00:00
height: 52px;
2017-06-16 08:44:12 +00:00
outline: none;
color: #fff;
2017-06-15 14:03:19 +00:00
font-size: 1.7rem;
line-height: 37px;
font-weight: 400;
text-align: center;
2017-06-16 08:44:12 +00:00
text-shadow: 0 -1px 0 rgba(0,0,0,0.1);
2017-06-15 14:03:19 +00:00
background: linear-gradient(
color(var(--blue) whiteness(+7%)),
color(var(--blue) lightness(-7%) saturation(-10%)) 60%,
color(var(--blue) lightness(-7%) saturation(-10%)) 90%,
color(var(--blue) lightness(-4%) saturation(-10%))
);
2017-06-16 08:44:12 +00:00
border-radius: 8px;
2017-06-15 14:03:19 +00:00
box-shadow: 0 0 0 1px inset rgba(0,0,0,0.14);
-webkit-font-smoothing: subpixel-antialiased;
}
.subscribe-overlay button:active,
.subscribe-overlay button:focus {
background: color(var(--blue) lightness(-9%) saturation(-10%));
}
.subscribe-overlay-close {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
2017-06-16 08:44:12 +00:00
display: block;
2017-06-15 14:03:19 +00:00
}
.subscribe-overlay-close:before {
content: "";
position: absolute;
top: 40px;
right: 25px;
2017-06-16 08:44:12 +00:00
display: block;
2017-06-15 14:03:19 +00:00
width: 30px;
height: 2px;
background: #fff;
opacity: 0.8;
2017-06-16 08:44:12 +00:00
transform: rotate(45deg);
2017-06-15 14:03:19 +00:00
}
.subscribe-overlay-close:after {
content: "";
position: absolute;
top: 40px;
right: 25px;
2017-06-16 08:44:12 +00:00
display: block;
2017-06-15 14:03:19 +00:00
width: 30px;
height: 2px;
background: #fff;
opacity: 0.8;
2017-06-16 08:44:12 +00:00
transform: rotate(-45deg);
2017-06-15 14:03:19 +00:00
}
.subscribe-overlay-close:hover {
cursor: default;
}
2017-06-16 08:17:11 +00:00
/* 11. Site Footer
/* ---------------------------------------------------------- */
.site-footer {
position: relative;
padding-top: 20px;
padding-bottom: 60px;
color: #fff;
background: color(var(--darkgrey) l(-15%));
}
.site-footer-content {
display: flex;
2017-11-20 05:42:32 +00:00
flex-wrap: wrap;
2017-06-16 08:17:11 +00:00
justify-content: space-between;
align-items: center;
color: rgba(255,255,255,0.7);
font-size: 1.3rem;
}
.site-footer-content a {
color: rgba(255,255,255,0.7);
2017-06-16 08:17:11 +00:00
}
.site-footer-content a:hover {
color: rgba(255,255,255,1);
text-decoration: none;
}
.site-footer-nav {
display: flex;
}
.site-footer-nav a {
position: relative;
margin-left: 20px;
}
.site-footer-nav a:before {
content: "";
position: absolute;
top: 11px;
left: -11px;
2017-06-16 08:44:12 +00:00
display: block;
width: 2px;
height: 2px;
2017-06-16 08:17:11 +00:00
background: #fff;
2017-06-16 08:44:12 +00:00
border-radius: 100%;
2017-06-16 08:17:11 +00:00
}
.site-footer-nav a:first-of-type:before {
display: none;
}
2017-06-16 12:16:22 +00:00
@media (max-width: 650px) {
.site-footer-content {
flex-direction: column;
}
.site-footer-nav a:first-child {
margin-left: 0;
}
}