More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/ | <link href="https://fonts.googleapis.com/css2?family=Cardo:wght@400;700&family=Crimson+Pro:wght@400;700&family=EB+Garamond:wght@400;700&display=swap" rel="stylesheet"> | ||
<style> | |||
/* --- Configuración General del Sitio --- */ | |||
/* | body { | ||
font-family: 'Cardo', serif; /* Fuente para el texto normal */ | |||
background-color: #1a1a1f; /* Fondo oscuro */ | |||
color: #e4ddcf; /* Color del texto principal */ | |||
line-height: 1.6; /* Espaciado entre líneas para mejor legibilidad */ | |||
margin: 0; | |||
padding: 0; | |||
text-rendering: optimizeLegibility; /* Mejora el renderizado del texto */ | |||
} | } | ||
/* --- Contenido Principal --- */ | |||
.mw-parser-output { | |||
font-family: 'Cardo', serif; /* Asegura que el texto use Cardo */ | |||
font-size: 1rem; /* Tamaño estándar */ | |||
color: #e4ddcf; /* Color del texto normal */ | |||
line-height: 1.6; /* Espaciado cómodo entre líneas */ | |||
margin: 0 10%; /* Márgenes laterales */ | |||
} | } | ||
/* --- Título Principal del Artículo (Heading 1) --- */ | |||
#content h1.firstHeading { | |||
font-family: 'Garamond', serif; /* Fuente Garamond para el título principal */ | |||
font-size: 2.5rem; /* Tamaño destacado */ | |||
font-weight: normal; /* Sin negrita */ | |||
color: #ffffff; /* Color blanco */ | |||
text-align: center; /* Centrar el título */ | |||
margin: 20px 0; | |||
border-bottom: 2px solid #ffffff; /* Línea decorativa */ | |||
padding-bottom: 10px; | |||
} | } | ||
/* --- Encabezados Secundarios (Heading de Artículos) --- */ | |||
.mw-parser-output h2 { | |||
font-family: 'EB Garamond', serif; /* Fuente EB Garamond */ | |||
font-size: 2rem; | |||
font-weight: bold; | |||
color: #ffffff; /* Color blanco */ | |||
margin: 30px 0 10px; | |||
border-bottom: 2px solid #f1c45e; /* Línea decorativa */ | |||
} | } | ||
/* | .mw-parser-output h3 { | ||
font-family: 'EB Garamond', serif; /* Fuente EB Garamond */ | |||
font-size: 1.5rem; | |||
font-weight: bold; | |||
color: #ffffff; /* Color blanco */ | |||
margin: 20px 0 10px; | |||
} | } | ||
/* | /* --- Letra Capital al Inicio del Artículo --- */ | ||
.mw-parser-output > p:first-of-type::first-letter { | |||
font-size: 3rem; | |||
font-family: 'Cardo', serif; /* Letra inicial en Cardo */ | |||
font-weight: bold; | |||
color: #ffffff; /* Blanco */ | |||
float: left; | |||
line-height: 1; | |||
margin: 5px 10px 0 0; | |||
} | } | ||
. | /* --- Hipervínculos --- */ | ||
.mw-parser-output a { | |||
text-decoration: none; /* Sin subrayado inicial */ | |||
color: #ffffff; /* Blanco */ | |||
position: relative; | |||
border-bottom: 4px solid transparent; /* Subrayado inicialmente invisible */ | |||
. | padding-bottom: 2px; | ||
transition: all 0.3s ease-in-out; /* Transición suave */ | |||
} | } | ||
/* | .mw-parser-output a::after { | ||
content: ''; /* Sin contenido adicional */ | |||
position: absolute; | |||
left: 0; | |||
bottom: 0; | |||
width: 0; /* Subrayado inicialmente oculto */ | |||
height: 4px; /* Altura del subrayado */ | |||
background: #f1c45e; /* Color del subrayado */ | |||
transition: width 0.4s ease-in-out; /* Efecto de deslizamiento */ | |||
} | } | ||
.mw-parser-output a:hover::after { | |||
width: 100%; /* Subrayado visible de izquierda a derecha al pasar el mouse */ | |||
} | } | ||
.mw-parser-output a:hover { | |||
color: #1a1a1f; /* Texto del enlace se mezcla con el fondo al pasar el mouse */ | |||
} | } | ||
/* --- Listas --- */ | |||
.mw-parser-output ul, | |||
.mw-parser-output ol { | |||
margin-left: 20px; | |||
} | } | ||
.mw-parser-output li { | |||
line-height: 1.8; /* Espaciado cómodo entre elementos */ | |||
} | } | ||
/* --- Tablas --- */ | |||
.mw-parser-output table { | |||
border-collapse: collapse; | |||
width: 100%; | |||
color: #e4ddcf; /* Texto dentro de tablas */ | |||
margin: 20px 0; | |||
} | } | ||
. | .mw-parser-output th, | ||
.mw-parser-output td { | |||
border: 1px solid #ffffff; /* Bordes blancos */ | |||
padding: 10px; | |||
text-align: left; | |||
} | } | ||
. | /* --- Descripciones de Imágenes --- */ | ||
.mw-parser-output .thumbcaption { | |||
font-family: 'Cardo', serif; /* Fuente Cardo */ | |||
font-size: 0.875rem; | |||
color: #e4ddcf; /* Color del texto */ | |||
text-align: center; | |||
margin-top: 5px; | |||
} | } | ||
/* --- Referencias y Notas --- */ | |||
.mw-parser-output sup { | |||
font-family: 'Crimson Pro', serif; /* Fuente para referencias */ | |||
font-size: 0.75rem; | |||
color: #f1c45e; /* Color del texto */ | |||
} | } | ||
.mw-parser-output sup a { | |||
text-decoration: none; | |||
color: #f1c45e; /* Color del enlace */ | |||
} | } | ||
/* | /* --- Estilo para las Citas --- */ | ||
. | .mw-parser-output blockquote { | ||
font-family: 'Crimson Pro', serif; /* Fuente para citas */ | |||
font-size: 1rem; | |||
color: #e4ddcf; /* Texto de las citas */ | |||
background-color: #333333; /* Fondo gris oscuro */ | |||
padding: 10px 15px; /* Espaciado interno */ | |||
border-left: 5px solid #f1c45e; /* Línea decorativa */ | |||
margin: 20px 0; | |||
font-style: italic; | |||
} | } | ||
</style> | |||
Revision as of 02:03, 9 December 2024
<link href="https://fonts.googleapis.com/css2?family=Cardo:wght@400;700&family=Crimson+Pro:wght@400;700&family=EB+Garamond:wght@400;700&display=swap" rel="stylesheet">
<style>
/* --- Configuración General del Sitio --- */
body {
font-family: 'Cardo', serif; /* Fuente para el texto normal */
background-color: #1a1a1f; /* Fondo oscuro */
color: #e4ddcf; /* Color del texto principal */
line-height: 1.6; /* Espaciado entre líneas para mejor legibilidad */
margin: 0;
padding: 0;
text-rendering: optimizeLegibility; /* Mejora el renderizado del texto */
}
/* --- Contenido Principal --- */
.mw-parser-output {
font-family: 'Cardo', serif; /* Asegura que el texto use Cardo */
font-size: 1rem; /* Tamaño estándar */
color: #e4ddcf; /* Color del texto normal */
line-height: 1.6; /* Espaciado cómodo entre líneas */
margin: 0 10%; /* Márgenes laterales */
}
/* --- Título Principal del Artículo (Heading 1) --- */
#content h1.firstHeading {
font-family: 'Garamond', serif; /* Fuente Garamond para el título principal */
font-size: 2.5rem; /* Tamaño destacado */
font-weight: normal; /* Sin negrita */
color: #ffffff; /* Color blanco */
text-align: center; /* Centrar el título */
margin: 20px 0;
border-bottom: 2px solid #ffffff; /* Línea decorativa */
padding-bottom: 10px;
}
/* --- Encabezados Secundarios (Heading de Artículos) --- */
.mw-parser-output h2 {
font-family: 'EB Garamond', serif; /* Fuente EB Garamond */
font-size: 2rem;
font-weight: bold;
color: #ffffff; /* Color blanco */
margin: 30px 0 10px;
border-bottom: 2px solid #f1c45e; /* Línea decorativa */
}
.mw-parser-output h3 {
font-family: 'EB Garamond', serif; /* Fuente EB Garamond */
font-size: 1.5rem;
font-weight: bold;
color: #ffffff; /* Color blanco */
margin: 20px 0 10px;
}
/* --- Letra Capital al Inicio del Artículo --- */
.mw-parser-output > p:first-of-type::first-letter {
font-size: 3rem;
font-family: 'Cardo', serif; /* Letra inicial en Cardo */
font-weight: bold;
color: #ffffff; /* Blanco */
float: left;
line-height: 1;
margin: 5px 10px 0 0;
}
/* --- Hipervínculos --- */
.mw-parser-output a {
text-decoration: none; /* Sin subrayado inicial */
color: #ffffff; /* Blanco */
position: relative;
border-bottom: 4px solid transparent; /* Subrayado inicialmente invisible */
padding-bottom: 2px;
transition: all 0.3s ease-in-out; /* Transición suave */
}
.mw-parser-output a::after {
content: ''; /* Sin contenido adicional */
position: absolute;
left: 0;
bottom: 0;
width: 0; /* Subrayado inicialmente oculto */
height: 4px; /* Altura del subrayado */
background: #f1c45e; /* Color del subrayado */
transition: width 0.4s ease-in-out; /* Efecto de deslizamiento */
}
.mw-parser-output a:hover::after {
width: 100%; /* Subrayado visible de izquierda a derecha al pasar el mouse */
}
.mw-parser-output a:hover {
color: #1a1a1f; /* Texto del enlace se mezcla con el fondo al pasar el mouse */
}
/* --- Listas --- */
.mw-parser-output ul,
.mw-parser-output ol {
margin-left: 20px;
}
.mw-parser-output li {
line-height: 1.8; /* Espaciado cómodo entre elementos */
}
/* --- Tablas --- */
.mw-parser-output table {
border-collapse: collapse;
width: 100%;
color: #e4ddcf; /* Texto dentro de tablas */
margin: 20px 0;
}
.mw-parser-output th,
.mw-parser-output td {
border: 1px solid #ffffff; /* Bordes blancos */
padding: 10px;
text-align: left;
}
/* --- Descripciones de Imágenes --- */
.mw-parser-output .thumbcaption {
font-family: 'Cardo', serif; /* Fuente Cardo */
font-size: 0.875rem;
color: #e4ddcf; /* Color del texto */
text-align: center;
margin-top: 5px;
}
/* --- Referencias y Notas --- */
.mw-parser-output sup {
font-family: 'Crimson Pro', serif; /* Fuente para referencias */
font-size: 0.75rem;
color: #f1c45e; /* Color del texto */
}
.mw-parser-output sup a {
text-decoration: none;
color: #f1c45e; /* Color del enlace */
}
/* --- Estilo para las Citas --- */
.mw-parser-output blockquote {
font-family: 'Crimson Pro', serif; /* Fuente para citas */
font-size: 1rem;
color: #e4ddcf; /* Texto de las citas */
background-color: #333333; /* Fondo gris oscuro */
padding: 10px 15px; /* Espaciado interno */
border-left: 5px solid #f1c45e; /* Línea decorativa */
margin: 20px 0;
font-style: italic;
}
</style>