2017-06-16 08:17:11 +00:00
/ * Table of Contents
/ * ------------------------------------------------------------
2017-06-16 12:23:03 +00:00
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
2019-10-21 05:43:34 +00:00
4 . 1 Home header
4 . 2 Archive header
2017-06-16 08:17:11 +00:00
5 . Site Navigation
6 . Post Feed
7 . Single Post
2019-10-21 05:43:34 +00:00
7 . 1 . Post Byline
7 . 2 . Members Subscribe Form
2017-06-16 08:17:11 +00:00
7 . 3 . Comments
7 . 4 . Related Posts
2019-10-21 05:43:34 +00:00
7 . 5 . Koenig Styles
2017-06-16 08:17:11 +00:00
8 . Author Template
9 . Error Template
10 . Subscribe Overlay
11 . Site Footer
2019-10-21 05:43:34 +00:00
12 . Dark Mode
2017-06-16 08:17:11 +00:00
* /
/ * 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 {
2019-10-21 05:43:34 +00:00
background : # fff ;
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 ;
2014-02-24 13:32:10 +00:00
}
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
2017-08-16 10:57:39 +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 ;
2019-10-21 05:43:34 +00:00
padding : 0 5vw ;
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 {
2019-10-21 05:43:34 +00:00
padding : 40px 0 5vw ;
border-top-left-radius : 3px ;
border-top-right-radius : 3px ;
2017-05-15 20:03:47 +00:00
}
2019-10-21 05:43:34 +00:00
2017-05-15 20:03:47 +00:00
. home-template . site-nav {
position : relative ;
}
2013-08-10 16:42:21 +00:00
}
2013-08-11 15:37:57 +00:00
2017-06-16 08:17:11 +00:00
/ * 4 . Site Header
2017-05-15 20:03:47 +00:00
/* ---------------------------------------------------------- */
2013-08-11 15:37:57 +00:00
2019-10-21 05:43:34 +00:00
. site-header-background {
2017-05-15 20:03:47 +00:00
position : relative ;
2019-10-21 05:43:34 +00:00
margin-top : 64px ;
2017-05-15 20:03:47 +00:00
padding-bottom : 12px ;
color : # fff ;
2020-07-27 17:52:31 +00:00
background : color-mod ( var ( --darkgrey ) l ( -5 % ) ) no-repeat center center ;
2017-05-15 20:03:47 +00:00
background-size : cover ;
2013-08-11 14:39:25 +00:00
}
2019-10-21 05:43:34 +00:00
. site-header-background : before {
2017-05-15 20:03:47 +00:00
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
}
2019-10-21 05:43:34 +00:00
. site-header-background : after {
2017-05-15 20:03:47 +00:00
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 ;
2019-10-21 05:43:34 +00:00
height : 140px ;
background : linear-gradient ( rgba ( 0 , 0 , 0 , 0 . 15 ) , rgba ( 0 , 0 , 0 , 0 ) ) ;
2013-08-21 13:12:00 +00:00
}
2019-10-21 05:43:34 +00:00
. site-header-background . no-image : before ,
. site-header-background . no-image : after {
2017-05-15 20:03:47 +00:00
display : none ;
2013-08-21 14:44:09 +00:00
}
2017-05-15 20:03:47 +00:00
. site-header-content {
2019-10-21 05:43:34 +00:00
z-index : 100 ;
2017-05-15 20:03:47 +00:00
display : flex ;
flex-direction : column ;
justify-content : center ;
2017-06-13 12:48:06 +00:00
align-items : center ;
2019-10-21 05:43:34 +00:00
padding : 6vw 3vw ;
2017-05-15 20:03:47 +00:00
min-height : 200px ;
2019-10-21 05:43:34 +00:00
max-height : 340px ;
2013-08-21 14:44:09 +00:00
}
2017-05-15 20:03:47 +00:00
. site-title {
2017-08-25 20:31:10 +00:00
z-index : 10 ;
2019-10-21 05:43:34 +00:00
margin : 0 0 0 -2px ;
2017-05-15 20:03:47 +00:00
padding : 0 ;
2019-10-21 05:43:34 +00:00
font-size : 5 . 0rem ;
line-height : 1em ;
font-weight : 600 ;
2013-08-21 14:44:09 +00:00
}
2017-05-15 20:03:47 +00:00
. site-logo {
2019-10-21 05:43:34 +00:00
max-height : 55px ;
2013-08-11 14:39:25 +00:00
}
2017-05-15 20:03:47 +00:00
. site-description {
2017-08-25 20:31:10 +00:00
z-index : 10 ;
2017-05-15 20:03:47 +00:00
margin : 0 ;
padding : 5px 0 ;
2019-10-21 05:43:34 +00:00
font-size : 2 . 1rem ;
line-height : 1 . 4em ;
font-weight : 400 ;
opacity : 0 . 8 ;
}
/ * 4 . 1 Home header
/* ---------------------------------------------------------- */
. site-home-header {
z-index : 1000 ;
}
. site-home-header . site-header-background {
margin-top : 0 ;
}
. site-home-header . site-header-content {
padding : 5vw 3vw 6vw ;
}
. site-home-header . site-title {
font-size : 5 . 5rem ;
text-align : center ;
}
. site-home-header . site-description {
2017-05-15 20:03:47 +00:00
font-size : 2 . 2rem ;
font-weight : 300 ;
2020-03-04 13:34:03 +00:00
text-align : center ;
2019-10-21 05:43:34 +00:00
}
/ * 4 . 2 Archive header ( tag and author post lists )
/* ---------------------------------------------------------- */
. site-archive-header . site-header-content {
position : relative ;
align-items : stretch ;
padding : 12vw 0 20px ;
min-height : 200px ;
max-height : 600px ;
}
. site-archive-header . no-image {
padding-top : 0 ;
padding-bottom : 0 ;
color : var ( --darkgrey ) ;
background : # fff ;
opacity : 1 . 0 ;
}
. site-archive-header . no-image . site-description {
color : var ( --midgrey ) ;
opacity : 1 . 0 ;
}
. site-archive-header . no-image . site-header-content {
padding : 5vw 0 10px ;
2020-07-27 17:52:31 +00:00
border-bottom : 1px solid color-mod ( var ( --lightgrey ) l ( + 12 % ) ) ;
2019-10-21 05:43:34 +00:00
}
/* Special header styles for smaller screens */
@ media ( max-width : 900px ) {
. site-header-content {
padding-bottom : 9vw ;
}
2013-08-11 14:39:25 +00:00
}
2017-06-16 12:16:22 +00:00
@ media ( max-width : 500px ) {
2019-10-21 05:43:34 +00:00
. site-home-header . site-title {
2020-03-04 13:34:03 +00:00
font-size : 4 . 2rem ;
2017-06-16 12:16:22 +00:00
}
2019-10-21 05:43:34 +00:00
. site-home-header . site-description {
2017-06-16 12:16:22 +00:00
font-size : 1 . 8rem ;
}
2019-10-21 05:43:34 +00:00
. site-archive-header . site-header-content {
2020-03-04 13:34:03 +00:00
flex-direction : column ;
align-items : center ;
2019-10-21 05:43:34 +00:00
min-height : unset ;
}
2020-03-04 13:34:03 +00:00
. site-archive-header . site-title {
font-size : 4 . 2rem ;
text-align : center ;
}
. site-archive-header . no-image . site-header-content {
padding : 12vw 0 20px ;
}
2017-06-16 12:16:22 +00:00
}
2013-08-11 14:39:25 +00:00
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
2019-10-21 05:43:34 +00:00
. site-nav-main {
position : fixed ;
top : 0 ;
right : 0 ;
left : 0 ;
z-index : 1000 ;
2020-07-27 17:52:31 +00:00
background : color-mod ( var ( --darkgrey ) l ( -5 % ) ) ;
2019-10-21 05:43:34 +00:00
}
2017-05-15 20:03:47 +00:00
. site-nav {
position : relative ;
2019-10-21 05:43:34 +00:00
z-index : 100 ;
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 ;
2020-03-11 12:46:20 +00:00
overflow : hidden ;
2019-10-21 05:43:34 +00:00
height : 64px ;
font-size : 1 . 3rem ;
2013-08-21 14:44:09 +00:00
}
2019-12-04 10:41:50 +00:00
. site-nav-left-wrapper {
position : relative ;
flex : 1 0 auto ;
display : flex ;
}
. site-header-background : not ( . responsive-header-img ) . site-nav-left-wrapper : after ,
. site-nav-main . site-nav-left-wrapper : after {
content : "" ;
position : absolute ;
top : 0 ;
z-index : 1000 ;
width : 40px ;
height : 100 % ;
}
. site-header-background : not ( . responsive-header-img ) . site-nav-left-wrapper : after ,
. site-nav-main . site-nav-left-wrapper : after {
right : 0 ;
2020-07-27 17:52:31 +00:00
background : linear-gradient ( to right , color-mod ( var ( --darkgrey ) l ( -5 % ) a ( 0 ) ) 0 % , color-mod ( var ( --darkgrey ) l ( -5 % ) ) 100 % ) ;
2019-12-04 10:41:50 +00:00
}
2017-05-15 20:03:47 +00:00
. site-nav-left {
2019-10-21 05:43:34 +00:00
flex : 1 0 auto ;
2017-05-15 20:03:47 +00:00
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 ;
2019-10-21 05:43:34 +00:00
padding : 10px 0 80px ;
font-weight : 500 ;
letter-spacing : 0 . 2px ;
text-transform : uppercase ;
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 ;
2013-08-21 14:44:09 +00:00
}
2019-12-04 10:41:50 +00:00
. site-nav-left . nav li : last-of-type {
padding-right : 20px ;
2019-10-21 05:43:34 +00:00
}
2017-05-15 20:03:47 +00:00
/ * Site Nav Hack Explanation ( above ) :
2019-10-21 05:43:34 +00:00
What 's happening above is .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 . Also , there is a small gradient on the left and right side covering the menu so that the menu goes offscreen smoothly .
2017-05-15 20:03:47 +00:00
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 {
2019-10-21 05:43:34 +00:00
position : relative ;
z-index : 100 ;
2017-06-05 11:19:29 +00:00
flex-shrink : 0 ;
2019-10-21 05:43:34 +00:00
display : inline-block ;
margin-right : 32px ;
padding : 12px 0 ;
2017-06-16 08:44:12 +00:00
color : # fff ;
2017-06-12 09:01:00 +00:00
font-size : 1 . 7rem ;
2019-10-21 05:43:34 +00:00
line-height : 1 . 8rem ;
2017-06-12 09:01:00 +00:00
font-weight : bold ;
letter-spacing : -0 . 5px ;
2019-10-21 05:43:34 +00:00
text-transform : none ;
2017-06-12 09:01:00 +00:00
}
. 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
}
2019-10-21 05:43:34 +00:00
. site-home-header . site-nav-logo {
display : none ;
}
. site-nav-content {
position : relative ;
align-self : flex-start ;
}
2017-06-14 09:41:30 +00:00
. nav {
2019-10-21 05:43:34 +00:00
position : absolute ;
z-index : 1000 ;
2017-05-15 20:03:47 +00:00
display : flex ;
margin : 0 0 0 -12px ;
padding : 0 ;
list-style : none ;
2019-10-21 05:43:34 +00:00
transition : all 1 . 0s cubic-bezier ( 0 . 19 , 1 , 0 . 22 , 1 ) ;
2014-09-25 13:41:04 +00:00
}
2017-06-14 09:41:30 +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 ;
2014-09-25 13:41:04 +00:00
}
2017-06-14 09:41:30 +00:00
. nav li a {
2019-10-21 05:43:34 +00:00
position : relative ;
2017-05-15 20:03:47 +00:00
display : block ;
2019-10-21 05:43:34 +00:00
padding : 12px 12px ;
2017-05-15 20:03:47 +00:00
color : # fff ;
opacity : 0 . 8 ;
2019-10-21 05:43:34 +00:00
transition : opacity 0 . 35s ease-in-out ;
2016-10-24 13:17:30 +00:00
}
2017-06-14 09:41:30 +00:00
. 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 ;
2013-08-21 13:12:00 +00:00
}
2019-10-21 05:43:34 +00:00
. nav li a : before {
content : "" ;
position : absolute ;
right : 100 % ;
bottom : 8px ;
left : 12px ;
height : 1px ;
background : # fff ;
opacity : 0 . 25 ;
transition : all 0 . 35s ease-in-out ;
}
. nav li a : hover : before {
right : 12px ;
opacity : 0 . 5 ;
}
. nav-post-title-active . nav {
visibility : hidden ;
opacity : 0 ;
transform : translateY ( -175 % ) ;
}
. nav-post-title {
visibility : hidden ;
position : absolute ;
top : 9px ;
color : # fff ;
font-size : 1 . 7rem ;
font-weight : 400 ;
text-transform : none ;
opacity : 0 ;
transition : all 1 . 0s cubic-bezier ( 0 . 19 , 1 , 0 . 22 , 1 ) ;
transform : translateY ( 175 % ) ;
}
. nav-post-title . dash {
left : -25px ;
}
. nav-post-title . dash : before {
content : "– " ;
opacity : 0 . 5 ;
}
. nav-post-title-active . nav-post-title {
visibility : visible ;
opacity : 1 ;
transform : translateY ( 0 ) ;
}
2017-05-15 20:03:47 +00:00
. site-nav-right {
2019-12-04 10:41:50 +00:00
flex : 0 1 auto ;
2017-05-15 20:03:47 +00:00
display : flex ;
2019-12-04 10:41:50 +00:00
justify-content : flex-end ;
2020-03-04 13:34:03 +00:00
align-items : center ;
2019-10-21 05:43:34 +00:00
padding : 10px 0 ;
height : 64px ;
2013-08-21 13:12:00 +00:00
}
2019-12-04 10:41:50 +00:00
. site-nav-right . nav {
position : relative ;
margin : 0 ;
}
. site-nav-right . nav a {
white-space : nowrap ;
}
. site-nav-right . nav a : before {
display : none ;
}
. site-nav-right . nav li : last-of-type a {
margin-right : -12px ;
}
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 ;
2013-08-21 13:12:00 +00:00
}
2017-05-15 20:03:47 +00:00
. social-link {
2019-10-21 05:43:34 +00:00
display : inline-block ;
2017-05-15 20:03:47 +00:00
margin : 0 ;
padding : 10px ;
opacity : 0 . 8 ;
}
2013-08-21 13:12:00 +00:00
2017-05-15 20:03:47 +00:00
. social-link : hover {
2019-10-21 05:43:34 +00:00
opacity : 1 . 0 ;
2013-08-21 13:12:00 +00:00
}
2017-05-15 20:03:47 +00:00
. social-link svg {
height : 1 . 8rem ;
fill : # fff ;
}
2013-08-21 13:12:00 +00:00
2017-05-15 20:03:47 +00:00
. social-link-fb svg {
2019-10-21 05:43:34 +00:00
height : 1 . 6rem ;
2013-08-21 13:12:00 +00:00
}
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 ;
2019-12-04 10:41:50 +00:00
margin : 0 0 0 10px ;
2020-03-04 13:34:03 +00:00
padding : 4px 10px ;
2017-05-15 20:03:47 +00:00
border : # fff 1px solid ;
color : # fff ;
line-height : 1em ;
border-radius : 10px ;
opacity : 0 . 8 ;
2013-08-21 13:12:00 +00:00
}
2017-05-15 20:03:47 +00:00
. subscribe-button : hover {
text-decoration : none ;
opacity : 1 ;
2013-08-21 13:12:00 +00:00
}
2019-12-04 10:41:50 +00:00
. site-nav-right . nav + . subscribe-button {
margin-left : 24px ;
}
2017-05-15 20:03:47 +00:00
. rss-button {
2019-12-04 10:41:50 +00:00
padding : 10px 8px ;
2017-05-15 20:03:47 +00:00
opacity : 0 . 8 ;
2013-08-21 13:12:00 +00:00
}
2017-05-15 20:03:47 +00:00
. rss-button : hover {
opacity : 1 ;
2013-08-21 13:12:00 +00:00
}
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 ;
2013-08-21 13:12:00 +00:00
}
2019-10-21 05:43:34 +00:00
/* Special behaviors for home navigation */
. home-template . site-nav-main {
z-index : 100 ;
}
. home-template . site-nav-main . site-nav {
opacity : 0 ;
transition : all 0 . 5s cubic-bezier ( 0 . 19 , 1 , 0 . 22 , 1 ) 0s ;
}
. home-template . site-nav-main . fixed-nav-active {
opacity : 1 ;
transition : all 0 . 5s cubic-bezier ( 0 . 19 , 1 , 0 . 22 , 1 ) 0 . 05s ;
}
2017-06-16 12:16:22 +00:00
@ media ( max-width : 700px ) {
2019-10-21 05:43:34 +00:00
. site-home-header . site-nav {
margin-left : -5vw ;
}
. site-nav-main {
2017-06-16 12:16:22 +00:00
padding-right : 0 ;
2017-08-02 08:41:14 +00:00
padding-left : 0 ;
2017-06-16 12:16:22 +00:00
}
2019-10-21 05:43:34 +00:00
2017-06-16 12:16:22 +00:00
. site-nav-left {
margin-right : 0 ;
2019-10-21 05:43:34 +00:00
padding-left : 5vw ;
2017-06-16 12:16:22 +00:00
}
2019-10-21 05:43:34 +00:00
2017-06-16 12:16:22 +00:00
. site-nav-right {
display : none ;
}
}
2013-08-21 13:12:00 +00:00
2017-06-16 08:17:11 +00:00
/ * 6 . Post Feed
2017-05-15 20:03:47 +00:00
/* ---------------------------------------------------------- */
2019-10-21 05:43:34 +00:00
. posts {
overflow-x : hidden ;
}
2017-05-15 20:03:47 +00:00
. post-feed {
position : relative ;
display : flex ;
flex-wrap : wrap ;
2017-06-14 09:41:30 +00:00
margin : 0 -20px ;
2019-10-21 05:43:34 +00:00
padding : 50px 0 0 ;
background : # fff ;
2013-08-21 13:12:00 +00:00
}
2017-05-15 20:03:47 +00:00
. post-card {
2019-10-21 05:43:34 +00:00
position : relative ;
flex : 1 1 301px ;
2017-05-16 09:26:08 +00:00
display : flex ;
flex-direction : column ;
2017-06-16 08:44:12 +00:00
overflow : hidden ;
2019-10-21 05:43:34 +00:00
margin : 0 0 40px ;
padding : 0 20px 40px ;
min-height : 220px ;
2020-07-27 17:52:31 +00:00
border-bottom : 1px solid color-mod ( var ( --lightgrey ) l ( + 12 % ) ) ;
2017-05-15 20:03:47 +00:00
background-size : cover ;
}
2013-08-21 13:12:00 +00:00
2017-05-15 20:03:47 +00:00
. post-card-image-link {
position : relative ;
2017-08-14 10:22:27 +00:00
display : block ;
overflow : hidden ;
2019-10-21 05:43:34 +00:00
border-radius : 3px ;
2013-08-21 13:12:00 +00:00
}
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 ;
2019-10-21 05:43:34 +00:00
2018-12-17 12:25:57 +00:00
object-fit : cover ;
2013-08-21 13:12:00 +00:00
}
2017-05-15 20:03:47 +00:00
. post-card-content-link {
position : relative ;
2013-10-31 18:22:54 +00:00
display : block ;
2017-05-15 20:03:47 +00:00
color : var ( --darkgrey ) ;
2013-10-31 18:22:54 +00:00
}
2017-05-15 20:03:47 +00:00
. post-card-content-link : hover {
text-decoration : none ;
2013-10-31 18:22:54 +00:00
}
2013-08-27 17:35:23 +00:00
2019-10-21 05:43:34 +00:00
. post-card-header {
margin : 15px 0 0 ;
}
. post-feed . no-image . post-card-content-link {
padding : 0 ;
}
. no-image . post-card-header {
margin-top : 0 ;
}
. post-card-primary-tag {
margin : 0 0 0 . 2em ;
color : var ( --blue ) ;
2017-06-08 07:19:22 +00:00
font-size : 1 . 2rem ;
font-weight : 500 ;
2019-10-21 05:43:34 +00:00
letter-spacing : 0 . 2px ;
2017-06-16 08:44:12 +00:00
text-transform : uppercase ;
2017-06-08 07:19:22 +00:00
}
2017-05-15 20:03:47 +00:00
. post-card-title {
2019-10-21 05:43:34 +00:00
margin : 0 0 0 . 4em ;
line-height : 1 . 15em ;
transition : color 0 . 2s ease-in-out ;
}
. no-image . post-card-title {
2017-05-15 20:03:47 +00:00
margin-top : 0 ;
2016-05-08 08:50:20 +00:00
}
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 ;
2016-05-08 08:50:20 +00:00
}
2017-05-15 20:03:47 +00:00
. post-card-excerpt {
2019-10-21 05:43:34 +00:00
max-width : 56em ;
color : var ( --midgrey ) ;
2017-05-15 20:03:47 +00:00
font-family : Georgia , serif ;
2016-05-08 08:50:20 +00:00
}
2019-10-21 05:43:34 +00:00
. post-card-excerpt p {
margin-bottom : 1em ;
}
2017-05-15 20:03:47 +00:00
. post-card-meta {
2018-04-10 18:19:29 +00:00
display : flex ;
2019-10-21 05:43:34 +00:00
align-items : flex-start ;
padding : 0 ;
2016-05-08 08:50:20 +00:00
}
2018-05-29 08:38:27 +00:00
. author-profile-image ,
. avatar-wrapper {
2018-04-12 08:05:40 +00:00
display : block ;
2018-06-07 02:29:22 +00:00
width : 100 % ;
height : 100 % ;
2020-07-27 17:52:31 +00:00
background : color-mod ( var ( --lightgrey ) l ( + 10 % ) ) ;
2017-05-16 09:26:08 +00:00
border-radius : 100 % ;
2017-08-25 20:31:10 +00:00
2017-08-22 10:56:38 +00:00
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 ;
2019-10-21 05:43:34 +00:00
flex-wrap : wrap ;
margin : 0 0 0 4px ;
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-04-12 08:05:40 +00:00
. static-avatar {
display : block ;
2018-05-21 15:36:08 +00:00
overflow : hidden ;
2019-10-21 05:43:34 +00:00
margin : 0 0 0 -6px ;
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
}
. 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 ;
2019-10-21 05:43:34 +00:00
transition : all 0 . 35s cubic-bezier ( 0 . 4 , 0 . 01 , 0 . 165 , 0 . 99 ) ;
2018-04-10 18:19:29 +00:00
transform : translateY ( 6px ) ;
pointer-events : none ;
}
. author-list-item : hover . author-name-tooltip {
opacity : 1 . 0 ;
transform : translateY ( 0px ) ;
}
2019-10-21 05:43:34 +00:00
@ media ( max-width : 700px ) {
2018-04-10 18:19:29 +00:00
. author-name-tooltip {
display : none ;
}
}
2019-10-21 05:43:34 +00:00
. post-card-byline-content {
flex : 1 1 50 % ;
display : flex ;
flex-direction : column ;
margin : 2px 0 0 6px ;
2020-07-27 17:52:31 +00:00
color : color-mod ( var ( --midgrey ) l ( + 10 % ) ) ;
2018-04-10 18:19:29 +00:00
font-size : 1 . 2rem ;
2019-10-21 05:43:34 +00:00
line-height : 1 . 4em ;
font-weight : 400 ;
letter-spacing : 0 . 2px ;
2017-06-16 08:44:12 +00:00
text-transform : uppercase ;
2017-05-16 09:26:08 +00:00
}
2019-10-21 05:43:34 +00:00
. post-card-byline-content span {
margin : 0 ;
}
. post-card-byline-content a {
2020-07-27 17:52:31 +00:00
color : color-mod ( var ( --darkgrey ) l ( + 20 % ) ) ;
2019-10-21 05:43:34 +00:00
font-weight : 600 ;
}
. post-card-byline-date {
font-size : 1 . 2rem ;
}
. post-card-byline-date . bull {
display : inline-block ;
margin : 0 4px ;
opacity : 0 . 6 ;
}
. single-author-byline {
display : flex ;
flex-direction : column ;
margin-left : 5px ;
2020-07-27 17:52:31 +00:00
color : color-mod ( var ( --midgrey ) l ( -10 % ) ) ;
2019-10-21 05:43:34 +00:00
font-size : 1 . 3rem ;
line-height : 1 . 4em ;
font-weight : 500 ;
}
. single-author {
display : flex ;
align-items : center ;
}
. single-author . static-avatar {
margin-left : -2px ;
}
. single-author-name {
display : inline-block ;
}
2017-05-31 18:09:50 +00:00
/ * Special Styling for home page grid ( below ) :
2013-10-14 13:20:16 +00:00
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 .
2013-08-27 17:35:23 +00:00
2017-05-15 20:03:47 +00:00
* /
2014-01-27 12:16:17 +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 ;
2019-10-21 05:43:34 +00:00
padding-bottom : 40px ;
min-height : 280px ;
border-top : 0 ;
}
. post-card-large : hover {
2020-07-27 17:52:31 +00:00
border-bottom-color : color-mod ( var ( --lightgrey ) l ( + 10 % ) ) ;
2019-10-21 05:43:34 +00:00
}
. post-card-large : not ( . no-image ) . post-card-header {
margin-top : 0 ;
2017-05-15 20:03:47 +00:00
}
2013-08-27 17:35:23 +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 ;
2019-10-21 05:43:34 +00:00
margin-bottom : 0 ;
min-height : 380px ;
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 {
2019-10-21 05:43:34 +00:00
flex : 0 1 361px ;
justify-content : center ;
2017-05-15 20:03:47 +00:00
}
2013-08-27 17:35:23 +00:00
2019-10-21 05:43:34 +00:00
. post-card-large . post-card-title {
margin-top : 0 ;
font-size : 3 . 2rem ;
2017-05-15 20:03:47 +00:00
}
2013-08-10 16:42:21 +00:00
2018-12-17 12:25:57 +00:00
. post-card-large . post-card-content-link {
2019-10-21 05:43:34 +00:00
padding : 0 0 0 40px ;
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 {
2019-10-21 05:43:34 +00:00
padding : 0 0 0 40px ;
2017-05-15 20:03:47 +00:00
}
2014-07-21 12:45:34 +00:00
2019-10-21 05:43:34 +00:00
. post-card-large . post-card-excerpt p {
margin-bottom : 1 . 5em ;
font-size : 1 . 8rem ;
line-height : 1 . 5em ;
}
2017-06-13 12:48:06 +00:00
}
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 */
2019-10-21 05:43:34 +00:00
@ media ( max-width : 1170px ) {
. post-card {
margin-bottom : 5vw ;
}
}
2017-06-16 12:16:22 +00:00
@ media ( max-width : 650px ) {
. post-feed {
padding-top : 5vw ;
}
2019-10-21 05:43:34 +00:00
2017-06-16 12:16:22 +00:00
. post-card {
2019-10-21 05:43:34 +00:00
margin-bottom : 5vw ;
2017-06-16 12:16:22 +00:00
}
}
2019-10-21 05:43:34 +00:00
@ media ( max-width : 500px ) {
. post-card-title {
font-size : 1 . 9rem ;
}
. post-card-excerpt {
font-size : 1 . 6rem ;
}
}
2017-06-16 12:16:22 +00:00
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 {
2019-10-21 05:43:34 +00:00
margin-top : 64px ;
2017-06-05 11:19:29 +00:00
padding-bottom : 4vw ;
2017-05-15 20:03:47 +00:00
background : # fff ;
2014-08-04 09:49:41 +00:00
}
2017-05-15 20:03:47 +00:00
. post-full-header {
2019-10-21 05:43:34 +00:00
position : relative ;
2017-05-15 20:03:47 +00:00
margin : 0 auto ;
2019-10-21 05:43:34 +00:00
padding : 70px 170px 50px ;
border-top-left-radius : 3px ;
border-top-right-radius : 3px ;
2017-08-25 20:31:10 +00:00
}
2015-02-27 14:48:15 +00:00
2019-10-21 05:43:34 +00:00
. post-full-tags {
2017-05-15 20:03:47 +00:00
display : flex ;
2019-10-21 05:43:34 +00:00
justify-content : flex-start ;
2017-06-16 08:44:12 +00:00
align-items : center ;
color : var ( --midgrey ) ;
2019-10-21 05:43:34 +00:00
font-size : 1 . 3rem ;
line-height : 1 . 4em ;
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 {
2019-10-21 05:43:34 +00:00
color : var ( --midgrey ) ;
font-size : 1 . 2rem ;
font-weight : 400 ;
}
@ media ( max-width : 1170px ) {
. post-full-header {
padding : 60px 11vw 50px ;
}
}
@ media ( max-width : 800px ) {
. post-full-header {
padding-right : 5vw ;
padding-left : 5vw ;
}
}
@ media ( max-width : 500px ) {
. post-full-header {
padding : 20px 0 35px ;
}
2015-02-27 14:48:15 +00:00
}
2017-05-15 20:03:47 +00:00
. post-full-title {
2019-10-21 05:43:34 +00:00
margin : 0 0 0 . 2em ;
2020-07-27 17:52:31 +00:00
color : color-mod ( var ( --darkgrey ) l ( -5 % ) ) ;
2015-02-27 14:48:15 +00:00
}
2019-10-21 05:43:34 +00:00
. post-full-custom-excerpt {
margin : 20px 0 0 ;
color : var ( --midgrey ) ;
font-family : Georgia , serif ;
font-size : 2 . 3rem ;
line-height : 1 . 4em ;
font-weight : 300 ;
}
2017-05-15 20:03:47 +00:00
. date-divider {
display : inline-block ;
margin : 0 6px 1px ;
2019-10-21 05:43:34 +00:00
font-weight : 300 ;
2015-02-27 14:48:15 +00:00
}
2017-05-15 20:03:47 +00:00
. post-full-image {
2019-10-21 05:43:34 +00:00
display : flex ;
flex-direction : column ;
align-items : center ;
2018-12-17 12:25:57 +00:00
overflow : hidden ;
2019-10-21 05:43:34 +00:00
margin : 25px 0 50px ;
2020-07-27 17:52:31 +00:00
background : color-mod ( var ( --lightgrey ) l ( + 10 % ) ) ;
2019-10-21 05:43:34 +00:00
border-radius : 3px ;
2018-12-17 12:25:57 +00:00
}
. post-full-image img {
2019-10-21 05:43:34 +00:00
max-width : 1040px ;
2018-12-17 12:25:57 +00:00
width : 100 % ;
2019-10-21 05:43:34 +00:00
height : auto ;
2017-06-13 17:51:08 +00:00
}
2017-05-15 20:03:47 +00:00
. post-full-content {
position : relative ;
margin : 0 auto ;
2019-10-21 05:43:34 +00:00
padding : 0 170px 6vw ;
2017-11-20 05:42:32 +00:00
min-height : 230px ;
2017-06-16 08:44:12 +00:00
font-family : Georgia , serif ;
2019-10-21 05:43:34 +00:00
font-size : 2 . 0rem ;
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 {
2019-10-21 05:43:34 +00:00
padding : 0 11vw ;
2017-06-05 11:19:29 +00:00
}
}
@ media ( max-width : 800px ) {
. post-full-content {
2019-10-21 05:43:34 +00:00
padding : 0 5vw ;
font-size : 1 . 8rem ;
2017-06-05 11:19:29 +00:00
}
}
2019-10-21 05:43:34 +00:00
@ media ( max-width : 500px ) {
. post-full-custom-excerpt {
font-size : 1 . 9rem ;
line-height : 1 . 5em ;
}
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 ,
2017-08-25 20:31:10 +00:00
. 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 {
2019-10-21 05:43:34 +00:00
margin : 0 0 1 . 5em 0 ;
2017-05-31 18:09:50 +00:00
min-width : 100 % ;
}
2019-10-21 05:43:34 +00:00
@ media ( max-width : 500px ) {
. post-full-content p ,
. post-full-content ul ,
. post-full-content ol ,
. post-full-content dl ,
. post-full-content pre ,
. post-full-comments ,
. footnotes {
margin-bottom : 1 . 28em ;
}
}
2017-05-31 18:09:50 +00:00
2017-08-25 20:31:10 +00:00
. 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 {
2019-10-21 05:43:34 +00:00
color : var ( --darkgrey ) ;
2018-09-07 12:45:18 +00:00
word-break : break-word ;
2019-10-21 05:43:34 +00:00
box-shadow : var ( --darkgrey ) 0 -1px 0 inset ;
transition : all 0 . 2s ease-in-out ;
2017-05-31 18:09:50 +00:00
}
. 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 ;
2019-10-21 05:43:34 +00:00
box-shadow : var ( --blue ) 0 -1px 0 inset ;
2017-05-31 18:09:50 +00:00
}
2017-06-08 07:19:22 +00:00
. post-full-content strong ,
. post-full-content em {
2020-07-27 17:52:31 +00:00
color : color-mod ( var ( --darkgrey ) l ( -5 % ) ) ;
2017-06-08 07:19:22 +00:00
}
2017-06-27 09:28:36 +00:00
. 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 {
2017-06-27 09:28:36 +00:00
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 ;
2018-08-30 13:49:40 +00:00
height : auto ;
2017-05-31 18:09:50 +00:00
}
2017-07-20 13:27:02 +00:00
@ media ( max-width : 1040px ) {
2017-07-27 07:15:19 +00:00
. post-full-content img ,
. post-full-content video {
2017-07-20 13:27:02 +00:00
width : 100 % ;
}
}
2017-05-31 18:09:50 +00:00
2017-08-09 12:26:08 +00:00
/ * Full bleed images ( # full )
2017-05-31 18:09:50 +00:00
Super neat trick courtesy of @ JoelDrapper
2017-08-09 12:26:08 +00:00
Usage ( In Ghost edtior ) :
! [ img ] ( / some / image . jpg # full )
2017-05-31 18:09:50 +00:00
* /
. post-full-content img [ src $ = "#full" ] {
2017-06-27 09:28:36 +00:00
max-width : none ;
2017-11-20 05:42:32 +00:00
width : 100vw ;
2017-05-31 18:09:50 +00:00
}
2017-08-09 12:26:08 +00:00
/ * Image captions
Usage ( In Ghost editor ) :
! [ img ] ( / some / image . jpg )
< small > Your image caption < / small >
* /
2017-08-25 20:31:10 +00:00
. post-full-content img + br + small {
2017-08-09 12:26:08 +00:00
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 ;
2017-08-09 12:26:08 +00:00
}
2018-08-31 10:24:50 +00:00
/* Override third party iframe styles */
2017-07-27 09:12:04 +00:00
. post-full-content iframe {
2018-08-31 10:24:50 +00:00
margin : 0 auto ! important ;
2017-07-27 09:12:04 +00:00
}
2017-05-15 20:03:47 +00:00
. post-full-content blockquote {
2017-08-25 20:31:10 +00:00
margin : 0 0 1 . 5em ;
padding : 0 1 . 5em ;
2020-07-27 17:52:31 +00:00
border-left : color-mod ( var ( --blue ) ) 3px solid ;
2017-05-31 18:09:50 +00:00
}
2019-10-21 05:43:34 +00:00
@ media ( max-width : 500px ) {
. post-full-content blockquote {
padding : 0 1 . 3em ;
}
}
2017-05-31 18:09:50 +00:00
. post-full-content blockquote p {
2017-08-25 20:31:10 +00:00
margin : 0 0 1em 0 ;
color : inherit ;
font-size : inherit ;
line-height : inherit ;
font-style : italic ;
2015-02-27 14:48:15 +00:00
}
2017-08-25 20:31:10 +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 ;
}
2018-10-08 04:38:28 +00:00
. 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 % ;
2020-07-27 17:52:31 +00:00
border : color-mod ( 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 ;
2020-07-27 17:52:31 +00:00
background : color-mod ( var ( --darkgrey ) l ( -3 % ) ) ;
2017-06-08 07:19:22 +00:00
border-radius : 5px ;
}
2019-07-30 11:08:45 +00:00
. post-full-content pre :: selection {
2020-07-27 17:52:31 +00:00
color : color-mod ( var ( --midgrey ) l ( -25 % ) ) ;
2019-07-30 11:08:45 +00:00
}
2017-06-08 07:19:22 +00:00
. post-full-content pre code {
padding : 0 ;
font-size : inherit ;
line-height : inherit ;
background : transparent ;
}
2018-10-08 04:40:06 +00:00
. post-full-content pre code : not ( span ) {
2017-11-21 09:50:54 +00:00
color : inherit ;
}
2017-06-05 11:19:29 +00:00
. post-full-content . fluid-width-video-wrapper {
margin : 1 . 5em 0 3em ;
2014-07-21 12:45:34 +00:00
}
2017-06-16 12:16:22 +00:00
. post-full-content hr {
2019-10-21 05:43:34 +00:00
margin : 2em 0 ;
2017-06-16 12:16:22 +00:00
}
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 ;
2020-07-27 17:52:31 +00:00
background : color-mod ( var ( --lightgrey ) l ( + 10 % ) ) ;
2017-06-08 07:19:22 +00:00
box-shadow : # fff 0 0 0 5px ;
transform : rotate ( 45deg ) ;
}
2019-10-21 05:43:34 +00:00
. post-full-content hr + p {
margin-top : 1 . 2em ;
}
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 ,
. post-full-content h6 {
2020-07-27 17:52:31 +00:00
color : color-mod ( 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 {
2019-10-21 05:43:34 +00:00
margin : 0 . 5em 0 0 . 4em ;
font-size : 4 . 2rem ;
line-height : 1 . 25em ;
font-weight : 600 ;
2017-08-25 20:31:10 +00:00
}
2019-10-21 05:43:34 +00:00
. post-full-content p + h1 {
margin-top : 0 . 8em ;
}
@ media ( max-width : 800px ) {
2017-08-25 20:31:10 +00:00
. post-full-content h1 {
2019-10-21 05:43:34 +00:00
font-size : 3 . 2rem ;
line-height : 1 . 25em ;
2017-08-25 20:31:10 +00:00
}
2017-06-08 07:19:22 +00:00
}
. post-full-content h2 {
2019-10-21 05:43:34 +00:00
margin : 0 . 5em 0 0 . 4em ;
font-size : 3 . 2rem ;
line-height : 1 . 25em ;
font-weight : 600 ;
2017-08-25 20:31:10 +00:00
}
2019-10-21 05:43:34 +00:00
. post-full-content p + h2 {
margin-top : 0 . 8em ;
}
@ media ( max-width : 800px ) {
2017-08-25 20:31:10 +00:00
. post-full-content h2 {
2019-10-21 05:43:34 +00:00
margin-bottom : 0 . 3em ;
font-size : 2 . 8rem ;
line-height : 1 . 25em ;
2017-08-25 20:31:10 +00:00
}
2017-06-08 07:19:22 +00:00
}
. post-full-content h3 {
2019-10-21 05:43:34 +00:00
margin : 0 . 5em 0 0 . 2em ;
font-size : 2 . 5rem ;
line-height : 1 . 3em ;
font-weight : 600 ;
2017-08-25 20:31:10 +00:00
}
2019-10-21 05:43:34 +00:00
. post-full-content h2 + h3 {
margin-top : 0 . 7em ;
}
@ media ( max-width : 800px ) {
2017-08-25 20:31:10 +00:00
. post-full-content h3 {
2019-10-21 05:43:34 +00:00
margin-bottom : 0 . 3em ;
font-size : 2 . 4rem ;
line-height : 1 . 3em ;
2017-08-25 20:31:10 +00:00
}
2017-06-08 07:19:22 +00:00
}
. post-full-content h4 {
2019-10-21 05:43:34 +00:00
margin : 0 . 5em 0 0 . 2em ;
font-size : 2 . 5rem ;
font-weight : 600 ;
2017-08-25 20:31:10 +00:00
}
2019-10-21 05:43:34 +00:00
. post-full-content h2 + h4 {
margin-top : 0 . 7em ;
}
. post-full-content h3 + h4 {
margin-top : 0 ;
}
@ media ( max-width : 800px ) {
2017-08-25 20:31:10 +00:00
. post-full-content h4 {
2019-10-21 05:43:34 +00:00
margin-bottom : 0 . 3em ;
font-size : 2 . 4rem ;
line-height : 1 . 3em ;
2017-08-25 20:31:10 +00:00
}
2017-06-08 07:19:22 +00:00
}
. post-full-content h5 {
2017-08-25 20:31:10 +00:00
display : block ;
margin : 0 . 5em 0 ;
2019-10-21 05:43:34 +00:00
padding : 0 . 4em 1em 0 . 9em ;
2017-08-25 20:31:10 +00:00
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 ;
2017-08-25 20:31:10 +00:00
}
}
2019-10-21 05:43:34 +00:00
@ media ( max-width : 800px ) {
2017-08-25 20:31:10 +00:00
. post-full-content h5 {
2019-10-21 05:43:34 +00:00
margin-bottom : 1em ;
margin-left : 1 . 3em ;
2017-08-25 20:31:10 +00:00
padding : 0 0 0 . 5em ;
2019-10-21 05:43:34 +00:00
font-size : 2 . 4rem ;
text-align : initial ;
2017-08-25 20:31:10 +00:00
}
2017-06-08 07:19:22 +00:00
}
. post-full-content h6 {
2017-08-25 20:31:10 +00:00
margin : 0 . 5em 0 0 . 2em 0 ;
2019-10-21 05:43:34 +00:00
font-size : 2 . 0rem ;
2017-08-25 20:31:10 +00:00
font-weight : 700 ;
}
2019-10-21 05:43:34 +00:00
@ media ( max-width : 800px ) {
2017-08-25 20:31:10 +00:00
. post-full-content h6 {
2019-10-21 05:43:34 +00:00
font-size : 1 . 8rem ;
line-height : 1 . 4em ;
2017-08-25 20:31:10 +00:00
}
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 */
2019-10-21 05:43:34 +00:00
@ media ( max-width : 1170px ) {
. post-full-image {
margin : 25px -6vw 50px ;
border-radius : 0 ;
}
. post-full-image img {
max-width : 1170px ;
}
}
@ media ( max-width : 700px ) {
. post-full-image {
margin : 25px -5vw ;
}
}
2017-06-16 12:16:22 +00:00
@ media ( max-width : 500px ) {
. post-full-meta {
font-size : 1 . 2rem ;
line-height : 1 . 3em ;
}
2019-10-21 05:43:34 +00:00
2017-06-16 12:16:22 +00:00
. post-full-title {
2019-10-21 05:43:34 +00:00
margin-top : 0 . 2em ;
2020-03-04 13:34:03 +00:00
font-size : 4 . 2rem ;
line-height : 1 . 05em ;
2017-06-16 12:16:22 +00:00
}
2019-10-21 05:43:34 +00:00
2017-06-16 12:16:22 +00:00
. post-full-image {
2019-10-21 05:43:34 +00:00
margin-top : 5px ;
margin-bottom : 5vw ;
2017-06-16 12:16:22 +00:00
}
2019-10-21 05:43:34 +00:00
2017-06-16 12:16:22 +00:00
. post-full-content {
padding : 0 ;
}
2019-10-21 05:43:34 +00:00
2017-06-16 12:16:22 +00:00
. post-full-content : before ,
. post-full-content : after {
display : none ;
}
}
2017-06-19 22:03:56 +00:00
/* Tables */
. post-full-content table {
2017-08-08 14:58:54 +00:00
display : inline-block ;
2017-06-19 22:03:56 +00:00
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 ;
2017-06-19 22:03:56 +00:00
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 ;
2017-06-19 22:03:56 +00:00
}
. post-full-content table {
2017-11-20 05:42:32 +00:00
-webkit-overflow-scrolling : touch ;
2017-06-19 22:03:56 +00:00
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 % ;
2017-06-19 22:03:56 +00:00
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 ;
2017-06-19 22:03:56 +00:00
}
. 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 ;
2017-06-19 22:03:56 +00:00
}
. post-full-content table th {
color : var ( --darkgrey ) ;
2017-08-02 08:41:14 +00:00
font-size : 1 . 2rem ;
2017-06-19 22:03:56 +00:00
font-weight : 700 ;
2017-08-02 08:41:14 +00:00
letter-spacing : 0 . 2px ;
2017-06-19 22:03:56 +00:00
text-align : left ;
text-transform : uppercase ;
2020-07-27 17:52:31 +00:00
background-color : color-mod ( var ( --whitegrey ) l ( + 4 % ) ) ;
2017-06-19 22:03:56 +00:00
}
. post-full-content table th ,
. post-full-content table td {
padding : 6px 12px ;
2020-07-27 17:52:31 +00:00
border : color-mod ( var ( --whitegrey ) l ( -1 % ) s ( -5 % ) ) 1px solid ;
2017-06-19 22:03:56 +00:00
}
2015-03-23 22:26:11 +00:00
2019-10-21 05:43:34 +00:00
/ * 7 . 1 . Post Byline
2017-05-15 20:03:47 +00:00
/* ---------------------------------------------------------- */
2019-10-21 05:43:34 +00:00
. post-full-byline {
display : flex ;
justify-content : space-between ;
margin : 35px 0 0 ;
padding-top : 15px ;
2020-07-27 17:52:31 +00:00
border-top : 1px solid color-mod ( var ( --lightgrey ) l ( + 10 % ) ) ;
2015-03-23 22:26:11 +00:00
}
2017-05-15 20:03:47 +00:00
2019-10-21 05:43:34 +00:00
. post-full-byline-content {
flex-grow : 1 ;
display : flex ;
align-items : flex-start ;
2015-03-23 22:26:11 +00:00
}
2019-10-21 05:43:34 +00:00
. post-full-byline-content . author-list {
justify-content : flex-start ;
padding : 0 12px 0 0 ;
2015-02-28 12:34:58 +00:00
}
2015-03-23 22:26:11 +00:00
2019-10-21 05:43:34 +00:00
. post-full-byline-meta {
margin : 2px 0 0 ;
2020-07-27 17:52:31 +00:00
color : color-mod ( var ( --midgrey ) l ( + 10 % ) ) ;
2019-10-21 05:43:34 +00:00
font-size : 1 . 2rem ;
line-height : 1 . 2em ;
letter-spacing : 0 . 2px ;
text-transform : uppercase ; ;
2015-02-27 14:48:15 +00:00
}
2019-10-21 05:43:34 +00:00
. post-full-byline-meta h4 {
margin : 0 0 3px ;
font-size : 1 . 3rem ;
line-height : 1 . 4em ;
font-weight : 500 ;
2014-07-21 19:40:31 +00:00
}
2017-05-15 20:03:47 +00:00
2019-10-21 05:43:34 +00:00
. post-full-byline-meta h4 a {
2020-07-27 17:52:31 +00:00
color : color-mod ( var ( --darkgrey ) l ( + 10 % ) ) ;
2014-07-21 12:45:34 +00:00
}
2019-10-21 05:43:34 +00:00
. post-full-byline-meta h4 a : hover {
color : var ( --darkgrey ) ;
2013-08-20 16:53:02 +00:00
}
2019-10-21 05:43:34 +00:00
. post-full-byline-meta . bull {
2017-05-15 20:03:47 +00:00
display : inline-block ;
2019-10-21 05:43:34 +00:00
margin : 0 4px ;
opacity : 0 . 6 ;
2014-07-21 12:45:34 +00:00
}
2019-10-21 05:43:34 +00:00
. author-avatar {
display : block ;
overflow : hidden ;
margin : 0 -4px ;
width : 40px ;
height : 40px ;
border : # fff 2px solid ;
border-radius : 100 % ;
transition : all 0 . 5s cubic-bezier ( 0 . 4 , 0 . 01 , 0 . 165 , 0 . 99 ) 700ms ;
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 % ;
2019-10-21 05:43:34 +00:00
z-index : 600 ;
display : flex ;
justify-content : space-between ;
margin-left : -200px ;
width : 400px ;
2018-04-10 18:19:29 +00:00
font-size : 1 . 4rem ;
2019-10-21 05:43:34 +00:00
line-height : 1 . 5em ;
2018-04-10 18:19:29 +00:00
background : white ;
2019-10-21 05:43:34 +00:00
border-radius : 3px ;
box-shadow : rgba ( 39 , 44 , 49 , 0 . 08 ) 0 12px 26px , rgba ( 39 , 44 , 49 , 0 . 06 ) 1px 3px 8px ;
2018-04-10 18:19:29 +00:00
opacity : 0 ;
2019-10-21 05:43:34 +00:00
transition : all 0 . 35s 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 ;
2019-10-21 05:43:34 +00:00
margin-left : -8px ;
2018-04-10 18:19:29 +00:00
width : 0 ;
height : 0 ;
2019-10-21 05:43:34 +00:00
border-top : 8px solid # fff ;
border-right : 8px solid transparent ;
border-left : 8px solid transparent ;
2018-04-10 18:19:29 +00:00
}
. author-list-item . author-card . hovered {
opacity : 1 . 0 ;
transform : scale ( 1 ) translateY ( 0px ) ;
pointer-events : auto ;
}
2019-10-21 05:43:34 +00:00
. author-card {
padding : 20px 20px 22px ;
2018-04-10 18:19:29 +00:00
}
2019-10-21 05:43:34 +00:00
. author-card . author-info {
flex : 1 1 auto ;
padding : 0 0 0 20px ;
2018-04-10 18:19:29 +00:00
}
2019-10-21 05:43:34 +00:00
. author-card . author-info h2 {
margin : 8px 0 0 ;
font-size : 1 . 6rem ;
2018-04-10 18:19:29 +00:00
}
2019-10-21 05:43:34 +00:00
. author-card . author-info p {
margin : 4px 0 0 ;
2020-07-27 17:52:31 +00:00
color : color-mod ( var ( --midgrey ) l ( -10 % ) ) ;
2019-10-21 05:43:34 +00:00
}
. author-card . author-info . bio h2 {
margin-top : 0 ;
2018-04-10 18:19:29 +00:00
}
2019-10-21 05:43:34 +00:00
. author-card . author-info . bio p {
margin-top : 0 . 8em ;
}
. author-card . author-profile-image {
flex : 0 0 60px ;
2018-04-10 18:19:29 +00:00
margin : 0 ;
2019-10-21 05:43:34 +00:00
width : 60px ;
height : 60px ;
2018-04-10 18:19:29 +00:00
border : none ;
}
. basic-info . avatar-wrapper {
position : relative ;
margin : 0 ;
2019-10-21 05:43:34 +00:00
width : 60px ;
height : 60px ;
2018-04-10 18:19:29 +00:00
border : none ;
background : rgba ( 229 , 239 , 245 , 0 . 1 ) ;
}
. basic-info . avatar-wrapper svg {
margin : 0 ;
2019-10-21 05:43:34 +00:00
width : 60px ;
height : 60px ;
2018-04-10 18:19:29 +00:00
opacity : 0 . 15 ;
}
2019-10-21 05:43:34 +00:00
@ media ( max-width : 1170px ) {
. author-list-item . author-card {
margin-left : -50px ;
width : 430px ;
}
2017-06-05 11:19:29 +00:00
2019-10-21 05:43:34 +00:00
. author-list-item . author-card : before {
left : 50px ;
}
}
2017-06-05 11:19:29 +00:00
2019-10-21 05:43:34 +00:00
@ media ( max-width : 650px ) {
. author-list-item . author-card {
display : none ;
}
2017-06-05 11:19:29 +00:00
}
2019-10-21 05:43:34 +00:00
@ media ( max-width : 500px ) {
. author-avatar {
2020-03-04 13:34:03 +00:00
width : 36px ;
height : 36px ;
}
. post-full-byline {
margin-top : 20px ;
2019-10-21 05:43:34 +00:00
}
2017-06-05 11:19:29 +00:00
2019-10-21 05:43:34 +00:00
. post-full-byline-meta {
font-size : 1 . 2rem ;
}
. post-full-byline-meta h4 {
margin-bottom : 2px ;
font-size : 1 . 2rem ;
}
}
/ * 7 . 2 . Members Subscribe Form
2017-05-15 20:03:47 +00:00
/* ---------------------------------------------------------- */
2019-10-21 05:43:34 +00:00
. subscribe-form {
margin : 1 . 5em 0 ;
padding : 6 . 5vw 7vw 8vw ;
2020-07-27 17:52:31 +00:00
border : color-mod ( var ( --lightgrey ) l ( + 10 % ) ) 1px solid ;
2019-10-21 05:43:34 +00:00
text-align : center ;
2020-07-27 17:52:31 +00:00
background : linear-gradient ( color-mod ( var ( --whitegrey ) l ( + 6 % ) ) , color-mod ( var ( --whitegrey ) l ( + 4 % ) ) ) ;
2019-10-21 05:43:34 +00:00
border-radius : 3px ;
}
2017-05-15 20:03:47 +00:00
2019-10-21 05:43:34 +00:00
. subscribe-form-title {
margin : 0 0 3px 0 ;
padding : 0 ;
color : var ( --darkgrey ) ;
font-size : 3 . 5rem ;
line-height : 1 ;
font-weight : 600 ;
2014-07-11 10:22:28 +00:00
}
2013-08-20 16:53:02 +00:00
2019-10-21 05:43:34 +00:00
. subscribe-form-description {
margin-bottom : 0 . 2em 0 1em ;
color : var ( --midgrey ) ;
font-size : 2 . 1rem ;
line-height : 1 . 55em ;
}
. subscribe-form form {
2017-05-31 18:09:50 +00:00
display : flex ;
flex-direction : column ;
2019-10-21 05:43:34 +00:00
justify-content : center ;
align-items : center ;
margin : 0 auto ;
max-width : 460px ;
}
. subscribe-form . form-group {
align-self : stretch ;
display : flex ;
}
. subscribe-email {
display : block ;
padding : 10px ;
width : 100 % ;
2020-07-27 17:52:31 +00:00
border : color-mod ( var ( --lightgrey ) l ( + 7 % ) ) 1px solid ;
2019-10-21 05:43:34 +00:00
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 ;
}
. subscribe-email : focus {
outline : 0 ;
2020-07-27 17:52:31 +00:00
border-color : color-mod ( var ( --lightgrey ) l ( -2 % ) ) ;
2019-10-21 05:43:34 +00:00
}
. subscribe-form button {
position : relative ;
display : inline-block ;
margin : 0 0 0 10px ;
padding : 0 20px ;
height : 43px ;
outline : none ;
2017-05-15 20:03:47 +00:00
color : # fff ;
2019-10-21 05:43:34 +00:00
font-size : 1 . 5rem ;
line-height : 39px ;
font-weight : 400 ;
text-align : center ;
background : linear-gradient (
2020-07-27 17:52:31 +00:00
color-mod ( var ( --blue ) whiteness ( + 7 % ) ) ,
color-mod ( var ( --blue ) lightness ( -7 % ) saturation ( -10 % ) ) 60 % ,
color-mod ( var ( --blue ) lightness ( -7 % ) saturation ( -10 % ) ) 90 % ,
color-mod ( var ( --blue ) lightness ( -4 % ) saturation ( -10 % ) )
2019-10-21 05:43:34 +00:00
) ;
2017-05-15 20:03:47 +00:00
border-radius : 5px ;
2019-10-21 05:43:34 +00:00
-webkit-font-smoothing : subpixel-antialiased ;
2013-08-24 22:57:39 +00:00
}
2019-10-21 05:43:34 +00:00
. subscribe-form button : active ,
. subscribe-form button : focus {
2020-07-27 17:52:31 +00:00
background : color-mod ( var ( --blue ) lightness ( -9 % ) saturation ( -10 % ) ) ;
2019-10-21 05:43:34 +00:00
}
. subscribe-form . button-loader ,
. subscribe-form . message-success ,
. subscribe-form . message-error {
display : none ;
}
. subscribe-form . loading . button-content {
visibility : hidden ;
}
. subscribe-form . loading . button-loader {
2013-08-24 22:57:39 +00:00
position : absolute ;
2017-05-15 20:03:47 +00:00
top : 0 ;
2019-10-21 05:43:34 +00:00
left : 50 % ;
display : inline-block ;
margin-left : -19px ;
transform : scale ( 0 . 7 ) ;
}
2017-06-16 08:44:12 +00:00
2019-10-21 05:43:34 +00:00
. subscribe-form . button-loader svg path ,
. subscribe-form . button-loader svg rect {
fill : # fff ;
2013-08-19 11:09:56 +00:00
}
2019-10-21 05:43:34 +00:00
. subscribe-form . success . message-success ,
. subscribe-form . invalid . message-error ,
. subscribe-form . error . message-error {
margin : 1em auto 0 ;
max-width : 400px ;
color : var ( --red ) ;
font-size : 1 . 6rem ;
line-height : 1 . 5em ;
2017-05-15 20:03:47 +00:00
text-align : center ;
2014-07-21 16:20:36 +00:00
}
2019-10-21 05:43:34 +00:00
. subscribe-form . success . message-success {
2017-06-13 17:51:08 +00:00
display : block ;
2020-07-27 17:52:31 +00:00
color : color-mod ( var ( --green ) l ( -5 % ) ) ;
2019-10-21 05:43:34 +00:00
}
. subscribe-form . invalid . message-error ,
. subscribe-form . error . message-error {
display : block ;
}
@ media ( max-width : 650px ) {
. subscribe-form-title {
font-size : 2 . 4rem ;
}
. subscribe-form-description {
font-size : 1 . 6rem ;
}
2017-06-13 17:51:08 +00:00
}
2019-10-21 05:43:34 +00:00
@ media ( max-width : 500px ) {
. subscribe-form form {
flex-direction : column ;
}
. subscribe-form . form-group {
flex-direction : column ;
width : 100 % ;
}
. subscribe-form button {
margin : 10px 0 0 0 ;
width : 100 % ;
}
2016-10-24 13:11:49 +00:00
}
2017-06-13 17:51:08 +00:00
2019-10-21 05:43:34 +00:00
/ * 7 . 3 . Comments
/* ---------------------------------------------------------- */
2017-06-13 17:51:08 +00:00
2019-10-21 05:43:34 +00:00
. post-full-comments {
margin : 0 auto ;
max-width : 840px ;
2017-06-12 09:01:00 +00:00
}
2017-11-20 05:42:32 +00:00
2019-10-21 05:43:34 +00:00
/ * 7 . 4 . Related posts
/* ---------------------------------------------------------- */
. read-next {
border-bottom : 1px solid rgba ( 255 , 255 , 255 , 0 . 1 ) ;
2020-07-27 17:52:31 +00:00
background : color-mod ( var ( --darkgrey ) l ( -5 % ) ) ;
2017-06-12 09:01:00 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next-feed {
2017-06-16 08:44:12 +00:00
display : flex ;
2019-10-21 05:43:34 +00:00
flex-wrap : wrap ;
margin : 0 -25px ;
padding : 60px 0 0 0 ;
2013-08-20 16:53:02 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next . post-card {
padding-bottom : 0 ;
border-bottom : none ;
2014-03-22 14:15:41 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next . post-card : after {
display : none ;
2013-08-11 14:39:25 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next . post-card-primary-tag {
2017-06-12 09:01:00 +00:00
color : # fff ;
2019-10-21 05:43:34 +00:00
opacity : 0 . 6 ;
2017-06-13 17:51:08 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next . post-card-title {
color : # fff ;
opacity : 0 . 8 ;
transition : all 0 . 2s ease-in-out ;
2017-06-12 09:01:00 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next . post-card : hover . post-card-image {
opacity : 1 . 0 ;
2014-07-21 16:20:36 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next . post-card-excerpt {
color : rgba ( 255 , 255 , 255 , 0 . 6 ) ;
2017-06-13 17:51:08 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next . static-avatar {
border-color : # 000 ;
2017-06-13 17:51:08 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next . post-card-byline-content {
color : rgba ( 255 , 255 , 255 , 0 . 6 ) ;
2014-07-21 18:37:05 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next . post-card-byline-content a {
color : rgba ( 255 , 255 , 255 , 0 . 8 ) ;
2014-01-31 07:35:24 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next-card {
position : relative ;
flex : 0 1 326px ;
display : flex ;
flex-direction : column ;
2017-06-16 08:44:12 +00:00
overflow : hidden ;
2019-10-21 05:43:34 +00:00
margin : 0 25px 50px ;
padding : 25px ;
2020-07-27 17:52:31 +00:00
background : linear-gradient ( color-mod ( var ( --darkgrey ) l ( + 2 % ) ) , color-mod ( var ( --darkgrey ) l ( -5 % ) ) ) ;
2019-10-21 05:43:34 +00:00
border-radius : 3px ;
2013-09-01 15:29:52 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next-card a {
transition : all 0 . 2s ease-in-out ;
2013-09-01 15:29:52 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next-card a : hover {
2017-05-15 20:03:47 +00:00
text-decoration : none ;
2013-09-01 15:29:52 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next-card-header h3 {
margin : 0 ;
color : rgba ( 255 , 255 , 255 , 0 . 6 ) ;
font-size : 1 . 2rem ;
line-height : 1em ;
font-weight : 300 ;
letter-spacing : 0 . 4px ;
text-transform : uppercase ;
2015-03-23 10:21:28 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next-card-header h3 a {
color : # fff ;
font-weight : 500 ;
text-decoration : none ;
opacity : 0 . 8 ;
2015-03-23 10:21:28 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next-card-header h3 a : hover {
opacity : 1 ;
2015-03-23 10:21:28 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next-card-content {
font-size : 1 . 7rem ;
2015-04-22 17:23:42 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next-card-content ul {
2017-05-15 20:03:47 +00:00
display : flex ;
2019-10-21 05:43:34 +00:00
flex-direction : column ;
margin : 0 ;
padding : 0 ;
list-style : none ;
2013-09-01 15:29:52 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next-card-content li {
display : flex ;
flex-direction : column ;
align-items : flex-start ;
margin : 0 ;
padding : 20px 0 ;
border-bottom : rgba ( 255 , 255 , 255 , 0 . 1 ) ;
2013-09-01 15:29:52 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next-card-content li : last-of-type {
padding-bottom : 5px ;
border : none ;
2013-09-01 15:29:52 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next-card-content h4 {
margin : 0 ;
font-size : 1 . 6rem ;
line-height : 1 . 35em ;
font-weight : 600 ;
2014-01-27 12:16:17 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next-card-content li a {
2017-05-15 20:03:47 +00:00
display : block ;
2017-06-16 08:44:12 +00:00
color : # fff ;
2019-10-21 05:43:34 +00:00
opacity : 0 . 8 ;
2013-09-01 15:29:52 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next-card-content li a : hover {
opacity : 1 ;
2014-07-21 17:52:45 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next-card-excerpt {
overflow : hidden ;
max-width : 100 % ;
font-size : 1 . 4rem ;
line-height : 1 . 2em ;
text-overflow : ellipsis ;
2017-06-14 11:16:16 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next-card-meta {
margin-top : 2px ;
font-size : 1 . 2rem ;
line-height : 1 . 4em ;
font-weight : 400 ;
2017-06-14 11:16:16 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next-card-meta p {
margin : 0 ;
color : rgba ( 255 , 255 , 255 , 0 . 6 ) ;
2017-06-14 11:16:16 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next-card-footer {
position : relative ;
margin : 40px 0 5px ;
2017-08-16 10:43:58 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next-card-footer a {
padding : 7px 12px 8px 14px ;
border : 1px solid rgba ( 255 , 255 , 255 , 0 . 6 ) ;
color : rgba ( 255 , 255 , 255 , 0 . 6 ) ;
font-size : 1 . 3rem ;
border-radius : 999px ;
transition : all 0 . 35s ease-in-out ;
2017-06-14 11:16:16 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next-card-footer a : hover {
border-color : var ( --yellow ) ;
color : var ( --yellow ) ;
text-decoration : none ;
2017-06-14 11:16:16 +00:00
}
2019-10-21 05:43:34 +00:00
@ media ( max-width : 1170px ) {
. read-next-card {
flex : 1 1 261px ;
margin-bottom : 5vw ;
2017-05-15 20:03:47 +00:00
}
2014-07-21 17:52:45 +00:00
}
2019-10-21 05:43:34 +00:00
@ media ( max-width : 650px ) {
. read-next-feed {
flex-direction : column ;
padding : 25px 0 0 ;
2017-06-16 08:44:12 +00:00
}
2019-10-21 05:43:34 +00:00
. read-next-card {
flex : 1 1 auto ;
margin : 0 25px ;
padding : 0 ;
background : none ;
2017-06-16 08:44:12 +00:00
}
2013-09-01 15:29:52 +00:00
2019-10-21 05:43:34 +00:00
. read-next . post-card {
flex : 1 1 auto ;
margin : 25px ;
padding : 25px 0 0 ;
border-bottom : 1px solid rgba ( 255 , 255 , 255 , 0 . 1 ) ;
2017-06-16 08:44:12 +00:00
}
2014-07-22 11:21:33 +00:00
}
2017-06-13 12:48:06 +00:00
2019-10-21 05:43:34 +00:00
/ * 7 . 5 . Koenig Styles
2018-05-22 18:09:58 +00:00
/* ---------------------------------------------------------- */
2018-07-23 11:20:46 +00:00
. post-content {
display : flex ;
flex-direction : column ;
align-items : center ;
2018-05-22 18:09:58 +00:00
}
. post-full-content . kg-image {
2020-03-03 16:29:34 +00:00
margin : 0 auto ;
2018-05-22 18:09:58 +00:00
max-width : 100 % ;
}
/* Preventing full-width image overlap with post image. */
2018-07-23 11:20:46 +00:00
. post-full-image + . post-full-content . kg-content * : first-child . kg-image {
2018-05-22 18:09:58 +00:00
width : 100 % ;
}
2018-07-23 11:20:46 +00:00
. post-full-content . kg-width-wide . kg-image {
2018-05-22 18:09:58 +00:00
max-width : 1040px ;
}
2018-07-23 11:20:46 +00:00
. post-full-content . kg-width-full . kg-image {
2018-05-22 18:09:58 +00:00
max-width : 100vw ;
}
2018-08-31 10:24:50 +00:00
. post-full-content figure {
2019-10-21 05:43:34 +00:00
margin : 0 . 8em 0 2 . 3em ;
}
. post-full-content h1 + figure ,
. post-full-content h2 + figure ,
. post-full-content h3 + figure ,
. post-full-content h4 + figure {
margin-top : 2em ;
2018-08-31 10:24:50 +00:00
}
. post-full-content figure img {
margin : 0 ;
}
. post-full-content figcaption {
2020-03-04 14:34:15 +00:00
margin : 1 . 0em auto 0 ;
2020-07-27 17:52:31 +00:00
color : color-mod ( var ( --midgrey ) l ( -10 % ) ) ;
2019-10-21 05:43:34 +00:00
font-family : -apple-system , BlinkMacSystemFont , "Segoe UI" , Roboto , Oxygen , Ubuntu , Cantarell , "Open Sans" , "Helvetica Neue" , sans-serif ;
font-size : 75 % ;
line-height : 1 . 5em ;
2020-03-04 14:34:15 +00:00
text-align : center ;
max-width : 1040px ;
2018-05-22 18:09:58 +00:00
}
2018-08-31 10:24:50 +00:00
. kg-width-full figcaption {
padding : 0 1 . 5em ;
2018-05-22 18:09:58 +00:00
}
2018-06-13 17:34:59 +00:00
. kg-embed-card {
display : flex ;
flex-direction : column ;
align-items : center ;
2019-02-18 05:54:29 +00:00
width : 100 % ;
2018-05-22 18:09:58 +00:00
}
2018-06-13 17:34:59 +00:00
. kg-embed-card . fluid-width-video-wrapper {
margin : 0 ;
}
@ media ( max-width : 1040px ) {
2018-07-23 11:20:46 +00:00
. post-full-content . kg-width-full . kg-image {
2018-06-13 17:34:59 +00:00
width : 100vw ;
2018-05-22 18:09:58 +00:00
}
}
2018-08-30 16:44:55 +00:00
. 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 ;
}
2018-05-22 18:09:58 +00:00
2018-09-24 12:35:47 +00:00
. 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 ;
}
2019-05-01 15:12:18 +00:00
/* keep existing <pre> styles for code cards with captions */
. kg-code-card {
2019-10-20 06:44:21 +00:00
width : 100 % ;
2019-05-01 15:12:18 +00:00
}
. kg-code-card pre {
margin : 0 ;
}
2019-08-27 15:26:42 +00:00
. kg-bookmark-card {
width : 100 % ;
}
. kg-card + . kg-bookmark-card {
margin-top : 0 ;
}
. post-full-content . kg-bookmark-container {
display : flex ;
2019-10-21 05:43:34 +00:00
min-height : 148px ;
2019-08-27 15:26:42 +00:00
color : var ( --darkgrey ) ;
2019-10-21 05:43:34 +00:00
font-family : -apple-system , BlinkMacSystemFont , "Segoe UI" , Roboto , Oxygen , Ubuntu , Cantarell , "Open Sans" , "Helvetica Neue" , sans-serif ;
2019-08-27 15:26:42 +00:00
text-decoration : none ;
border-radius : 3px ;
2019-10-21 05:43:34 +00:00
box-shadow : 0 2px 5px -1px rgba ( 0 , 0 , 0 , 0 . 15 ) , 0 0 1px rgba ( 0 , 0 , 0 , 0 . 09 ) ;
}
. post-full-content . kg-bookmark-container : hover {
color : var ( --darkgrey ) ;
text-decoration : none ;
box-shadow : 0 2px 5px -1px rgba ( 0 , 0 , 0 , 0 . 15 ) , 0 0 1px rgba ( 0 , 0 , 0 , 0 . 09 ) ;
2019-08-27 15:26:42 +00:00
}
. kg-bookmark-content {
2019-10-21 05:43:34 +00:00
flex-grow : 1 ;
2019-08-27 15:26:42 +00:00
display : flex ;
flex-direction : column ;
2019-10-21 05:43:34 +00:00
justify-content : flex-start ;
2019-08-27 15:26:42 +00:00
align-items : flex-start ;
padding : 20px ;
}
. kg-bookmark-title {
2020-07-27 17:52:31 +00:00
color : color-mod ( var ( --midgrey ) l ( -30 % ) ) ;
2019-08-27 15:26:42 +00:00
font-size : 1 . 6rem ;
line-height : 1 . 5em ;
font-weight : 600 ;
2019-10-21 05:43:34 +00:00
transition : color 0 . 2s ease-in-out ;
2019-08-27 15:26:42 +00:00
}
. post-full-content . kg-bookmark-container : hover . kg-bookmark-title {
color : var ( --blue ) ;
}
. kg-bookmark-description {
display : -webkit-box ;
2019-10-21 05:43:34 +00:00
overflow-y : hidden ;
margin-top : 12px ;
max-height : 48px ;
2020-07-27 17:52:31 +00:00
color : color-mod ( var ( --midgrey ) l ( -10 % ) ) ;
2019-08-27 15:26:42 +00:00
font-size : 1 . 5rem ;
line-height : 1 . 5em ;
font-weight : 400 ;
2019-10-21 05:43:34 +00:00
2019-08-27 15:26:42 +00:00
-webkit-line-clamp : 2 ;
-webkit-box-orient : vertical ;
}
. kg-bookmark-thumbnail {
position : relative ;
min-width : 33 % ;
max-height : 100 % ;
}
. kg-bookmark-thumbnail img {
position : absolute ;
top : 0 ;
left : 0 ;
width : 100 % ;
height : 100 % ;
border-radius : 0 3px 3px 0 ;
2019-10-21 05:43:34 +00:00
object-fit : cover ;
2019-08-27 15:26:42 +00:00
}
. kg-bookmark-metadata {
display : flex ;
2019-10-21 05:43:34 +00:00
flex-wrap : wrap ;
2019-08-27 15:26:42 +00:00
align-items : center ;
2019-10-21 05:43:34 +00:00
margin-top : 14px ;
2020-07-27 17:52:31 +00:00
color : color-mod ( var ( --midgrey ) l ( -10 % ) ) ;
2019-08-27 15:26:42 +00:00
font-size : 1 . 5rem ;
font-weight : 400 ;
}
. post-full-content . kg-bookmark-icon {
2019-10-21 05:43:34 +00:00
margin-right : 8px ;
2019-08-27 15:26:42 +00:00
width : 22px ;
height : 22px ;
}
2019-08-27 18:29:48 +00:00
. kg-bookmark-author {
line-height : 1 . 5em ;
}
2019-08-27 15:26:42 +00:00
. kg-bookmark-author : after {
content : "•" ;
margin : 0 6px ;
}
2019-08-27 18:29:48 +00:00
. kg-bookmark-publisher {
overflow : hidden ;
2019-10-21 05:43:34 +00:00
max-width : 240px ;
2019-08-27 18:29:48 +00:00
line-height : 1 . 5em ;
text-overflow : ellipsis ;
white-space : nowrap ;
}
2019-10-21 05:43:34 +00:00
@ media ( max-width : 800px ) {
. post-full-content figure {
margin : 0 . 2em 0 1 . 3em ;
}
. post-full-content h1 + figure ,
. post-full-content h2 + figure ,
. post-full-content h3 + figure ,
. post-full-content h4 + figure {
margin-top : 0 . 9em ;
}
}
@ media ( max-width : 500px ) {
. post-full-content . kg-width-wide ,
. post-full-content . kg-width-full {
margin-right : -5vw ;
margin-left : -5vw ;
}
. post-full-content figcaption {
margin-bottom : 0 . 4em ;
}
. post-full-content . kg-bookmark-container {
flex-direction : column ;
}
. kg-bookmark-title ,
. kg-bookmark-description ,
. kg-bookmark-metadata {
font-size : 1 . 4rem ;
line-height : 1 . 5em ;
}
. post-full-content . kg-bookmark-icon {
width : 18px ;
height : 18px ;
2019-08-27 15:26:42 +00:00
}
. kg-bookmark-thumbnail {
order : 1 ;
min-height : 160px ;
2019-10-21 05:43:34 +00:00
width : 100 % ;
2019-08-27 15:26:42 +00:00
}
. kg-bookmark-thumbnail img {
border-radius : 3px 3px 0 0 ;
}
. kg-bookmark-content {
2019-10-21 05:43:34 +00:00
order : 2 ;
2019-08-27 15:26:42 +00:00
}
}
2017-06-16 08:17:11 +00:00
/ * 8 . Author Template
/* ---------------------------------------------------------- */
2019-10-21 05:43:34 +00:00
. author-header {
display : flex ;
flex-direction : row ;
justify-content : flex-start ;
align-items : flex-start ;
padding : 10vw 0 10px ;
}
2020-03-04 13:34:03 +00:00
. site-archive-header . author-header {
align-items : center ;
}
2019-10-21 05:43:34 +00:00
. site-archive-header . no-image . author-header {
padding-bottom : 20px ;
}
. author-header-content {
display : flex ;
flex-direction : column ;
justify-content : center ;
margin : 5px 0 0 30px ;
}
2017-06-13 12:48:06 +00:00
. site-header-content . author-profile-image {
2017-08-25 20:31:10 +00:00
z-index : 10 ;
2017-06-13 12:48:06 +00:00
flex-shrink : 0 ;
2020-03-04 13:34:03 +00:00
margin : -4px 0 0 ;
2019-10-21 05:43:34 +00:00
width : 110px ;
height : 110px ;
2017-06-13 12:48:06 +00:00
box-shadow : rgba ( 255 , 255 , 255 , 0 . 1 ) 0 0 0 6px ;
}
2019-10-21 05:43:34 +00:00
. author-header-content . author-bio {
2017-08-22 10:49:49 +00:00
z-index : 10 ;
2017-08-25 20:31:10 +00:00
flex-shrink : 0 ;
2020-03-04 13:34:03 +00:00
margin : 6px 0 0 ;
2019-10-21 05:43:34 +00:00
max-width : 46em ;
font-size : 2 . 0rem ;
2020-03-04 13:34:03 +00:00
line-height : 1 . 3em ;
2019-10-21 05:43:34 +00:00
font-weight : 400 ;
2017-06-16 08:44:12 +00:00
opacity : 0 . 8 ;
2017-06-13 12:48:06 +00:00
}
2019-10-21 05:43:34 +00:00
. author-header-content . author-meta {
2017-08-22 10:49:49 +00:00
z-index : 10 ;
2017-08-25 20:31:10 +00:00
flex-shrink : 0 ;
2017-06-13 12:48:06 +00:00
display : flex ;
align-items : center ;
2019-10-21 05:43:34 +00:00
margin : 0 0 0 1px ;
font-size : 1 . 2rem ;
font-weight : 400 ;
letter-spacing : 0 . 2px ;
text-transform : uppercase ;
2020-03-04 13:34:03 +00:00
white-space : nowrap ;
2017-06-13 12:48:06 +00:00
}
2019-10-21 05:43:34 +00:00
. author-header-content . social-link : first-of-type {
padding-left : 4px ;
2017-06-13 12:48:06 +00:00
}
2019-10-21 05:43:34 +00:00
. no-image . author-header-content . author-bio {
color : var ( --midgrey ) ;
opacity : 1 . 0 ;
}
. no-image . author-header-content . author-meta {
color : var ( --midgrey ) ;
opacity : 1 . 0 ;
}
. author-social-link a {
2019-10-30 10:09:19 +00:00
color : # fff ;
2019-10-21 05:43:34 +00:00
font-weight : 600 ;
}
2019-10-30 10:09:19 +00:00
. no-image . author-social-link a {
color : var ( --darkgrey ) ;
}
2019-10-21 05:43:34 +00:00
. author-social-link a : hover {
opacity : 1 ;
}
. author-social-link {
2017-06-13 12:48:06 +00:00
display : inline-block ;
2019-10-21 05:43:34 +00:00
margin : 0 ;
2020-03-04 13:34:03 +00:00
padding : 6px 0 ;
2017-06-13 12:48:06 +00:00
}
2019-10-21 05:43:34 +00:00
. author-location + . author-stats : before ,
. author-stats + . author-social-link : before ,
. author-social-link + . author-social-link : before {
content : "\2022" ;
display : inline-block ;
margin : 0 12px ;
2019-10-30 10:09:19 +00:00
color : # fff ;
2019-10-21 05:43:34 +00:00
opacity : 0 . 6 ;
2017-06-13 12:48:06 +00:00
}
2019-10-30 10:09:19 +00:00
. no-image . author-location + . author-stats : before ,
. no-image . author-stats + . author-social-link : before ,
. no-image . author-social-link + . author-social-link : before {
color : var ( --midgrey ) ;
}
2020-03-04 13:34:03 +00:00
@ media ( max-width : 700px ) {
. author-location ,
. author-stats ,
. author-stats + . author-social-link : first-of-type : before {
display : none ;
}
}
2017-06-16 12:16:22 +00:00
@ media ( max-width : 500px ) {
2019-10-21 05:43:34 +00:00
. author-header {
padding : 10px 0 0 ;
}
. no-image . author-header {
padding-bottom : 10px ;
}
. author-header-content {
2020-03-04 13:34:03 +00:00
align-items : center ;
margin : 16px 0 0 0 ;
2019-10-21 05:43:34 +00:00
}
. site-header-content . author-profile-image {
2020-03-04 13:34:03 +00:00
width : 96px ;
height : 96px ;
2019-10-21 05:43:34 +00:00
}
. author-header-content . author-bio {
2017-06-16 12:16:22 +00:00
font-size : 1 . 8rem ;
2019-10-21 05:43:34 +00:00
line-height : 1 . 3em ;
2017-06-16 12:16:22 +00:00
letter-spacing : 0 ;
2020-03-04 13:34:03 +00:00
text-align : center ;
2017-06-16 12:16:22 +00:00
}
2019-10-21 05:43:34 +00:00
2020-03-04 13:34:03 +00:00
. author-header-content . author-meta {
margin-top : 8px ;
}
. author-location + . author-stats : before ,
. author-stats + . author-social-link : before ,
. author-social-link + . author-social-link : before {
display : inline ;
margin : 0 6px ;
2017-06-16 12:16:22 +00:00
}
}
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
2019-10-28 15:28:25 +00:00
. error-content {
padding : 14vw 4vw 6vw ;
2017-06-13 12:48:06 +00:00
}
. site-nav-center {
2017-06-16 08:44:12 +00:00
display : flex ;
justify-content : center ;
align-items : center ;
2019-10-28 15:28:25 +00:00
padding : 10px 0 ;
2017-06-16 08:44:12 +00:00
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 {
2019-10-28 15:28:25 +00:00
padding-bottom : 10vw ;
2020-07-27 17:52:31 +00:00
border-bottom : 1px solid color-mod ( var ( --lightgrey ) l ( + 10 % ) ) ;
2017-06-13 12:48:06 +00:00
text-align : center ;
}
. error-code {
margin : 0 ;
2019-10-28 15:28:25 +00:00
color : var ( --lightgrey ) ;
2017-06-13 12:48:06 +00:00
font-size : 12vw ;
line-height : 1em ;
letter-spacing : -5px ;
2019-10-28 15:28:25 +00:00
opacity : 0 . 75 ;
2017-06-13 12:48:06 +00:00
}
. 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 ;
}
2019-10-28 15:28:25 +00:00
. error-link {
display : inline-block ;
margin-top : 5px ;
}
@ media ( min-width : 940px ) {
. error-content . post-card {
margin-bottom : 0 ;
padding-bottom : 0 ;
border-bottom : none ;
}
}
2017-06-13 12:48:06 +00:00
@ media ( max-width : 800px ) {
2019-10-28 15:28:25 +00:00
. error-content {
padding-top : 24vw ;
}
. error-code {
font-size : 11 . 2rem ;
}
. error-message {
padding-bottom : 16vw ;
}
2017-06-13 12:48:06 +00:00
. error-description {
margin : 5px 0 0 0 ;
font-size : 1 . 8rem ;
}
}
2019-10-28 15:28:25 +00:00
@ media ( max-width : 500px ) {
. error-content {
padding-top : 28vw ;
}
. error-message {
padding-bottom : 14vw ;
}
2017-06-13 12:48:06 +00:00
}
2017-06-15 14:03:19 +00:00
2019-10-21 05:43:34 +00:00
/ * 10 . Subscribe Message and Overlay
2017-06-16 08:17:11 +00:00
/* ---------------------------------------------------------- */
2017-06-15 14:03:19 +00:00
2019-10-21 05:43:34 +00:00
. subscribe-success-message {
position : fixed ;
top : 0 ;
right : 0 ;
left : 0 ;
z-index : 9000 ;
padding : 20px 0 ;
color : # fff ;
text-align : center ;
background : var ( --green ) ;
transition : all 0 . 35s cubic-bezier ( 0 . 19 , 1 , 0 . 22 , 1 ) 0 . 5s ;
transform : translateY ( -175 % ) ;
}
. subscribe-success . subscribe-success-message {
visibility : visible ;
transform : translateY ( 0 ) ;
}
. subscribe-success-message . close {
visibility : hidden ;
transition : all 1 . 35s cubic-bezier ( 0 . 19 , 1 , 0 . 22 , 1 ) ;
transform : translateY ( -175 % ) ;
}
2020-03-04 10:26:27 +00:00
. subscribe-close-overlay {
2019-10-21 05:43:34 +00:00
position : absolute ;
top : 0 ;
right : 0 ;
bottom : 0 ;
left : 0 ;
display : block ;
}
2020-03-04 10:26:27 +00:00
. subscribe-close-button {
position : absolute ;
top : 16px ;
right : 20px ;
2020-03-04 13:34:03 +00:00
z-index : 2000 ;
display : block ;
2020-03-04 10:26:27 +00:00
width : 40px ;
height : 40px ;
}
. subscribe-close-button : before {
2019-10-21 05:43:34 +00:00
content : "" ;
position : absolute ;
2020-03-04 10:26:27 +00:00
top : 20px ;
right : 4px ;
2019-10-21 05:43:34 +00:00
display : block ;
2020-03-04 10:26:27 +00:00
width : 32px ;
2019-10-21 05:43:34 +00:00
height : 1px ;
background : # fff ;
opacity : 0 . 8 ;
transform : rotate ( 45deg ) ;
}
2020-03-04 10:26:27 +00:00
. subscribe-close-button : after {
2019-10-21 05:43:34 +00:00
content : "" ;
position : absolute ;
2020-03-04 10:26:27 +00:00
top : 20px ;
right : 4px ;
2019-10-21 05:43:34 +00:00
display : block ;
2020-03-04 10:26:27 +00:00
width : 32px ;
2019-10-21 05:43:34 +00:00
height : 1px ;
background : # fff ;
opacity : 0 . 8 ;
transform : rotate ( -45deg ) ;
}
2020-03-04 10:26:27 +00:00
. subscribe-close-overlay : hover ,
. subscribe-close-button : hover {
2019-10-21 05:43:34 +00:00
cursor : default ;
}
2017-06-15 14:03:19 +00:00
. subscribe-overlay {
position : fixed ;
top : 0 ;
right : 0 ;
bottom : 0 ;
left : 0 ;
2020-03-04 10:26:27 +00:00
z-index : 2000 ;
2017-06-15 14:03:19 +00:00
display : flex ;
justify-content : center ;
align-items : center ;
2019-10-21 05:43:34 +00:00
background : rgba ( 9 , 10 , 11 , 0 . 97 ) ;
2017-06-15 14:03:19 +00:00
opacity : 0 ;
2019-10-21 05:43:34 +00:00
transition : opacity 0 . 2s ease-in ;
2017-06-15 14:03:19 +00:00
pointer-events : none ;
}
. subscribe-overlay : target {
2020-03-04 13:34:03 +00:00
z-index : 2001 ;
2017-06-15 14:03:19 +00:00
opacity : 1 ;
pointer-events : auto ;
}
. subscribe-overlay-content {
position : relative ;
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
}
2019-10-21 05:43:34 +00:00
. subscribe-overlay . subscribe-form {
border : none ;
color : # fff ;
background : none ;
}
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 ;
2019-10-21 05:43:34 +00:00
font-size : 5 . 2rem ;
2017-06-15 14:03:19 +00:00
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 ;
2019-10-21 05:43:34 +00:00
color : # fff ;
2017-06-16 08:44:12 +00:00
font-family : Georgia , serif ;
2019-10-21 05:43:34 +00:00
font-size : 2 . 4rem ;
2017-06-15 14:03:19 +00:00
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 ;
2019-10-21 05:43:34 +00:00
max-width : 540px ;
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 ;
2020-07-27 17:52:31 +00:00
border-color : color-mod ( var ( --lightgrey ) l ( -2 % ) ) ;
2017-06-15 14:03:19 +00:00
}
. 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 ;
2019-10-21 05:43:34 +00:00
line-height : 38px ;
2017-06-15 14:03:19 +00:00
font-weight : 400 ;
text-align : center ;
background : linear-gradient (
2020-07-27 17:52:31 +00:00
color-mod ( var ( --blue ) whiteness ( + 7 % ) ) ,
color-mod ( var ( --blue ) lightness ( -7 % ) saturation ( -10 % ) ) 60 % ,
color-mod ( var ( --blue ) lightness ( -7 % ) saturation ( -10 % ) ) 90 % ,
color-mod ( var ( --blue ) lightness ( -4 % ) saturation ( -10 % ) )
2017-06-15 14:03:19 +00:00
) ;
2017-06-16 08:44:12 +00:00
border-radius : 8px ;
2017-06-15 14:03:19 +00:00
-webkit-font-smoothing : subpixel-antialiased ;
}
. subscribe-overlay button : active ,
. subscribe-overlay button : focus {
2020-07-27 17:52:31 +00:00
background : color-mod ( var ( --blue ) lightness ( -9 % ) saturation ( -10 % ) ) ;
2017-06-15 14:03:19 +00:00
}
2019-10-21 05:43:34 +00:00
. subscribe-overlay . loading . button-loader {
top : 5px ;
2017-06-15 14:03:19 +00:00
}
2017-06-16 08:17:11 +00:00
2020-03-04 10:26:27 +00:00
@ media ( max-width : 500px ) {
. subscribe-overlay button {
margin : 12px 0 0 ;
}
}
2017-06-16 08:17:11 +00:00
/ * 11 . Site Footer
/* ---------------------------------------------------------- */
. site-footer {
position : relative ;
padding-top : 20px ;
padding-bottom : 60px ;
color : # fff ;
2020-07-27 17:52:31 +00:00
background : color-mod ( var ( --darkgrey ) l ( -5 % ) ) ;
2017-06-16 08:17:11 +00:00
}
. 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 {
2017-11-20 05:38:20 +00:00
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 ;
}
2019-10-21 05:43:34 +00:00
2017-06-16 12:16:22 +00:00
. site-footer-nav a : first-child {
margin-left : 0 ;
}
2019-10-21 05:43:34 +00:00
}
/ * 12 . Dark Mode
/* ---------------------------------------------------------- */
@ media ( prefers-color-scheme : dark ) {
body {
color : rgba ( 255 , 255 , 255 , 0 . 75 ) ;
background : var ( --darkmode ) ;
}
img {
opacity : 0 . 9 ;
}
. site-header-background : before {
background : rgba ( 0 , 0 , 0 , 0 . 6 ) ;
}
. post-feed {
background : var ( --darkmode ) ;
}
. post-card ,
. post-card : hover {
2020-07-27 17:52:31 +00:00
border-bottom-color : color-mod ( var ( --darkmode ) l ( + 8 % ) ) ;
2019-10-21 05:43:34 +00:00
}
. author-profile-image {
background : var ( --darkmode ) ;
}
. post-card-byline-content a {
color : rgba ( 255 , 255 , 255 , 0 . 75 ) ;
}
. post-card-byline-content a : hover {
color : # fff ;
}
. post-card-image {
background : var ( --darkmode ) ;
}
. post-card-title {
color : rgba ( 255 , 255 , 255 , 0 . 85 ) ;
}
. post-card-excerpt {
2020-07-27 17:52:31 +00:00
color : color-mod ( var ( --midgrey ) l ( + 10 % ) ) ;
2019-10-21 05:43:34 +00:00
}
. author-avatar ,
. static-avatar {
2020-07-27 17:52:31 +00:00
border-color : color-mod ( var ( --darkgrey ) l ( + 2 % ) ) ;
2019-10-21 05:43:34 +00:00
}
. site-main ,
2019-10-30 12:43:47 +00:00
. post-template . site-main ,
. page-template . site-main {
2019-10-21 05:43:34 +00:00
background : var ( --darkmode ) ;
}
. post-full-content {
background : var ( --darkmode ) ;
}
. post-full-title {
color : rgba ( 255 , 255 , 255 , 0 . 9 ) ;
}
. post-full-custom-excerpt {
2020-07-27 17:52:31 +00:00
color : color-mod ( var ( --midgrey ) l ( + 10 % ) ) ;
2019-10-21 05:43:34 +00:00
}
. post-full-image {
2020-07-27 17:52:31 +00:00
background-color : color-mod ( var ( --darkmode ) l ( + 8 % ) ) ;
2019-10-21 05:43:34 +00:00
}
. post-full-byline {
2020-07-27 17:52:31 +00:00
border-top-color : color-mod ( var ( --darkmode ) l ( + 15 % ) ) ;
2019-10-21 05:43:34 +00:00
}
. post-full-byline-meta h4 a {
color : rgba ( 255 , 255 , 255 , 0 . 75 ) ;
}
. post-full-byline-meta h4 a : hover {
color : # fff ;
}
. author-list-item . author-card {
2020-07-27 17:52:31 +00:00
background : color-mod ( var ( --darkmode ) l ( + 4 % ) ) ;
2019-10-21 05:43:34 +00:00
box-shadow : 0 12px 26px rgba ( 0 , 0 , 0 , 0 . 4 ) ;
}
. author-list-item . author-card : before {
2020-07-27 17:52:31 +00:00
border-top-color : color-mod ( var ( --darkmode ) l ( + 4 % ) ) ;
2019-10-21 05:43:34 +00:00
}
2019-10-30 10:09:19 +00:00
. no-image . author-social-link a {
color : rgba ( 255 , 255 , 255 , 0 . 75 ) ;
}
2019-10-21 05:43:34 +00:00
. post-full-content h1 ,
. post-full-content h2 ,
. post-full-content h3 ,
. post-full-content h4 ,
. post-full-content h6 {
color : rgba ( 255 , 255 , 255 , 0 . 9 ) ;
}
. post-full-content a {
color : # fff ;
box-shadow : inset 0 -1px 0 # fff ;
}
. post-full-content strong {
color : # fff ;
}
. post-full-content em {
color : # fff ;
}
. post-full-content code {
color : # fff ;
background : # 000 ;
}
hr {
2020-07-27 17:52:31 +00:00
border-top-color : color-mod ( var ( --darkmode ) l ( + 8 % ) ) ;
2019-10-21 05:43:34 +00:00
}
. post-full-content figcaption {
color : rgba ( 255 , 255 , 255 , 0 . 6 ) ;
}
2019-10-29 15:27:40 +00:00
. post-full-content table td : first-child {
2020-07-27 17:52:31 +00:00
background-image : linear-gradient ( to right , var ( --darkmode ) 50 % , color-mod ( var ( --darkmode ) a ( 0 % ) ) 100 % ) ;
2019-10-29 15:27:40 +00:00
}
. post-full-content table td : last-child {
2020-07-27 17:52:31 +00:00
background-image : linear-gradient ( to left , var ( --darkmode ) 50 % , color-mod ( var ( --darkmode ) a ( 0 % ) ) 100 % ) ;
2019-10-29 15:27:40 +00:00
}
. post-full-content table th {
color : rgba ( 255 , 255 , 255 , 0 . 85 ) ;
2020-07-27 17:52:31 +00:00
background-color : color-mod ( var ( --darkmode ) l ( + 8 % ) ) ;
2019-10-29 15:27:40 +00:00
}
. post-full-content table th ,
. post-full-content table td {
2020-07-27 17:52:31 +00:00
border : color-mod ( var ( --darkmode ) l ( + 8 % ) ) 1px solid ;
2019-10-29 15:27:40 +00:00
}
2019-10-30 10:09:19 +00:00
. post-full-content . kg-bookmark-container ,
. post-full-content . kg-bookmark-container : hover {
color : rgba ( 255 , 255 , 255 , 0 . 75 ) ;
box-shadow : 0 0 1px rgba ( 255 , 255 , 255 , 0 . 9 ) ;
}
2019-10-21 05:43:34 +00:00
. kg-bookmark-title {
color : # fff ;
}
. kg-bookmark-description {
color : rgba ( 255 , 255 , 255 , 0 . 75 ) ;
}
. kg-bookmark-metadata {
color : rgba ( 255 , 255 , 255 , 0 . 75 ) ;
}
. site-archive-header . no-image {
color : rgba ( 255 , 255 , 255 , 0 . 9 ) ;
background : var ( --darkmode ) ;
}
. site-archive-header . no-image . site-header-content {
2020-07-27 17:52:31 +00:00
border-bottom-color : color-mod ( var ( --darkmode ) l ( + 15 % ) ) ;
2019-10-21 05:43:34 +00:00
}
. site-header-content . author-profile-image {
box-shadow : 0 0 0 6px hsla ( 0 , 0 % , 100 % , 0 . 04 ) ;
}
. subscribe-form {
border : none ;
2020-07-27 17:52:31 +00:00
background : linear-gradient ( color-mod ( var ( --darkmode ) l ( -6 % ) ) , color-mod ( var ( --darkmode ) l ( -3 % ) ) ) ;
2019-10-21 05:43:34 +00:00
}
. subscribe-form-title {
color : rgba ( 255 , 255 , 255 , 0 . 9 ) ;
}
. subscribe-form p {
color : rgba ( 255 , 255 , 255 , 0 . 7 ) ;
}
. subscribe-email {
2020-07-27 17:52:31 +00:00
border-color : color-mod ( var ( --darkmode ) l ( + 6 % ) ) ;
2019-10-21 05:43:34 +00:00
color : rgba ( 255 , 255 , 255 , 0 . 9 ) ;
2020-07-27 17:52:31 +00:00
background : color-mod ( var ( --darkmode ) l ( + 3 % ) ) ;
2019-10-21 05:43:34 +00:00
}
. subscribe-email : focus {
2020-07-27 17:52:31 +00:00
border-color : color-mod ( var ( --darkmode ) l ( + 25 % ) ) ;
2019-10-21 05:43:34 +00:00
}
. subscribe-form button {
opacity : 0 . 9 ;
}
. subscribe-form . invalid . message-error ,
. subscribe-form . error . message-error {
2020-07-27 17:52:31 +00:00
color : color-mod ( var ( --red ) l ( + 5 % ) s ( -5 % ) ) ;
2019-10-21 05:43:34 +00:00
}
. subscribe-form . success . message-success {
2020-07-27 17:52:31 +00:00
color : color-mod ( var ( --green ) l ( + 5 % ) s ( -5 % ) ) ;
2019-10-21 05:43:34 +00:00
}
}