body { color: $gray; background-color: $body-background; font-family: $font-secondary; font-size: 16px; line-height: 1.65; @include tablet { font-size: 15px; } } p { line-height: 1.8; } ::selection { color: $white; background-color: darken($color-primary, 5); text-shadow: none; } :focus { outline: 0; } // default styles .section { padding: 120px 0; @include tablet { padding: 100px 0; } &-sm { padding: 90px 0; @include tablet { padding: 80px 0; } } } .section-title { position: relative; margin-bottom: 80px; @include tablet { margin-bottom: 55px; } span { background-image: url("data:image/svg+xml,%3Csvg width='298' height='32' viewBox='0 0 298 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 17.1944C62.6418 7.28318 174.478 -8.49028 296 27' stroke='%23F6BFB3' stroke-width='9'/%3E%3C/svg%3E%0A"); background-size: 260px; background-repeat: no-repeat; background-position: bottom; padding: 0 12px; @include tablet { background-size: 180px; } } } // button style .btn { padding: 11px 28px; color: $white; border: 0; @extend .rounded; transition: .2s ease-out; position: relative; z-index: 1; overflow: hidden; @include tablet { font-size: 15px; padding: 11px 22px; } &:active, &:focus { border: 0; box-shadow: none !important; } &:hover { box-shadow: 0px 10px 25px rgba($black, 0.1); } &.btn-sm { padding: 10px 18px; } &.btn-lg { padding: 14px 34px; @include desktop-lg { padding: 12px 28px; } } &.btn-primary { background-color: $color-primary !important; border: 2px solid $color-primary; &:hover, &:active, &:focus { background-color: $dark !important; color: $white; border-color: $dark; } } &.btn-outline-primary { color: $color-primary; border: 1px solid $color-primary; background-color: transparent !important; &::after { background-color: $color-primary !important; } &:hover, &:active, &:focus { color: $white; background-color: $color-primary !important; } } i { transform: translateY(1px); display: inline-block; } } // social-links .social-links { a { font-size: 18px; padding: 7px; color: rgba($black, .8); display: inline-block; &:hover { color: $color-primary; } } &.icon-box li a { height: 42px; width: 42px; line-height: 42px; border: 1px solid #ddd; padding: 0; } } .social-share { li { font-size: 18px; padding: 7px; color: rgba($black, .8); display: inline-block; cursor: pointer; transition: 0.3s; text-align: center; @extend .rounded; &:hover { color: $white; background-color: $color-primary; } } &.icon-box li { height: 42px; width: 42px; line-height: 42px; border: 1px solid #ddd; padding: 0; &:hover { border-color: $color-primary; } } } .is-hoverable:hover { opacity: .75; } // content style .content { * { word-break: break-word; overflow-wrap: break-word; margin-bottom: 25px; &:first-child { margin-top: 0; } &:last-child { margin-bottom: 0 !important; } } .lightense-wrap { margin-bottom: 0 !important; } h1, h2, h3, h4, h5, h6 { margin-top: 35px; } a { text-decoration: underline; &:hover { color: $black; } &:not(.btn):hover { opacity: .75; } } // image & figure style img { max-width: 100%; height: auto; display: inline-block; margin-bottom: 20px; @extend .rounded; } figure { img { margin-bottom: 10px; } figcaption { text-align: center; } } // gallery style .gallery { display: grid; grid-template-columns: repeat(3,auto); justify-content: center; align-content: center; grid-gap: 20px; @include desktop { grid-template-columns: repeat(2,auto); } * { margin-bottom: 0; } } // list style ol, ul { padding-left: 20px; li { margin-bottom: 10px !important; } } ol { padding-left: 0; } ul { padding-left: 0; margin-bottom: 20px; list-style-type: none; li { padding-left: 22px; position: relative; &::after, &::before { position: absolute; content: ''; height: 4px; width: 4px; border-radius: 50%; background: $color-primary; left: 7px; top: 11px; } &::before { height: 12px; width: 12px; background: rgba($color-primary, .5); left: 3px; top: 7px; } } } // table style table { width: 100%; max-width: 100%; margin-bottom: 1rem; border: 1px solid #ddd; background-color: $white; } table>:not(:first-child) { border-top: 2px solid #ddd; } table, thead, tbody, tfoot, th, tr, td { word-break: initial; } table td, table th { padding: .6rem 1.2rem; vertical-align: top; margin-bottom: 0; border-left: 1px solid #ddd; } tr:not(:last-child) { border-bottom: 1px solid #ddd; } th { font-weight: 600; } thead { margin-bottom: 0; tr { border-bottom: 1px solid #ddd; } } tbody { background: lighten($light, 5); margin-bottom: 0; } // blockquote style blockquote { padding: 30px; padding-left: 80px; @include mobile { padding-left: 30px; padding-top: 80px; } margin: 40px 0; line-height: 2; @extend .rounded; background-color: rgba($white, .5); position: relative; color: $dark; p { margin-bottom: 0 !important; font-size: $h4; font-family: $font-primary; &::before { content: "“"; color: darken($color-primary, 2); font-family: $font-primary; font-size: 100px; line-height: 0; left: 30px; top: 75px; position: absolute; } } cite { display: block; margin-top: 10px !important; font-family: $font-secondary; font-style: normal; font-size: 17px; &::before { content: "— "; margin-right: 5px; } } } // pre code block style pre { display: block; padding: 20px 25px; margin: 10px 0px 10px; white-space: pre-wrap; @extend .rounded; border: 1px solid rgb(233, 233, 233); } code { margin-bottom: 0 !important; font-size: 100%; } } // end of content style // pagination style .pagination { padding: 8px 1px; .page-item { margin: 0 3px; } .page-link { padding: 0; margin-left: 0; color: $dark; border: 0; margin: 0 4px; height: 48px; width: 48px; line-height: 48px; text-align: center; &.active, &:focus, &:hover { box-shadow: none; color: $white; background-color: $color-primary; } &.arrow { font-size: 26px; width: auto; &:hover { color: $color-primary; background-color: $white; } } } .page-item.active { .page-link { box-shadow: none; color: $white; background-color: $color-primary; } } } // breadcrumb style .breadcrumb-menu { display: inline-block; margin-top: 10px; li:last-child { a { opacity: .7; pointer-events: none; } } span:hover { text-decoration: underline; } } // form-control .form-control { padding: 0; border: 0; border: 1px solid #ddd; @extend .rounded; transition: .3s ease; padding: 12px 16px; &:not(textarea) { height: 50px; } &:focus { box-shadow: none; color: $dark; border-color: $color-primary; ~.input-group-append { .input-group-text { border-color: $color-primary; } } } } textarea { resize: none; } .input-group-text { background-color: transparent; border-bottom: 1px solid #ddd; border-radius: 0 !important; transition: .3s ease; .icon { font-size: 22px; } } button.input-group-text { &:hover { color: $color-primary; } } // helper classes .font-primary { font-family: $font-primary } .font-secondary { font-family: $font-secondary } .rounded { border-radius: 4px !important; } .text-primary { color: $color-primary !important } a.text-primary:hover { color: darken($color-primary, 10) !important } .bg-primary { background-color: $color-primary !important } .text-dark { color: $dark } a.text-dark:hover { color: $color-primary !important } .bg-light { background-color: $light !important } .bg-dark { background-color: $dark !important } .text-gray:hover { color: $color-primary; } // footer style footer { background: $white; background: linear-gradient(180deg, $body-background 0%, $white 55%); .icon-box a { color: rgba($dark, .7); @extend .rounded; &:hover { color: $white; background-color: $color-primary; border-color: $color-primary; } } .section-title { margin-top: -7px; @include tablet { margin-top: -3px; } } } .footer-menu { li { position: relative; &::after { content: '|'; margin-right: 15px; margin-left: 18px; } &:last-child::after { display: none; } a { color: rgba($dark, .7); &:hover { color: $color-primary; text-decoration: underline; } } } } .copyright-text { color: rgba($dark, .7); a { color: rgba($dark, .7); } } // 404 page style h1.page-not-found-title { font-size: 120px; font-weight: bolder; color: $white; margin-bottom: 20px; text-shadow: 0px -6px 0 #212121, 0px -6px 0 #212121, 0px 6px 0 #212121, 0px 6px 0 #212121, -6px 0px 0 #212121, 6px 0px 0 #212121, -6px 0px 0 #212121, 6px 0px 0 #212121, -6px -6px 0 #212121, 6px -6px 0 #212121, -6px 6px 0 #212121, 6px 6px 0 #212121, -6px 18px 0 #212121, 0px 18px 0 #212121, 6px 18px 0 #212121, 0 19px 1px rgba(0, 0, 0, .1), 0 0 6px rgba(0, 0, 0, .1), 0 6px 3px rgba(0, 0, 0, .3), 0 12px 6px rgba(0, 0, 0, .2), 0 18px 18px rgba(0, 0, 0, .25), 0 24px 24px rgba(0, 0, 0, .2), 0 36px 36px rgba(0, 0, 0, .15); }