/*-------------------------------------------------------------- # VARIABLES --------------------------------------------------------------*/ $text-color: #50556c; $light-text-color: #8d95a6; $primary-color: #6f76d9; $secondary-color: #ff6492; $container-width: 1260px; /*-------------------------------------------------------------- # BODY --------------------------------------------------------------*/ body { background: #ffffff; font-family: "Barlow", sans-serif; font-weight: 400; line-height: 1.618; color: $text-color; word-wrap: break-word; letter-spacing: 0.01em; font-size: 18px; line-height: 32px; } h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: "Barlow", sans-serif; font-weight: 600; line-height: 1.25; color: $text-color; } a, button, input { transition: all 0.3s ease; } a { color: $primary-color; &:hover, &:focus, &:active { color: $secondary-color; text-decoration: none; } &:focus { outline: #c2c2c2 dotted 1px; } &:hover, &:active { outline: 0; } } .container { max-width: $container-width; } /*-------------------------------------------------------------- # HEADER --------------------------------------------------------------*/ .site-header { padding: 25px 0; background: rgba(#fff, 0.98); &.sticky-top { border-bottom: 1px solid #f2f3f4; } } .admin-bar .site-header.sticky-top { top: 32px; } .site-branding { font-size: 16px; display: flex; align-items: center; justify-content: space-between; .h1 { font-size: 32px; margin-bottom: 5px; } .site-description { margin-bottom: 0; line-height: 18px; color: $light-text-color; } } .main-navigation { li { text-align: left; a { padding: 5px 15px; font-size: 15px; color: $text-color; font-weight: 600; -webkit-font-smoothing: antialiased; &:hover { color: $primary-color; } } &:last-child { a { padding-right: 0; } } ul { line-height: 22px; } } .current_page_item > a { color: $primary-color; } } .page-header { padding-bottom: 50px; p { color: $light-text-color; } } .slicknav_menu { display: none; } .slicknav_menu { background: #fff; } .slicknav_btn { background: #f5f6f7; float: none; display: inline-block; padding: 0.5rem 1rem; } .slicknav_menu .slicknav_menutxt { color: $text-color; text-shadow: none; } .slicknav_menu .slicknav_icon-bar { background-color: $text-color; box-shadow: none; } .slicknav_nav { font-weight: 600; font-size: 15px; text-align: left; position: absolute; left: 0; background: #f5f6f7; width: 100%; z-index: 2; box-shadow: 2px 4px 6px rgba(20, 20, 20, 0.1); a { color: $text-color; } } /*-------------------------------------------------------------- # COVER SECTION --------------------------------------------------------------*/ .cover-section-wrap { min-height: 500px; margin-top: 35px; background: #f5f6f7; background-size: cover; text-align: center; border-radius: 6px; .cover-section { display: flex; align-items: center; min-height: 500px; border-radius: 6px; } .cover-content-wrap { width: 100%; padding: 0 90px; height: 100%; } .cover-desc { color: $light-text-color; font-size: 20px; line-height: 32px; } &.cover-section-bg-img { .cover-section { background: rgba(25, 25, 25, 0.5); } h2, .cover-desc { color: #fff; } } } /*-------------------------------------------------------------- # CONTENT --------------------------------------------------------------*/ .content-area { padding-top: 50px; } .post, .page { margin-bottom: 60px; .entry-title { a { color: $text-color; font-size: 32px; &:hover { color: $primary-color; } } } .post-thumbnail { margin-top: 15px; display: inline-block; img { border-radius: 4px; } } .entry-meta, .entry-footer { font-size: 15px; font-style: italic; color: $light-text-color; .cat-links, .tags-links, .comments-link { margin-right: 15px; } } .entry-content { p { margin-bottom: 30px; } } } .single .post .post-thumbnail { margin-top: 25px; } body.page { margin-bottom: 0; } body.single .post { margin-bottom: 50px; } .bg-show-error { font-size: 98px; line-height: 100px; color: $primary-color; font-weight: 600; text-align: center; padding-bottom: 5px; } .error-404.not-found { min-height: 65vh; display: flex; align-items: center; text-align: center; & > div { width: 100%; } } .error404 .content-area { padding-top: 20px; .searchform { max-width: 400px; margin: auto; } } .post .entry-content blockquote, .page .entry-content blockquote { font-size: 18px; padding: 10px 30px; font-style: italic; border-left: 4px solid $primary-color; p { margin-bottom: 0; } cite { font-size: 16px; &::before { content: "\2014"; margin-right: 5px; } } } .post .entry-content blockquote[style*="text-align:right"], .post .entry-content blockquote[style*="text-align: right"], .page .entry-content blockquote[style*="text-align:right"], .page .entry-content blockquote[style*="text-align: right"] { border-right: 4px solid $primary-color; border-left: 0; } cite, .wp-block-pullquote cite { color: $light-text-color; } .post .entry-content .wp-block-pullquote, .page .entry-content .wp-block-pullquote { border-top: 3px solid $primary-color; border-bottom: 3px solid $primary-color; padding: 15px 0; margin-top: 12px; blockquote { border-left-width: 0; padding: 15px 10px; p { font-size: 20px; } } } .post .entry-content .wp-block-pullquote.is-style-solid-color, .page .entry-content .wp-block-pullquote.is-style-solid-color { border-width: 0; background: #f5f6f7; blockquote { max-width: 80%; } &.has-white-background-color { background-color: #fff; } &.has-light-purple-background-color { background-color: $primary-color; } &.has-light-pink-background-color { background-color: $secondary-color; } &.has-light-black-background-color { background-color: $text-color; } } ul, ol { margin-left: 1rem; li { margin-bottom: 10px; } } .has-small-font-size, .has-medium-font-size, .has-large-font-size, .has-huge-font-size { line-height: 1.25; } .entry-content { h1 { margin-top: 50px; } h2 { margin-top: 40px; } h3 { margin-top: 30px; } h4 { margin-top: 20px; } h5, h6 { margin-top: 15px; } } .aligncenter { twitter-widget { margin: auto; } } .entry-content figcaption { line-height: 1.168; margin-bottom: 30px; } .wp-caption .wp-caption-text { font-size: 14px; color: $light-text-color; margin-top: 10px; } .site-content .container { background: #fff; } .wp-block-gallery .blocks-gallery-image figcaption, .wp-block-gallery .blocks-gallery-item figcaption { margin-bottom: 0; } /*-------------------------------------------------------------- # BUTTONS, INPUTS & COLORS --------------------------------------------------------------*/ button, input[type="button"], input[type="reset"], input[type="submit"] { border-color: $primary-color; background-color: $primary-color; transition: all 0.3s ease; color: #fff; padding: 10px 25px; font-size: 16px; &:hover, &:active, &:focus { background-color: $secondary-color; border-color: $secondary-color; } } .btn-primary { border-color: $primary-color; background-color: $primary-color; transition: all 0.3s ease; padding: 10px 20px; &:hover, &:active, &:focus { background-color: $secondary-color; border-color: $secondary-color; } &.cont-btn { padding: 5px 14px; } } .wp-block-button__link { background-color: $text-color; color: #fff; } .has-white-color { color: #fff; cite { color: #fff; } } .has-light-purple-color { color: $primary-color; cite { color: $primary-color; } } .has-light-pink-color { color: $secondary-color; cite { color: $secondary-color; } } .has-light-black-color { color: $text-color; cite { color: $text-color; } } .has-white-background-color { background-color: #fff; } .has-light-purple-background-color { background-color: $primary-color; } .has-light-pink-background-color { background-color: $secondary-color; } .has-light-black-background-color { background-color: $text-color; } .wp-block-button.is-style-outline { .wp-block-button__link { background-color: #fff; color: $text-color; border-color: $text-color; } .has-light-purple-color { color: $primary-color; border-color: $primary-color; } .has-light-pink-color { color: $secondary-color; border-color: $secondary-color; } .has-light-black-color { color: $text-color; border-color: $text-color; } .has-white-background-color { background-color: #fff; } .has-light-purple-background-color { background-color: $primary-color; } .has-light-pink-background-color { background-color: $secondary-color; } .has-light-black-background-color { background-color: $text-color; } } .form-control { height: 50px; } .form-control.s, .searchform { max-width: 400px; } .navigation.pagination { text-align: center; .nav-links { width: 100%; } .page-numbers { width: 40px; height: 40px; display: inline-block; line-height: 40px; &.next, &.prev { width: 60px; } &.current { background: #f5f6f7; border-radius: 4px; } } } input[type="submit"] { border-color: $primary-color; background-color: $primary-color; padding: 0.5rem 1.25rem; color: #fff; font-size: 18px; line-height: 1.5; border-radius: 4px; display: inline-block; font-weight: 400; text-align: center; white-space: nowrap; vertical-align: middle; user-select: none; cursor: pointer; transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; letter-spacing: 0.75px; transition: all .4s ease; &:hover, &:active, &:focus { color: $primary-color; background-color: #fff; border-color: $primary-color; } } input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea { display: block; padding: 0.375rem 0.75rem; font-size: 18px; line-height: 1.5; color: $text-color; background-color: #fff; background-clip: padding-box; border: 1px solid #dfdfdf; border-radius: 4px; transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; &:focus { color: $text-color; background-color: #fff; border-color: $primary-color; outline: 0; box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); } &:-webkit-input-placeholder, &:-moz-placeholder, &:-ms-input-placeholder { color: #6c757d; opacity: 1; } } select { height: calc(2.25rem + 2px); display: block; width: 100%; padding: .375rem .75rem; font-size: 18px; line-height: 1.5; color: $text-color; background-color: #fff; background-clip: padding-box; border: 1px solid #dfdfdf; border-radius: 4px; transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; } /*-------------------------------------------------------------- # FOOTER --------------------------------------------------------------*/ .site-footer { padding: 50px 0; background: #f5f6f7; margin-top: 50px; font-size: 16px; .goto-top { position: fixed; bottom: -50px; right: 20px; width: 40px; height: 40px; background: $primary-color; font-size: 26px; line-height: 40px; color: #fff; border-radius: 4px; text-align: center; opacity: 0.75; cursor: pointer; transition: all 0.3s ease; &::before { content: '\2191'; } &:hover { opacity: 1; } } } /*-------------------------------------------------------------- # COMMENTS --------------------------------------------------------------*/ .comments-area { margin-top: 50px; margin-bottom: 50px; background: #f5f6f7; padding: 30px 100px; border-radius: 4px; .comments-title { font-size: 22px; } .comment-list { list-style: none; margin-left: 0; padding-left: 0; li.comment { padding: 30px 0; border-bottom: 1px dotted #dfdfdf; p:last-child { margin-bottom: 0; } .children { list-style: none; li.comment { border-bottom: 0px; padding-bottom: 0; } } } .comment-metadata { font-size: 14px; font-style: italic; margin-bottom: 10px; line-height: 18px; .edit-link { margin-left: 10px; } a { color: $light-text-color; } } .reply { font-size: 14px; font-style: italic; margin-top: 10px; } .comment-author.vcard { img { margin-right: 5px; margin-bottom: 5px; } } } .comment-reply-title { font-size: 20px; margin-top: 30px; small { font-size: 14px; margin-left: 15px; a { color: $light-text-color; } } } .comment-notes { font-size: 16px; line-height: 20px; color: $light-text-color; } .comment-form { p { label { display: block; color: $text-color; margin-bottom: 0.25rem; } } .form-submit { padding-top: 10px; } } } /*-------------------------------------------------------------- # SIDEBAR --------------------------------------------------------------*/ #secondary.widget-area { padding-top: 50px; padding-left: 30px; font-size: 16px; line-height: 22px; .widget { margin-bottom: 60px; } } body.left-sidebar { #secondary.widget-area { padding-left: 0px; padding-right: 30px; } } .widget { color: $light-text-color; ul { margin-left: 0; padding-left: 0; list-style: none; li { margin-bottom: 12px; } } .widget-title { font-size: 16px; text-transform: uppercase; letter-spacing: 0.75px; -webkit-font-smoothing: antialiased; } } body.hide-sidebar { .content-area, #secondary.widget-area { padding-top: 60px; } .post, .page { margin-bottom: 80px; .alignwide { margin-left: -100px; margin-right: -100px; max-width: 100vw; } .alignfull { margin-left: calc(-100vw / 2 + 100% / 2); margin-right: calc(-100vw / 2 + 100% / 2); max-width: 100vw; width: 100vw; } .alignfull:not(.wp-block-media-text) img { width: 100vw; } .alignwide.wp-block-cover { width: 1010px; } } .post .post-thumbnail, .page .post-thumbnail { margin-left: -100px; margin-right: -100px; } .page-header { text-align: center; } .comments-area { margin-left: -100px; margin-right: -100px; } .navigation.post-navigation { margin-left: -100px; margin-right: -100px; } }