34514-vm/assets/css/custom.css
Flatlogic Bot 48326c339f v1
2025-09-30 12:58:11 +00:00

166 lines
2.8 KiB
CSS

body {
background-color: #f4f7f9;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
color: #2c3e50;
}
.navbar-brand {
font-weight: 700;
}
.hero {
background: linear-gradient(45deg, #3498db, #2ecc71);
color: white;
padding: 4rem 0;
text-align: center;
}
.hero h1 {
font-weight: 700;
font-size: 3rem;
}
.blog-card {
background-color: #ffffff;
border: none;
border-radius: 0.5rem;
box-shadow: 0 4px 15px rgba(0,0,0,0.05);
transition: transform 0.3s ease, box-shadow 0.3s ease;
overflow: hidden;
}
.blog-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.blog-card img {
aspect-ratio: 4 / 3;
object-fit: cover;
}
.blog-card .card-body {
padding: 1.75rem;
}
.blog-card .card-title {
font-weight: 600;
font-size: 1.3rem;
color: #2c3e50;
}
.blog-card .card-text {
color: #555;
}
.blog-card .post-meta {
font-size: 0.85rem;
color: #7f8c8d;
margin-bottom: 0.5rem;
}
.btn-primary {
background-color: #3498db;
border-color: #3498db;
font-weight: 500;
padding: 0.6rem 1.5rem;
border-radius: 50px;
transition: background-color 0.3s ease;
}
.btn-primary:hover {
background-color: #2980b9;
border-color: #2980b9;
}
.footer {
background-color: #2c3e50;
color: #ecf0f1;
padding: 2rem 0;
font-size: 0.9rem;
}
.footer a {
color: #3498db;
text-decoration: none;
}
.footer a:hover {
color: #ffffff;
}
/* Single Post Styles */
.post-full {
background-color: #ffffff;
padding: 2.5rem;
border-radius: 0.5rem;
box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.post-header .post-title {
font-family: 'Lora', serif;
font-size: 2.8rem;
font-weight: 700;
margin-bottom: 0.5rem;
color: #2c3e50;
}
.post-header .post-meta {
font-size: 0.9rem;
color: #7f8c8d;
}
.post-featured-image {
border-radius: 0.5rem;
overflow: hidden;
margin: 2rem 0;
}
.post-featured-image img {
width: 100%;
height: auto;
object-fit: cover;
}
.post-content {
font-family: 'Lora', serif;
font-size: 1.15rem;
line-height: 1.8;
color: #34495e;
}
.post-content h2, .post-content h3 {
font-family: 'Inter', sans-serif;
font-weight: 600;
margin-top: 2.5rem;
margin-bottom: 1.5rem;
color: #2c3e50;
}
.post-content p {
margin-bottom: 1.5rem;
}
.post-content a {
color: #3498db;
text-decoration: underline;
}
.post-content a:hover {
color: #2980b9;
}
.btn-outline-primary {
border-color: #3498db;
color: #3498db;
border-radius: 50px;
padding: 0.6rem 1.5rem;
font-weight: 500;
}
.btn-outline-primary:hover {
background-color: #3498db;
color: #ffffff;
}