More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* --- Importación de Google Fonts --- */ | /* --- Importación de Google Fonts --- */ | ||
@import url('https://fonts.googleapis.com/css2?family=Cardo:wght@400;700&family=Crimson+Pro | @import url('https://fonts.googleapis.com/css2?family=Cardo:wght@400;700&family=Crimson+Pro:wght@400;700&family=EB+Garamond:wght@400;700&display=swap'); | ||
/* --- Configuración General --- */ | /* --- Configuración General --- */ | ||
body { | body { | ||
font-family: 'Cardo', serif; /* Fuente principal para el texto normal */ | font-family: 'Cardo', serif; /* Fuente principal para el texto normal */ | ||
background-color: # | background-color: #1a1a1f; /* Fondo general del sitio */ | ||
color: #e4ddcf; /* Color | color: #e4ddcf; /* Color del texto principal */ | ||
line-height: 1.6; /* Espaciado cómodo | line-height: 1.6; /* Espaciado cómodo */ | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
} | } | ||
/* --- | /* --- Títulos del Artículo (no modificables) --- */ | ||
.firstHeading { | .firstHeading { | ||
font-family: 'Garamond', serif; /* Fuente Garamond */ | font-family: 'Garamond', serif; /* Fuente Garamond */ | ||
Line 20: | Line 20: | ||
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 */ | ||
padding-bottom: 10px; | padding-bottom: 10px; | ||
} | } | ||
/* --- | /* --- Texto Normal de los Artículos --- */ | ||
.mw-parser-output { | .mw-parser-output { | ||
font-family: 'Cardo', serif; /* Fuente principal | font-family: 'Cardo', serif; /* Fuente principal del contenido */ | ||
font-size: 1rem; | font-size: 1rem; | ||
color: #e4ddcf; | color: #e4ddcf; | ||
line-height: 1.6; | line-height: 1.6; | ||
margin: 0 10% | margin: 0 10%; | ||
} | } | ||
/* --- | /* --- Subrayado Exclusivo de los Enlaces en el Texto de Artículos --- */ | ||
.mw-parser-output a { | .mw-parser-output a { | ||
text-decoration: none; /* Sin subrayado | text-decoration: none; /* Sin subrayado predeterminado */ | ||
color: #ffffff; /* Color del texto */ | color: #ffffff; /* Color del texto */ | ||
border-bottom: 2px solid #f1c45e; /* Subrayado | border-bottom: 2px solid #f1c45e; /* Subrayado exclusivo */ | ||
position: relative; | position: relative; | ||
transition: all 0.3s ease-in-out; /* Transición para | transition: all 0.3s ease-in-out; /* Transición para el efecto */ | ||
} | } | ||
.mw-parser-output a:hover { | .mw-parser-output a:hover { | ||
background-color: #f1c45e; /* | background-color: #f1c45e; /* Marcado en amarillo suave */ | ||
color: #1a1a1f; /* Texto cambia al color del fondo general */ | color: #1a1a1f; /* Texto cambia al color del fondo general */ | ||
} | } | ||
.mw-parser-output a | /* --- Subrayado Exclusivo para Artículos, No en Headings --- */ | ||
.mw-parser-output h2 a, | |||
.mw-parser-output h3 a, | |||
.mw-parser-output h4 a, | |||
.mw-parser-output h5 a, | |||
.mw-parser-output h6 a { | |||
border-bottom: none; /* Sin subrayado para enlaces en encabezados */ | |||
} | } | ||
/* --- | /* --- Subheadings de Primer Nivel (Heading 2) --- */ | ||
.mw-parser-output | .mw-parser-output h2 { | ||
margin- | font-family: 'EB Garamond', serif; /* Fuente EB Garamond */ | ||
font-size: 2rem; | |||
font-weight: bold; | |||
color: #ffffff; | |||
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 { | |||
/* --- | |||
.mw-parser-output | |||
.mw-parser-output | |||
.mw-parser-output | |||
font-family: 'Crimson Pro', serif; /* Fuente Crimson Pro */ | font-family: 'Crimson Pro', serif; /* Fuente Crimson Pro */ | ||
font-size: | font-size: 1.5rem; | ||
font-weight: bold; | |||
color: #ffffff; | |||
margin: 20px 0 10px; | |||
} | } | ||
/* --- | /* --- Marcado de Texto al Resaltar con el Mouse --- */ | ||
::selection { | |||
background-color: #f1c45e; /* Color del fondo al seleccionar texto */ | |||
color: #1a1a1f; /* Texto se vuelve del color del fondo general */ | |||
background-color: # | |||
} | } |
Revision as of 03:17, 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=EB+Garamond:wght@400;700&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 del texto principal */ line-height: 1.6; /* Espaciado cómodo */ margin: 0; padding: 0; } /* --- Títulos del Artículo (no modificables) --- */ .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 */ padding-bottom: 10px; } /* --- Texto Normal de los Artículos --- */ .mw-parser-output { font-family: 'Cardo', serif; /* Fuente principal del contenido */ font-size: 1rem; color: #e4ddcf; line-height: 1.6; margin: 0 10%; } /* --- Subrayado Exclusivo de los Enlaces en el Texto de Artículos --- */ .mw-parser-output a { text-decoration: none; /* Sin subrayado predeterminado */ color: #ffffff; /* Color del texto */ border-bottom: 2px solid #f1c45e; /* Subrayado exclusivo */ position: relative; transition: all 0.3s ease-in-out; /* Transición para el efecto */ } .mw-parser-output a:hover { background-color: #f1c45e; /* Marcado en amarillo suave */ color: #1a1a1f; /* Texto cambia al color del fondo general */ } /* --- Subrayado Exclusivo para Artículos, No en Headings --- */ .mw-parser-output h2 a, .mw-parser-output h3 a, .mw-parser-output h4 a, .mw-parser-output h5 a, .mw-parser-output h6 a { border-bottom: none; /* Sin subrayado para enlaces en encabezados */ } /* --- Subheadings de Primer Nivel (Heading 2) --- */ .mw-parser-output h2 { font-family: 'EB Garamond', serif; /* Fuente EB Garamond */ font-size: 2rem; font-weight: bold; color: #ffffff; 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: 'Crimson Pro', serif; /* Fuente Crimson Pro */ font-size: 1.5rem; font-weight: bold; color: #ffffff; margin: 20px 0 10px; } /* --- Marcado de Texto al Resaltar con el Mouse --- */ ::selection { background-color: #f1c45e; /* Color del fondo al seleccionar texto */ color: #1a1a1f; /* Texto se vuelve del color del fondo general */ }