More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* --- Importación de Google Fonts --- */ | |||
@import url('https://fonts.googleapis.com/css2?family=Cardo:wght@400;700&family=Crimson+Pro:wght@400;700&family=Crimson+Text:wght@400;700&family=EB+Garamond:wght@400;700&family=Garamond&display=swap'); | |||
/* --- Configuración General --- */ | /* --- Configuración General --- */ | ||
body { | body { | ||
font-family: 'Cardo', serif; /* Fuente principal */ | font-family: 'Cardo', serif; /* Fuente principal para el texto normal */ | ||
background-color: #1a1a1f; /* Fondo | background-color: #1a1a1f; /* Fondo general del sitio */ | ||
color: #e4ddcf; /* | color: #e4ddcf; /* Color principal del texto */ | ||
line-height: 1.6; /* Espaciado entre líneas */ | line-height: 1.6; /* Espaciado cómodo entre líneas */ | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
} | } | ||
/* --- | /* --- Título del Artículo (Texto no editable) --- */ | ||
.firstHeading { | |||
font-family: 'Garamond', serif; /* Fuente Garamond */ | font-family: 'Garamond', serif; /* Fuente Garamond */ | ||
font-size: 2.5rem; | font-size: 2.5rem; | ||
font-weight: normal; /* Sin negrita */ | font-weight: normal; /* Sin negrita */ | ||
color: #ffffff; | color: #ffffff; /* Color blanco */ | ||
text-align: center; | text-align: center; | ||
margin: 20px 0; | margin: 20px 0; | ||
border-bottom: 2px solid #f1c45e; /* Línea decorativa */ | border-bottom: 2px solid #f1c45e; /* Línea decorativa en amarillo suave */ | ||
padding-bottom: 10px; | padding-bottom: 10px; | ||
} | } | ||
/* --- | /* --- Contenido Principal de los Artículos --- */ | ||
.mw-parser-output { | |||
font-family: 'Cardo', serif; /* Fuente principal para el texto del contenido */ | |||
font-size: 1rem; | |||
color: #e4ddcf; | |||
line-height: 1.6; | |||
margin: 0 10%; /* Márgenes laterales */ | |||
} | |||
/* --- Primer Heading (Heading 2) --- */ | |||
.mw-parser-output h2 { | .mw-parser-output h2 { | ||
font-family: ' | font-family: 'Crimson Text', serif; /* Fuente Crimson Text */ | ||
font-size: 2rem; | font-size: 2rem; | ||
font-weight: bold; | font-weight: bold; | ||
color: #ffffff; | color: #ffffff; /* Color blanco */ | ||
margin: 30px 0 10px; | margin: 30px 0 10px; | ||
border-bottom: 2px solid #f1c45e; | border-bottom: 2px solid #f1c45e; /* Línea decorativa */ | ||
} | } | ||
.mw-parser-output h3 { | /* --- Subheadings Secundarios (Heading 3 y posteriores) --- */ | ||
font-family: 'EB Garamond', serif; | .mw-parser-output h3, .mw-parser-output h4, .mw-parser-output h5, .mw-parser-output h6 { | ||
font-family: 'EB Garamond', serif; /* Fuente EB Garamond */ | |||
font-size: 1.5rem; | font-size: 1.5rem; | ||
font-weight: bold; | font-weight: bold; | ||
color: #ffffff; | color: #ffffff; /* Color blanco */ | ||
margin: 20px 0 10px; | margin: 20px 0 10px; | ||
} | } | ||
/* --- | /* --- Letra Capital al Inicio del Artículo --- */ | ||
.mw-parser-output > p:first-of-type::first-letter { | .mw-parser-output > p:first-of-type::first-letter { | ||
font-size: 3rem; | font-size: 3rem; | ||
font-family: 'Cardo', serif; | font-family: 'Cardo', serif; /* Letra inicial en Cardo */ | ||
font-weight: bold; | font-weight: bold; | ||
color: #ffffff; | color: #ffffff; | ||
| Line 63: | Line 63: | ||
} | } | ||
/* --- | /* --- Hipervínculos (Subrayado y Marcado) --- */ | ||
.mw-parser-output a { | .mw-parser-output a { | ||
text-decoration: none; | text-decoration: none; /* Sin subrayado por defecto */ | ||
color: #ffffff; | color: #ffffff; /* Color del texto */ | ||
border-bottom: 2px solid #f1c45e; | border-bottom: 2px solid #f1c45e; /* Subrayado amarillo suave */ | ||
transition: all 0.3s ease-in-out; | position: relative; | ||
transition: all 0.3s ease-in-out; /* Transición para marcado */ | |||
} | } | ||
.mw-parser-output a:hover { | .mw-parser-output a:hover { | ||
background-color: #f1c45e; | background-color: #f1c45e; /* Fondo amarillo claro al pasar el mouse */ | ||
color: #1a1a1f; | color: #1a1a1f; /* Texto cambia al color del fondo general */ | ||
} | |||
.mw-parser-output a:hover::after { | |||
content: ''; /* Sin contenido adicional */ | |||
position: absolute; | |||
left: 0; | |||
bottom: 0; | |||
width: 100%; /* El subrayado cubre todo el ancho */ | |||
height: 2px; /* Altura del subrayado */ | |||
background: #f1c45e; /* Color del marcado */ | |||
z-index: -1; /* Envía el subrayado detrás del texto */ | |||
} | } | ||
/* --- Listas --- */ | /* --- Listas --- */ | ||
.mw-parser-output ul, | .mw-parser-output ul, .mw-parser-output ol { | ||
.mw-parser-output ol { | |||
margin-left: 20px; | margin-left: 20px; | ||
} | } | ||
.mw-parser-output li { | .mw-parser-output li { | ||
line-height: 1.8; /* Espaciado cómodo */ | line-height: 1.8; /* Espaciado cómodo entre elementos */ | ||
} | } | ||
| Line 94: | Line 105: | ||
} | } | ||
.mw-parser-output th, | .mw-parser-output th, .mw-parser-output td { | ||
.mw-parser-output td { | border: 1px solid #ffffff; /* Bordes blancos */ | ||
border: 1px solid #ffffff; | |||
padding: 10px; | padding: 10px; | ||
text-align: left; | text-align: left; | ||
| Line 103: | Line 113: | ||
/* --- Descripciones de Imágenes --- */ | /* --- Descripciones de Imágenes --- */ | ||
.mw-parser-output .thumbcaption { | .mw-parser-output .thumbcaption { | ||
font-family: 'Cardo', serif; | font-family: 'Cardo', serif; /* Fuente Cardo */ | ||
font-size: 0.875rem; | font-size: 0.875rem; | ||
color: #e4ddcf; | color: #e4ddcf; | ||
| Line 112: | Line 122: | ||
/* --- Referencias y Notas --- */ | /* --- Referencias y Notas --- */ | ||
.mw-parser-output sup { | .mw-parser-output sup { | ||
font-family: 'Crimson Pro', serif; /* Fuente | font-family: 'Crimson Pro', serif; /* Fuente Crimson Pro */ | ||
font-size: 0.75rem; | font-size: 0.75rem; | ||
color: #f1c45e; | color: #f1c45e; | ||
| Line 119: | Line 129: | ||
.mw-parser-output sup a { | .mw-parser-output sup a { | ||
text-decoration: none; | text-decoration: none; | ||
color: #f1c45e; | color: #f1c45e; /* Enlaces de las referencias */ | ||
} | } | ||
/* --- Estilo | /* --- Estilo para las Citas --- */ | ||
.mw-parser-output blockquote { | .mw-parser-output blockquote { | ||
font-family: 'Crimson Pro', serif; /* Fuente | font-family: 'Crimson Pro', serif; /* Fuente para citas */ | ||
font-size: 1rem; | font-size: 1rem; | ||
color: #e4ddcf; | color: #e4ddcf; /* Texto de las citas */ | ||
background-color: #333333; /* Fondo oscuro */ | background-color: #333333; /* Fondo gris oscuro */ | ||
padding: 10px 15px; | padding: 10px 15px; /* Espaciado interno */ | ||
border-left: 5px solid #f1c45e; | border-left: 5px solid #f1c45e; /* Línea decorativa */ | ||
margin: 20px 0; | margin: 20px 0; | ||
font-style: italic; | font-style: italic; | ||
} | } | ||
Revision as of 02:40, 9 December 2024
/* --- Importación de Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cardo:wght@400;700&family=Crimson+Pro:wght@400;700&family=Crimson+Text:wght@400;700&family=EB+Garamond:wght@400;700&family=Garamond&display=swap');
/* --- Configuración General --- */
body {
font-family: 'Cardo', serif; /* Fuente principal para el texto normal */
background-color: #1a1a1f; /* Fondo general del sitio */
color: #e4ddcf; /* Color principal del texto */
line-height: 1.6; /* Espaciado cómodo entre líneas */
margin: 0;
padding: 0;
}
/* --- Título del Artículo (Texto no editable) --- */
.firstHeading {
font-family: 'Garamond', serif; /* Fuente Garamond */
font-size: 2.5rem;
font-weight: normal; /* Sin negrita */
color: #ffffff; /* Color blanco */
text-align: center;
margin: 20px 0;
border-bottom: 2px solid #f1c45e; /* Línea decorativa en amarillo suave */
padding-bottom: 10px;
}
/* --- Contenido Principal de los Artículos --- */
.mw-parser-output {
font-family: 'Cardo', serif; /* Fuente principal para el texto del contenido */
font-size: 1rem;
color: #e4ddcf;
line-height: 1.6;
margin: 0 10%; /* Márgenes laterales */
}
/* --- Primer Heading (Heading 2) --- */
.mw-parser-output h2 {
font-family: 'Crimson Text', serif; /* Fuente Crimson Text */
font-size: 2rem;
font-weight: bold;
color: #ffffff; /* Color blanco */
margin: 30px 0 10px;
border-bottom: 2px solid #f1c45e; /* Línea decorativa */
}
/* --- Subheadings Secundarios (Heading 3 y posteriores) --- */
.mw-parser-output h3, .mw-parser-output h4, .mw-parser-output h5, .mw-parser-output h6 {
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;
float: left;
line-height: 1;
margin: 5px 10px 0 0;
}
/* --- Hipervínculos (Subrayado y Marcado) --- */
.mw-parser-output a {
text-decoration: none; /* Sin subrayado por defecto */
color: #ffffff; /* Color del texto */
border-bottom: 2px solid #f1c45e; /* Subrayado amarillo suave */
position: relative;
transition: all 0.3s ease-in-out; /* Transición para marcado */
}
.mw-parser-output a:hover {
background-color: #f1c45e; /* Fondo amarillo claro al pasar el mouse */
color: #1a1a1f; /* Texto cambia al color del fondo general */
}
.mw-parser-output a:hover::after {
content: ''; /* Sin contenido adicional */
position: absolute;
left: 0;
bottom: 0;
width: 100%; /* El subrayado cubre todo el ancho */
height: 2px; /* Altura del subrayado */
background: #f1c45e; /* Color del marcado */
z-index: -1; /* Envía el subrayado detrás del texto */
}
/* --- 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;
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;
text-align: center;
margin-top: 5px;
}
/* --- Referencias y Notas --- */
.mw-parser-output sup {
font-family: 'Crimson Pro', serif; /* Fuente Crimson Pro */
font-size: 0.75rem;
color: #f1c45e;
}
.mw-parser-output sup a {
text-decoration: none;
color: #f1c45e; /* Enlaces de las referencias */
}
/* --- 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;
}