blog+contacto php listo
This commit is contained in:
+133
@@ -839,6 +839,128 @@
|
||||
color: var(--brand-teal);
|
||||
border-color: #ffffff;
|
||||
}
|
||||
/* ============================================
|
||||
PÁGINA DE ARTÍCULO INDIVIDUAL (articulo.php)
|
||||
============================================ */
|
||||
.articulo-header {
|
||||
max-width: 900px;
|
||||
margin: 0 auto;
|
||||
padding: calc(var(--spacing-lg) + 2rem) var(--spacing-md) var(--spacing-md);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.articulo-header .badge-filosofia {
|
||||
display: inline-block;
|
||||
padding: 0.4rem 1rem;
|
||||
border-radius: 999px;
|
||||
background-color: var(--badge-bg);
|
||||
color: var(--badge-text);
|
||||
font-family: var(--font-small);
|
||||
font-weight: 600;
|
||||
font-size: 0.85rem;
|
||||
letter-spacing: 0.5px;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: var(--spacing-sm);
|
||||
}
|
||||
|
||||
.articulo-header h1 {
|
||||
font-family: var(--font-title);
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
font-size: clamp(2rem, 5vw, 3.5rem);
|
||||
line-height: 1.15;
|
||||
color: var(--text-primary);
|
||||
margin-bottom: var(--spacing-md);
|
||||
}
|
||||
|
||||
.articulo-meta {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: var(--spacing-md);
|
||||
color: var(--text-muted);
|
||||
font-family: var(--font-small);
|
||||
font-size: 0.9rem;
|
||||
margin-bottom: var(--spacing-md);
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.articulo-imagen {
|
||||
width: 100%;
|
||||
max-height: 500px;
|
||||
object-fit: cover;
|
||||
border-radius: 16px;
|
||||
margin-top: var(--spacing-md);
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.articulo-contenido {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: var(--spacing-lg) var(--spacing-md);
|
||||
font-family: var(--font-body);
|
||||
font-size: 1.1rem;
|
||||
line-height: 1.8;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.articulo-contenido h2,
|
||||
.articulo-contenido h3 {
|
||||
font-family: var(--font-title);
|
||||
font-style: italic;
|
||||
color: var(--text-primary);
|
||||
margin-top: 2.5rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.articulo-contenido p {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.articulo-contenido ul,
|
||||
.articulo-contenido ol {
|
||||
margin-bottom: 1.5rem;
|
||||
padding-left: 1.5rem;
|
||||
}
|
||||
|
||||
.articulo-contenido li {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.articulo-contenido img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
border-radius: 12px;
|
||||
margin: 2rem 0;
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.articulo-contenido blockquote {
|
||||
border-left: 4px solid var(--brand-crimson);
|
||||
padding-left: var(--spacing-md);
|
||||
font-style: italic;
|
||||
color: var(--text-secondary);
|
||||
margin: 2rem 0;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.volver-link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
color: var(--brand-crimson);
|
||||
text-decoration: none;
|
||||
font-family: var(--font-small);
|
||||
font-weight: 600;
|
||||
font-size: 0.95rem;
|
||||
margin-bottom: var(--spacing-md);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.volver-link:hover {
|
||||
color: var(--brand-teal);
|
||||
gap: 0.7rem;
|
||||
}
|
||||
|
||||
|
||||
/* ============================================
|
||||
RESPONSIVE BLOG
|
||||
@@ -855,6 +977,17 @@
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.articulo-header {
|
||||
padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-sm);
|
||||
}
|
||||
.articulo-contenido {
|
||||
padding: var(--spacing-md) var(--spacing-sm);
|
||||
font-size: 1rem;
|
||||
}
|
||||
.articulo-meta {
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
.blog-hero-compact {
|
||||
padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-md);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user