tech4biz/blog/assets/css/blog.css
2024-10-25 17:11:31 +05:30

678 lines
11 KiB
CSS

.mtb-70 {
margin-top: 70px;
margin-bottom: 70px;
}
.blog-banner-section {
background: var(--Dark-blue) url(../images/blog/Blog-background.png);
}
.blog-banner-title {
color: var(--Yellow);
font-size: 35px;
}
.blog-banner-description {
font-size: 17px;
color: var(--color-white);
max-width: 500px;
}
.blog-search-input {
position: relative;
}
.blog-search-input input {
font-size: 18px;
padding: 10px 15px 10px 55px;
width: 100%;
background: none;
border: 1px solid var(--color-white);
color: var(--color-white);
outline: none;
box-sizing: border-box;
}
.search-icon {
position: absolute;
top: 15px;
left: 14px;
width: 20px;
}
.search-icon svg {
display: block;
width: 100%;
height: 100%;
}
/* Category Box */
.blog-category-box {
/* background: #eaecff;
width: 30.7%;
padding: 25px;
box-sizing: border-box;
margin: 15px;
box-shadow: 0 4px 10px 0 rgb(0 0 0 / 10%);
border: 2px solid var(--Dark-blue);
border-radius: 10px; */
}
.blog-category-box:hover {
/* box-shadow: 0 10px 20px 0 rgb(0 0 0 / 10%); */
}
.blog-category-icon {
width: 70px;
height: 70px;
padding: 15px;
background: var(--Dark-blue);
box-sizing: border-box;
border-radius: 50%;
/* margin: 0 auto; */
}
.blog-category-icon svg {
display: block;
width: 100%;
height: 100%;
}
.blog-category-title {
font-size: 16px;
padding: 0;
margin: 0;
color: #455065;
margin-right: 30px;
}
.blog-category-description {
color: var(--color-black);
}
.blog-category-button {
display: flex;
justify-content: space-between;
margin: 0;
color: var(--Dark-blue);
font-weight: bold;
}
.blog-category-button span {
width: 25px;
position: relative;
top: -2px;
left: -56%;
transition: 0.5s;
}
.blog-category-button span svg {
display: block;
width: 100%;
}
.blog-category-button span svg path {
stroke: var(--Dark-blue);
}
.blog-category-box:hover .blog-category-button span {
width: 25px;
position: relative;
left: 0%;
transition: 0.5s;
}
.news-later-subscriber {
background: var(--Dark-blue);
border-radius: 20px;
position: relative;
overflow: hidden;
}
.news-later-subscriber:after {
content: "";
position: absolute;
bottom: -40%;
left: 10%;
border-radius: 50%;
width: 250px;
height: 250px;
background: #051b65;
}
.news-later-subscriber::before {
content: "";
position: absolute;
top: -40%;
right: 10%;
border-radius: 50%;
width: 250px;
height: 250px;
background: #051b65;
}
.cube {
position: absolute;
top: 0;
left: 45vw;
width: 10px;
height: 10px;
border: solid 1px #0040C1;
transform-origin: top left;
transform: scale(0) rotate(0deg) translate(-50%, -50%);
animation: cube 12s ease-in forwards infinite;
}
.cube:nth-child(2n) {
border-color: lighten(#0040C1, 10%);
}
.cube:nth-child(2) {
animation-delay: 2s;
left: 25vw;
top: 40vh;
}
.cube:nth-child(3) {
animation-delay: 4s;
left: 75vw;
top: 50vh;
}
.cube:nth-child(4) {
animation-delay: 6s;
left: 90vw;
top: 10vh;
}
.cube:nth-child(5) {
animation-delay: 8s;
left: 10vw;
bottom: 50px;
top: auto;
}
.cube:nth-child(6) {
animation-delay: 10s;
left: 50vw;
top: 10vh;
}
@keyframes cube {
from {
transform: scale(0) rotate(0deg) translate(-50%, -50%);
opacity: 1;
}
to {
transform: scale(20) rotate(960deg) translate(-50%, -50%);
opacity: 0;
}
}
.news-later-subscriber-main-div {
position: relative;
z-index: 1;
}
.news-later-subscriber-main-div p {
text-align: center;
font-size: 28px;
font-weight: bold;
color: var(--color-white);
position: relative;
}
.news-later-input-div {
max-width: 500px;
margin: 0 auto;
position: relative;
}
.news-later-input-div input {
padding: 10px 20px;
color: var(--Dark-blue);
font-size: 18px;
outline: none;
border-radius: 10px;
border: none;
width: 100%;
box-sizing: border-box;
}
.news-later-input-div button {
outline: none;
border: none;
border-radius: 7px;
padding: 8px 20px;
font-size: 17px;
background: var(--Dark-blue);
position: absolute;
right: 4px;
top: 3px;
color: var(--color-white);
}
/* Blog Boxes */
.blog-div-box {
background: var(--color-white);
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
width: 30.7%;
margin: 20px 15px;
}
.blog-title-image {
width: 100%;
height: 180px;
}
.blog-title-image img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.blog-user-image {
width: 45px;
position: relative;
top: -23px;
}
.blog-user-image img {
display: block;
width: 100%;
}
.blog-category-tab {
position: relative;
margin-right: 25px;
}
.blog-category-tab::after {
content: "";
background: url(../images/blog/arrow.svg) no-repeat;
background-size: contain;
width: 5px;
height: 9px;
position: absolute;
right: -19px;
top: 8px;
}
.blog-category-tab:last-child:after {
content: "";
background: none;
position: absolute;
right: -19px;
top: 8px;
}
.blog-box-content {
padding: 0 30px 30px;
}
.blog-category {
position: relative;
top: -10px;
}
.blog-writer-name {
font-size: 16px;
}
.blog-writer-name span {
color: var(--bs-blue);
}
.blog-box-main-title {
color: var(--theme-blue);
font-size: 20px;
padding-bottom: 5px;
font-weight: 700;
}
.read-articles-flex {
display: flex;
align-items: center;
justify-content: space-between;
}
.read-articles-flex p {
margin: 0;
}
.blog-box-category-button {
display: none;
}
.blog-box-category-button span {
display: flex;
width: 21px;
height: 15px;
position: relative;
top: 6px;
left: 7px;
transition: 0.5s;
}
.blog-box-category-button span svg {
display: block;
width: 100%;
height: 100%;
}
.blog-div-box:hover .blog-box-category-button {
display: flex;
}
/* most-read-articles */
.most-read-articles-section {
background: #f5f5f6;
}
.most-read-articles {
color: var(--bs-blue);
font-size: 26px;
}
/* Footer */
.blog-developer-title {
font-size: 24px;
}
.blog-developer-list {
list-style: none;
padding: 0;
display: flex;
flex-wrap: wrap;
}
.blog-developer-list li {
width: 23%;
font-size: 16px;
margin: 8px 15px 8px 0px;
}
.blog-developer-list li a {
color: var(--color-black);
}
.blog-developer-list li a:hover {
color: var(--bs-blue);
text-decoration: underline;
}
.blog-social-share-div {
position: relative;
}
.blog-share-icon {
border: 1px solid var(--color-white);
border-radius: 3px;
padding: 15px;
width: 50px;
height: 50px;
margin: 25px 0;
cursor: pointer;
}
.blog-share-icon svg {
display: block;
width: 100%;
}
.blog-social-main-div {
display: flex;
position: absolute;
top: 0;
left: 50px;
width: 0;
overflow: hidden;
transition: 0.5s;
}
.blog-social-main-open {
width: 100%;
transition: 0.5s;
}
.blog-social-icon {
border-right: 1px solid var(--color-greys);
padding: 15px;
width: 50px;
height: 50px;
display: flex;
background: var(--color-white);
}
.blog-social-icon:first-child {
border-radius: 3px 0px 0px 3px;
}
.blog-social-icon:last-child {
border-radius: 0px 3px 3px 0px;
}
.blog-social-icon svg {
display: block;
width: 100%;
height: 100%;
}
/* Menu List Services */
.servicesMenuClose {
background: var(--color-white);
border-radius: 12px;
box-shadow: 0 4px 10px 0 rgb(0 0 0 / 10%);
padding: 0px 0;
position: absolute;
right: -150px;
width: 300px;
z-index: 2;
height: 0;
overflow: hidden;
transition: 0.5s;
}
.servicesMenu-open {
padding: 9px 0;
width: 320px;
height: 272px;
overflow: hidden;
transition: 0.5s;
}
.servicesMenuClose .blog-category-title {
display: block;
padding: 5px 20px 5px;
margin-right: 0;
}
.services-menulist {
max-width: 940px;
margin: 0 auto;
}
/* Details Page */
.blog-details-title {
font-weight: normal;
font-size: 40px;
}
.blog-share-icon-black {
border-color: var(--color-black);
}
.blog-social-icon-details {
border: none;
border-right: 1px solid var(--color-black);
padding: 15px;
width: 48px;
height: 48px;
display: flex;
background: var(--color-white);
}
.blog-social-main-div-details {
border: solid var(--color-black);
border-width: 1px 0px 1px 0px;
width: 192px;
border-radius: 0px 3px 3px 0px;
transition: 0.5s;
}
.details-category-div {
display: flex;
align-items: center;
top: 0;
}
.category-text {
margin-right: 20px;
position: relative;
}
.details-header-image {
width: 50%;
}
.details-header-image img {
width: 100%;
display: block;
}
.details-header-text-div {
width: 50%;
padding: 0 3em;
}
.blog-read-time {
margin: 10px 0 10px;
}
/* Profile */
.profile-blog-details-bg {
background: var(--light-white-f8f8);
padding: 3em 0;
}
.profile-blog-image {
width: 180px;
}
.profile-blog-image img {
display: block;
width: 100%;
}
.profile-flex {
display: flex;
}
.blog-by-name {
color: var(--color-black);
font-size: 18px;
margin-bottom: 0;
}
.blog-by-name span {
color: var(--bs-blue);
}
.name-status-profile {
display: flex;
align-items: center;
justify-content: space-between;
}
.blog-by-status-text {
display: flex;
align-items: center;
margin: 0;
}
.blog-by-status-text span:first-child {
display: flex;
width: 20px;
height: 20px;
}
.blog-by-status-text span:first-child svg {
display: block;
width: 100%;
height: 100%;
}
.blog-by-status-text span:last-child {
color: #05947C;
font-size: 17px;
padding-left: 7px;
font-weight: bold;
}
.blog-text-details {
padding: 0 2em;
max-width: 700px;
width: 100%;
}
.expertise-title {
font-size: 15px;
color: var(--color-black);
font-weight: bold;
}
.language-expertise {
border: 1px solid var(--bs-blue);
padding: 2px 15px;
border-radius: 35px;
font-size: 13px;
margin-right: 10px;
}
.side-bar-area {
padding-top: 2em;
}
.trading-title-div {
padding: 2em 0;
}
.trending-articles-title {
font-size: 20px;
color: var(--light-dark);
padding: 0;
font-weight: 600;
position: relative;
display: inline-block;
margin-bottom: 10px;
background-color: transparent;
width: 100%;
}
.trending-articles-name {
color: var(--color-black);
font-weight: bold;
font-size: 23px;
}
.blog-more-button {
background: no-repeat;
border: none;
outline: none;
}
.blog-more-button:focus~.servicesMenuClose {
padding: 9px 0;
width: 320px;
height: 272px;
overflow: hidden;
transition: 0.5s;
}