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);
|
||||
}
|
||||
|
||||
@@ -420,6 +420,13 @@
|
||||
color: var(--text-muted);
|
||||
line-height: 1.6;
|
||||
}
|
||||
.form-honeypot {
|
||||
position: absolute;
|
||||
left: -9999px;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* ============================================
|
||||
RESPONSIVE CONTACTO
|
||||
|
||||
@@ -156,6 +156,20 @@ ul { list-style: none; }
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.badge-filosofia {
|
||||
display: inline-block;
|
||||
padding: 0.4rem 1rem;
|
||||
border-radius: 999px;
|
||||
color: var(--badge-text);
|
||||
font-family: var(--font-small);
|
||||
font-weight: 400;
|
||||
font-size: 1rem;
|
||||
letter-spacing: 0.5px;
|
||||
text-transform: uppercase;
|
||||
opacity: 0;
|
||||
animation: fadeInUp 0.9s ease-out 0s forwards;
|
||||
}
|
||||
|
||||
.site-header {
|
||||
background-color: var(--bg-surface);
|
||||
border-bottom: 1px solid var(--border);
|
||||
|
||||
@@ -0,0 +1,94 @@
|
||||
/* ── Modal de contacto ──────────────────────────────────────────────── */
|
||||
#modal-contacto {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: rgba(20, 18, 15, 0.55);
|
||||
backdrop-filter: blur(4px);
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: opacity .35s ease, visibility .35s ease;
|
||||
z-index: 9999;
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
#modal-contacto.is-visible {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
#modal-contacto .modal-card {
|
||||
background: #fff;
|
||||
color: #1c1a17;
|
||||
border-radius: 14px;
|
||||
padding: 2.5rem 2rem;
|
||||
max-width: 460px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
|
||||
transform: translateY(20px) scale(.97);
|
||||
transition: transform .35s cubic-bezier(.2, .8, .2, 1);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#modal-contacto.is-visible .modal-card {
|
||||
transform: translateY(0) scale(1);
|
||||
}
|
||||
|
||||
#modal-contacto .modal-icono {
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
border-radius: 50%;
|
||||
background: #f1ece1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 0 auto 1.25rem;
|
||||
font-size: 1.75rem;
|
||||
color: #8b7355;
|
||||
}
|
||||
|
||||
#modal-contacto .modal-titulo {
|
||||
font-size: 1.4rem;
|
||||
margin: 0 0 .75rem;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
#modal-contacto .modal-mensaje {
|
||||
font-size: .98rem;
|
||||
line-height: 1.55;
|
||||
color: #4a453d;
|
||||
margin: 0 0 1.75rem;
|
||||
}
|
||||
|
||||
#modal-contacto .modal-cerrar {
|
||||
display: inline-block;
|
||||
background: #1c1a17;
|
||||
color: #fff;
|
||||
border: none;
|
||||
padding: .85rem 1.75rem;
|
||||
border-radius: 999px;
|
||||
font-size: .95rem;
|
||||
cursor: pointer;
|
||||
transition: background .25s ease, transform .25s ease;
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
#modal-contacto .modal-cerrar:hover {
|
||||
background: #8b7355;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
/* Variante error */
|
||||
#modal-contacto.is-error .modal-icono {
|
||||
background: #fdecec;
|
||||
color: #c0392b;
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
#modal-contacto .modal-card { padding: 2rem 1.25rem; }
|
||||
#modal-contacto .modal-titulo { font-size: 1.2rem; }
|
||||
}
|
||||
Reference in New Issue
Block a user