Appzia_website_design/assets/css/blog_style.css

390 lines
6.1 KiB
CSS

body {
font-family: Roboto, sans-serif !important;
}
html {
scrollbar-color: #f1f1f1 #888;
scrollbar-width: 1px !important;
}
::-webkit-scrollbar {
width: 1px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #888;
}
::-webkit-scrollbar-thumb:hover {
background: #555;
}
h5 a {
font-size: 18px;
font-weight: 500;
color: #8b0000;
}
h5 a:hover {
color: #232323;
font-size: 18px;
font-weight: 500;
}
.tab1 img {
box-shadow: 0px 8px 16px -8px rgba(0, 0, 0, 0.30), 0px 13px 27px -5px rgba(50, 50, 93, 0.25);
border-radius: 10px;
}
.tab1 {
box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.15) !important;
padding: 15px !important;
border-radius: 10px;
}
.blogdate {
text-align: right;
margin-bottom: 10px;
}
.col p {
color: #2c2c2c;
font-size: 15px;
}
.tabbed {
width: 100%;
margin: 50px auto !important;
}
.tabbed>input {
display: none;
}
.tabbed>label {
display: block;
float: left;
padding: 12px 20px;
margin-right: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
.tabbed>label:hover,
.tabbed>input:checked+label {
background: #4ec6de;
}
.tabs {
clear: both;
perspective: 600px;
}
.tabs .blog {
width: 100%;
border: 2px solid #4ec6de;
padding: 10px 30px 40px;
line-height: 1.4em;
opacity: 0;
transform: rotateX(-20deg);
transform-origin: top center;
transition: opacity 0.3s, transform 1s;
position: absolute;
}
/* #tab-nav-1:checked~.tabs .blog:nth-of-type(1),
#tab-nav-2:checked~.tabs .blog:nth-of-type(2),
#tab-nav-3:checked~.tabs .blog:nth-of-type(3),
#tab-nav-4:checked~.tabs .blog:nth-of-type(4) {
transform: rotateX(0);
opacity: 1;
z-index: 100;
display: block;
} */
/* .tab-content{
clear: both;
perspective: 600px;
} */
/* /*
.tab-content {
width: 100%;
border: 1px solid #8b0000;
padding: 10px 30px 40px;
line-height: 1.4em;
opacity: 0;
transform: rotateX(-20deg);
transform-origin: top center;
transition: opacity 0.3s, transform 1s;
} */
/* .tab-pane .active {
display: block;
opacity: 1;
transform: rotateX(0);
} */
.custom-fade {
animation: fadeIn 1s ease-in;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.nav-tabs .nav-link {
font-size: 16px !important;
margin-right: 5px;
}
.nav-tabs .nav-link.active {
background-color: #8b0000 !important;
color: #fff !important;
font-size: 18px !important;
}
.all-list-dropdown {
display: none;
}
.blog_det .img2 {
box-shadow: 0px 8px 16px -8px rgba(0, 0, 0, 0.30), 0px 13px 27px -5px rgba(50, 50, 93, 0.25);
border-radius: 10px;
margin-bottom: 30px !important;
height: 400px !important;
}
.blog_det {
box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.15) !important;
padding: 20px !important;
border-radius: 10px;
background-color: #fff;
}
.blog_det p {
font-size: 15px;
text-align: initial;
margin-bottom: 20px !important;
}
.blog-title {
padding: 10px;
margin-top: 22px;
}
.button {
display: inline-block;
background: #8b0000;
color: #fff;
/* text-transform: uppercase; */
padding: 10px 15px;
border-radius: 5px;
/* box-shadow: 0px 17px 10px -10px rgba(0, 0, 0, 0.4); */
cursor: pointer;
-webkit-transition: all ease-in-out 300ms;
transition: all ease-in-out 300ms;
font-weight: 600;
}
.read {
text-align: center;
margin-top: 12px;
}
.bord {
padding: 50px !important;
}
.share {
display: flex;
gap: 5.5rem;
}
.share p{
font-size: 17px;
}
.share p a{
font-size: 17px;
color: #000;
}
.toc {
display: flex;
}
.article {
overflow-y: auto;
/* Ensure the right side content is scrollable */
height: calc(100vh - 60px);
/* Adjust the height to fill the remaining viewport */
padding-left: 20px;
scrollbar-width:thin;
scrollbar-color: #dfdfdf transparent;
}
.toc-sidebar {
position: sticky !important;
top: 90px !important;
box-shadow: 0 1rem 1.75rem 0 rgb(0 0 0 / 15%);
/* border: 1px solid #8b0000; */
}
.bg-white h2 {
font-size: 25px !important;
color: #8b0000;
border-bottom: 1px dashed;
}
.heading a {
font-size: 20px !important;
}
.toc-head {
margin-bottom: 10px !important;
}
.toc-head a{
color: #000 !important;
}
.heading a:hover {
color: #8b0000;
text-decoration: none !important;
}
.article h2 {
font-size: 25px !important;
}
.toc-head a:active,
.toc-head a:focus {
border-bottom: 2px solid #8b0000;
color: #8b0000;
}
.article p {
color: #000;
font-size: 19px;
}
.header-area .crose-main-menu .classy-navbar {
height: 90px !important;
}
.nav-item a{
color: #000 !important;
}
.blog-det h5 a{
color: #000;
}
@media only screen and (max-width: 640px) {
.all-list-dropdown i {
margin-left: 5px;
transition: transform 0.3s;
}
.all-list-dropdown.expanded i {
transform: rotate(180deg);
}
.all-list-dropdown {
cursor: pointer;
display: flex;
align-items: center;
font-size: 18px;
padding: 5px 10px;
/* border: 1px solid #ccc; */
border-radius: 5px;
}
.cat-dropdown {
position: absolute;
z-index: 100;
background-color: #fff;
padding: 15px;
overflow-y: auto;
height: 150px;
border: 1px solid #ccc;
width: 15rem;
top: 136px;
border-radius: 10px;
}
.nav-tabs .nav-link {
margin-left: 10px;
}
.tab1 {
margin: 10px 0 !important;
}
.share {
display: block;
}
.bord {
padding: 15px !important;
}
.blogdate {
margin-top: 22px;
}
.blog_det .img2 {
height: 140px !important;
}
}
@media only screen and (min-width: 767px) and (max-width: 1024px) {
.nav-tabs {
overflow-x: auto !important;
white-space: nowrap !important;
flex-wrap: inherit !important;
}
}