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 !important; /* | font-family: 'Newsreader', serif !important; /* Fuente para el cuerpo del texto */ | ||
background-color: #18181e !important; /* Fondo oscuro */ | background-color: #18181e !important; /* Fondo oscuro */ | ||
color: #ffffff !important; /* Texto blanco */ | color: #ffffff !important; /* Texto blanco */ | ||
line-height: 1.8 !important; | line-height: 1.8 !important; /* Espaciado cómodo */ | ||
margin: 0 | margin: 0; | ||
padding: 0 | padding: 0; | ||
} | } | ||
/* --- | /* --- Contenido Principal del Artículo --- */ | ||
.mw-parser-output { | .mw-parser-output { | ||
font-family: 'Newsreader', serif !important; | font-family: 'Newsreader', serif !important; | ||
color: #ffffff !important; | color: #ffffff !important; | ||
font-size: 1rem | font-size: 1rem; | ||
line-height: 1.8 | line-height: 1.8; | ||
} | } | ||
.mw-parser-output p { | .mw-parser-output p { | ||
margin-bottom: 15px | margin-bottom: 15px; /* Espaciado entre párrafos */ | ||
} | } | ||
/* --- | /* --- Listas --- */ | ||
.mw-parser-output ul, | .mw-parser-output ul, | ||
.mw-parser-output ol { | .mw-parser-output ol { | ||
margin-left: 20px; | |||
} | |||
line-height: 1.8 | .mw-parser-output li { | ||
line-height: 1.8; | |||
} | } | ||
/* --- Título Principal del Artículo --- */ | /* --- Título Principal del Artículo --- */ | ||
#content h1.firstHeading { | #content h1.firstHeading { | ||
font-family: 'Libre Baskerville', serif !important; | font-family: 'Libre Baskerville', serif !important; | ||
font-size: 2.8rem !important; | font-size: 2.8rem !important; | ||
font-weight: bold !important; | font-weight: bold !important; | ||
color: #ffffff !important; | color: #ffffff !important; | ||
text-align: center | text-align: center; | ||
margin-top: 20px | margin-top: 20px; | ||
margin-bottom: 20px | margin-bottom: 20px; | ||
border-bottom: 2px solid #ffffff | border-bottom: 2px solid #ffffff; | ||
padding-bottom: 10px | padding-bottom: 10px; | ||
} | } | ||
| Line 49: | Line 49: | ||
.mw-parser-output h2 { | .mw-parser-output h2 { | ||
font-family: 'EB Garamond', serif !important; | font-family: 'EB Garamond', serif !important; | ||
font-size: 2rem | font-size: 2rem; | ||
font-weight: bold | font-weight: bold; | ||
color: #ffffff | color: #ffffff; | ||
margin-top: 20px | margin-top: 20px; | ||
} | } | ||
.mw-parser-output h3 { | .mw-parser-output h3 { | ||
font-family: 'Ysabeau Infant', serif !important; | font-family: 'Ysabeau Infant', serif !important; | ||
font-size: 1.6rem | font-size: 1.6rem; | ||
font-weight: bold | font-weight: bold; | ||
color: #ffffff | color: #ffffff; | ||
margin-top: 20px | margin-top: 20px; | ||
} | } | ||
/* --- Letra Capital al Inicio del Artículo --- */ | /* --- 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: 4rem | font-size: 4rem; | ||
font-family: 'Libre Baskerville', serif !important; | font-family: 'Libre Baskerville', serif !important; | ||
font-weight: bold | font-weight: bold; | ||
color: #ffffff | color: #ffffff; | ||
float: left | float: left; | ||
line-height: 1 | line-height: 1; | ||
margin-right: 10px | margin-right: 10px; | ||
margin-top: 5px | margin-top: 5px; | ||
} | } | ||
/* --- Hipervínculos en Artículos --- */ | /* --- Hipervínculos en Artículos --- */ | ||
.mw-parser-output a { | .mw-parser-output a { | ||
text-decoration: none | text-decoration: none; | ||
color: #ffffff | color: #ffffff; /* Blanco como el texto normal */ | ||
position: relative | position: relative; | ||
border-bottom: 4px solid rgba(255, 255, 0, 0.8) | border-bottom: 4px solid rgba(255, 255, 0, 0.8); /* Subrayado amarillo transparente */ | ||
padding-bottom: 2px | padding-bottom: 2px; | ||
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 */ | ||
} | } | ||
.mw-parser-output a::after { | .mw-parser-output a::after { | ||
content: '' | content: ''; | ||
position: absolute | position: absolute; | ||
width: 0 | width: 0; | ||
height: 100% | height: 100%; /* Cubre todo el texto */ | ||
background: yellow | background: yellow; | ||
bottom: 0 | bottom: 0; | ||
left: 0 | left: 0; | ||
z-index: -1 | z-index: -1; /* Marcador detrás del texto */ | ||
transition: width 0.4s ease-in-out | transition: width 0.4s ease-in-out; | ||
} | } | ||
.mw-parser-output a:hover::after { | .mw-parser-output a:hover::after { | ||
width: 100% | width: 100%; /* Subrayado cubre todo el texto al pasar el mouse */ | ||
} | |||
/* --- Descripciones de Imágenes --- */ | |||
.mw-parser-output .thumbcaption { | |||
font-family: 'Ysabeau Infant', serif; | |||
font-size: 1rem; | |||
color: #ffffff; | |||
text-align: center; | |||
margin-top: 5px; | |||
} | |||
/* --- Referencias y Números de Bibliografía --- */ | |||
.mw-parser-output sup { | |||
font-family: 'Crimson Pro', serif; | |||
font-size: 0.8rem; | |||
color: #ffffff; | |||
font-weight: normal; | |||
} | |||
.mw-parser-output sup a { | |||
text-decoration: none; | |||
color: #ffffff; | |||
} | |||
/* --- Tablas --- */ | |||
.mw-parser-output table { | |||
border-collapse: collapse; | |||
width: 100%; | |||
color: #ffffff; | |||
} | |||
.mw-parser-output th, | |||
.mw-parser-output td { | |||
border: 1px solid #ffffff; | |||
padding: 10px; | |||
text-align: left; | |||
} | } | ||
Revision as of 00:42, 8 December 2024
<link href="https://fonts.googleapis.com/css2?family=Newsreader:wght@400;700&family=Libre+Baskerville:wght@400;700&family=EB+Garamond:wght@400;700&family=Ysabeau+Infant:wght@400;700&family=Crimson+Pro:wght@400;700&display=swap" rel="stylesheet">
/* --- Estilo General del Artículo --- */
body {
font-family: 'Newsreader', serif !important; /* Fuente para el cuerpo del texto */
background-color: #18181e !important; /* Fondo oscuro */
color: #ffffff !important; /* Texto blanco */
line-height: 1.8 !important; /* Espaciado cómodo */
margin: 0;
padding: 0;
}
/* --- Contenido Principal del Artículo --- */
.mw-parser-output {
font-family: 'Newsreader', serif !important;
color: #ffffff !important;
font-size: 1rem;
line-height: 1.8;
}
.mw-parser-output p {
margin-bottom: 15px; /* Espaciado entre párrafos */
}
/* --- Listas --- */
.mw-parser-output ul,
.mw-parser-output ol {
margin-left: 20px;
}
.mw-parser-output li {
line-height: 1.8;
}
/* --- Título Principal del Artículo --- */
#content h1.firstHeading {
font-family: 'Libre Baskerville', serif !important;
font-size: 2.8rem !important;
font-weight: bold !important;
color: #ffffff !important;
text-align: center;
margin-top: 20px;
margin-bottom: 20px;
border-bottom: 2px solid #ffffff;
padding-bottom: 10px;
}
/* --- Encabezados Secundarios --- */
.mw-parser-output h2 {
font-family: 'EB Garamond', serif !important;
font-size: 2rem;
font-weight: bold;
color: #ffffff;
margin-top: 20px;
}
.mw-parser-output h3 {
font-family: 'Ysabeau Infant', serif !important;
font-size: 1.6rem;
font-weight: bold;
color: #ffffff;
margin-top: 20px;
}
/* --- Letra Capital al Inicio del Artículo --- */
.mw-parser-output > p:first-of-type::first-letter {
font-size: 4rem;
font-family: 'Libre Baskerville', serif !important;
font-weight: bold;
color: #ffffff;
float: left;
line-height: 1;
margin-right: 10px;
margin-top: 5px;
}
/* --- Hipervínculos en Artículos --- */
.mw-parser-output a {
text-decoration: none;
color: #ffffff; /* Blanco como el texto normal */
position: relative;
border-bottom: 4px solid rgba(255, 255, 0, 0.8); /* Subrayado amarillo transparente */
padding-bottom: 2px;
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 */
background: yellow;
bottom: 0;
left: 0;
z-index: -1; /* Marcador detrás del texto */
transition: width 0.4s ease-in-out;
}
.mw-parser-output a:hover::after {
width: 100%; /* Subrayado cubre todo el texto al pasar el mouse */
}
/* --- Descripciones de Imágenes --- */
.mw-parser-output .thumbcaption {
font-family: 'Ysabeau Infant', serif;
font-size: 1rem;
color: #ffffff;
text-align: center;
margin-top: 5px;
}
/* --- Referencias y Números de Bibliografía --- */
.mw-parser-output sup {
font-family: 'Crimson Pro', serif;
font-size: 0.8rem;
color: #ffffff;
font-weight: normal;
}
.mw-parser-output sup a {
text-decoration: none;
color: #ffffff;
}
/* --- Tablas --- */
.mw-parser-output table {
border-collapse: collapse;
width: 100%;
color: #ffffff;
}
.mw-parser-output th,
.mw-parser-output td {
border: 1px solid #ffffff;
padding: 10px;
text-align: left;
}