weflock/assets/css/screen.css

2236 lines
42 KiB
CSS
Raw Normal View History

2017-06-16 04:17:11 -04: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 04:44:12 -04:00
2017-06-16 04:17:11 -04: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 04:05:53 -04:00
7.2.1 Single Author Byline
7.2.2 Multiple Author Byline
2017-06-16 04:17:11 -04:00
7.3. Comments
7.4. Related Posts
7.5. Floating Header
7.6. Koenig Styles
2017-06-16 04:17:11 -04:00
8. Author Template
9. Error Template
10. Subscribe Overlay
11. Site Footer
*/
/* 1. Global - Set up the things
2017-05-15 16:03:47 -04:00
/* ---------------------------------------------------------- */
2017-06-16 04:44:12 -04:00
@import "global.css";
2013-08-10 12:42:21 -04:00
2017-05-15 16:03:47 -04:00
body {
2017-06-13 08:48:06 -04:00
background: #f4f8fb;
2017-05-15 16:03:47 -04:00
}
2013-08-10 12:42:21 -04:00
2017-05-15 16:03:47 -04:00
.img {
display: block;
width: 100%;
height: 100%;
2017-08-02 04:41:14 -04:00
background-position: center center;
2017-11-20 00:42:32 -05:00
background-size: cover;
2017-06-16 04:44:12 -04:00
border-radius: 100%;
2017-05-15 16:03:47 -04:00
}
2013-08-10 12:42:21 -04:00
2017-05-15 16:03:47 -04:00
.hidden {
2017-06-16 04:44:12 -04:00
visibility: hidden;
2017-05-15 16:03:47 -04:00
position: absolute;
text-indent: -9999px;
}
2013-08-10 12:42:21 -04:00
2013-09-01 15:45:19 -04:00
2017-06-16 04:17:11 -04:00
/* 2. Layout - Page building blocks
2017-05-15 16:03:47 -04:00
/* ---------------------------------------------------------- */
2013-09-01 15:45:19 -04:00
.site-wrapper {
display: flex;
flex-direction: column;
min-height: 100vh;
}
.site-main {
z-index: 100;
flex-grow: 1;
}
2017-05-15 16:03:47 -04:00
/* Full width page blocks */
.outer {
position: relative;
padding: 0 4vw;
2013-09-01 15:45:19 -04:00
}
2017-05-15 16:03:47 -04:00
/* Centered content container blocks */
.inner {
2017-08-02 04:41:14 -04:00
margin: 0 auto;
2017-11-20 00:42:32 -05:00
max-width: 1040px;
width: 100%;
2013-09-01 15:45:19 -04:00
}
2017-05-15 16:03:47 -04:00
/* Usage:
2013-09-01 15:45:19 -04:00
2017-05-15 16:03:47 -04:00
<div class="outer">
<div class="inner">
Centered content
</div>
</div>
2013-09-01 15:45:19 -04:00
2017-05-15 16:03:47 -04:00
*/
2013-08-10 12:42:21 -04:00
2017-06-16 04:17:11 -04:00
/* 3. Special Template Styles
2017-05-15 16:03:47 -04:00
/* ---------------------------------------------------------- */
2013-08-10 12:42:21 -04:00
2017-05-15 16:03:47 -04:00
@media (min-width: 900px) {
2017-05-31 14:09:50 -04:00
.home-template .post-feed,
2017-06-13 08:48:06 -04:00
.tag-template .post-feed,
.author-template .post-feed {
margin-top: -70px;
padding-top: 0;
2017-05-15 16:03:47 -04:00
}
.home-template .site-nav {
position: relative;
top: -70px;
}
2013-08-10 12:42:21 -04:00
}
2017-06-16 04:17:11 -04:00
/* 4. Site Header
2017-05-15 16:03:47 -04:00
/* ---------------------------------------------------------- */
2017-05-15 16:03:47 -04:00
.site-header {
position: relative;
padding-top: 12px;
padding-bottom: 12px;
color: #fff;
2017-06-12 05:01:00 -04:00
background: color(var(--darkgrey) l(-5%)) no-repeat center center;
2017-05-15 16:03:47 -04:00
background-size: cover;
}
2017-05-15 16:03:47 -04:00
.site-header:before {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 10;
2017-06-16 04:44:12 -04:00
display: block;
2017-05-15 16:03:47 -04:00
background: rgba(0,0,0,0.18);
2013-08-10 12:42:21 -04:00
}
2017-05-15 16:03:47 -04:00
.site-header:after {
content: "";
position: absolute;
2017-06-13 08:48:06 -04:00
top: 0;
2017-05-15 16:03:47 -04:00
right: 0;
2017-06-13 08:48:06 -04:00
bottom: auto;
left: 0;
2017-05-15 16:03:47 -04:00
z-index: 10;
2017-06-16 04:44:12 -04:00
display: block;
2017-06-13 08:48:06 -04:00
height: 80px;
background: linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0));
}
2017-05-15 16:03:47 -04:00
.site-header.no-cover:before,
.site-header.no-cover:after {
display: none;
}
2017-05-15 16:03:47 -04:00
.site-header-content {
display: flex;
flex-direction: column;
justify-content: center;
2017-06-13 08:48:06 -04:00
align-items: center;
2017-11-20 00:42:32 -05:00
padding: 10vw 4vw;
2017-05-15 16:03:47 -04:00
min-height: 200px;
max-height: 450px;
text-align: center;
}
2017-05-15 16:03:47 -04:00
.site-title {
z-index: 10;
2017-05-15 16:03:47 -04:00
margin: 0;
padding: 0;
font-size: 3.8rem;
font-weight: 700;
}
2017-05-15 16:03:47 -04:00
.site-logo {
max-height: 45px;
}
2017-05-15 16:03:47 -04:00
.site-description {
z-index: 10;
2017-05-15 16:03:47 -04:00
margin: 0;
padding: 5px 0;
font-size: 2.2rem;
font-weight: 300;
letter-spacing: 0.5px;
opacity: 0.8;
}
2017-06-16 08:16:22 -04:00
@media (max-width: 500px) {
.site-title {
font-size: 3rem;
}
.site-description {
font-size: 1.8rem;
}
}
2017-06-16 04:17:11 -04:00
/* 5. Site Navigation
2017-05-15 16:03:47 -04:00
/* ---------------------------------------------------------- */
2014-07-12 13:56:26 -04:00
2017-05-15 16:03:47 -04:00
.site-nav {
position: relative;
z-index: 300;
2017-05-15 16:03:47 -04:00
display: flex;
justify-content: space-between;
2017-06-16 04:44:12 -04:00
align-items: flex-start;
2017-08-02 04:41:14 -04:00
overflow-y: hidden;
2017-11-20 00:42:32 -05:00
height: 40px;
2017-06-14 07:16:16 -04:00
font-size: 1.2rem;
}
2017-05-15 16:03:47 -04:00
.site-nav-left {
display: flex;
align-items: center;
2017-06-16 04:44:12 -04:00
overflow-x: auto;
overflow-y: hidden;
2017-11-20 00:42:32 -05:00
-webkit-overflow-scrolling: touch;
2017-05-15 16:03:47 -04:00
margin-right: 10px;
padding-bottom: 80px;
2017-06-14 07:16:16 -04:00
letter-spacing: 0.4px;
2017-05-15 16:03:47 -04:00
white-space: nowrap;
2017-11-20 00:42:32 -05:00
2017-05-15 16:03:47 -04:00
-ms-overflow-scrolling: touch;
}
2017-05-15 16:03:47 -04: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 07:19:29 -04:00
flex-shrink: 0;
2017-05-15 16:03:47 -04:00
display: block;
margin-right: 24px;
padding: 11px 0;
2017-06-16 04:44:12 -04:00
color: #fff;
2017-06-12 05:01:00 -04:00
font-size: 1.7rem;
2017-06-14 07:16:16 -04:00
line-height: 1em;
2017-06-12 05:01:00 -04:00
font-weight: bold;
letter-spacing: -0.5px;
}
.site-nav-logo:hover {
text-decoration: none;
2013-10-31 14:09:15 -04:00
}
2017-05-15 16:03:47 -04:00
.site-nav-logo img {
display: block;
width: auto;
2017-06-16 04:44:12 -04:00
height: 21px;
2013-10-31 14:09:15 -04:00
}
.nav {
2017-05-15 16:03:47 -04:00
display: flex;
margin: 0 0 0 -12px;
padding: 0;
list-style: none;
2014-09-25 09:41:04 -04:00
}
.nav li {
2017-05-15 16:03:47 -04:00
display: block;
2014-09-25 09:41:04 -04:00
margin: 0;
2017-05-15 16:03:47 -04:00
padding: 0;
text-transform: uppercase;
2014-09-25 09:41:04 -04:00
}
.nav li a {
2017-05-15 16:03:47 -04:00
display: block;
margin: 0;
padding: 10px 12px;
color: #fff;
opacity: 0.8;
}
.nav li a:hover {
2017-05-15 16:03:47 -04:00
text-decoration: none;
2017-06-16 04:44:12 -04:00
opacity: 1;
}
2017-05-15 16:03:47 -04:00
.site-nav-right {
2017-06-16 04:44:12 -04:00
flex-shrink: 0;
2017-05-15 16:03:47 -04:00
display: flex;
align-items: center;
2017-05-31 14:09:50 -04:00
height: 40px;
}
2017-05-15 16:03:47 -04:00
.social-links {
2017-06-16 04:44:12 -04:00
flex-shrink: 0;
2017-05-15 16:03:47 -04:00
display: flex;
align-items: center;
}
2017-05-15 16:03:47 -04:00
.social-links a:last-of-type {
padding-right: 20px;
}
2017-05-15 16:03:47 -04:00
.social-link {
display: flex;
justify-content: center;
2017-06-16 04:44:12 -04:00
align-items: center;
2017-05-15 16:03:47 -04:00
margin: 0;
padding: 10px;
color: #fff;
opacity: 0.8;
}
2017-05-15 16:03:47 -04:00
.social-link:hover {
opacity: 1;
}
2017-05-15 16:03:47 -04:00
.social-link svg {
height: 1.8rem;
fill: #fff;
}
2017-05-15 16:03:47 -04:00
.social-link-fb svg {
height: 1.5rem;
}
2017-06-13 08:48:06 -04: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 16:03:47 -04: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 16:03:47 -04:00
.subscribe-button:hover {
text-decoration: none;
opacity: 1;
}
2017-05-15 16:03:47 -04:00
.rss-button {
opacity: 0.8;
}
2017-05-15 16:03:47 -04:00
.rss-button:hover {
opacity: 1;
}
2017-05-15 16:03:47 -04:00
.rss-button svg {
2017-08-02 04:41:14 -04:00
margin-bottom: 1px;
2017-11-20 00:42:32 -05:00
height: 2.1rem;
2017-05-15 16:03:47 -04:00
fill: #fff;
}
2017-06-16 08:16:22 -04:00
@media (max-width: 700px) {
.site-header {
padding-right: 0;
2017-08-02 04:41:14 -04:00
padding-left: 0;
2017-06-16 08:16:22 -04:00
}
.site-nav-left {
margin-right: 0;
2017-08-02 04:41:14 -04:00
padding-left: 4vw;
2017-06-16 08:16:22 -04:00
}
.site-nav-right {
display: none;
}
}
2017-06-16 04:17:11 -04:00
/* 6. Post Feed
2017-05-15 16:03:47 -04:00
/* ---------------------------------------------------------- */
.post-feed {
position: relative;
display: flex;
flex-wrap: wrap;
margin: 0 -20px;
padding: 40px 0 0 0;
}
2017-05-15 16:03:47 -04:00
.post-card {
2017-06-16 04:44:12 -04:00
flex: 1 1 300px;
2017-05-16 05:26:08 -04:00
display: flex;
flex-direction: column;
2017-06-16 04:44:12 -04:00
overflow: hidden;
2017-06-05 07:19:29 -04:00
margin: 0 20px 40px;
2017-11-20 00:42:32 -05:00
min-height: 300px;
2017-05-15 16:03:47 -04:00
background: #fff center center;
background-size: cover;
border-radius: 5px;
2017-06-16 04:44:12 -04:00
box-shadow: rgba(39,44,49,0.06) 8px 14px 38px, rgba(39, 44, 49, 0.03) 1px 3px 8px;
2017-05-15 16:03:47 -04:00
transition: all 0.5s ease;
}
2017-05-15 16:03:47 -04:00
.post-card:hover {
2018-04-10 09:15:33 -04: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 16:03:47 -04:00
}
2017-05-15 16:03:47 -04:00
.post-card-image-link {
position: relative;
display: block;
overflow: hidden;
border-radius: 5px 5px 0 0;
}
2017-05-15 16:03:47 -04:00
.post-card-image {
width: auto;
height: 200px;
background: var(--lightgrey) no-repeat center center;
background-size: cover;
}
2017-05-15 16:03:47 -04:00
.post-card-content-link {
position: relative;
2018-04-10 14:19:29 -04:00
flex-grow: 1;
display: block;
2017-05-15 16:03:47 -04:00
padding: 25px 25px 0;
color: var(--darkgrey);
}
2017-05-15 16:03:47 -04:00
.post-card-content-link:hover {
text-decoration: none;
}
2017-06-08 03:19:22 -04: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 04:44:12 -04:00
letter-spacing: 0.5px;
text-transform: uppercase;
2017-06-08 03:19:22 -04:00
}
2017-05-15 16:03:47 -04:00
.post-card-title {
margin-top: 0;
}
2017-05-15 16:03:47 -04:00
.post-card-content {
2017-06-13 13:51:08 -04:00
flex-grow: 1;
2017-05-15 16:03:47 -04:00
display: flex;
flex-direction: column;
justify-content: space-between;
}
2017-05-15 16:03:47 -04:00
.post-card-excerpt {
font-family: Georgia, serif;
}
2017-05-15 16:03:47 -04:00
.post-card-meta {
2018-04-10 14:19:29 -04:00
display: flex;
justify-content: space-between;
2018-04-12 04:05:40 -04:00
align-items: flex-end;
2017-05-15 16:03:47 -04:00
padding: 0 25px 25px;
}
.author-profile-image,
.avatar-wrapper {
2018-04-12 04:05:40 -04:00
display: block;
width: 100%;
height: 100%;
2018-04-12 04:05:40 -04:00
background: color(var(--lightgrey) l(+10%));
2017-05-16 05:26:08 -04:00
border-radius: 100%;
object-fit: cover;
2017-05-16 05:26:08 -04:00
}
2018-04-10 14:19:29 -04:00
.post-card-meta .profile-image-wrapper,
.post-card-meta .avatar-wrapper {
position: relative;
}
.author-list {
display: flex;
2018-04-12 04:05:40 -04:00
flex-wrap: wrap-reverse;
margin: 0;
2018-04-10 14:19:29 -04:00
padding: 0;
2018-04-12 04:05:40 -04:00
list-style: none;
2018-04-10 14:19:29 -04:00
}
.author-list-item {
position: relative;
2018-05-21 11:36:08 -04:00
flex-shrink: 0;
2018-04-10 14:19:29 -04:00
margin: 0;
padding: 0;
}
2018-05-21 11:36:08 -04: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 14:19:29 -04:00
2018-04-12 04:05:40 -04:00
.static-avatar {
display: block;
2018-05-21 11:36:08 -04:00
overflow: hidden;
margin: 0 -5px;
2018-04-12 04:05:40 -04:00
width: 34px;
2018-05-21 11:36:08 -04:00
height: 34px;
2018-04-12 04:05:40 -04:00
border: #fff 2px solid;
border-radius: 100%;
2018-04-10 14:19:29 -04:00
}
2018-04-12 04:05:40 -04:00
.moving-avatar {
display: block;
2018-05-21 11:36:08 -04:00
overflow: hidden;
margin: 0 -6px;
2018-04-12 04:05:40 -04:00
width: 56px;
2018-05-21 11:36:08 -04:00
height: 56px;
2018-04-12 04:05:40 -04: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 14:19:29 -04:00
}
2018-04-12 04:05:40 -04: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 14:19:29 -04:00
}
.author-name-tooltip {
position: absolute;
2018-04-12 04:05:40 -04:00
bottom: 105%;
2018-04-10 14:19:29 -04: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 04:05:40 -04:00
flex-shrink: 0;
margin-left: 20px;
2018-04-10 14:19:29 -04:00
color: var(--midgrey);
font-size: 1.2rem;
2018-04-12 04:05:40 -04:00
line-height: 33px;
2017-05-16 05:26:08 -04:00
font-weight: 500;
2017-06-16 04:44:12 -04:00
letter-spacing: 0.5px;
text-transform: uppercase;
2017-05-16 05:26:08 -04:00
}
2017-05-31 14:09:50 -04:00
/* Special Styling for home page grid (below):
2017-05-15 16:03:47 -04:00
The first (most recent) 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 16:03:47 -04:00
*/
2017-05-15 16:03:47 -04:00
@media (min-width: 795px) {
2017-06-16 08:16:22 -04:00
.home-template .post-feed .post-card:nth-child(6n+1):not(.no-image) {
2017-05-15 16:03:47 -04:00
flex: 1 1 100%;
2017-05-16 05:26:08 -04:00
flex-direction: row;
2017-05-15 16:03:47 -04:00
}
2017-06-16 08:16:22 -04:00
.home-template .post-feed .post-card:nth-child(6n+1):not(.no-image) .post-card-image-link {
2017-06-13 13:51:08 -04:00
position: relative;
2017-05-15 16:03:47 -04:00
flex: 1 1 auto;
border-radius: 5px 0 0 5px;
2017-05-15 16:03:47 -04:00
}
2013-08-28 12:41:32 -04:00
2017-06-16 08:16:22 -04:00
.home-template .post-feed .post-card:nth-child(6n+1):not(.no-image) .post-card-image {
2017-06-13 13:51:08 -04:00
position: absolute;
2017-05-15 16:03:47 -04:00
width: 100%;
height: 100%;
}
2015-02-27 09:48:15 -05:00
2017-06-16 08:16:22 -04:00
.home-template .post-feed .post-card:nth-child(6n+1):not(.no-image) .post-card-content {
2017-05-15 16:03:47 -04:00
flex: 0 1 357px;
}
2015-02-27 09:48:15 -05:00
2017-06-16 08:16:22 -04:00
.home-template .post-feed .post-card:nth-child(6n+1):not(.no-image) h2 {
2017-05-15 16:03:47 -04:00
font-size: 2.6rem;
}
2017-06-16 08:16:22 -04:00
.home-template .post-feed .post-card:nth-child(6n+1):not(.no-image) p {
2017-05-15 16:03:47 -04:00
font-size: 1.8rem;
line-height: 1.55em;
}
2013-08-10 12:42:21 -04:00
2017-06-16 08:16:22 -04:00
.home-template .post-feed .post-card:nth-child(6n+1):not(.no-image) .post-card-content-link {
2017-06-08 03:19:22 -04:00
padding: 30px 40px 0;
2017-05-15 16:03:47 -04:00
}
2013-08-20 12:53:02 -04:00
2017-06-16 08:16:22 -04:00
.home-template .post-feed .post-card:nth-child(6n+1):not(.no-image) .post-card-meta {
2017-06-08 03:19:22 -04:00
padding: 0 40px 30px;
2017-05-15 16:03:47 -04:00
}
}
2017-06-13 08:48:06 -04:00
.home-template .site-header:after {
display: none;
}
2017-05-15 16:03:47 -04:00
2017-05-31 14:09:50 -04:00
2017-06-16 08:16:22 -04: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 14:09:50 -04:00
2017-06-16 04:17:11 -04:00
/* 7. Single Post
2017-05-15 16:03:47 -04:00
/* ---------------------------------------------------------- */
2017-06-05 07:19:29 -04:00
.post-template .site-main,
.page-template .site-main {
padding-bottom: 4vw;
2017-05-15 16:03:47 -04:00
background: #fff;
}
2017-05-15 16:03:47 -04:00
.post-full {
position: relative;
z-index: 50;
2015-02-27 09:48:15 -05:00
}
2017-05-15 16:03:47 -04:00
/* ^ Required to make .post-full-content:before/after z-index stacking work */
2015-02-27 09:48:15 -05:00
2017-05-15 16:03:47 -04:00
.post-full-header {
margin: 0 auto;
2017-06-13 13:51:08 -04:00
padding: 6vw 3vw 3vw;
2017-11-20 00:42:32 -05:00
max-width: 1040px;
2017-05-15 16:03:47 -04:00
text-align: center;
2015-02-27 09:48:15 -05:00
}
@media (max-width: 500px) {
.post-full-header {
padding: 14vw 3vw 10vw;
}
}
2015-02-27 09:48:15 -05:00
2017-05-15 16:03:47 -04:00
.post-full-meta {
display: flex;
justify-content: center;
2017-06-16 04:44:12 -04:00
align-items: center;
color: var(--midgrey);
2017-05-15 16:03:47 -04:00
font-size: 1.4rem;
2017-06-16 04:44:12 -04:00
font-weight: 600;
text-transform: uppercase;
2015-02-28 07:34:58 -05:00
}
2017-05-15 16:03:47 -04:00
.post-full-meta-date {
color: var(--blue);
2015-02-27 09:48:15 -05:00
}
2017-05-15 16:03:47 -04:00
.post-full-title {
2017-06-13 08:48:06 -04:00
margin: 0;
2017-06-08 03:19:22 -04:00
color: color(var(--darkgrey) l(-5%));
2015-02-27 09:48:15 -05:00
}
2017-05-15 16:03:47 -04:00
.date-divider {
display: inline-block;
margin: 0 6px 1px;
2015-02-27 09:48:15 -05:00
}
2017-05-15 16:03:47 -04:00
.post-full-image {
2017-08-02 04:41:14 -04:00
margin: 0 -10vw -165px;
2017-11-20 00:42:32 -05:00
height: 800px;
2017-05-15 16:03:47 -04:00
background: var(--lightgrey) center center;
background-size: cover;
border-radius: 5px;
2015-02-27 09:48:15 -05:00
}
2017-05-15 16:03:47 -04:00
@media (max-width: 1170px) {
.post-full-image {
2017-08-02 04:41:14 -04:00
margin: 0 -4vw -100px;
2017-11-20 00:42:32 -05:00
height: 600px;
2017-06-05 07:19:29 -04:00
border-radius: 0;
2017-05-15 16:03:47 -04:00
}
2015-02-27 09:48:15 -05:00
}
2017-06-13 13:51:08 -04:00
@media (max-width: 800px) {
.post-full-image {
height: 400px;
}
}
2017-05-15 16:03:47 -04:00
.post-full-content {
position: relative;
margin: 0 auto;
2017-06-16 04:44:12 -04:00
padding: 70px 100px 0;
2017-11-20 00:42:32 -05:00
min-height: 230px;
2017-06-16 04:44:12 -04:00
font-family: Georgia, serif;
2017-05-15 16:03:47 -04:00
font-size: 2.2rem;
2017-05-31 14:09:50 -04:00
line-height: 1.6em;
2017-05-15 16:03:47 -04:00
background: #fff;
}
2015-02-28 07:34:58 -05:00
2017-06-05 07:19:29 -04: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 16:03:47 -04:00
.post-full-content:before {
content: "";
position: absolute;
top: 15px;
left: -5px;
z-index: -1;
2017-06-16 04:44:12 -04:00
display: block;
width: 20px;
height: 200px;
2017-05-16 05:26:08 -04:00
background: rgba(39,44,49,0.15);
2017-05-15 16:03:47 -04:00
filter: blur(5px);
2017-06-16 04:44:12 -04:00
transform: rotate(-5deg);
2015-02-27 09:48:15 -05:00
}
2017-05-15 16:03:47 -04:00
.post-full-content:after {
content: "";
position: absolute;
top: 15px;
right: -5px;
z-index: -1;
2017-06-16 04:44:12 -04:00
display: block;
width: 20px;
height: 200px;
2017-05-16 05:26:08 -04:00
background: rgba(39,44,49,0.15);
2017-05-15 16:03:47 -04:00
filter: blur(5px);
2017-06-16 04:44:12 -04:00
transform: rotate(5deg);
2015-02-28 07:34:58 -05:00
}
2017-06-13 08:48:06 -04:00
.no-image .post-full-content {
padding-top: 0;
}
2017-06-05 07:19:29 -04:00
.no-image .post-full-content:before,
.no-image .post-full-content:after {
display: none;
}
2017-06-08 03:19:22 -04:00
.post-full-content h1,
.post-full-content h2,
.post-full-content h3,
.post-full-content h4,
.post-full-content h5,
2017-06-15 10:03:19 -04: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 10:03:19 -04:00
.post-full-comments,
.footnotes {
2017-05-31 14:09:50 -04:00
min-width: 100%;
}
.post-full-content li {
word-break: break-word;
}
.post-full-content li p {
margin: 0;
}
2017-05-31 14:09:50 -04:00
.post-full-content a {
2017-06-05 07:19:29 -04:00
color: #000;
2017-05-31 14:09:50 -04:00
box-shadow: var(--blue) 0 -1px 0 inset;
}
.post-full-content a:hover {
2017-06-05 07:19:29 -04:00
color: var(--blue);
2017-05-31 14:09:50 -04:00
text-decoration: none;
}
2017-06-08 03:19:22 -04: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 03:15:19 -04:00
.post-full-content img,
.post-full-content video {
display: block;
2017-08-02 04:41:14 -04:00
margin: 1.5em auto;
2017-11-20 00:42:32 -05:00
max-width: 1040px;
2017-05-31 14:09:50 -04:00
}
@media (max-width: 1040px) {
2017-07-27 03:15:19 -04:00
.post-full-content img,
.post-full-content video {
width: 100%;
}
}
2017-05-31 14:09:50 -04:00
/* Full bleed images (#full)
2017-05-31 14:09:50 -04:00
Super neat trick courtesy of @JoelDrapper
Usage (In Ghost edtior):
![img](/some/image.jpg#full)
2017-05-31 14:09:50 -04:00
*/
.post-full-content img[src$="#full"] {
max-width: none;
2017-11-20 00:42:32 -05:00
width: 100vw;
2017-05-31 14:09:50 -04: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 09:10:28 -04:00
margin-bottom: 1.5em;
2018-06-13 13:34:59 -04:00
text-align: center;
}
2017-07-27 05:12:04 -04:00
.post-full-content iframe {
margin: 0 auto;
2017-07-27 05:12:04 -04:00
}
2017-05-15 16:03:47 -04:00
.post-full-content blockquote {
margin: 0 0 1.5em;
padding: 0 1.5em;
border-left: #3eb0ef 3px solid;
2017-05-31 14:09:50 -04: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 09:48:15 -05:00
}
.post-full-content blockquote p:last-child {
margin-bottom: 0;
2014-07-22 07:21:33 -04:00
}
2017-06-08 03:19:22 -04: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 pre {
2017-06-16 04:44:12 -04:00
overflow-x: auto;
2017-06-08 03:19:22 -04:00
margin: 1.5em 0 3em;
padding: 20px;
2017-11-20 00:42:32 -05:00
max-width: 100%;
2017-06-08 03:19:22 -04:00
border: color(var(--darkgrey) l(-10%)) 1px solid;
2017-06-16 04:44:12 -04:00
color: var(--whitegrey);
2017-06-08 03:19:22 -04: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 * {
color: inherit;
}
2017-06-05 07:19:29 -04:00
.post-full-content .fluid-width-video-wrapper {
margin: 1.5em 0 3em;
}
2017-06-16 08:16:22 -04:00
.post-full-content hr {
margin: 4vw 0;
}
2017-06-08 03:19:22 -04:00
.post-full-content hr:after {
content: "";
position: absolute;
top: -15px;
left: 50%;
2017-06-16 04:44:12 -04:00
display: block;
2017-11-20 00:42:32 -05:00
margin-left: -10px;
2017-06-08 03:19:22 -04:00
width: 1px;
2017-06-16 04:44:12 -04:00
height: 30px;
2017-06-08 03:19:22 -04: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 04:44:12 -04:00
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
2017-06-08 03:19:22 -04: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 03:19:22 -04: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 03:19:22 -04: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 03:19:22 -04: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 03:19:22 -04: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 00:42:32 -05:00
width: 100vw;
}
}
@media (max-width: 500px) {
.post-full-content h5 {
padding: 0 0 0.5em;
font-size: 2.2rem;
}
2017-06-08 03:19:22 -04: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 03:19:22 -04:00
}
2017-06-15 10:03:19 -04: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 04:44:12 -04:00
text-decoration: none !important;
box-shadow: none !important;
2017-06-15 10:03:19 -04:00
}
2017-06-16 08:16:22 -04: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 00:42:32 -05:00
height: 350px;
2017-06-16 08:16:22 -04: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 00:42:32 -05:00
max-width: 100%;
width: auto;
2017-08-02 04:41:14 -04: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 04:41:14 -04:00
white-space: nowrap;
2017-11-20 00:42:32 -05:00
vertical-align: top;
}
.post-full-content table {
2017-11-20 00:42:32 -05: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 00:42:32 -05: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 04:41:14 -04: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 04:41:14 -04:00
background-position: 100% 0;
2017-11-20 00:42:32 -05:00
background-size: 20px 100%;
2017-08-02 04:41:14 -04:00
background-repeat: no-repeat;
}
.post-full-content table th {
color: var(--darkgrey);
2017-08-02 04:41:14 -04:00
font-size: 1.2rem;
font-weight: 700;
2017-08-02 04:41:14 -04: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 04:17:11 -04:00
/* 7.1. Subscribe Form
2017-05-15 16:03:47 -04:00
/* ---------------------------------------------------------- */
.subscribe-form {
2017-06-05 07:19:29 -04:00
margin: 1.5em 0;
2017-06-08 03:19:22 -04:00
padding: 6.5vw 7vw 7vw;
border: color(var(--whitegrey) l(+2%)) 1px solid;
2017-05-15 16:03:47 -04:00
text-align: center;
2017-06-05 07:19:29 -04:00
background: color(var(--whitegrey) l(+4%));
2017-06-08 03:19:22 -04:00
border-radius: 7px;
}
2017-05-15 16:03:47 -04:00
.subscribe-form-title {
margin: 0 0 3px 0;
padding: 0;
2017-06-16 04:44:12 -04:00
color: var(--darkgrey);
2017-06-08 03:19:22 -04:00
font-size: 3.5rem;
2017-06-05 07:19:29 -04:00
line-height: 1;
2017-05-15 16:03:47 -04:00
font-weight: 700;
}
2017-05-15 16:03:47 -04:00
.subscribe-form p {
2017-06-08 03:19:22 -04:00
margin-bottom: 1em;
2017-06-16 04:44:12 -04:00
color: var(--midgrey);
2017-06-05 07:19:29 -04:00
font-size: 2.2rem;
2017-05-15 16:03:47 -04:00
line-height: 1.55em;
2017-06-05 07:19:29 -04:00
letter-spacing: 0.2px;
2015-02-28 07:34:58 -05:00
}
2017-05-15 16:03:47 -04:00
.subscribe-form form {
display: flex;
justify-content: center;
align-items: center;
2017-08-02 04:41:14 -04:00
margin: 0 auto;
2017-11-20 00:42:32 -05:00
max-width: 420px;
2015-02-27 09:48:15 -05:00
}
2017-05-15 16:03:47 -04:00
.subscribe-form .form-group {
flex-grow: 1;
}
2017-05-15 16:03:47 -04:00
.subscribe-email {
display: block;
2017-08-02 04:41:14 -04:00
padding: 10px;
2017-11-20 00:42:32 -05:00
width: 100%;
2017-05-15 16:03:47 -04: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 16:03:47 -04:00
.subscribe-email:focus {
outline: 0;
border-color: color(var(--lightgrey) l(-2%));
2013-08-20 12:53:02 -04:00
}
2017-05-15 16:03:47 -04:00
.subscribe-form button {
display: inline-block;
margin: 0 0 0 10px;
padding: 0 20px;
2017-11-20 00:42:32 -05:00
height: 41px;
2017-06-16 04:44:12 -04:00
outline: none;
color: #fff;
2017-06-05 07:19:29 -04:00
font-size: 1.5rem;
2017-05-15 16:03:47 -04:00
line-height: 37px;
2014-07-12 13:56:26 -04:00
font-weight: 400;
2017-05-15 16:03:47 -04:00
text-align: center;
2017-06-16 04:44:12 -04:00
text-shadow: 0 -1px 0 rgba(0,0,0,0.1);
2017-05-15 16:03:47 -04: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 04:44:12 -04:00
border-radius: 5px;
2017-05-15 16:03:47 -04:00
box-shadow: 0 0 0 1px inset rgba(0,0,0,0.14);
2017-05-15 16:03:47 -04:00
-webkit-font-smoothing: subpixel-antialiased;
}
2017-05-15 16:03:47 -04:00
.subscribe-form button:active,
.subscribe-form button:focus {
background: color(var(--blue) lightness(-9%) saturation(-10%));
}
2017-06-16 08:16:22 -04: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 00:42:32 -05:00
width: 100%;
2017-06-16 08:16:22 -04:00
}
}
2014-07-11 06:22:28 -04:00
2017-06-16 04:17:11 -04:00
/* 7.2. Post Footer
2017-06-05 07:19:29 -04:00
/* ---------------------------------------------------------- */
.post-full-footer {
display: flex;
justify-content: space-between;
2017-06-15 10:03:19 -04:00
align-items: center;
2017-06-05 07:19:29 -04:00
margin: 0 auto;
padding: 3vw 0 6vw 0;
2017-11-20 00:42:32 -05:00
max-width: 840px;
2017-06-05 07:19:29 -04:00
}
2018-04-12 04:05:53 -04:00
/* 7.2.1 Single Author Byline
/* ---------------------------------------------------------- */
2017-06-05 07:19:29 -04:00
.author-card {
display: flex;
2018-04-12 04:05:53 -04:00
}
.author-card .author-profile-image,
.author-card .avatar-wrapper {
2018-04-12 04:05:40 -04:00
margin-right: 15px;
width: 60px;
height: 60px;
2017-06-05 07:19:29 -04:00
}
2017-06-15 10:03:19 -04:00
.author-card-name {
2018-04-12 04:05:53 -04:00
margin: 8px 0 2px 0;
2017-06-05 07:19:29 -04:00
padding: 0;
font-size: 2rem;
}
2017-06-15 10:03:19 -04:00
.author-card-name a {
2017-06-05 07:19:29 -04:00
color: var(--darkgrey);
font-weight: 700;
}
2017-06-15 10:03:19 -04:00
.author-card-name a:hover {
2017-06-05 07:19:29 -04:00
text-decoration: none;
}
.author-card-content p {
margin: 0;
color: var(--midgrey);
2017-06-16 04:44:12 -04:00
line-height: 1.3em;
2017-06-05 07:19:29 -04:00
}
2017-06-15 10:03:19 -04:00
.post-full-footer-right {
flex-shrink: 0;
margin-left: 20px;
}
.author-card-button {
display: block;
padding: 9px 16px;
2017-06-16 04:44:12 -04:00
border: color(var(--midgrey) l(+20%)) 1px solid;
color: var(--midgrey);
2017-06-15 10:03:19 -04: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 04:05:53 -04:00
/* 7.2.2 Multiple Author Byline
/* ---------------------------------------------------------- */
2018-04-10 14:19:29 -04: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 04:05:40 -04:00
.post-full-footer .author-list {
justify-content: center;
padding: 10px 20px;
2018-04-10 14:19:29 -04:00
}
.author-card .author-profile-image,
.author-card .avatar-wrapper {
position: relative;
2018-05-21 11:36:08 -04:00
margin-right: 15px;
2018-04-10 14:19:29 -04:00
}
.author-list-item .author-card {
position: absolute;
2018-04-12 04:05:40 -04:00
bottom: 130%;
left: 50%;
z-index: 300;
2018-04-10 14:19:29 -04:00
display: block;
2018-04-12 04:05:40 -04:00
margin-left: -160px;
2018-05-21 11:36:08 -04:00
width: 320px;
2018-04-10 14:19:29 -04: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 04:05:40 -04:00
transform: scale(0.98) translateY(15px);
2018-04-10 14:19:29 -04:00
pointer-events: none;
}
.author-list-item .author-card:before {
content: "";
position: absolute;
top: 100%;
2018-04-12 04:05:40 -04:00
left: 50%;
2018-04-10 14:19:29 -04:00
display: block;
2018-05-21 11:36:08 -04:00
margin-left: -12px;
2018-04-10 14:19:29 -04: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 07:19:29 -04:00
2017-06-16 04:17:11 -04:00
/* 7.3. Comments
2017-06-05 07:19:29 -04:00
/* ---------------------------------------------------------- */
.post-full-comments {
2017-08-02 04:41:14 -04:00
margin: 0 auto;
2017-11-20 00:42:32 -05:00
max-width: 840px;
2017-06-05 07:19:29 -04:00
}
2017-06-16 04:17:11 -04:00
/* 7.4. Related posts
2017-05-15 16:03:47 -04:00
/* ---------------------------------------------------------- */
.read-next-feed {
display: flex;
flex-wrap: wrap;
2017-06-12 05:01:00 -04:00
margin: 0 -20px;
padding: 40px 0 0 0;
2014-07-11 06:22:28 -04:00
}
2013-08-20 12:53:02 -04:00
2017-05-15 16:03:47 -04:00
.read-next-card {
position: relative;
2017-05-15 16:03:47 -04:00
flex: 1 1 300px;
2017-05-31 14:09:50 -04:00
display: flex;
flex-direction: column;
2017-06-16 04:44:12 -04:00
overflow: hidden;
2017-06-12 05:01:00 -04:00
margin: 0 20px 40px;
2017-05-15 16:03:47 -04:00
padding: 25px;
color: #fff;
background: var(--darkgrey) center center;
background-size: cover;
border-radius: 5px;
2017-06-16 04:44:12 -04:00
box-shadow: rgba(39,44,49,0.06) 8px 14px 38px, rgba(39, 44, 49, 0.03) 1px 3px 8px;
}
2017-05-15 16:03:47 -04:00
.read-next-card:before {
content: "";
position: absolute;
2017-05-15 16:03:47 -04:00
top: 0;
right: 0;
bottom: 0;
left: 0;
2017-06-16 04:44:12 -04:00
display: block;
2017-06-13 13:51:08 -04:00
background: linear-gradient(135deg, rgba(0,40,60,0.8) 0%,rgba(0,20,40,0.7) 100%);
2017-05-31 14:09:50 -04:00
border-radius: 5px;
2017-06-16 04:44:12 -04:00
2017-05-31 14:09:50 -04:00
backdrop-filter: blur(2px);
}
2017-05-15 16:03:47 -04:00
.read-next-card-header {
position: relative;
z-index: 50;
2017-06-13 13:51:08 -04:00
padding-top: 20px;
2017-05-15 16:03:47 -04:00
text-align: center;
}
2017-06-13 13:51:08 -04:00
.read-next-card-header-sitetitle {
display: block;
font-size: 1.3rem;
line-height: 1.3em;
opacity: 0.8;
}
2017-05-15 16:03:47 -04:00
.read-next-card-header-title {
margin: 0;
2017-06-16 04:44:12 -04:00
padding: 0 20px;
color: #fff;
2017-05-15 16:03:47 -04:00
font-size: 3rem;
line-height: 1.2em;
letter-spacing: 1px;
}
2017-06-13 13:51:08 -04: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 05:01:00 -04:00
.read-next-divider {
2017-06-13 08:48:06 -04:00
position: relative;
2017-06-12 05:01:00 -04:00
display: flex;
justify-content: center;
height: 80px;
}
.read-next-divider svg {
2017-06-13 13:51:08 -04:00
width: 40px;
2017-08-02 04:41:14 -04:00
fill: transparent;
2017-11-20 00:42:32 -05:00
stroke: #fff;
2017-06-13 13:51:08 -04:00
stroke-width: 0.5px;
2017-06-13 08:48:06 -04:00
stroke-opacity: 0.65;
2017-06-12 05:01:00 -04:00
}
2017-05-15 16:03:47 -04:00
.read-next-card-content {
position: relative;
z-index: 50;
2017-06-16 04:44:12 -04:00
flex-grow: 1;
display: flex;
2017-05-15 16:03:47 -04:00
font-size: 1.7rem;
2013-08-20 12:53:02 -04:00
}
2017-06-13 13:51:08 -04:00
.read-next-card-content ul {
2017-05-31 14:09:50 -04:00
display: flex;
flex-direction: column;
2017-06-12 05:01:00 -04:00
margin: 0 auto;
2017-06-13 13:51:08 -04:00
padding: 0;
2017-08-02 04:41:14 -04:00
text-align: center;
2017-11-20 00:42:32 -05:00
list-style: none;
2014-03-22 10:15:41 -04:00
}
2017-05-15 16:03:47 -04:00
.read-next-card-content li {
2017-06-13 13:51:08 -04:00
margin: 0;
padding: 0;
font-size: 1.6rem;
2017-06-12 05:01:00 -04:00
line-height: 1.25em;
2017-05-15 16:03:47 -04:00
font-weight: 200;
2017-06-16 04:44:12 -04:00
letter-spacing: -0.5px;
}
2017-05-15 16:03:47 -04:00
.read-next-card-content li a {
2017-06-13 13:51:08 -04:00
display: block;
padding: 20px 0;
border-bottom: rgba(255,255,255,0.3) 1px solid;
2017-06-12 05:01:00 -04:00
color: #fff;
2017-06-16 04:44:12 -04:00
font-weight: 500;
2017-11-20 00:42:32 -05:00
vertical-align: top;
2017-06-12 05:01:00 -04:00
transition: opacity 0.3s ease;
2017-06-13 13:51:08 -04:00
}
.read-next-card-content li:first-of-type a {
padding-top: 10px;
2017-06-12 05:01:00 -04:00
}
.read-next-card-content li a:hover {
opacity: 1;
}
2017-06-13 13:51:08 -04: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 04:17:11 -04:00
/* 7.5. Floating Header
2017-05-15 16:03:47 -04:00
/* ---------------------------------------------------------- */
2017-05-15 16:03:47 -04:00
.floating-header {
visibility: hidden;
2017-06-16 04:44:12 -04:00
position: fixed;
top: 0;
right: 0;
left: 0;
z-index: 1000;
2017-05-15 16:03:47 -04:00
display: flex;
align-items: center;
2017-06-14 07:16:16 -04:00
height: 60px;
2017-05-15 16:03:47 -04: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 04:44:12 -04:00
transform: translate3d(0, -120%, 0);
2014-07-21 14:37:05 -04:00
}
2017-05-15 16:03:47 -04:00
.floating-active {
visibility: visible;
transition: all 500ms cubic-bezier(0.22, 1, 0.27, 1);
2017-06-16 04:44:12 -04:00
transform: translate3d(0, 0, 0);
2014-01-31 02:35:24 -05:00
}
2017-05-15 16:03:47 -04:00
.floating-header-logo {
2017-06-16 04:44:12 -04:00
overflow: hidden;
2017-06-14 07:16:16 -04:00
margin: 0 0 0 20px;
2017-06-15 10:03:19 -04:00
font-size: 1.6rem;
2017-06-14 07:16:16 -04:00
line-height: 1em;
letter-spacing: -1px;
2017-05-15 16:03:47 -04:00
text-overflow: ellipsis;
2017-06-16 04:44:12 -04:00
white-space: nowrap;
}
2017-05-15 16:03:47 -04:00
.floating-header-logo a {
display: flex;
align-items: center;
color: var(--darkgrey);
line-height: 1.1em;
2017-08-02 04:41:14 -04:00
font-weight: 700;
}
2017-05-15 16:03:47 -04:00
.floating-header-logo a:hover {
text-decoration: none;
}
2017-05-15 16:03:47 -04:00
.floating-header-logo img {
2017-08-02 04:41:14 -04:00
margin: 0 10px 0 0;
2017-11-20 00:42:32 -05:00
max-height: 20px;
2015-03-23 06:21:28 -04:00
}
2017-05-15 16:03:47 -04:00
.floating-header-divider {
margin: 0 5px;
line-height: 1em;
2015-03-23 06:21:28 -04:00
}
2017-05-15 16:03:47 -04:00
.floating-header-title {
flex: 1;
2017-06-16 04:44:12 -04:00
overflow: hidden;
2015-03-23 06:21:28 -04:00
margin: 0;
2017-06-16 04:44:12 -04:00
color: #2e2e2e;
2017-06-15 10:03:19 -04:00
font-size: 1.6rem;
line-height: 1.3em;
2017-06-16 04:44:12 -04:00
font-weight: bold;
2017-05-15 16:03:47 -04:00
text-overflow: ellipsis;
2017-06-16 04:44:12 -04:00
white-space: nowrap;
2015-03-23 06:21:28 -04:00
}
2017-05-15 16:03:47 -04: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 16:03:47 -04:00
.floating-header-share a {
display: flex;
justify-content: center;
2017-06-16 04:44:12 -04:00
align-items: center;
}
2017-05-15 16:03:47 -04:00
.floating-header-share svg {
width: auto;
2017-06-16 04:44:12 -04:00
height: 16px;
fill: #fff;
}
2017-05-15 16:03:47 -04: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 16:03:47 -04:00
.floating-header-share-label svg {
2017-11-20 00:42:32 -05:00
margin: 0 5px 0 10px;
2017-05-15 16:03:47 -04:00
width: 18px;
height: 18px;
stroke: rgba(0,0,0,0.7);
transform: rotate(90deg);
}
2017-05-15 16:03:47 -04:00
.floating-header-share-tw,
.floating-header-share-fb {
display: block;
2017-06-16 04:44:12 -04:00
align-items: center;
2017-06-14 07:16:16 -04:00
width: 60px;
height: 60px;
2017-06-16 04:44:12 -04:00
color: #fff;
2017-06-14 07:16:16 -04:00
line-height: 48px;
2017-05-15 16:03:47 -04:00
text-align: center;
transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
}
2017-05-15 16:03:47 -04:00
.floating-header-share-tw {
background: #33b1ff;
}
2017-05-15 16:03:47 -04:00
.floating-header-share-fb {
background: #005e99;
}
2017-06-14 07:16:16 -04:00
.progress {
position: absolute;
2017-06-16 04:44:12 -04:00
right: 0;
2017-06-14 07:16:16 -04:00
bottom: -1px;
left: 0;
width: 100%;
2017-06-15 10:03:19 -04:00
height: 2px;
2017-06-14 07:16:16 -04:00
border: none;
color: var(--blue);
background: transparent;
2017-06-16 04:44:12 -04:00
2017-06-14 07:16:16 -04:00
appearance: none;
}
.progress::-webkit-progress-bar {
2017-06-16 04:44:12 -04:00
background-color: transparent;
2017-06-14 07:16:16 -04:00
}
.progress::-webkit-progress-value {
2017-06-16 04:44:12 -04:00
background-color: var(--blue);
2017-06-14 07:16:16 -04:00
}
.progress::-moz-progress-bar {
background-color: var(--blue);
}
2017-06-14 07:16:16 -04:00
.progress-container {
2017-06-16 04:44:12 -04:00
position: absolute;
top: 0;
left: 0;
display: block;
width: 100%;
height: 2px;
background-color: transparent;
2017-06-14 07:16:16 -04:00
}
.progress-bar {
2017-06-16 04:44:12 -04:00
display: block;
width: 50%;
height: inherit;
background-color: var(--blue);
2017-06-14 07:16:16 -04:00
}
2017-05-15 16:03:47 -04:00
@media (max-width: 900px) {
2017-06-16 04:44:12 -04:00
.floating-header {
height: 40px;
}
2017-06-14 07:16:16 -04:00
.floating-header-title,
.floating-header-logo {
font-size: 1.5rem;
}
2017-05-15 16:03:47 -04:00
.floating-header-share-tw,
.floating-header-share-fb {
width: 40px;
2017-06-16 04:44:12 -04:00
height: 40px;
2017-05-15 16:03:47 -04:00
line-height: 38px;
}
}
2017-05-15 16:03:47 -04:00
@media (max-width: 800px) {
2017-06-16 04:44:12 -04:00
.floating-header-logo {
margin-left: 10px;
}
.floating-header-logo a {
color: #2e2e2e;
}
2017-05-15 16:03:47 -04:00
.floating-header-title,
2017-06-16 04:44:12 -04:00
.floating-header-divider {
visibility: hidden;
}
}
2017-05-15 16:03:47 -04:00
@media (max-width: 450px) {
2017-06-16 04:44:12 -04:00
.floating-header-share-label {
display: none;
}
2014-07-22 07:21:33 -04:00
}
2017-06-13 08:48:06 -04: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-content figcaption {
font-size: 80%;
2018-06-13 13:34:59 -04:00
line-height: 1.6em;
text-align: center;
}
2018-06-13 13:34:59 -04:00
.kg-image-card {
margin: 0 0 1.5em;
}
2018-06-13 13:34:59 -04:00
.kg-image-card figcaption {
margin: -1.0em 0 1.5em;
}
2018-06-13 13:34:59 -04:00
.kg-embed-card {
display: flex;
flex-direction: column;
align-items: center;
margin: 1.5em 0 3em;
min-width: 100%;
}
2018-06-13 13:34:59 -04:00
.kg-embed-card figcaption {
margin: 0.5em 0 0;
}
.kg-embed-card .fluid-width-video-wrapper {
margin: 0;
}
.kg-image-full + figcaption {
padding: 0 1.5em;
}
@media (max-width: 1040px) {
.post-full-content .kg-width-full .kg-image {
2018-06-13 13:34:59 -04:00
width: 100vw;
}
}
2017-06-16 04:17:11 -04:00
/* 8. Author Template
/* ---------------------------------------------------------- */
2017-06-13 08:48:06 -04:00
.site-header-content .author-profile-image {
z-index: 10;
2017-06-13 08:48:06 -04:00
flex-shrink: 0;
2017-11-20 00:42:32 -05:00
margin: 0 0 20px 0;
2017-06-13 08:48:06 -04: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 04:41:14 -04:00
margin: 5px 0 10px 0;
2017-11-20 00:42:32 -05:00
max-width: 600px;
2017-06-13 08:48:06 -04:00
font-size: 2rem;
line-height: 1.3em;
font-weight: 300;
letter-spacing: 0.5px;
2017-06-16 04:44:12 -04:00
opacity: 0.8;
2017-06-13 08:48:06 -04:00
}
.site-header-content .author-meta {
z-index: 10;
flex-shrink: 0;
2017-06-13 08:48:06 -04: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 08:16:22 -04: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 08:48:06 -04:00
2017-06-16 04:17:11 -04:00
/* 9. Error Template
/* ---------------------------------------------------------- */
2017-06-13 08:48:06 -04:00
.error-template .site-main {
padding: 7vw 4vw;
}
.site-nav-center {
2017-06-16 04:44:12 -04:00
display: flex;
justify-content: center;
align-items: center;
text-align: center;
2017-06-13 08:48:06 -04:00
}
.site-nav-center .site-nav-logo {
2017-06-16 04:44:12 -04:00
margin-right: 0;
2017-06-13 08:48:06 -04: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 04:44:12 -04:00
color: var(--midgrey);
2017-06-13 08:48:06 -04: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 10:03:19 -04:00
2017-06-16 04:17:11 -04:00
/* 10. Subscribe Overlay
/* ---------------------------------------------------------- */
2017-06-15 10:03:19 -04:00
.subscribe-overlay {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
2017-06-16 04:44:12 -04:00
z-index: 9000;
2017-06-15 10:03:19 -04: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 04:44:12 -04:00
2017-06-15 10:03:19 -04: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 04:44:12 -04:00
padding: 4vw;
2017-06-15 10:03:19 -04:00
color: #fff;
2017-06-16 04:44:12 -04:00
text-align: center;
2017-06-15 10:03:19 -04: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 04:41:14 -04:00
margin: 0 auto 50px;
2017-11-20 00:42:32 -05:00
max-width: 650px;
2017-06-16 04:44:12 -04:00
font-family: Georgia, serif;
2017-06-15 10:03:19 -04: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 04:41:14 -04:00
margin: 0 auto;
2017-11-20 00:42:32 -05:00
max-width: 500px;
2017-06-15 10:03:19 -04:00
}
.subscribe-overlay .form-group {
flex-grow: 1;
}
.subscribe-overlay .subscribe-email {
display: block;
2017-08-02 04:41:14 -04:00
padding: 14px 20px;
2017-11-20 00:42:32 -05:00
width: 100%;
2017-06-15 10:03:19 -04:00
border: none;
color: var(--midgrey);
font-size: 2rem;
line-height: 1em;
font-weight: normal;
2017-06-16 04:44:12 -04:00
letter-spacing: 0.5px;
2017-06-15 10:03:19 -04: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 00:42:32 -05:00
height: 52px;
2017-06-16 04:44:12 -04:00
outline: none;
color: #fff;
2017-06-15 10:03:19 -04:00
font-size: 1.7rem;
line-height: 37px;
font-weight: 400;
text-align: center;
2017-06-16 04:44:12 -04:00
text-shadow: 0 -1px 0 rgba(0,0,0,0.1);
2017-06-15 10:03:19 -04: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 04:44:12 -04:00
border-radius: 8px;
2017-06-15 10:03:19 -04: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 04:44:12 -04:00
display: block;
2017-06-15 10:03:19 -04:00
}
.subscribe-overlay-close:before {
content: "";
position: absolute;
top: 40px;
right: 25px;
2017-06-16 04:44:12 -04:00
display: block;
2017-06-15 10:03:19 -04:00
width: 30px;
height: 2px;
background: #fff;
opacity: 0.8;
2017-06-16 04:44:12 -04:00
transform: rotate(45deg);
2017-06-15 10:03:19 -04:00
}
.subscribe-overlay-close:after {
content: "";
position: absolute;
top: 40px;
right: 25px;
2017-06-16 04:44:12 -04:00
display: block;
2017-06-15 10:03:19 -04:00
width: 30px;
height: 2px;
background: #fff;
opacity: 0.8;
2017-06-16 04:44:12 -04:00
transform: rotate(-45deg);
2017-06-15 10:03:19 -04:00
}
.subscribe-overlay-close:hover {
cursor: default;
}
2017-06-16 04:17:11 -04: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 00:42:32 -05:00
flex-wrap: wrap;
2017-06-16 04:17:11 -04: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 04:17:11 -04: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 04:44:12 -04:00
display: block;
width: 2px;
height: 2px;
2017-06-16 04:17:11 -04:00
background: #fff;
2017-06-16 04:44:12 -04:00
border-radius: 100%;
2017-06-16 04:17:11 -04:00
}
.site-footer-nav a:first-of-type:before {
display: none;
}
2017-06-16 08:16:22 -04:00
@media (max-width: 650px) {
.site-footer-content {
flex-direction: column;
}
.site-footer-nav a:first-child {
margin-left: 0;
}
}