/* ========================================================================== Main ========================================================================== */ .sidebar { display: flex; flex-direction: column; justify-content: space-between; position: fixed; top: 0; left: 0; bottom: 0; width: 240px; height: 100%; padding: 20px 10px; background-color: $primary-bg-color; } .sidebar-info { margin: 0 0 40px; text-align: center; .sidebar-image { width: 100px; height: 150px; margin: 0 auto 10px; overflow: hidden; } .sidebar-title { font-family: 'PT Serif', serif; margin: 0 0 10px; position: relative; padding-bottom: 15px; font-size: 16px; text-transform: uppercase; color: $primary-text-color; font-weight: 700; } p { font-size: 16px; margin: 0 0 10px; } } .content-box { padding: 20px 20px 20px 260px; flex-direction: row; flex-wrap: wrap; align-items: stretch; } .content-header { padding: 20px 20px 20px 260px; flex-direction: row; flex-wrap: wrap; align-items: stretch; } .social { ul { margin: 0; padding: 0; list-style: none; text-align: center; li { display: inline-block; margin-left: 10px; &:first-child { margin-left: 0; } a { color: $primary-text-color; display: block; padding: 5px; font-size: 25px; transition: all 350ms cubic-bezier(0.13, 0.43, 0.54, 1.82); &:hover { color: $contact-hover-color; transform: scale(1.2); } } } } } footer { .copyright { font-size: 14px; text-align: center; margin: 0; } } .post { width: 100%; max-width: 100%; margin-bottom: 1.5rem; display: flex; flex-direction: row; align-items: stretch; min-height: 11rem; border-radius: 10px; overflow: hidden; transition: all 0.3s ease; box-shadow: 0 1px 1px 0 rgba(31, 35, 46, .15); &:hover { transform: translate(0px, -2px); box-shadow: 0 15px 45px -10px rgba(10, 16, 34, .2); } .post-thumbnail { width: 30%; max-width: 100%; min-height: 11rem; background-size: cover; background-position: 50% 50%; } .post-content { padding: 1rem; width: 70%; .post-date, .post-words { font-size: 12px; } .post-title { margin: 0 0 10px; font-size: 30px; font-weight: 400; a { font-family: 'PT Serif', serif; text-decoration: none; color: $primary-text-color; } } p { margin-top: 0; } } } a.newer-posts, a.older-posts { font-size: 18px; display: inline-block; color: $primary-text-color; transition: transform 0.2s; } a.older-posts:hover { transform: translateX(5px); } a.newer-posts:hover { transform: translateX(-5px); }