芝麻web文件管理V1.00
编辑当前文件:/home/p/r/i/prismawe/clients/carotiti/wp-content/themes/boal/assets/sass/theme/blog/_category.scss
/*Style for category blog*/ //Header =============================================================================================================== .cat-header,.page-header{ padding-top: 60px; padding-bottom: 60px; background: url('#{$image-url}bg-single.jpg')repeat scroll center center ; margin-bottom: 30px; } //description .archive_description{ text-transform: capitalize; color: #f2f2f2; } .cat-description{ @include rtl-text-align-left(); max-width: 80%; padding-top: 20px; color: #8e8e95; font-size: 16px; } //title .title-page,.title-cat{ font-weight: 600; font-size: 36px; margin: 0; text-transform: capitalize; @include rtl-text-align-left(); } //Content ============================================================================================================== .article-content{ position: relative; } .content-area{ margin-bottom: 30px; } //Element post ========================================================================================================= .archive-blog{ .item-post{ &:last-child article{ margin-bottom: 0; } } //title post .entry-title{ font-size: 22px; padding: 0; margin-top: 15px; line-height: 24px; } //cat post .post-cat{ position: absolute; top:5px; @include rtl-left(5px); font-size: 14px; font-weight: 400; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; &.full-width{ position: relative; } >a{ margin-bottom: 5px; } } //image post .post-image{ padding-bottom: 0; @include rtl-text-align-left(); } //content post .entry-content{ padding-bottom: 10px; font-size: 14px; line-height: 24px; color: $color-content; h1,h2,h3,h4,h5{ font-weight: 500; margin-top: 10px; } p{ margin-bottom: 10px; } } //meta post .author { text-transform: capitalize; font-size: 12px; } //share .share-links{ opacity: 0; left: 0; margin-top: -15px; position: absolute; right: 0; top: 50%; @include transition(0.4s); .social-item{ border: none; background: transparent; box-shadow:none; margin: 5px; &:hover{ background: transparent; } > a{ font-size: 24px; &:hover{ color: $theme-color; } } } } //affect hover .bgr-item { bottom: 0; left: 0; opacity: 0.7; position: absolute; right: 0; top: 0; @include transition(0.4s); } .post-item:hover{ .share-links{ opacity: 1; @include transition(0.4s); } .bgr-item { background: rgba(0, 0, 0, 0.5); opacity: 1; @include transition(0.4s); } } //config layout full width .full-width{ .article-meta{ margin-top: 5px; position: relative; width: 100%; display: block; @include rtl-padding(10px,20px ,20px, 0); } } }