More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<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"> | <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 | /* --- Estilo General del Sitio --- */ | ||
body { | body { | ||
font-family: 'Newsreader', serif | font-family: 'Newsreader', serif; /* Fuente del texto principal */ | ||
background-color: #18181e | background-color: #18181e; /* Fondo oscuro */ | ||
color: #ffffff | color: #ffffff; /* Texto blanco */ | ||
line-height: 1.8 | line-height: 1.8; /* Espaciado cómodo */ | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
} | } | ||
/* --- | /* --- Texto Principal del Artículo --- */ | ||
.mw-parser-output { | .mw-parser-output { | ||
font-family: 'Newsreader', serif | font-family: 'Newsreader', serif; /* Fuente principal */ | ||
font-size: 0.875rem; /* Equivalente a 14 puntos en Google Docs */ | |||
font-size: | line-height: 1.8; /* Espaciado entre líneas */ | ||
line-height: 1. | color: #ffffff; /* Color blanco */ | ||
} | } | ||
/* --- Espaciado entre párrafos --- */ | |||
.mw-parser-output p { | .mw-parser-output p { | ||
margin-bottom: 15px; | margin-bottom: 15px; | ||
} | } | ||
/* --- Listas --- */ | /* --- Listas (ordenadas y desordenadas) --- */ | ||
.mw-parser-output ul, | .mw-parser-output ul, | ||
.mw-parser-output ol { | .mw-parser-output ol { | ||
| Line 35: | Line 36: | ||
/* --- Título Principal del Artículo --- */ | /* --- Título Principal del Artículo --- */ | ||
#content h1.firstHeading { | #content h1.firstHeading { | ||
font-family: 'Libre Baskerville', serif | font-family: 'Libre Baskerville', serif; /* Fuente personalizada */ | ||
font-size: | font-size: 1.25rem; /* Equivalente a 20 puntos en Google Docs */ | ||
font-weight: | font-weight: normal; /* Sin negrita */ | ||
color: #ffffff | color: #ffffff; | ||
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; /* Línea decorativa */ | ||
padding-bottom: 10px; | padding-bottom: 10px; | ||
} | } | ||
| Line 48: | Line 49: | ||
/* --- Encabezados Secundarios --- */ | /* --- Encabezados Secundarios --- */ | ||
.mw-parser-output h2 { | .mw-parser-output h2 { | ||
font-family: 'EB Garamond', serif | font-family: 'EB Garamond', serif; | ||
font-size: | font-size: 1.125rem; /* Tamaño para encabezados secundarios */ | ||
font-weight: bold; | font-weight: bold; | ||
color: #ffffff; | color: #ffffff; | ||
| Line 56: | Line 57: | ||
.mw-parser-output h3 { | .mw-parser-output h3 { | ||
font-family: 'Ysabeau Infant', serif | font-family: 'Ysabeau Infant', serif; | ||
font-size: | font-size: 1rem; | ||
font-weight: bold; | font-weight: bold; | ||
color: #ffffff; | color: #ffffff; | ||
| Line 65: | Line 66: | ||
/* --- 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: | font-size: 2.5rem; /* Tamaño grande para la letra inicial */ | ||
font-family: 'Libre Baskerville', serif | font-family: 'Libre Baskerville', serif; | ||
font-weight: bold; | font-weight: bold; | ||
color: #ffffff; | color: #ffffff; | ||
| Line 75: | Line 76: | ||
} | } | ||
/* --- Hipervínculos | /* --- Hipervínculos --- */ | ||
.mw-parser-output a { | .mw-parser-output a { | ||
text-decoration: none; | text-decoration: none; | ||
color: #ffffff; /* Blanco como el texto normal */ | color: #ffffff; /* Blanco como el texto normal */ | ||
position: relative; | position: relative; | ||
border-bottom: 4px solid rgba(255, 255, 0, 0.8); /* Subrayado amarillo | border-bottom: 4px solid rgba(255, 255, 0, 0.8); /* Subrayado amarillo */ | ||
padding-bottom: 2px; | padding-bottom: 2px; | ||
transition: all 0.3s ease-in-out; | transition: all 0.3s ease-in-out; | ||
| Line 86: | Line 87: | ||
.mw-parser-output a:hover { | .mw-parser-output a:hover { | ||
color: #18181e; /* | color: #18181e; /* Texto negro al pasar el mouse */ | ||
} | } | ||
| Line 97: | Line 98: | ||
bottom: 0; | bottom: 0; | ||
left: 0; | left: 0; | ||
z-index: -1; /* | z-index: -1; /* Fondo 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%; /* Subrayado | width: 100%; /* Subrayado se expande */ | ||
} | } | ||
| Line 108: | Line 109: | ||
.mw-parser-output .thumbcaption { | .mw-parser-output .thumbcaption { | ||
font-family: 'Ysabeau Infant', serif; | font-family: 'Ysabeau Infant', serif; | ||
font-size: | font-size: 0.875rem; /* Tamaño pequeño */ | ||
color: #ffffff; | color: #ffffff; | ||
text-align: center; | text-align: center; | ||
| Line 117: | Line 118: | ||
.mw-parser-output sup { | .mw-parser-output sup { | ||
font-family: 'Crimson Pro', serif; | font-family: 'Crimson Pro', serif; | ||
font-size: 0. | font-size: 0.75rem; /* Tamaño reducido */ | ||
color: #ffffff; | color: #ffffff; | ||
font-weight: normal; | font-weight: normal; | ||
Revision as of 00:50, 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 Sitio --- */
body {
font-family: 'Newsreader', serif; /* Fuente del texto principal */
background-color: #18181e; /* Fondo oscuro */
color: #ffffff; /* Texto blanco */
line-height: 1.8; /* Espaciado cómodo */
margin: 0;
padding: 0;
}
/* --- Texto Principal del Artículo --- */
.mw-parser-output {
font-family: 'Newsreader', serif; /* Fuente principal */
font-size: 0.875rem; /* Equivalente a 14 puntos en Google Docs */
line-height: 1.8; /* Espaciado entre líneas */
color: #ffffff; /* Color blanco */
}
/* --- Espaciado entre párrafos --- */
.mw-parser-output p {
margin-bottom: 15px;
}
/* --- Listas (ordenadas y desordenadas) --- */
.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; /* Fuente personalizada */
font-size: 1.25rem; /* Equivalente a 20 puntos en Google Docs */
font-weight: normal; /* Sin negrita */
color: #ffffff;
text-align: center;
margin-top: 20px;
margin-bottom: 20px;
border-bottom: 2px solid #ffffff; /* Línea decorativa */
padding-bottom: 10px;
}
/* --- Encabezados Secundarios --- */
.mw-parser-output h2 {
font-family: 'EB Garamond', serif;
font-size: 1.125rem; /* Tamaño para encabezados secundarios */
font-weight: bold;
color: #ffffff;
margin-top: 20px;
}
.mw-parser-output h3 {
font-family: 'Ysabeau Infant', serif;
font-size: 1rem;
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: 2.5rem; /* Tamaño grande para la letra inicial */
font-family: 'Libre Baskerville', serif;
font-weight: bold;
color: #ffffff;
float: left;
line-height: 1;
margin-right: 10px;
margin-top: 5px;
}
/* --- Hipervínculos --- */
.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 */
padding-bottom: 2px;
transition: all 0.3s ease-in-out;
}
.mw-parser-output a:hover {
color: #18181e; /* Texto 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; /* Fondo detrás del texto */
transition: width 0.4s ease-in-out;
}
.mw-parser-output a:hover::after {
width: 100%; /* Subrayado se expande */
}
/* --- Descripciones de Imágenes --- */
.mw-parser-output .thumbcaption {
font-family: 'Ysabeau Infant', serif;
font-size: 0.875rem; /* Tamaño pequeño */
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.75rem; /* Tamaño reducido */
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;
}