Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;700&family=Abhaya+Libre:wght@400;700&family=Crimson+Text:wght@400&family=Commissioner:wght@400&display=swap');
/* Estilo para el título principal de los artículos */
#firstHeading {
font-family: "Garamond", serif;
font-size: 2.5em; /* Tamaño grande para destacar */
}
/* Primer nivel de subtítulos (h2) en EB Garamond */
h2 {
font-family: "EB Garamond", serif;
font-size: 1.8em; /* Tamaño destacado */
font-weight: 700; /* Negrita para énfasis */
margin-bottom: 10px; /* Espaciado adicional */
border-bottom: 2px solid #f5ed56; /* Línea amarilla para separación */
padding-bottom: 5px; /* Espaciado interno */
}
/* Subtítulos (h3-h5) en Abhaya Libre */
h3, h4, h5 {
font-family: "Abhaya Libre", serif;
font-weight: 700; /* Negrita para énfasis */
}
/* Nivel más pequeño (h6) con tamaño ajustado */
h6 {
font-family: "Commissioner", sans-serif;
font-weight: 700; /* Negrita para destacar */
font-size: 1.2em; /* Ligeramente mayor que el texto normal */
margin-top: 15px; /* Espaciado superior */
}
/* Texto normal de los artículos */
.mw-body-content {
font-family: "Crimson Text", serif; /* Fuente elegante y profesional */
font-size: 1.3em; /* Tamaño estándar */
color: #ffffff; /* Blanco para contraste limpio */
line-height: 1.8; /* Altura de línea para buena legibilidad */
}
/* Estilo para enlaces */
a, a:link, a:visited {
color: inherit; /* Conserva el color del texto normal */
text-decoration: underline; /* Subrayado visible */
text-decoration-thickness: 2px; /* Subrayado grueso */
text-decoration-color: #f5ed56; /* Subrayado amarillo */
position: relative; /* Necesario para efectos */
overflow: hidden; /* Previene desbordamientos */
transition: color 0.3s ease, text-decoration-color 0.3s ease; /* Transiciones suaves */
}
/* Efecto dinámico en enlaces al pasar el cursor */
a:hover {
color: #090a0a !important; /* Negro profundo */
}
/* Fondo amarillo animado */
a::before {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 100%;
background-color: #f5ed56; /* Amarillo marcador */
z-index: -1;
transition: width 0.4s ease;
}
a:hover::before {
width: 100%; /* Expande el fondo */
}
/* Texto seleccionado */
::selection {
background-color: #f5ed56; /* Fondo amarillo */
color: #18181e; /* Texto oscuro */
}
/* Fondo general */
body {
background-color: #18181e;
}
/* Bloques de cita */
blockquote {
font-family: "EB Garamond", serif; /* Fuente elegante */
font-size: 1.2em; /* Tamaño destacado */
color: #e0e0e0; /* Gris claro */
background-color: #202028; /* Fondo oscuro */
border-left: 5px solid #f5ed56; /* Línea amarilla */
padding: 15px 20px; /* Espaciado interno */
margin: 20px 0; /* Espaciado externo */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Sombra profesional */
border-radius: 5px; /* Bordes redondeados */
line-height: 1.8; /* Mejor legibilidad */
position: relative; /* Necesario para el círculo */
}
/* Círculo con flecha en bloques de cita */
blockquote::after {
content: "↑"; /* Flecha hacia arriba */
position: absolute;
bottom: -20px; /* Justo debajo del bloque */
right: 10px; /* Alineado a la derecha */
background-color: #f5ed56; /* Amarillo marcador */
color: #090a0a; /* Negro profundo */
border-radius: 50%; /* Forma circular */
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: background-color 0.3s ease, color 0.3s ease;
}
/* Efecto al pasar el cursor sobre el círculo */
blockquote::after:hover {
background-color: #e0e0e0; /* Gris claro */
color: #18181e; /* Texto oscuro */
}