OwlCyberSecurity - MANAGER
Edit File: _blog.scss
/* Blog General ****************************************************/ article.post-wrap{ margin-bottom: 40px; &.sticky{ background: #f9f9f9; padding: 30px; border-top: 5px solid; border-color: var(--primary); .post-excerpt{ text-align: justify; } } .post-title{ margin: 15px 0 20px 0; padding: 0; font-size: 30px; line-height: 1.3em; color: var(--heading); -webkit-hyphens: unset; -moz-hyphens: unset; -ms-hyphens: unset; hyphens: unset; word-break: break-word; &:hover{ color: var(--primary); } } .post-media{ img { display: block; width: 100%; max-height: 420px; border-radius: 20px 20px 0 0; object-fit: cover; } } ul.post-meta{ display: inline-block; list-style-type: none; margin: 0; padding: 0; li{ margin: 0 20px 0 0; display: inline-block; font-size: 14px; text-transform: uppercase; color: var(--text); &:hover{ opacity: 1; } i{ font-size: 0.9em; color: var(--primary); padding-right: 3px; } a{ color: var(--text); &:hover{ color: var(--primary); } } } } .post-excerpt{ & > p{ margin-top: 0; } } a.readmore{ clear: both; background-color: var(--primary); border: 1px solid var(--primary); color: #fff; font-size: 14px; letter-spacing: 0.5px; padding: 15px 33px; text-transform: uppercase; font-weight: 600; box-shadow: none; display: inline-block; @include transaction( all, 0.2s, linear ); &:hover{ color: var(--primary); border-color: var(--primary); background-color: #fff; } } } /* Blog Default ****************************************************/ .blog_default{ .post-title{ font-weight: normal; } .post-excerpt{ font-size: 1em; } .date{ font-size: 1em; } .post-bottom { padding: 40px; border-radius: 0 0 20px 20px; border: 1px solid #f7f7f7; } } .layout_1c{ .blog_default{ max-width: 1000px; margin: 0 auto; } } /*Blog Grid ***************************************************/ .blog_grid{ display: grid; gap: 25px; grid-template-columns: repeat(3, 1fr); @media( max-width: $desktop - 1 ){ grid-template-columns: repeat(2, 1fr); } @media( max-width: 767px ){ grid-template-columns: repeat(1, 1fr); } article.post-wrap{ .post-media{ margin-bottom: 15px; } .post-title{ font-size: 22px; } .post-excerpt{ font-size: 1em; } } } .layout_2l, .layout_2r{ .blog_grid{ grid-template-columns: repeat(2, 1fr); @media( max-width: 767px ){ grid-template-columns: repeat(1, 1fr); } } } /* Blog masonry ***************************************************/ .blog_masonry{ margin-left: -15px; margin-right: -15px; article{ width: 33.3%; @media(max-width: 1200px){ width: 50%; } @media( max-width: 767px ){ width: 100%; } } .content{ margin: 0px 15px; position: relative; min-height: 100px; .post-media{ margin-bottom: 15px; } .post-title{ font-size: 22px; } .post-excerpt{ font-size: 1em; } a.readmore{ clear: both; background-color: transparent; border-color: var(--primary); border: 1px solid; color: var(--primary); @include transaction( all, 0.2s, linear ); &:hover{ color: #fff; border-color: var(--primary); background-color: var(--primary); } } } } .layout_2l, .layout_2r{ .blog_masonry{ article{ width: 50%; min-height: 200px; @media( max-width: 767px ){ width: 100%; } } } } /* Detail ***************************************************/ .single{ article.post-wrap{ .post-media{ margin-bottom: 45px; img { border-radius: 20px; max-height: 638px; min-height: 280px; } } .post-title{ -webkit-hyphens: unset; -moz-hyphens: unset; -ms-hyphens: unset; hyphens: unset; margin-bottom: 30px; margin-top: 0; word-break: break-word; font-size: 45px; &:hover{ color: var(--heading); } } .post-content{ margin-bottom: 50px; &:before, &:after{ clear: both; content: ''; display: table; } } .post-tags{ clear: both; a{ margin: 0 5px 5px 0; display: inline-block; font-size: 15px; font-weight: 500; text-transform: capitalize; @include tag; } } .post-tags-and-share { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; span { margin: 0 6px; display: inline-block; font-size: 15px; font-weight: 700; color: #000D44; } .share-social-icons { display: inline-flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; li { display: inline-block; &.share { font-size: 20px; font-weight: bold; color: var(--heading); } a { @include transaction( all, 0.2s, ease ); display: inline-flex; justify-content: center; align-items: center; width: 36px; height: 36px; border-radius: 5px; border: 1px solid #EAEAEF; font-size: 14px; line-height: 1.2; color: var(--text); i { display: inline-flex; } &:hover { @include transaction( all, 0.2s, ease ); background-color: var(--primary); color: #fff; } } } } } &.sticky{ .post-tags{ border-top: 1px solid #e1e1e1; } } } &.layout_1c{ #main-content{ .post-container, .comments { max-width: 1024px; margin-left: auto; margin-right: auto; } } } } /*Page Title ***************************************************/ h1.page-title{ margin-top: 0; -webkit-hyphens: unset; -moz-hyphens: unset; -ms-hyphens: unset; hyphens: unset; } .search{ .page-header{ .page-title{ margin-bottom: 60px; border-bottom: 1px solid #e1e1e1; padding-bottom: 15px; span{ color: var(--primary); } } } } .ova-block-image-border-radius { img { border-radius: 20px; } }