More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
@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'); | @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ítulos principales */ | ||
#firstHeading { | #firstHeading { | ||
font-family: "Garamond", serif; | font-family: "Garamond", serif; | ||
font-size: 2.5em; | font-size: 2.5em; | ||
color: # | color: #eceae5; /* Blanco cálido */ | ||
} | } | ||
/* | /* Subtítulos */ | ||
h2, h3, h4, h5 { | h2 { | ||
font-family: "EB Garamond", serif; | |||
font-weight: 700; | |||
color: #d7d2cc; /* Gris claro */ | |||
} | |||
h3, h4, h5 { | |||
font-family: "Abhaya Libre", serif; | font-family: "Abhaya Libre", serif; | ||
font-weight: 700; | font-weight: 700; | ||
color: # | color: #d7d2cc; /* Gris claro */ | ||
} | } | ||
/* Texto | /* Texto general */ | ||
.mw-body-content { | .mw-body-content { | ||
font-family: "Crimson Text", serif; | font-family: "Crimson Text", serif; | ||
color: # | color: #f0ece6; | ||
line-height: 1.8; | line-height: 1.8; | ||
} | } | ||
/* | /* Subtítulos menores */ | ||
h6 { | h6 { | ||
font-family: "Commissioner", sans-serif; | font-family: "Commissioner", sans-serif; | ||
font-weight: 700; | font-weight: 700; | ||
font-size: 2em; | font-size: 2em; | ||
} | } | ||
Line 32: | Line 38: | ||
#footer, .mw-footer { | #footer, .mw-footer { | ||
color: #ffffff; | color: #ffffff; | ||
background-color: # | background-color: #2e2b28; /* Marrón oscuro suave */ | ||
font-family: "Commissioner", sans-serif; | font-family: "Commissioner", sans-serif; | ||
font-weight: 200; | font-weight: 200; | ||
} | } | ||
/* | /* Enlaces */ | ||
a, a:link, a:visited { | a, a:link, a:visited { | ||
color: | color: inherit; /* Igual al texto normal */ | ||
text-decoration: underline; | text-decoration: underline; | ||
text-decoration-thickness: 2px; /* Subrayado más grueso */ | text-decoration-thickness: 2px; /* Subrayado más grueso */ | ||
Line 54: | Line 60: | ||
width: 0; | width: 0; | ||
height: 100%; | height: 100%; | ||
background-color: # | background-color: #e6d1b3; /* Crema suave */ | ||
z-index: -1; | z-index: -1; | ||
transition: width 0.4s ease; | transition: width 0.4s ease; | ||
Line 60: | Line 66: | ||
a:hover { | a:hover { | ||
color: # | color: #b8a489; /* Café claro */ | ||
} | } | ||
Line 69: | Line 75: | ||
/* Texto seleccionado */ | /* Texto seleccionado */ | ||
::selection { | ::selection { | ||
background-color: # | background-color: #f5dcb3; /* Crema cálido */ | ||
color: # | color: #2e2b28; /* Marrón oscuro */ | ||
} | } | ||
/* Fondo del sitio */ | /* Fondo del sitio */ | ||
body { | body { | ||
background-color: # | background-color: #242120; /* Gris cálido y oscuro */ | ||
} | } | ||
/* Panel lateral */ | /* Panel lateral */ | ||
#mw-panel { | #mw-panel { | ||
background-color: # | background-color: #2b2927; | ||
} | } | ||
Line 87: | Line 93: | ||
font-family: "EB Garamond", serif; | font-family: "EB Garamond", serif; | ||
font-size: 1.3em; | font-size: 1.3em; | ||
color: # | color: #dcd7d1; | ||
background-color: # | background-color: #312e2b; /* Gris marrón */ | ||
border-left: 5px solid # | border-left: 5px solid #e6d1b3; /* Barra crema */ | ||
padding: 15px 20px; | padding: 15px 20px; | ||
margin: 15px 0; | margin: 15px 0; | ||
line-height: 1.6; | line-height: 1.6; | ||
font-style: normal; /* No siempre en cursiva */ | |||
} | } | ||
/* Círculo con flecha */ | /* Círculo con flecha al inicio */ | ||
#scrollTop { | |||
position: fixed; | |||
bottom: 30px; | |||
right: 30px; | |||
width: 50px; | |||
height: 50px; | |||
background-color: #e6d1b3; /* Crema suave */ | |||
background-color: # | |||
border-radius: 50%; | border-radius: 50%; | ||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); | |||
display: flex; | display: flex; | ||
justify-content: center; | justify-content: center; | ||
Line 115: | Line 117: | ||
cursor: pointer; | cursor: pointer; | ||
transition: transform 0.3s ease, background-color 0.3s ease; | transition: transform 0.3s ease, background-color 0.3s ease; | ||
z-index: 1000; | |||
} | |||
#scrollTop:hover { | |||
background-color: #d4bea2; /* Tonalidad más oscura */ | |||
transform: scale(1.1); | |||
} | } | ||
#scrollTop::after { | |||
content: "↑"; | |||
font-family: "Abhaya Libre", serif; | |||
font-size: 1.5em; | |||
color: #2e2b28; /* Marrón oscuro */ | |||
} | } | ||
/* | /* Animación para el botón de ir arriba */ | ||
#scrollTop:active { | |||
transform: scale(0.9); | |||
} | } |
Revision as of 19:05, 16 November 2024
@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ítulos principales */ #firstHeading { font-family: "Garamond", serif; font-size: 2.5em; color: #eceae5; /* Blanco cálido */ } /* Subtítulos */ h2 { font-family: "EB Garamond", serif; font-weight: 700; color: #d7d2cc; /* Gris claro */ } h3, h4, h5 { font-family: "Abhaya Libre", serif; font-weight: 700; color: #d7d2cc; /* Gris claro */ } /* Texto general */ .mw-body-content { font-family: "Crimson Text", serif; color: #f0ece6; line-height: 1.8; } /* Subtítulos menores */ h6 { font-family: "Commissioner", sans-serif; font-weight: 700; font-size: 2em; } /* Pie de página */ #footer, .mw-footer { color: #ffffff; background-color: #2e2b28; /* Marrón oscuro suave */ font-family: "Commissioner", sans-serif; font-weight: 200; } /* Enlaces */ a, a:link, a:visited { color: inherit; /* Igual al texto normal */ text-decoration: underline; text-decoration-thickness: 2px; /* Subrayado más grueso */ position: relative; overflow: hidden; } /* Efecto dinámico en enlaces */ a::before { content: ""; position: absolute; bottom: 0; left: 0; width: 0; height: 100%; background-color: #e6d1b3; /* Crema suave */ z-index: -1; transition: width 0.4s ease; } a:hover { color: #b8a489; /* Café claro */ } a:hover::before { width: 100%; } /* Texto seleccionado */ ::selection { background-color: #f5dcb3; /* Crema cálido */ color: #2e2b28; /* Marrón oscuro */ } /* Fondo del sitio */ body { background-color: #242120; /* Gris cálido y oscuro */ } /* Panel lateral */ #mw-panel { background-color: #2b2927; } /* Bloques de citas */ blockquote { font-family: "EB Garamond", serif; font-size: 1.3em; color: #dcd7d1; background-color: #312e2b; /* Gris marrón */ border-left: 5px solid #e6d1b3; /* Barra crema */ padding: 15px 20px; margin: 15px 0; line-height: 1.6; font-style: normal; /* No siempre en cursiva */ } /* Círculo con flecha al inicio */ #scrollTop { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background-color: #e6d1b3; /* Crema suave */ border-radius: 50%; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); display: flex; justify-content: center; align-items: center; cursor: pointer; transition: transform 0.3s ease, background-color 0.3s ease; z-index: 1000; } #scrollTop:hover { background-color: #d4bea2; /* Tonalidad más oscura */ transform: scale(1.1); } #scrollTop::after { content: "↑"; font-family: "Abhaya Libre", serif; font-size: 1.5em; color: #2e2b28; /* Marrón oscuro */ } /* Animación para el botón de ir arriba */ #scrollTop:active { transform: scale(0.9); }