$header-color: #2e2e2e; $text: #3a4145; $link-text: #4a4a4a; $highlighted-link-text: #111; $bg: #3a4145; $arrow-bg: rgba(255, 255, 255, .7); $white: #fff; $page-bg: #3498db; $header-link-color: #ccc; html { box-sizing: border-box; font-size: 62.5%; height: 100%; max-height: 100%; } * { &:before, &:after { box-sizing: inherit; } } body { color: $text; font-family: 'Lato', sans-serif; font-size: 1.8rem; height: 100%; letter-spacing: .01rem; line-height: 1.75em; max-height: 100%; .post-title { &:not(.post-template) { font-size: 3.6rem; } } &.page-template { .post-title { font-size: 5rem; } } } h1, h2, h3, h4, h5, h6 { color: $header-color; font-family: 'Oxygen', sans-serif; line-height: 2em; margin: 0 0 .4em; } h1 { font-size: 5rem; } h2 { font-size: 3.6rem; } h3 { font-size: 3rem; } h4 { font-size: 2.5rem; } h5 { font-size: 2rem; } h6 { font-size: 2rem; } a { color: $link-text; transition: color .3s ease; &:hover { color: $highlighted-link-text; } } $front-page-picture-header: 120vh; $front-page-bg-header: 50vh; // Big cover on the frontpage .header-bg { background: url('http://christiaangoossens.nl/bg.png'); background-position: center; background-repeat: no-repeat; background-size: cover; height: $front-page-picture-header; position: relative; width: 100%; } .header-overlay { background: linear-gradient(180deg, transparent, $page-bg 85%); height: $front-page-picture-header; left: 0; opacity: 1; position: absolute; right: 0; top: 0; } .below-header { background: $page-bg; height: $front-page-bg-header; position: relative; &:before { border-right: 130vw solid $white; border-top: 32vh solid $page-bg; bottom: 0; content: ''; position: absolute; right: 0; width: 0; } } .header-text { height: ($front-page-bg-header + $front-page-picture-header); left: 0; position: absolute; top: 0; width: 100%; z-index: 50; } .top-header { height: 15vh; left: 0; position: fixed; top: 0; width: 100%; z-index: 100; &:before { border-right: 60vw solid transparent; border-top: 15vh solid $page-bg; bottom: 0; content: ''; position: absolute; right: 50%; width: 0; } } .top-header-contents { color: $white; height: 10vh; padding: 2.5vh; position: relative; width: 100%; z-index: 110; h3 { color: $white; font-family: 'Catamaran', sans-serif; font-size: 1.8em; font-weight: 800; line-height: 1em; margin: 0; } h6 { a { color: $header-link-color; text-decoration: none; &:hover { color: $white; } } font-family: 'Catamaran', sans-serif; font-size: .8em; } } .homepage-top-header { display: none; } .top-header-animate { display: none; } .main-header { background: $bg no-repeat center center; background-size: cover; display: table; height: 100vh; margin-bottom: 5rem; overflow: hidden; position: relative; text-align: center; width: 100%; .inner { width: 80%; } } $post-bg: $white; $post-border: #ebf2f6; $post-after-border: #e7eef2; $post-meta: #9eabb3; $post-meta-link: #9eabb3; // This class is applied to all posts .post { border-bottom: $post-border 1px solid; margin: 4rem auto; max-width: 710px; padding-bottom: 4rem; position: relative; width: 80%; word-wrap: break-word; } .post-title { a { text-decoration: none; } } .post-excerpt { p { font-size: .9em; line-height: 1.7em; margin: 0; } } .read-more { text-decoration: none; } .post-meta { color: $post-meta; display: block; font-family: 'Lato', sans-serif; font-size: 1.5rem; line-height: 2.2rem; margin: 1.75rem 0; word-spacing: .2rem; a { color: $post-meta-link; text-decoration: none; &:hover { text-decoration: underline; } } } $post-date-border: #d5dbde; .post-date { border-left: $post-date-border 1px solid; display: inline-block; font-size: 1.3rem; margin-left: 8px; padding-left: 12px; text-transform: uppercase; white-space: nowrap; } .author-thumb { border-radius: 100%; float: left; height: 24px; margin-right: 9px; width: 24px; } .user-meta { min-height: 77px; padding: .3rem 40px 0 100px; position: relative; } .user-image { left: 0; position: absolute; top: 0; } .user-name { display: block; font-weight: 700; } .user-bio { display: block; font-size: 1.4rem; line-height: 1.5rem; max-width: 440px; } .publish-meta { padding: 4.3rem 0 4rem; position: absolute; right: 0; text-align: right; top: 0; } .publish-heading { display: block; font-weight: 700; } .publish-date { display: block; font-size: 1.4rem; line-height: 1.5rem; }