More actions
No edit summary |
No edit summary |
||
| Line 61: | Line 61: | ||
} | } | ||
/* --- Hipervínculos --- */ | /* --- Hipervínculos en Artículos --- */ | ||
.mw-parser-output a { | .mw-parser-output a { | ||
text-decoration: none; | text-decoration: none; /* Sin subrayado por defecto */ | ||
color: # | color: #ffffff; /* Blanco como el texto normal */ | ||
border-bottom: | position: relative; | ||
transition: all 0.3s ease-in-out; | border-bottom: 4px solid rgba(255, 255, 0, 0.8); /* Subrayado amarillo sutil */ | ||
padding-bottom: 2px; /* Ajusta la proximidad del subrayado */ | |||
transition: all 0.3s ease-in-out; /* Transición suave para el cambio */ | |||
} | } | ||
.mw-parser-output a:hover { | .mw-parser-output a:hover { | ||
color: # | color: #18181e; /* El texto se vuelve negro al pasar el mouse */ | ||
} | } | ||
.mw-parser-output a::after { | |||
content: ''; /* Sin contenido por defecto */ | |||
position: absolute; | |||
width: 0; /* Inicialmente no se ve */ | |||
height: 100%; /* Cubre toda la altura del texto */ | |||
background: yellow; /* Subrayado a | |||
/* --- Listas --- */ | /* --- Listas --- */ | ||
Revision as of 00:59, 8 December 2024
/* --- Estilo General del Sitio --- */
body {
font-family: 'Newsreader', serif; /* Fuente para el texto principal */
background-color: #18181e; /* Fondo oscuro */
color: #ffffff; /* Texto blanco */
line-height: 1.8; /* Espaciado cómodo */
margin: 0;
padding: 0;
}
/* --- Contenido Principal --- */
.mw-parser-output {
font-family: 'Newsreader', serif; /* Fuente principal */
color: #ffffff; /* Color blanco */
font-size: 1rem; /* Tamaño estándar */
line-height: 1.8; /* Espaciado cómodo entre líneas */
margin: 0 10%; /* Márgenes laterales para centrar contenido */
}
/* --- Título Principal del Artículo --- */
#content h1.firstHeading {
font-family: 'Libre Baskerville', serif; /* Fuente elegante */
font-size: 2.5rem; /* Tamaño destacado */
font-weight: normal; /* Sin negrita */
color: #ffffff;
text-align: center; /* Centrar el título */
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: 2rem;
font-weight: bold;
color: #ffffff;
margin-top: 30px;
margin-bottom: 10px;
}
.mw-parser-output h3 {
font-family: 'Ysabeau Infant', serif;
font-size: 1.5rem;
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: 3rem;
font-family: 'Libre Baskerville', serif;
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; /* Sin subrayado por defecto */
color: #ffffff; /* Blanco como el texto normal */
position: relative;
border-bottom: 4px solid rgba(255, 255, 0, 0.8); /* Subrayado amarillo sutil */
padding-bottom: 2px; /* Ajusta la proximidad del subrayado */
transition: all 0.3s ease-in-out; /* Transición suave para el cambio */
}
.mw-parser-output a:hover {
color: #18181e; /* El texto se vuelve negro al pasar el mouse */
}
.mw-parser-output a::after {
content: ''; /* Sin contenido por defecto */
position: absolute;
width: 0; /* Inicialmente no se ve */
height: 100%; /* Cubre toda la altura del texto */
background: yellow; /* Subrayado a
/* --- Listas --- */
.mw-parser-output ul,
.mw-parser-output ol {
margin-left: 20px;
}
.mw-parser-output li {
line-height: 1.8;
}
/* --- Tablas --- */
.mw-parser-output table {
border-collapse: collapse;
width: 100%;
color: #ffffff;
margin: 20px 0;
}
.mw-parser-output th,
.mw-parser-output td {
border: 1px solid #ffffff;
padding: 10px;
text-align: left;
}
/* --- Descripciones de Imágenes --- */
.mw-parser-output .thumbcaption {
font-family: 'Ysabeau Infant', serif;
font-size: 0.875rem;
color: #ffffff;
text-align: center;
margin-top: 5px;
}
/* --- Referencias y Notas --- */
.mw-parser-output sup {
font-family: 'Crimson Pro', serif;
font-size: 0.75rem;
color: #ffcc00;
}
.mw-parser-output sup a {
text-decoration: none;
color: #ffcc00;
}
/* --- Botones (si aplica) --- */
button, input[type="button"] {
font-family: 'Newsreader', serif;
background-color: #ffcc00;
color: #18181e;
border: none;
padding: 10px 20px;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover, input[type="button"]:hover {
background-color: #ffffff;
color: #18181e;
}