weflock/assets/css/screen.css

1367 lines
25 KiB
CSS
Raw Normal View History

2017-05-15 16:03:47 -04:00
/* Components - Groups of Patterns
/* ---------------------------------------------------------- */
@import "components/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%;
border-radius: 100%;
background-position: center center;
background-size: cover;
}
2013-08-10 12:42:21 -04:00
2017-05-15 16:03:47 -04:00
.hidden {
position: absolute;
text-indent: -9999px;
visibility: hidden;
}
2013-08-10 12:42:21 -04:00
2013-09-01 15:45:19 -04:00
2017-05-15 16:03:47 -04:00
/* Layout - Groups of Patterns
/* ---------------------------------------------------------- */
2013-09-01 15:45:19 -04:00
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 {
margin: 0 auto;
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-05-31 14:09:50 -04:00
/* 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 {
2017-05-15 16:03:47 -04:00
margin-top: -100px;
}
.home-template .site-nav {
position: relative;
top: -70px;
z-index: 300;
}
2013-08-10 12:42:21 -04:00
}
2017-05-15 16:03:47 -04:00
/* Site Header
/* ---------------------------------------------------------- */
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 {
display: block;
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 10;
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 {
display: block;
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-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 {
position: relative;
z-index: 100;
display: flex;
flex-direction: column;
justify-content: center;
2017-06-13 08:48:06 -04:00
align-items: center;
2017-05-15 16:03:47 -04:00
padding: 10vw 0;
min-height: 200px;
max-height: 450px;
text-align: center;
}
2017-05-15 16:03:47 -04:00
.site-title {
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 {
margin: 0;
padding: 5px 0;
font-size: 2.2rem;
font-weight: 300;
letter-spacing: 0.5px;
opacity: 0.8;
}
2017-05-15 16:03:47 -04:00
/* Site Navigation
/* ---------------------------------------------------------- */
2014-07-12 13:56:26 -04:00
2017-05-15 16:03:47 -04:00
.site-nav {
position: relative;
z-index: 100;
display: flex;
align-items: flex-start;
justify-content: space-between;
height: 40px;
font-size: 1.3rem;
overflow-y: hidden;
}
2017-05-15 16:03:47 -04:00
.site-nav-left {
display: flex;
align-items: center;
margin-right: 10px;
padding-bottom: 80px;
white-space: nowrap;
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
-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;
2017-06-12 05:01:00 -04:00
font-size: 1.7rem;
font-weight: bold;
color: #fff;
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;
height: 21px;
width: auto;
2013-10-31 14:09:15 -04:00
}
2017-05-15 16:03:47 -04:00
.nav-menu ul {
display: flex;
margin: 0 0 0 -12px;
padding: 0;
list-style: none;
2014-09-25 09:41:04 -04:00
}
2017-05-15 16:03:47 -04:00
.nav-item {
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
}
2017-05-15 16:03:47 -04:00
.nav-item a {
display: block;
margin: 0;
padding: 10px 12px;
color: #fff;
opacity: 0.8;
}
2017-05-15 16:03:47 -04:00
.nav-item a:hover {
opacity: 1;
text-decoration: none;
}
2017-05-15 16:03:47 -04:00
.site-nav-right {
display: flex;
align-items: center;
flex-shrink: 0;
2017-05-31 14:09:50 -04:00
height: 40px;
}
2017-05-15 16:03:47 -04:00
.social-links {
display: flex;
align-items: center;
flex-shrink: 0;
}
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;
align-items: center;
justify-content: center;
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 {
height: 2.1rem;
margin-bottom: 1px;
fill: #fff;
}
2017-05-15 16:03:47 -04:00
/* Site Navigation
/* ---------------------------------------------------------- */
.post-feed {
position: relative;
z-index: 200;
display: flex;
flex-wrap: wrap;
margin: 0 -15px;
padding: 30px 0 0 0;
}
2017-05-15 16:03:47 -04:00
.post-card {
flex: 1 1 300px;
2017-05-31 14:09:50 -04:00
order: unset;
2017-05-16 05:26:08 -04:00
display: flex;
flex-direction: column;
2017-06-08 03:19:22 -04:00
min-height: 300px;
2017-06-05 07:19:29 -04:00
margin: 0 20px 40px;
2017-05-15 16:03:47 -04:00
background: #fff center center;
background-size: cover;
box-shadow: rgba(39,44,49,0.06) 8px 14px 38px, rgba(39, 44, 49, 0.03) 1px 3px 8px;
border-radius: 5px;
overflow: hidden;
transition: all 0.5s ease;
}
2017-05-15 16:03:47 -04:00
.post-card:hover {
box-shadow: 0 0 1px rgba(39,44,49,0.10), 0 3px 16px rgba(39, 44, 49,0.07);
transform: translate3D(0, -1px, 0);
transition: all 0.3s ease;
}
2017-05-15 16:03:47 -04:00
.post-card-image-link {
position: relative;
}
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;
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);
text-transform: uppercase;
font-size: 1.2rem;
line-height: 1.15em;
letter-spacing: 0.5px;
font-weight: 500;
}
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 {
padding: 0 25px 25px;
}
2017-05-16 05:26:08 -04:00
.author-profile-image {
height: 25px;
width: 25px;
margin-right: 5px;
border-radius: 100%;
}
.post-card-author {
text-transform: uppercase;
font-size: 1.3rem;
letter-spacing: 0.5px;
font-weight: 500;
}
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-05-31 14:09:50 -04:00
.home-template .post-feed .post-card:nth-child(6n+1) {
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-05-31 14:09:50 -04:00
.home-template .post-feed .post-card:nth-child(6n+1) .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;
}
2013-08-28 12:41:32 -04:00
2017-05-31 14:09:50 -04:00
.home-template .post-feed .post-card:nth-child(6n+1) .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-05-31 14:09:50 -04:00
.home-template .post-feed .post-card:nth-child(6n+1) .post-card-content {
2017-05-15 16:03:47 -04:00
flex: 0 1 357px;
}
2015-02-27 09:48:15 -05:00
2017-05-31 14:09:50 -04:00
.home-template .post-feed .post-card:nth-child(6n+1) h2 {
2017-05-15 16:03:47 -04:00
font-size: 2.6rem;
}
2017-05-31 14:09:50 -04:00
.home-template .post-feed .post-card:nth-child(6n+1) 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-05-31 14:09:50 -04:00
.home-template .post-feed .post-card:nth-child(6n+1) .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-05-31 14:09:50 -04:00
.home-template .post-feed .post-card:nth-child(6n+1) .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-05-15 16:03:47 -04:00
/* Single Post
/* ---------------------------------------------------------- */
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 {
2017-05-31 14:09:50 -04:00
max-width: 1040px;
2017-05-15 16:03:47 -04:00
margin: 0 auto;
2017-06-13 13:51:08 -04:00
padding: 6vw 3vw 3vw;
2017-05-15 16:03:47 -04:00
text-align: center;
2015-02-27 09:48:15 -05:00
}
2017-05-15 16:03:47 -04:00
.post-full-meta {
display: flex;
align-items: center;
justify-content: center;
2015-02-28 07:34:58 -05:00
text-transform: uppercase;
2017-05-15 16:03:47 -04:00
font-weight: 600;
font-size: 1.4rem;
color: var(--midgrey)
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 {
height: 800px;
2017-06-13 08:48:06 -04:00
margin: 0 -10vw -165px;
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 {
height: 600px;
2017-06-13 08:48:06 -04:00
margin: 0 -4vw -100px;
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;
min-height: 230px;
padding: 70px 100px 0;
margin: 0 auto;
font-size: 2.2rem;
2017-05-31 14:09:50 -04:00
line-height: 1.6em;
2017-05-15 16:03:47 -04:00
font-family: Georgia, serif;
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 {
2015-02-28 07:34:58 -05:00
display: block;
2017-05-15 16:03:47 -04:00
content: "";
width: 20px;
height: 200px;
transform: rotate(-5deg);
position: absolute;
top: 15px;
left: -5px;
z-index: -1;
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);
2015-02-27 09:48:15 -05:00
}
2017-05-15 16:03:47 -04:00
.post-full-content:after {
2015-02-27 09:48:15 -05:00
display: block;
2017-05-15 16:03:47 -04:00
content: "";
width: 20px;
height: 200px;
transform: rotate(5deg);
position: absolute;
top: 15px;
right: -5px;
z-index: -1;
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);
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-05-31 14:09:50 -04:00
.kg-card-markdown {
display: flex;
flex-direction: column;
align-items: center;
max-width: 920px;
}
2017-06-08 03:19:22 -04:00
.post-full-content p,
.post-full-content ul,
.post-full-content ol,
.post-full-content dl,
.post-full-content pre,
.post-full-content h1,
.post-full-content h2,
.post-full-content h3,
.post-full-content h4,
.post-full-content h5,
.post-full-content h6 {
2017-05-31 14:09:50 -04:00
min-width: 100%;
}
2017-06-05 07:19:29 -04:00
.post-template .kg-card-markdown > p:first-child {
font-size: 1.25em;
line-height: 1.5em;
2017-05-16 05:26:08 -04:00
}
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%));
}
2017-05-31 14:09:50 -04:00
.post-full-content img {
width: 100vw;
max-width: 1040px;
2017-06-05 07:19:29 -04:00
margin: 1.5em 0;
2017-05-31 14:09:50 -04:00
}
/*
If an image url has #full on the end, give it special wide styles.
Super neat trick courtesy of @JoelDrapper
*/
.post-full-content img[src$="#full"] {
max-width: 100vw;
}
2017-05-15 16:03:47 -04:00
.post-full-content blockquote {
2017-05-31 14:09:50 -04:00
margin: 0 0 1.5em 0;
2017-06-05 07:19:29 -04:00
padding: 1.5em 0;
2017-05-15 16:03:47 -04:00
border: 0;
text-align: center;
font-size: 3rem;
2017-05-31 14:09:50 -04:00
line-height: 1.6em;
2017-05-15 16:03:47 -04:00
color: var(--blue);
2015-02-27 09:48:15 -05:00
}
2017-05-31 14:09:50 -04:00
.post-full-content blockquote:before {
content: open-quote;
}
.post-full-content blockquote p {
margin: 0;
}
2017-05-15 16:03:47 -04:00
@media (min-width: 1000px) {
.post-full-content blockquote {
2017-05-31 14:09:50 -04:00
width: 100vw;
max-width: 1060px;
2017-05-15 16:03:47 -04:00
}
2015-02-27 09:48:15 -05:00
}
2017-06-05 07:19:29 -04:00
.post-full-content blockquote + blockquote {
padding-top: 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 {
margin: 1.5em 0 3em;
padding: 20px;
border: color(var(--darkgrey) l(-10%)) 1px solid;
font-size: 1.4rem;
line-height: 1.5em;
color: var(--whitegrey);
background: color(var(--darkgrey) l(-3%));
border-radius: 5px;
overflow-x: auto;
max-width: 100%;
}
.post-full-content pre code {
padding: 0;
font-size: inherit;
line-height: inherit;
background: transparent;
}
2017-06-05 07:19:29 -04:00
.post-full-content .fluid-width-video-wrapper {
margin: 1.5em 0 3em;
}
2017-06-08 03:19:22 -04:00
.post-full-content hr:after {
display: block;
content: "";
position: absolute;
top: -15px;
left: 50%;
margin-left: -10px;
height: 30px;
width: 1px;
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 {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
color: color(var(--darkgrey) l(-5%));
}
.post-full-content h1 {
font-size: 5rem;
}
@media (max-width: 500px) {
.post-full-content h1 {
font-size: 2.2rem;
}
}
.post-full-content h2 {
font-size: 3.5rem;
}
@media (max-width: 500px) {
.post-full-content h2 {
font-size: 2.9rem;
}
}
.post-full-content h3 {
font-size: 2.5rem;
}
@media (max-width: 500px) {
.post-full-content h3 {
font-size: 2rem;
}
}
.post-full-content h4 {
font-size: 1.6rem;
}
.post-full-content h5 {
font-size: 1.4rem;
}
.post-full-content h6 {
font-size: 1.4rem;
}
2017-05-15 16:03:47 -04:00
/* Subscribe Form
/* ---------------------------------------------------------- */
.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-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;
color: var(--darkgrey)
}
2017-05-15 16:03:47 -04:00
.subscribe-form p {
2017-06-08 03:19:22 -04:00
margin-bottom: 1em;
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;
color: var(--midgrey);
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;
max-width: 420px;
margin: 0 auto;
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;
padding: 10px;
width: 100%;
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;
outline: none;
margin: 0 0 0 10px;
padding: 0 20px;
height: 41px;
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
color: #fff;
text-shadow: 0 -1px 0 rgba(0,0,0,0.1);
text-align: center;
border-radius: 5px;
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%))
);
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%));
}
2014-07-11 06:22:28 -04:00
2017-06-05 07:19:29 -04:00
/* Post Footer
/* ---------------------------------------------------------- */
.post-full-footer {
display: flex;
justify-content: space-between;
max-width: 840px;
margin: 0 auto;
padding: 3vw 0 6vw 0;
}
.author-card {
display: flex;
align-items: center;
}
.author-card-image {
height: 60px;
width: 60px;
margin-right: 10px;
}
.author-card-content h4 {
margin: 0;
padding: 0;
font-size: 2rem;
}
.author-card-content h4 a {
color: var(--darkgrey);
font-weight: 700;
}
.author-card-content h4 a:hover {
text-decoration: none;
}
.author-card-content p {
margin: 0;
color: var(--midgrey);
}
/* Comments
/* ---------------------------------------------------------- */
.post-full-comments {
max-width: 840px;
margin: 0 auto;
}
2017-05-15 16:03:47 -04:00
/* Related posts
/* ---------------------------------------------------------- */
.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-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;
box-shadow: rgba(39,44,49,0.06) 8px 14px 38px, rgba(39, 44, 49, 0.03) 1px 3px 8px;
border-radius: 5px;
overflow: hidden;
}
2017-05-15 16:03:47 -04:00
.read-next-card:before {
content: "";
2017-05-15 16:03:47 -04:00
display: block;
position: absolute;
2017-05-15 16:03:47 -04:00
top: 0;
right: 0;
bottom: 0;
left: 0;
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;
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 {
2017-06-13 13:51:08 -04:00
padding: 0 20px;
2017-05-15 16:03:47 -04:00
margin: 0;
font-size: 3rem;
line-height: 1.2em;
letter-spacing: 1px;
2017-06-08 03:19:22 -04:00
color: #fff;
}
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-06-12 05:01:00 -04: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
fill: transparent;
}
2017-05-15 16:03:47 -04:00
.read-next-card-content {
2017-05-31 14:09:50 -04:00
flex-grow: 1;
display: flex;
2017-05-15 16:03:47 -04:00
position: relative;
z-index: 50;
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;
list-style: none;
text-align: center;
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-06-13 13:51:08 -04:00
letter-spacing: -0.5px;
2017-05-15 16:03:47 -04:00
font-weight: 200;
}
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-05-15 16:03:47 -04:00
vertical-align: top;
2017-06-13 13:51:08 -04:00
font-weight: 500;
2017-06-12 05:01:00 -04:00
color: #fff;
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-05-15 16:03:47 -04:00
/* Site Footer
/* ---------------------------------------------------------- */
2017-05-15 16:03:47 -04:00
.site-footer {
position: relative;
2017-05-15 16:03:47 -04:00
padding-top: 20px;
padding-bottom: 60px;
color: #fff;
background: color(var(--darkgrey) l(-15%));
}
2017-05-15 16:03:47 -04:00
.site-footer-content {
display: flex;
justify-content: space-between;
align-items: center;
color: rgba(255,255,255,0.7);
font-size: 1.3rem;
}
2017-05-15 16:03:47 -04:00
.site-footer-content a {
color: rgba(255,255,255,0.7);;
}
2017-05-15 16:03:47 -04:00
.site-footer-content a:hover {
color: rgba(255,255,255,1);
text-decoration: none;
}
2017-05-15 16:03:47 -04:00
.site-footer-nav {
display: flex;
}
2017-05-15 16:03:47 -04:00
.site-footer-nav a {
position: relative;
margin-left: 20px;
}
2017-05-15 16:03:47 -04:00
.site-footer-nav a:before {
content: "";
display: block;
2017-05-15 16:03:47 -04:00
height: 2px;
width: 2px;
position: absolute;
top: 11px;
left: -11px;
border-radius: 100%;
background: #fff;
}
2017-05-15 16:03:47 -04:00
.site-footer-nav a:first-of-type:before {
display: none;
}
2014-07-21 14:37:05 -04:00
2017-05-15 16:03:47 -04:00
/* ==========================================================================
Floating Header
========================================================================== */
.floating-header {
visibility: hidden;
display: flex;
align-items: center;
position: fixed;
height: 48px;
border-bottom: rgba(0,0,0,0.06) 1px solid;
z-index: 1000;
top: 0;
left: 0;
right: 0;
background: rgba(255,255,255,0.95);
transform: translate3d(0, -120%, 0);
transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
2014-07-21 14:37:05 -04:00
}
2017-05-15 16:03:47 -04:00
.floating-active {
visibility: visible;
transform: translate3d(0, 0, 0);
transition: all 500ms cubic-bezier(0.22, 1, 0.27, 1);
2014-01-31 02:35:24 -05:00
}
2017-05-15 16:03:47 -04:00
.floating-header-logo {
margin: 0 0 0 15px;
font-size: 1.5rem;
line-height: 1.3em;
2017-06-12 05:01:00 -04:00
letter-spacing: -0.5px;
2017-05-15 16:03:47 -04:00
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
2017-05-15 16:03:47 -04:00
.floating-header-logo a {
display: flex;
align-items: center;
color: var(--darkgrey);
font-weight: 700;
line-height: 1em;
}
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 {
max-height: 20px;
margin-right: 10px;
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;
2015-03-23 06:21:28 -04:00
margin: 0;
2017-05-15 16:03:47 -04:00
font-weight: bold;
font-size: 1.5rem;
2017-06-05 07:19:29 -04:00
line-height: 1.3em;
2017-05-15 16:03:47 -04:00
color: #2e2e2e;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
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;
align-items: center;
justify-content: center;
}
2017-05-15 16:03:47 -04:00
.floating-header-share svg {
fill: #fff;
height: 16px;
width: auto;
}
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 {
width: 18px;
height: 18px;
margin: 0 5px 0 10px;
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;
width: 48px;
height: 48px;
line-height: 45px;
align-items: center;
text-align: center;
color: #fff;
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-05-15 16:03:47 -04:00
@media (max-width: 900px) {
.floating-header { height: 40px; }
.floating-header-share-tw,
.floating-header-share-fb {
height: 40px;
width: 40px;
line-height: 38px;
}
}
2017-05-15 16:03:47 -04:00
@media (max-width: 800px) {
.floating-header-logo { margin-left: 10px; }
.floating-header-logo a { color: #2e2e2e; }
.floating-header-title,
.floating-header-divider { visibility: hidden; }
}
2017-05-15 16:03:47 -04:00
@media (max-width: 450px) {
.floating-header-share-label { display: none; }
2014-07-22 07:21:33 -04:00
}
2017-06-13 08:48:06 -04:00
/* ==========================================================================
Author Template / author.hbs
========================================================================== */
.site-header-content .author-profile-image {
flex-shrink: 0;
width: 100px;
height: 100px;
margin: 0 0 20px 0;
box-shadow: rgba(255,255,255,0.1) 0 0 0 6px;
}
.site-header-content .author-bio {
flex-shrink: 0;
max-width: 600px;
margin: 5px 0 10px 0;
font-size: 2rem;
line-height: 1.3em;
font-weight: 300;
letter-spacing: 0.5px;
opacity: 0.8;
}
.site-header-content .author-meta {
flex-shrink: 0;
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;
}
/* ==========================================================================
Error Template / error.hbs
========================================================================== */
.error-template .site-main {
padding: 7vw 4vw;
}
.site-nav-center {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.site-nav-center .site-nav-logo {
margin-right: 0;
}
.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;
font-size: 3rem;
line-height: 1.3em;
font-weight: 400;
color: var(--midgrey);
}
@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;
}