/*-------------------------------------------------------------- # Blog CSS --------------------------------------------------------------*/ .blog { &__area { padding: 100px 0; @media #{$sm} { padding: 40px 0; } } &__item { margin-bottom: 50px; &-gallery { position: relative; } } &__content { background-color: $white; padding: 20px 30px 30px; border-radius: 0 0 4px 4px; box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; } &__title { font-size: 24px; line-height: 1.3; color: $black; margin-bottom: 20px; a { color: $black; } } &__link { color: $primary; &:hover, &:focus { color: $secondary; } } &_category { padding-bottom: 10px; li { display: inline-flex; flex-wrap: wrap; gap: 5px; a { display: block; font-size: 16px; color: $primary; text-transform: capitalize; &:hover, &:focus { color: $secondary; } } } } &__meta { padding-bottom: 30px; margin-bottom: 20px; border-bottom: 1px solid $border; li { display: inline-block; text-transform: capitalize; a { color: $primary; transition: all 0.3s; &:hover, &:focus { color: $secondary; } } } } &__pagination { @media #{$sm} { margin-top: 40px; } nav { justify-content: center; a { display: inline-block; color: $dark; font-size: 18px; padding: 0 10px; &:hover { color: $secondary; } } .current { color: $primary; } } } &__author { position: relative; padding-right: 20px; &::after { position: absolute; content: ""; width: 5px; height: 5px; top: 10px; right: 5px; background-color: $black; border-radius: 100%; } } &__gallery { width: 50%; position: relative; .swiper-pagination { text-align: left; } .swiper-pagination-bullet { width: 10px; height: 10px; background: $dark; opacity: 1; &-active { background-color: $primary; } } } &__audio { position: relative; min-height: 90px; overflow: hidden; &::after { position: absolute; content: "\f001"; font-family: $font-awesome; font-weight: 900; width: 100%; height: 100%; left: 0; top: 0; font-size: 36px; color: $primary; padding: 20px; background-color: rgba(0, 0, 0, 0.7); } #player { position: absolute; bottom: 20px; left: calc( 50% - 150px ); z-index: 9; } } &__video { position: relative; iframe { width: 100%; min-height: 300px; } } &__quote { min-height: 400px; box-shadow: rgb(99 99 99 / 20%) 0px 2px 8px 0px; padding: 40px 30px; text-align: center; border-radius: 5px; display: flex; align-items: center; justify-content: center; flex-direction: column; margin-bottom: 50px; @media #{$lg} { height: 350px; margin-bottom: 30px; } @media #{$sm} { height: auto; padding: 30px 20px; } blockquote { padding-bottom: 20px; p { color: $dark; font-size: 24px; font-style: italic; @media #{$sm} { font-size: 20px; } } } span { font-size: 60px; color: $border; } } .title { font-size: 18px; color: $dark; text-transform: capitalize; } &__detail { padding: 80px 0 60px; @media #{$md} { padding: 50px 0 40px; } &-wrapper { padding-right: 50px; @media #{$lg} { padding-right: 0; } } &-title { font-size: 48px; padding-bottom: 50px; @media #{$lg} { font-size: 36px; } @media #{$lg} { font-size: 30px; } } .blog { &__category { padding-bottom: 20px; a { color: $primary; text-transform: capitalize; &:hover { color: $secondary; } } } &__author { padding-right: 30px; &::after { position: unset; } a { color: $primary; text-transform: capitalize; &:hover { color: $secondary; } } } } &-meta { padding-bottom: 30px; li { display: inline-block; } } &-thumb { margin-bottom: 30px; .video { width: 100%; height: 500px; iframe { width: 100%; height: 100%; } } .audio { background: $dark; padding: 30px 0 25px; border-radius: 5px; text-align: center; audio { width: 80%; } } .blog__gallery { width: 100%; position: relative; } } &-author { margin: 60px 0 30px; display: grid; grid-template-columns: 100px auto; grid-gap: 30px; padding-bottom: 30px; border-bottom: 1px solid $border; img { width: 100%; } .author-name { font-size: 20px; text-transform: capitalize; padding-bottom: 5px; a { color: $primary; &:hover { color: $secondary; } } } p { padding-right: 50px; @media #{$lg} { padding-right: 0; } } } } &__sidebar { position: sticky; top: 70px; } } .swiper-cube .swiper-cube-shadow:before { position: unset; } // Comment .comment { &__area { padding-bottom: 80px; .comment__title { font-size: 24px; padding-bottom: 40px; } .children { padding-left: 30px; li { padding-bottom: 50px; &:first-child { padding-top: 50px; } &:last-child { padding-bottom: 0; } } } .reply { a { color: $primary; &:hover { color: $secondary; } } } .url { text-transform: capitalize; font-size: 16px; color: $primary; &:hover { color: $secondary; } } form { width: 50%; @media #{$md} { width: 100%; } input, textarea { margin-bottom: 20px; } input[type=submit] { background: $primary; text-transform: capitalize; color: $white; font-size: 16px; padding: 12px; border-radius: 3px; width: 300px; margin-left: calc(50% - 150px); transition: all 0.5s; &:hover { background: $secondary; } } } } &-list > li { padding-bottom: 50px; } &-author { padding-bottom: 10px; } &-metadata { a { color: $dark; } } &-content { padding-top: 15px; } &-form-cookies-consent { display: flex; gap: 10px; margin-bottom: 30px; input { width: auto; } } &-notes { padding-top: 10px; padding-bottom: 40px; } } .comment-disbaled { padding-left: 60px; padding-bottom: 60px; }