/* card */ .posts { border: 0; border-radius: 0; &-header, &-footer, &-img, &-img-top { border: 0; border-radius: 0; } &-img { object-fit: cover; width: 100%; height: 100%; } } .featured-post { @include tablet { margin-left: 0; fond-size: 30px; } } .post-meta { span { color: #444; font-weight: 500; } } .lang-available { float: right; border: .5px solid $text-color-dark; padding: 5px; } /* widget */ .widgets { padding-left: 25px; border-left: 1px solid $border-color; @include desktop { padding-left: 0; border-left: 0; } } .widget { text-align: center; margin-bottom: 50px; &-title { display: inline-block; border-top: .5px solid $primary-color; border-bottom: .5px solid $primary-color; padding: 10px 0; margin-bottom: 20px; } li { margin-bottom: 10px; a { color: $text-color; &:hover { color: $primary-color; } } } } .author-thumb-sm { max-height: 165px; max-width: 165px; } .author { float: right; shape-outside: circle(); img { max-height: 250px; max-width: 250px; } } .social-links { li { a { height: 40px; width: 40px; background-color: $primary-color; color: $white; display: block; line-height: 40px; border: 1px solid transparent; font-size: 20px; &:hover { background-color: $white; color: $primary-color; border: 1px solid $primary-color; } } } } /* pagination */ .pagination { justify-content: center; .page-item { .page-link { display: inline-block; width: 40px; height: 40px; text-align: center; color: $primary-color; border-top: 0; border-bottom: 0; &:hover { background: $primary-color; color: $white; } } &:first-child, &:last-child { .page-link { border-radius: 0; } } &.active { .page-link { background: $white; color: $text-color; border: 1px solid $primary-color; } } } } .tag { a { background-color: $primary-color; color: $white; border: 1px solid transparent; font-size: 15px; padding: 5px; &:hover, &.active { background-color: $white; color: $primary-color; border: 1px solid $primary-color; } } } /* markdown style */ .content { * { margin-bottom: 20px; } h1, h2, h3, h4, h5, h6 { margin-bottom: 10px; } ol { padding-left: 20px; } ul { padding-left: 0; li { position: relative; padding-left: 20px; margin-bottom: 15px; list-style-type: none; &::before { position: absolute; content: "\e71b"; font-family: $icon-font; font-size: 14px; left: 0; top: 1px; color: $primary-color; transition: .3s ease; } } } table { text-align: left; width: 100%; max-width: 100%; margin-bottom: 1rem; border: 1px solid #dee2e6; th, td { padding: .75rem; vertical-align: top; border: 1px solid #dee2e6 } thead { background: darken($color: $gray, $amount: 2); } tbody { background: $gray; td { text-align: left !important; } } } blockquote { padding: 20px; background: $gray; border-left: 3px solid $primary-color; p { margin-bottom: 0; color: $text-color-dark; font-style: italic !important; } } pre { padding: 10px 20px; background: $gray; code { border: 0; background: transparent; padding: 0; } } a { color: $primary-color; &:hover { text-decoration: underline; } } code { padding: 3px 5px; background: $gray; border: 1px solid $border-color; border-radius: 3px; color: $text-color-dark; } }