Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
@import url('https://fonts.googleapis.com/css2?family=Garamond:wght@400&family=Abhaya+Libre:wght@400;700&family=Crimson+Text:wght@400&family=Lora:wght@400&family=EB+Garamond:wght@400;600&display=swap');
/* Título principal de los artículos */
#firstHeading {
font-family: "Garamond", serif;
font-size: 2.5em;
color: #eaeaea; /* Blanco suave */
}
/* Subtítulos */
h2, h3, h4, h5 {
font-family: "Abhaya Libre", serif;
font-weight: 700;
color: #eaeaea; /* Blanco suave */
}
/* Texto normal */
.mw-body-content {
font-family: "Crimson Text", serif;
color: #eaeaea; /* Blanco suave */
line-height: 1.8;
}
/* Subheading específico */
h6 {
font-family: "Commissioner", sans-serif;
font-weight: 700;
font-size: 1.2em;
}
/* Pie de página */
#footer, .mw-footer {
color: #eaeaea;
background-color: #1a1a1a; /* Gris oscuro */
font-family: "Commissioner", sans-serif;
font-weight: 300;
}
/* Enlaces */
a, a:link, a:visited {
color: #eaeaea; /* Blanco suave, igual que el texto normal */
text-decoration: underline;
text-decoration-thickness: 3px; /* Subrayado grueso */
text-decoration-color: #f5ed56; /* Amarillo */
transition: text-decoration-color 0.3s ease;
}
a:hover {
text-decoration-color: #eaeaea; /* Subrayado blanco al pasar el cursor */
}
/* Texto seleccionado */
::selection {
background-color: #f5ed56;
color: #1a1a1a; /* Gris oscuro */
}
/* Fondo del sitio */
body {
background-color: #f4f4f4; /* Fondo más claro para mayor contraste */
color: #333333; /* Texto principal más oscuro */
}
/* Panel lateral */
#mw-panel {
background-color: #eaeaea;
border-right: 1px solid #cccccc; /* Límite claro y limpio */
}
/* Bloques de cita */
blockquote {
font-family: "EB Garamond", serif;
font-size: 1.2em;
color: #333333; /* Texto oscuro */
background-color: #f9f9f9; /* Fondo claro */
border-left: 5px solid #f5ed56; /* Barra amarilla */
padding: 15px 20px;
margin: 15px 0;
line-height: 1.6;
font-style: normal; /* Elimina la cursiva */
}
/* Círculo con flecha para regresar arriba */
#backToTop {
content: "↑";
position: fixed;
bottom: 20px;
right: 20px;
background-color: #f5ed56;
border: none;
border-radius: 50%;
width: 50px;
height: 50px;
display: flex;
justify-content: center;
align-items: center;
font-family: "Abhaya Libre", serif;
font-size: 1.5em;
color: #1a1a1a;
cursor: pointer;
transition: transform 0.3s ease, background-color 0.3s ease;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
#backToTop:hover {
background-color: #eaeaea; /* Cambia a blanco suave */
color: #f5ed56;
transform: scale(1.1); /* Amplía ligeramente */
}
/* Acción del círculo */
#backToTop:active {
transform: scale(0.9); /* Animación al hacer clic */
}
<div id="backToTop" onclick="window.scrollTo({ top: 0, behavior: 'smooth' });">↑</div>