@import "ext/fonts"; @import "ext/normalize"; @import "syntax"; $linkColor: #0a59b0; $mobileW: 768px; $smallMobileW: 480px; $bigScreenW: 1600px; $leftWidth: 220px; *, *:before, *:after { box-sizing: border-box; } body { font-family: "Raleway", sans-serif; font-size: 16px; line-height: 1.2em; margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } img, embed, object, video { max-width: 100%; } a { color: #000; transition: color 0.3s; &:hover { color: $linkColor; } } h2 { margin: 0.7em 0; } main { margin: 0 90px; display: flex; height: 100%; @media screen and (min-width: $bigScreenW) { margin: 0 auto; max-width: 1440px; } @media screen and (max-width: 1280px) { margin: 0 75px; } @media screen and (max-width: 1024px) { margin: 0 35px; } @media screen and (max-width: $mobileW) { margin: 0 10px; flex-direction: column; } @media screen and (max-width: $smallMobileW) { margin: 0; } .content { @media screen and (min-width: $mobileW + 1) { max-width: calc(100% - #{$leftWidth}); margin-left: $leftWidth; width: 100%; } } .about { display: flex; height: 100vh; padding-bottom: 15vh; @media screen and (max-width: $mobileW) { height: auto; padding: 10vh 0; } @media screen and (min-width: $mobileW + 1) { position: fixed; max-width: 285px; } min-width: $leftWidth; justify-content: center; flex-direction: column; align-items: center; h2 { font-size: 22px; margin-top: 25px; margin-bottom: 0; color: #222222; font-weight: normal; } .tagline { font-size: 22px; margin-top: 17px; color: #aaa; white-space: pre-wrap; line-height: normal; } img { max-width: 150px; } } } #title { a { text-decoration: none; } } .social { list-style-type: none; padding: 0; margin-top: 0; display: flex; flex-wrap: wrap; justify-content: center; a { margin-bottom: .5em; } li { i { font-size: 34px; } } } .navigation { width: 80%; ul { list-style-type: none; padding: 0; margin-top: 0; li:last-child { a { border-bottom: 0; } } a { display: block; font-family: 'Merriweather'; text-align: center; padding: 1rem 0; text-decoration: none; border-bottom: 1px solid #ececec; @media screen and (max-width: $mobileW) { padding: 2rem 0; } } } } .post-wrapper { border-bottom: 1px solid #ececec; margin-bottom: 1rem; padding-bottom: 1rem; } .post-categories { list-style-type: none; margin: 0; padding: 0; li { font-size: 14px; float: left; background-color: #e3e3e3; padding: 5px 20px; border-radius: 2px; @media screen and (max-width: $mobileW) { margin-top: 5px; } margin-right: 10px; } } .post-date { margin-right: 10px; color: #555; min-width: 150px; } .post-meta { display: flex; justify-content: space-between; align-items: center; min-height: 30px; @media screen and (max-width: $mobileW) { flex-direction: column; align-items: baseline; .post-date { margin: 10px 0; } } } .post-link { text-decoration: none; } .post-title { line-height: 1.2em; font-size: 28px; margin-bottom: 10px; } .posts, .post-container { list-style-type: none; margin: 45px 30px; @media screen and (max-width: $smallMobileW) { margin-left: 20px; margin-right: 20px; } @media screen and (max-width: $mobileW) { padding: 0 !important; margin-top: 0; } } .post-container { padding-left: 30px; } .post { font-family: "Merriweather", sans-serif; font-weight: 300; color: #222; line-height: 1.9em; p { margin-top: 10px; } a { color: $linkColor; text-decoration: none; transition: border-bottom 0.4s; &:hover { border-bottom: 0.5px solid $linkColor; } } h1, h2, h3, h4, h5, h6 { font-family: Raleway, sans-serif; } } #posts-label { border-bottom: 1px solid #eee; font-size: 15px; color: #777; text-transform: uppercase; letter-spacing: 0.5px; padding-bottom: 10px; font-weight: normal; }