$header-color: #2e2e2e; $text: #3a4145; $link-text: #4a4a4a; $highlighted-link-text: #111; $bg: #3a4145; $arrow-bg: rgba(255, 255, 255, .7); $white: #fff; html { font-size: 62.5%; height: 100%; max-height: 100%; } 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; } } // Big cover on the frontpage .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%; } } // Bouncing arrow .scroll-down { animation: bounce 4s 2s infinite; bottom: 45px; color: $arrow-bg; display: block; font-size: 34px; height: 34px; left: 50%; margin-left: -16px; position: absolute; text-align: center; text-decoration: none; transform: rotate(-90deg); width: 34px; z-index: 100; // Stop the bouncing while hovered &:hover { animation: none; color: $white; } } $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; }