More actions
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
/* --- Estilo General del Artículo --- */ | /* --- Estilo General del Artículo --- */ | ||
body { | body { | ||
font-family: 'Newsreader', serif; | font-family: 'Newsreader', serif; /* Tipografía general del artículo */ | ||
background-color: #18181e; | background-color: #18181e; /* Fondo oscuro */ | ||
color: #ffffff; | color: #ffffff; /* Texto blanco */ | ||
line-height: 1.8; | line-height: 1.8; | ||
margin: 0; | margin: 0; | ||
| Line 21: | Line 21: | ||
/* --- Encabezados Secundarios --- */ | /* --- Encabezados Secundarios --- */ | ||
h2 | h2 { | ||
font-family: 'EB Garamond', serif; | font-family: 'EB Garamond', serif; /* Encabezado principal después del título */ | ||
font-size: 2rem; | |||
font-weight: bold; | font-weight: bold; | ||
color: #ffffff; | color: #ffffff; | ||
| Line 28: | Line 29: | ||
} | } | ||
h3 { | |||
font-family: 'Ysabeau Infant', serif; | font-family: 'Ysabeau Infant', serif; /* Sub-encabezado de nivel 1 */ | ||
font-size: 1.6rem; | |||
font-weight: bold; | font-weight: bold; | ||
color: #ffffff; | color: #ffffff; | ||
margin-top: 20px; | margin-top: 20px; | ||
} | |||
h4 { | |||
font-family: 'Ysabeau Infant', serif; /* Sub-encabezado de nivel 2 */ | |||
font-size: 1.4rem; | |||
font-weight: bold; | |||
color: #ffffff; | |||
margin-top: 15px; | |||
} | } | ||
| Line 50: | Line 60: | ||
.mw-parser-output a { | .mw-parser-output a { | ||
text-decoration: none; | text-decoration: none; | ||
color: #ffffff; /* Blanco, igual al | color: #ffffff; /* Blanco, igual al texto normal */ | ||
position: relative; | position: relative; | ||
border-bottom: 4px solid rgba(255, 255, 0, 0.8); /* Raya inferior amarilla, ligeramente transparente */ | |||
padding-bottom: 2px; /* Ajusta la proximidad de la raya al texto */ | |||
transition: all 0.3s ease-in-out; | transition: all 0.3s ease-in-out; | ||
} | } | ||
.mw-parser-output a:hover { | .mw-parser-output a:hover { | ||
color: #18181e; /* | color: #18181e; /* El texto se vuelve negro al pasar el mouse */ | ||
} | } | ||
| Line 64: | Line 75: | ||
position: absolute; | position: absolute; | ||
width: 0; | width: 0; | ||
height: | height: 100%; /* Cubre todo el texto con el efecto marcador */ | ||
background: yellow; | background: yellow; | ||
bottom: 0; | bottom: 0; | ||
left: 0; | left: 0; | ||
z-index: -1; /* El marcador está detrás del texto */ | |||
z-index: -1; /* | transition: width 0.4s ease-in-out; | ||
} | } | ||
.mw-parser-output a:hover::after { | .mw-parser-output a:hover::after { | ||
width: 100%; /* | width: 100%; /* Marcador completo al pasar el mouse */ | ||
} | |||
/* --- Descripciones de Imágenes --- */ | |||
.mw-parser-output .image img + div { | |||
font-family: 'Ysabeau Infant', serif; | |||
font-size: 1rem; | |||
color: #ffffff; | |||
text-align: center; | |||
margin-top: 5px; | |||
} | } | ||
/* --- | /* --- Referencias y Números de Bibliografía --- */ | ||
sup { | sup { | ||
font-family: 'Crimson Pro', serif; | font-family: 'Crimson Pro', serif; | ||
font-size: 0.8rem; | font-size: 0.8rem; | ||
color: #ffffff; /* Blanco */ | color: #ffffff; /* Blanco */ | ||
font-weight: normal; | font-weight: normal; | ||
| Line 87: | Line 107: | ||
text-decoration: none; | text-decoration: none; | ||
color: #ffffff; | color: #ffffff; | ||
border: none; /* Sin subrayado ni efectos | border: none; /* Sin subrayado ni efectos */ | ||
} | } | ||
Revision as of 23:22, 7 December 2024
<link href="https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@400;700&family=EB+Garamond:wght@400;700&family=Libre+Baskerville:wght@400;700&family=Newsreader:wght@400;700&family=Ysabeau+Infant:wght@400;700&display=swap" rel="stylesheet">
/* --- Estilo General del Artículo --- */
body {
font-family: 'Newsreader', serif; /* Tipografía general del artículo */
background-color: #18181e; /* Fondo oscuro */
color: #ffffff; /* Texto blanco */
line-height: 1.8;
margin: 0;
padding: 0;
}
/* --- Título Principal del Artículo --- */
h1.firstHeading {
font-family: 'Libre Baskerville', serif;
font-size: 2.5rem;
font-weight: bold;
margin-bottom: 20px;
color: #ffffff;
}
/* --- Encabezados Secundarios --- */
h2 {
font-family: 'EB Garamond', serif; /* Encabezado principal después del título */
font-size: 2rem;
font-weight: bold;
color: #ffffff;
margin-top: 20px;
}
h3 {
font-family: 'Ysabeau Infant', serif; /* Sub-encabezado de nivel 1 */
font-size: 1.6rem;
font-weight: bold;
color: #ffffff;
margin-top: 20px;
}
h4 {
font-family: 'Ysabeau Infant', serif; /* Sub-encabezado de nivel 2 */
font-size: 1.4rem;
font-weight: bold;
color: #ffffff;
margin-top: 15px;
}
/* --- Letra Capital al Inicio del Artículo --- */
.mw-parser-output > p:first-of-type::first-letter {
font-size: 4rem;
font-family: 'Libre Baskerville', serif;
font-weight: bold;
color: #ffffff;
float: left;
line-height: 1;
margin-right: 10px;
margin-top: 5px;
}
/* --- Estilo de Hipervínculos en Artículos --- */
.mw-parser-output a {
text-decoration: none;
color: #ffffff; /* Blanco, igual al texto normal */
position: relative;
border-bottom: 4px solid rgba(255, 255, 0, 0.8); /* Raya inferior amarilla, ligeramente transparente */
padding-bottom: 2px; /* Ajusta la proximidad de la raya al texto */
transition: all 0.3s ease-in-out;
}
.mw-parser-output a:hover {
color: #18181e; /* El texto se vuelve negro al pasar el mouse */
}
.mw-parser-output a::after {
content: '';
position: absolute;
width: 0;
height: 100%; /* Cubre todo el texto con el efecto marcador */
background: yellow;
bottom: 0;
left: 0;
z-index: -1; /* El marcador está detrás del texto */
transition: width 0.4s ease-in-out;
}
.mw-parser-output a:hover::after {
width: 100%; /* Marcador completo al pasar el mouse */
}
/* --- Descripciones de Imágenes --- */
.mw-parser-output .image img + div {
font-family: 'Ysabeau Infant', serif;
font-size: 1rem;
color: #ffffff;
text-align: center;
margin-top: 5px;
}
/* --- Referencias y Números de Bibliografía --- */
sup {
font-family: 'Crimson Pro', serif;
font-size: 0.8rem;
color: #ffffff; /* Blanco */
font-weight: normal;
}
sup a {
text-decoration: none;
color: #ffffff;
border: none; /* Sin subrayado ni efectos */
}
/* --- Ajustes Generales para Listas --- */
ul, ol {
margin-left: 20px;
color: #ffffff;
}
li {
margin-bottom: 10px;
}
/* --- Estilo para Tablas --- */
table {
border-collapse: collapse;
width: 100%;
color: #ffffff;
}
th, td {
border: 1px solid #ffffff;
padding: 10px;
text-align: left;
}