Files
2026-07-01 16:44:17 +03:00

326 lines
5.8 KiB
CSS

.blog-post {
margin-bottom: 1.5rem;
transition: var(--transition-smooth);
}
.blog-post:hover {
transform: translateY(-4px);
}
.blog-post .glass-card {
cursor: pointer;
}
.blog-post .glass-card:hover {
border-color: rgba(59,130,246,0.25);
}
.blog-post .row.g-0 {
display: flex;
align-items: stretch;
}
.blog-post .col-md-4 {
display: flex;
overflow: hidden;
}
.blog-post img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}
.blog-post:hover img {
transform: scale(1.05);
}
.blog-post-title {
margin-bottom: 0.5rem;
}
.blog-post-title a {
text-decoration: none;
color: var(--text-main);
font-weight: 700;
transition: var(--transition-smooth);
}
.blog-post-title a:hover {
color: var(--primary);
}
.blog-post-excerpt {
flex-grow: 1;
margin-bottom: 0.5rem;
color: var(--text-muted);
font-size: 0.95rem;
line-height: 1.6;
}
.blog-post-meta {
display: flex;
align-items: center;
gap: 0.5rem;
color: var(--text-muted);
font-size: 0.85rem;
}
.blog-post-meta i {
color: var(--primary);
}
.blog-categories-heading {
padding-bottom: 0.5rem;
}
.blog-categories-heading i {
color: var(--primary);
}
.blog-category-link {
display: flex;
align-items: center;
padding: 0.5rem 0.5rem;
text-decoration: none;
color: var(--text-muted);
border-radius: 0.5rem;
transition: var(--transition-smooth);
}
.blog-category-link:hover {
background: var(--glass-bg);
color: var(--primary);
}
.blog-category-link i {
color: var(--primary);
font-size: 0.8rem;
margin-right: 0.5rem;
}
.blog-category-badge {
margin-left: auto;
background: var(--glass-bg);
color: var(--text-muted);
font-size: 0.75rem;
border: 1px solid var(--glass-border);
}
.blog-categories-list {
background: transparent;
}
.blog-categories-list .list-group-item {
background: transparent;
border: none;
}
.blog-breadcrumb {
background: var(--glass-bg);
border: 1px solid var(--glass-border);
border-radius: 0.75rem;
padding: 0.75rem 1rem;
}
.blog-breadcrumb a {
color: var(--primary);
}
.blog-breadcrumb .breadcrumb-item.active {
color: var(--text-muted);
}
.sponsor-label {
color: var(--text-muted);
}
h5.border-bottom {
border-bottom: 2px solid var(--primary) !important;
color: var(--text-main) !important;
padding-bottom: 0.5rem;
}
/* Blog content page */
.blog-content-title {
font-size: 1.75rem;
font-weight: 700;
color: var(--text-main);
margin-bottom: 1rem;
line-height: 1.3;
}
.blog-content-meta {
display: flex;
align-items: center;
gap: 0.75rem;
margin-bottom: 1.25rem;
}
.blog-content-meta .avatar {
width: 42px;
height: 42px;
border-radius: 50%;
background-size: cover;
background-position: center;
border: 2px solid var(--glass-border);
flex-shrink: 0;
}
.blog-content-author {
display: block;
font-weight: 600;
font-size: 0.95rem;
color: var(--text-main);
text-decoration: none;
line-height: 1.3;
}
.blog-content-author:hover {
color: var(--primary);
}
.blog-content-info {
display: block;
font-size: 0.82rem;
color: var(--text-muted);
line-height: 1.3;
}
.blog-divider {
border: none;
border-top: 1px solid var(--glass-border);
margin: 1.5rem 0;
}
.blog-content-body {
color: var(--text-main);
font-size: 1rem;
line-height: 1.75;
}
.blog-content-body h1,
.blog-content-body h2,
.blog-content-body h3,
.blog-content-body h4,
.blog-content-body h5,
.blog-content-body h6 {
color: var(--text-main);
margin-top: 1.5em;
margin-bottom: 0.75em;
}
.blog-content-body p {
margin-bottom: 1em;
color: var(--text-main);
}
.blog-content-body a {
color: var(--primary);
text-decoration: underline;
}
.blog-content-body a:hover {
color: var(--primary-hover);
}
.blog-content-body img {
max-width: 100%;
height: auto;
border-radius: 10px;
margin: 1rem 0;
}
.blog-content-body blockquote {
border-left: 4px solid var(--primary);
padding: 0.75rem 1.25rem;
margin: 1rem 0;
background: var(--bg-tertiary);
border-radius: 0 8px 8px 0;
color: var(--text-muted);
font-style: italic;
}
.blog-content-body pre,
.blog-content-body code {
background: var(--bg-tertiary);
border: 1px solid var(--glass-border);
border-radius: 6px;
padding: 0.2em 0.4em;
font-size: 0.9em;
color: var(--text-main);
}
.blog-content-body pre {
padding: 1rem;
overflow-x: auto;
}
.blog-content-body pre code {
background: none;
border: none;
padding: 0;
}
.blog-content-body ul,
.blog-content-body ol {
padding-left: 1.5rem;
margin-bottom: 1em;
color: var(--text-main);
}
.blog-content-body li {
margin-bottom: 0.3em;
}
.blog-share {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.75rem;
}
.blog-share-label {
font-size: 0.85rem;
font-weight: 500;
color: var(--text-muted);
white-space: nowrap;
}
.blog-share-link {
display: inline-flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 8px;
font-size: 1rem;
text-decoration: none;
transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
color: var(--text-muted);
background: var(--bg-elevated);
border: 1px solid var(--glass-border);
}
.blog-share-link:hover {
transform: translateY(-2px);
}
.blog-share-link.facebook:hover {
background: #1877F2;
color: #fff;
border-color: #1877F2;
}
.blog-share-link.twitter:hover {
background: #000;
color: #fff;
border-color: #000;
}
.blog-share-link.linkedin:hover {
background: #0A66C2;
color: #fff;
border-color: #0A66C2;
}
.blog-share-link.whatsapp:hover {
background: #25D366;
color: #fff;
border-color: #25D366;
}
.blog-share-link.telegram:hover {
background: #24A1DE;
color: #fff;
border-color: #24A1DE;
}
.blog-share-link.reddit:hover {
background: #FF4500;
color: #fff;
border-color: #FF4500;
}
@media (max-width: 767px) {
.blog-content-title {
font-size: 1.35rem;
}
}