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.
<link href="https://fonts.googleapis.com/css2?family=Newsreader:wght@400;700&family=Libre+Baskerville:wght@400;700&family=EB+Garamond:wght@400;700&family=Ysabeau+Infant:wght@400;700&family=Crimson+Pro:wght@400;700&display=swap" rel="stylesheet">
/* --- Estilo General del Sitio --- */
body {
font-family: 'Newsreader', serif; /* Fuente para el texto principal */
background-color: #18181e; /* Fondo oscuro */
color: #ffffff; /* Texto blanco */
line-height: 1.3; /* Espaciado cómodo */
margin: 0;
padding: 0;
}
/* --- Contenido Principal --- */
.mw-parser-output {
font-family: 'Newsreader', serif; /* Fuente principal */
color: #ffffff; /* Color blanco */
font-size: 1rem; /* Tamaño estándar */
line-height: 1.3; /* Espaciado cómodo entre líneas */
margin: 0 10%; /* Márgenes laterales para centrar contenido */
}
/* --- Título Principal del Artículo --- */
#content h1.firstHeading {
font-family: 'Libre Baskerville', serif; /* Fuente elegante */
font-size: 2.5rem; /* Tamaño destacado */
font-weight: normal; /* Sin negrita */
color: #ffffff;
text-align: center; /* Centrar el título */
margin-top: 20px;
margin-bottom: 20px;
border-bottom: 2px solid #ffffff; /* Línea decorativa */
padding-bottom: 10px;
}
/* --- Encabezados Secundarios --- */
.mw-parser-output h2 {
font-family: 'EB Garamond', serif;
font-size: 2rem;
font-weight: bold;
color: #ffffff;
margin-top: 30px;
margin-bottom: 10px;
}
.mw-parser-output h3 {
font-family: 'Ysabeau Infant', serif;
font-size: 1.5rem;
font-weight: bold;
color: #ffffff;
margin-top: 20px;
}
/* --- Letra Capital al Inicio del Artículo --- */
.mw-parser-output > p:first-of-type::first-letter {
font-size: 3rem;
font-family: 'Libre Baskerville', serif;
font-weight: bold;
color: #ffffff;
float: left;
line-height: 1;
margin-right: 10px;
margin-top: 5px;
}
/* --- Hipervínculos en Artículos --- */
.mw-parser-output a {
text-decoration: none; /* Sin subrayado por defecto */
color: #ffffff; /* Blanco como el texto normal */
position: relative;
border-bottom: 4px solid rgba(255, 255, 0, 0.8); /* Subrayado amarillo sutil */
padding-bottom: 2px; /* Ajusta la proximidad del subrayado */
transition: all 0.3s ease-in-out; /* Transición suave para el cambio */
}
.mw-parser-output a:hover {
color: #18181e; /* El texto se vuelve negro al pasar el mouse */
}
.mw-parser-output a::after {
content: ''; /* Sin contenido por defecto */
position: absolute;
width: 0; /* Inicialmente no se ve */
height: 100%; /* Cubre toda la altura del texto */
background: yellow; /* Subrayado amarillo */
bottom: 0;
left: 0;
z-index: -1; /* Lo coloca detrás del texto */
transition: width 0.4s ease-in-out; /* Transición para el efecto */
}
.mw-parser-output a:hover::after {
width: 100%; /* Al pasar el mouse, se extiende el subrayado */
}
/* --- Listas --- */
.mw-parser-output ul,
.mw-parser-output ol {
margin-left: 20px;
}
.mw-parser-output li {
line-height: 1.8;
}
/* --- Tablas --- */
.mw-parser-output table {
border-collapse: collapse;
width: 100%;
color: #ffffff;
margin: 20px 0;
}
.mw-parser-output th,
.mw-parser-output td {
border: 1px solid #ffffff;
padding: 10px;
text-align: left;
}
/* --- Descripciones de Imágenes --- */
.mw-parser-output .thumbcaption {
font-family: 'Ysabeau Infant', serif;
font-size: 0.875rem;
color: #ffffff;
text-align: center;
margin-top: 5px;
}
/* --- Referencias y Notas --- */
.mw-parser-output sup {
font-family: 'Crimson Pro', serif;
font-size: 0.75rem;
color: #ffcc00;
}
.mw-parser-output sup a {
text-decoration: none;
color: #ffcc00;
}
/* --- Botones (si aplica) --- */
button, input[type="button"] {
font-family: 'Newsreader', serif;
background-color: #ffcc00;
color: #18181e;
border: none;
padding: 10px 20px;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover, input[type="button"]:hover {
background-color: #ffffff;
color: #18181e;
}