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"> | <link href="https://fonts.googleapis.com/css2?family=Cardo:wght@400;700&family=Crimson+Pro:wght@400;700&family=EB+Garamond:wght@400;700&family=Garamond&display=swap" rel="stylesheet"> | ||
/* --- Estilo General del Sitio --- */ | /* --- Estilo General del Sitio --- */ | ||
body { | body { | ||
font-family: 'Cardo', serif; /* Fuente para el texto principal */ | font-family: 'Cardo', serif; /* Fuente para el texto principal */ | ||
background-color: # | background-color: #1a1a1f; /* Fondo oscuro */ | ||
color: # | color: #e4ddcf; /* Texto principal en color HEX #e4ddcf */ | ||
line-height: 1.35; /* Espaciado cómodo */ | line-height: 1.35; /* Espaciado cómodo */ | ||
margin: 0; | margin: 0; | ||
| Line 15: | Line 15: | ||
font-family: 'Cardo', serif; /* Fuente principal */ | font-family: 'Cardo', serif; /* Fuente principal */ | ||
font-size: 1rem; /* Tamaño estándar */ | font-size: 1rem; /* Tamaño estándar */ | ||
color: #e4ddcf; /* Color del texto normal */ | |||
line-height: 1.35; /* Espaciado cómodo */ | line-height: 1.35; /* Espaciado cómodo */ | ||
margin: 0 10%; /* Márgenes laterales */ | margin: 0 10%; /* Márgenes laterales */ | ||
| Line 21: | Line 22: | ||
/* --- Título Principal del Artículo (Heading 1) --- */ | /* --- Título Principal del Artículo (Heading 1) --- */ | ||
#content h1.firstHeading { | #content h1.firstHeading { | ||
font-family: 'Garamond', serif; /* Fuente para el título principal */ | font-family: 'Garamond', serif; /* Fuente Garamond para el título principal */ | ||
font-size: 2.5rem; /* Tamaño destacado */ | font-size: 2.5rem; /* Tamaño destacado */ | ||
font-weight: normal; /* Sin negrita */ | font-weight: normal; /* Sin negrita */ | ||
color: #ffffff; | color: #ffffff; /* Blanco para destacar */ | ||
text-align: center; /* Centrar el título */ | text-align: center; /* Centrar el título */ | ||
margin: 20px 0; | margin: 20px 0; | ||
| Line 31: | Line 32: | ||
} | } | ||
/* --- Encabezados Secundarios ( | /* --- Encabezados Secundarios (Heading de Artículos) --- */ | ||
.mw-parser-output h2 { | .mw-parser-output h2 { | ||
font-family: 'EB Garamond', serif; /* Fuente para h2 */ | font-family: 'EB Garamond', serif; /* Fuente EB Garamond para h2 */ | ||
font-size: 2rem; | font-size: 2rem; | ||
font-weight: bold; | font-weight: bold; | ||
color: #ffffff; | color: #ffffff; /* Blanco para destacar */ | ||
margin: 30px 0 10px; | margin: 30px 0 10px; | ||
border-bottom: 2px solid #f1c45e; /* Línea decorativa en HEX #f1c45e */ | |||
} | } | ||
.mw-parser-output h3 { | .mw-parser-output h3 { | ||
font-family: 'EB Garamond', serif; /* Fuente para h3 */ | font-family: 'EB Garamond', serif; /* Fuente EB Garamond para h3 */ | ||
font-size: 1.5rem; | font-size: 1.5rem; | ||
font-weight: bold; | font-weight: bold; | ||
color: #ffffff; | color: #ffffff; /* Blanco */ | ||
margin: 20px 0 10px; | margin: 20px 0 10px; | ||
} | } | ||
| Line 53: | Line 55: | ||
font-family: 'Cardo', serif; | font-family: 'Cardo', serif; | ||
font-weight: bold; | font-weight: bold; | ||
color: #ffffff; | color: #ffffff; /* Blanco */ | ||
float: left; | float: left; | ||
line-height: 1; | line-height: 1; | ||
| Line 61: | Line 63: | ||
/* --- Hipervínculos en Artículos --- */ | /* --- Hipervínculos en Artículos --- */ | ||
.mw-parser-output a { | .mw-parser-output a { | ||
text-decoration: none; | text-decoration: none; /* Sin subrayado inicial */ | ||
color: #ffffff; /* Blanco como | color: #ffffff; /* Blanco como texto */ | ||
border-bottom: | position: relative; | ||
border-bottom: 4px solid transparent; /* Subrayado invisible inicialmente */ | |||
padding-bottom: 2px; | |||
transition: all 0.3s ease-in-out; /* Transición suave */ | transition: all 0.3s ease-in-out; /* Transición suave */ | ||
} | |||
.mw-parser-output a::after { | |||
content: ''; /* Sin texto adicional */ | |||
position: absolute; | |||
left: 0; | |||
bottom: 0; | |||
width: 0; /* Subrayado inicialmente oculto */ | |||
height: 4px; /* Altura del subrayado */ | |||
background: #f1c45e; /* Subrayado HEX #f1c45e */ | |||
transition: width 0.4s ease-in-out; /* Efecto de deslizamiento */ | |||
} | |||
.mw-parser-output a:hover::after { | |||
width: 100%; /* Subrayado aparece de izquierda a derecha al pasar el mouse */ | |||
} | } | ||
.mw-parser-output a:hover { | .mw-parser-output a:hover { | ||
color: # | color: #1a1a1f; /* Texto del hipervínculo se vuelve color de fondo al pasar el mouse */ | ||
} | } | ||
| Line 86: | Line 104: | ||
border-collapse: collapse; | border-collapse: collapse; | ||
width: 100%; | width: 100%; | ||
color: # | color: #e4ddcf; /* Color del texto de las tablas */ | ||
margin: 20px 0; | margin: 20px 0; | ||
} | } | ||
| Line 92: | Line 110: | ||
.mw-parser-output th, | .mw-parser-output th, | ||
.mw-parser-output td { | .mw-parser-output td { | ||
border: 1px solid #ffffff; | border: 1px solid #ffffff; /* Bordes blancos */ | ||
padding: 10px; | padding: 10px; | ||
text-align: left; | text-align: left; | ||
| Line 101: | Line 119: | ||
font-family: 'Cardo', serif; | font-family: 'Cardo', serif; | ||
font-size: 0.875rem; | font-size: 0.875rem; | ||
color: # | color: #e4ddcf; /* Color HEX #e4ddcf */ | ||
text-align: center; | text-align: center; | ||
margin-top: 5px; | margin-top: 5px; | ||
| Line 110: | Line 128: | ||
font-family: 'Crimson Pro', serif; /* Fuente para referencias */ | font-family: 'Crimson Pro', serif; /* Fuente para referencias */ | ||
font-size: 0.75rem; | font-size: 0.75rem; | ||
color: # | color: #f1c45e; /* Color HEX #f1c45e */ | ||
} | } | ||
.mw-parser-output sup a { | .mw-parser-output sup a { | ||
text-decoration: none; | text-decoration: none; | ||
color: # | color: #f1c45e; /* Color HEX #f1c45e */ | ||
} | } | ||
| Line 122: | Line 140: | ||
font-family: 'Crimson Pro', serif; /* Fuente para citas */ | font-family: 'Crimson Pro', serif; /* Fuente para citas */ | ||
font-size: 1rem; | font-size: 1rem; | ||
color: # | color: #e4ddcf; /* Color del texto de las citas */ | ||
background-color: #333333; /* Fondo gris oscuro */ | background-color: #333333; /* Fondo gris oscuro */ | ||
padding: 10px 15px; /* Espaciado interno */ | padding: 10px 15px; /* Espaciado interno */ | ||
border-left: 5px solid # | border-left: 5px solid #f1c45e; /* Línea decorativa en HEX #f1c45e */ | ||
margin: 20px 0; | margin: 20px 0; | ||
font-style: italic; | font-style: italic; | ||
} | } | ||
Revision as of 01:53, 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&family=Garamond&display=swap" rel="stylesheet">
/* --- Estilo General del Sitio --- */
body {
font-family: 'Cardo', serif; /* Fuente para el texto principal */
background-color: #1a1a1f; /* Fondo oscuro */
color: #e4ddcf; /* Texto principal en color HEX #e4ddcf */
line-height: 1.35; /* Espaciado cómodo */
margin: 0;
padding: 0;
}
/* --- Contenido Principal --- */
.mw-parser-output {
font-family: 'Cardo', serif; /* Fuente principal */
font-size: 1rem; /* Tamaño estándar */
color: #e4ddcf; /* Color del texto normal */
line-height: 1.35; /* Espaciado cómodo */
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; /* Blanco para destacar */
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 para h2 */
font-size: 2rem;
font-weight: bold;
color: #ffffff; /* Blanco para destacar */
margin: 30px 0 10px;
border-bottom: 2px solid #f1c45e; /* Línea decorativa en HEX #f1c45e */
}
.mw-parser-output h3 {
font-family: 'EB Garamond', serif; /* Fuente EB Garamond para h3 */
font-size: 1.5rem;
font-weight: bold;
color: #ffffff; /* 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;
font-weight: bold;
color: #ffffff; /* Blanco */
float: left;
line-height: 1;
margin: 5px 10px 0 0;
}
/* --- Hipervínculos en Artículos --- */
.mw-parser-output a {
text-decoration: none; /* Sin subrayado inicial */
color: #ffffff; /* Blanco como texto */
position: relative;
border-bottom: 4px solid transparent; /* Subrayado invisible inicialmente */
padding-bottom: 2px;
transition: all 0.3s ease-in-out; /* Transición suave */
}
.mw-parser-output a::after {
content: ''; /* Sin texto adicional */
position: absolute;
left: 0;
bottom: 0;
width: 0; /* Subrayado inicialmente oculto */
height: 4px; /* Altura del subrayado */
background: #f1c45e; /* Subrayado HEX #f1c45e */
transition: width 0.4s ease-in-out; /* Efecto de deslizamiento */
}
.mw-parser-output a:hover::after {
width: 100%; /* Subrayado aparece de izquierda a derecha al pasar el mouse */
}
.mw-parser-output a:hover {
color: #1a1a1f; /* Texto del hipervínculo se vuelve color de 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;
}
/* --- Tablas --- */
.mw-parser-output table {
border-collapse: collapse;
width: 100%;
color: #e4ddcf; /* Color del texto de las 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;
font-size: 0.875rem;
color: #e4ddcf; /* Color HEX #e4ddcf */
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 HEX #f1c45e */
}
.mw-parser-output sup a {
text-decoration: none;
color: #f1c45e; /* Color HEX #f1c45e */
}
/* --- Estilo para las Citas --- */
.mw-parser-output blockquote {
font-family: 'Crimson Pro', serif; /* Fuente para citas */
font-size: 1rem;
color: #e4ddcf; /* Color del texto de las citas */
background-color: #333333; /* Fondo gris oscuro */
padding: 10px 15px; /* Espaciado interno */
border-left: 5px solid #f1c45e; /* Línea decorativa en HEX #f1c45e */
margin: 20px 0;
font-style: italic;
}