Diferencia entre revisiones de «MediaWiki:Common.css»
Apariencia
Se ha deshecho la revisión 18 de Dungeon Master (disc.) Etiqueta: Deshacer |
Sin resumen de edición |
||
| Línea 2: | Línea 2: | ||
/* ========================================================= | /* ========================================================= | ||
VARIABLES | VARIABLES GLOBALES | ||
========================================================= */ | ========================================================= */ | ||
:root { | :root { | ||
| Línea 15: | Línea 15: | ||
--gold-bright: #c9a44c; | --gold-bright: #c9a44c; | ||
--dark-bg: #241a10; | --dark-bg: #241a10; | ||
--dark-tab: #2e2115; | |||
--dark-tab-hover: #4a3b28; | |||
--dark-frame-grad: linear-gradient(180deg, #3a2a1a, #241a10); | --dark-frame-grad: linear-gradient(180deg, #3a2a1a, #241a10); | ||
} | } | ||
/* ========================================================= | /* ========================================================= | ||
ESTRUCTURA BASE Y FONDOS GLOBALES (VECTOR 2022) | |||
========================================================= */ | ========================================================= */ | ||
html, | html, | ||
body, | body, | ||
#mw-page-base, | .mw-page-container, | ||
.mw-page-container-inner, | |||
#mw-page-base, | |||
#mw-head-base { | #mw-head-base { | ||
background-color: var(--dark-bg) !important; | background-color: var(--dark-bg) !important; | ||
| Línea 34: | Línea 38: | ||
/* ========================================================= | /* ========================================================= | ||
CABECERA SUPERIOR ( | CABECERA SUPERIOR (VECTOR 2022: .vector-header) | ||
========================================================= */ | ========================================================= */ | ||
.vector-header-container, | |||
.vector-header { | |||
background: var(--dark-frame-grad) !important; | background: var(--dark-frame-grad) !important; | ||
border-bottom: 2px solid var(--gold) !important; | border-bottom: 2px solid var(--gold) !important; | ||
| Línea 42: | Línea 47: | ||
} | } | ||
#p-personal ul li a { | /* Menú de usuario / herramientas personales */ | ||
#p-personal ul li a, | |||
.vector-user-menu-list-item a, | |||
.vector-user-menu-logout a { | |||
color: var(--parchment-dark) !important; | color: var(--parchment-dark) !important; | ||
font-family: 'Cinzel', serif; | font-family: 'Cinzel', serif; | ||
font-size: 12px; | font-size: 12px; | ||
text-decoration: none; | text-decoration: none !important; | ||
border-bottom: none !important; | |||
} | } | ||
#p-personal ul li a:hover { | |||
#p-personal ul li a:hover, | |||
.vector-user-menu-list-item a:hover { | |||
color: var(--gold-bright) !important; | color: var(--gold-bright) !important; | ||
text-decoration: underline; | text-decoration: underline !important; | ||
} | } | ||
/* Buscador */ | /* Buscador (Typeahead / Codex en Vector 2022) */ | ||
.cdx-search-input, | |||
.cdx-text-input__input, | |||
#searchInput { | #searchInput { | ||
background-color: rgba(237, 224, 195, 0.9) !important; | background-color: rgba(237, 224, 195, 0.9) !important; | ||
| Línea 60: | Línea 73: | ||
font-family: 'EB Garamond', serif !important; | font-family: 'EB Garamond', serif !important; | ||
} | } | ||
.cdx-search-input button, | |||
.cdx-text-input__icon, | |||
#searchButton { | #searchButton { | ||
color: var(--ink) !important; | |||
} | } | ||
/* ========================================================= | /* ========================================================= | ||
PESTAÑAS DE ACCIÓN ( | PESTAÑAS DE ACCIÓN Y NAVEGACIÓN (VECTOR 2022) | ||
========================================================= */ | ========================================================= */ | ||
#left-navigation, #right-navigation { | .vector-page-toolbar, | ||
#p-namespaces, | |||
#p-views, | |||
#left-navigation, | |||
#right-navigation { | |||
background: transparent !important; | |||
} | } | ||
/* | /* Eliminar fondos del core, bordes residuales y sombras */ | ||
. | .vector-menu-tabs, | ||
. | .vector-menu-tabs .vector-menu-content-list, | ||
. | .vector-menu-tabs .vector-tab-noicon, | ||
. | .vector-menu-tabs li { | ||
. | background: transparent !important; | ||
. | |||
background | |||
box-shadow: none !important; | box-shadow: none !important; | ||
border: none !important; | |||
} | } | ||
/* | /* Estilo base de pestaña */ | ||
. | .vector-menu-tabs .vector-menu-content-list li { | ||
. | background-color: var(--dark-tab) !important; | ||
background-color: | |||
border: 1px solid var(--gold) !important; | border: 1px solid var(--gold) !important; | ||
border-bottom: none !important; | border-bottom: none !important; | ||
margin-right: | margin-right: 4px !important; | ||
border-radius: 4px 4px 0 0 !important; | border-radius: 4px 4px 0 0 !important; | ||
overflow: hidden; | overflow: hidden; | ||
height: 32px !important; | |||
display: inline-flex !important; | |||
align-items: center; | |||
} | } | ||
. | /* Texto y enlaces de pestañas inactivas */ | ||
. | .vector-menu-tabs .vector-menu-content-list li a, | ||
.vector-menu-tabs .vector-menu-content-list li a span { | |||
background-color: transparent !important; | |||
color: var(--parchment-dark) !important; | color: var(--parchment-dark) !important; | ||
font-family: 'Cinzel', serif !important; | font-family: 'Cinzel', serif !important; | ||
font-size: 13px !important; | font-size: 13px !important; | ||
font-weight: 600 !important; | font-weight: 600 !important; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
padding: 0 14px !important; | |||
line-height: 32px !important; | |||
border-bottom: none !important; | |||
} | } | ||
. | /* Hover pestañas inactivas */ | ||
.vector-menu-tabs .vector-menu-content-list li:hover { | |||
background-color: var(--dark-tab-hover) !important; | |||
} | } | ||
.vector-menu-tabs .vector-menu-content-list li:hover a, | |||
. | .vector-menu-tabs .vector-menu-content-list li:hover a span { | ||
. | |||
. | |||
color: var(--gold-bright) !important; | color: var(--gold-bright) !important; | ||
} | } | ||
/* Pestaña activa / seleccionada */ | /* Pestaña activa / seleccionada */ | ||
. | .vector-menu-tabs .vector-menu-content-list li.selected { | ||
. | |||
background-color: var(--dark-bg) !important; | background-color: var(--dark-bg) !important; | ||
border: 1px solid var(--gold) !important; | border: 1px solid var(--gold) !important; | ||
border-top: 3px solid var(--gold-bright) !important; | border-top: 3px solid var(--gold-bright) !important; | ||
| Línea 134: | Línea 146: | ||
} | } | ||
. | .vector-menu-tabs .vector-menu-content-list li.selected a, | ||
. | .vector-menu-tabs .vector-menu-content-list li.selected a span { | ||
color: var(--gold-bright) !important; | color: var(--gold-bright) !important; | ||
font-weight: 700 !important; | font-weight: 700 !important; | ||
} | } | ||
/* | /* Desplegables de acciones ("Más") */ | ||
.vector-menu-dropdown .vector-menu-heading { | .vector-menu-dropdown .vector-menu-heading, | ||
background-color: | .vector-dropdown .vector-dropdown-label { | ||
background-color: var(--dark-tab) !important; | |||
border: 1px solid var(--gold) !important; | border: 1px solid var(--gold) !important; | ||
border-bottom: none !important; | border-bottom: none !important; | ||
| Línea 150: | Línea 162: | ||
font-family: 'Cinzel', serif !important; | font-family: 'Cinzel', serif !important; | ||
font-size: 13px !important; | font-size: 13px !important; | ||
line-height: | height: 32px !important; | ||
line-height: 32px !important; | |||
padding: 0 12px !important; | padding: 0 12px !important; | ||
} | |||
.vector-menu-dropdown .vector-menu-heading:hover, | |||
.vector-dropdown .vector-dropdown-label:hover { | |||
background-color: var(--dark-tab-hover) !important; | |||
color: var(--gold-bright) !important; | |||
} | |||
.vector-menu-dropdown .vector-menu-content, | |||
.vector-dropdown .vector-dropdown-content { | |||
background-color: var(--dark-tab) !important; | |||
border: 1px solid var(--gold) !important; | |||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6) !important; | |||
} | |||
.vector-menu-dropdown .vector-menu-content li a, | |||
.vector-dropdown .vector-dropdown-content li a { | |||
color: var(--parchment) !important; | |||
font-family: 'EB Garamond', serif !important; | |||
border-bottom: none !important; | |||
} | |||
.vector-menu-dropdown .vector-menu-content li a:hover, | |||
.vector-dropdown .vector-dropdown-content li a:hover { | |||
background-color: var(--dark-tab-hover) !important; | |||
color: var(--gold-bright) !important; | |||
} | } | ||
/* ========================================================= | /* ========================================================= | ||
BARRA LATERAL / MENÚ PRINCIPAL (VECTOR 2022) | |||
========================================================= */ | ========================================================= */ | ||
.vector-main-menu-container, | |||
.vector-sidebar-container, | |||
#vector-main-menu { | |||
background: var(--dark-frame-grad) !important; | background: var(--dark-frame-grad) !important; | ||
border-right: 2px solid var(--gold) !important; | border-right: 2px solid var(--gold) !important; | ||
box-shadow: 3px 0 12px rgba(0, 0, 0, 0.45); | box-shadow: 3px 0 12px rgba(0, 0, 0, 0.45); | ||
color: var(--parchment); | |||
} | } | ||
.vector-main-menu-container h3, | |||
.vector-main-menu-group-heading { | |||
color: var(--gold-bright) !important; | color: var(--gold-bright) !important; | ||
font-family: 'Cinzel', serif !important; | font-family: 'Cinzel', serif !important; | ||
font-weight: 700 !important; | font-weight: 700 !important; | ||
font-size: 0. | font-size: 0.85em !important; | ||
letter-spacing: 1px; | letter-spacing: 1px; | ||
border-bottom: 1px solid var(--gold) !important; | border-bottom: 1px solid var(--gold) !important; | ||
padding: 0.3em 0 !important; | padding: 0.3em 0 !important; | ||
margin: 0.8em 0 0.4em 0 !important; | margin: 0.8em 0 0.4em 0 !important; | ||
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6); | text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6); | ||
} | } | ||
.vector-main-menu-container a, | |||
.vector-main-menu-group li a { | |||
color: var(--parchment) !important; | color: var(--parchment) !important; | ||
font-family: 'EB Garamond', serif !important; | font-family: 'EB Garamond', serif !important; | ||
font-size: 15px !important; | font-size: 15px !important; | ||
text-decoration: none !important; | |||
border-bottom: none !important; | border-bottom: none !important; | ||
} | } | ||
.vector-main-menu-container a:hover, | |||
.vector-main-menu-group li a:hover { | |||
color: var(--gold-bright) !important; | color: var(--gold-bright) !important; | ||
text-decoration: underline !important; | text-decoration: underline !important; | ||
| Línea 237: | Línea 234: | ||
/* ========================================================= | /* ========================================================= | ||
CUERPO PRINCIPAL | CUERPO PRINCIPAL DEL ARTÍCULO | ||
========================================================= */ | ========================================================= */ | ||
#content, .mw-body { | #content, | ||
.mw-body, | |||
.vector-body { | |||
background: var(--dark-frame-grad) !important; | background: var(--dark-frame-grad) !important; | ||
color: var(--parchment) !important; | color: var(--parchment) !important; | ||
| Línea 248: | Línea 247: | ||
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6); | box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6); | ||
padding: 2em 2.4em; | padding: 2em 2.4em; | ||
margin-top: 10px; | |||
margin-top: | |||
} | } | ||
/* Encabezados */ | /* Encabezados */ | ||
h1, h2, h3, h4, .firstHeading { | h1, h2, h3, h4, .firstHeading, .mw-first-heading { | ||
font-family: 'Cinzel', serif; | font-family: 'Cinzel', serif; | ||
font-weight: 700; | font-weight: 700; | ||
| Línea 261: | Línea 258: | ||
} | } | ||
.firstHeading { | .firstHeading, .mw-first-heading { | ||
font-size: 2em; | font-size: 2em; | ||
border-bottom: 2px solid var(--gold); | border-bottom: 2px solid var(--gold) !important; | ||
padding-bottom: 0.3em; | padding-bottom: 0.3em; | ||
margin-bottom: 0.6em; | margin-bottom: 0.6em; | ||
| Línea 269: | Línea 266: | ||
h2 { | h2 { | ||
border-bottom: 1px solid var(--gold); | border-bottom: 1px solid var(--gold) !important; | ||
padding-bottom: 0.15em; | padding-bottom: 0.15em; | ||
} | } | ||
/* ========================================================= | /* ========================================================= | ||
ENLACES | ENLACES DENTRO DEL TEXTO DEL ARTÍCULO | ||
========================================================= */ | ========================================================= */ | ||
.mw-parser-output a, | .mw-parser-output a, | ||
# | #bodyContent a:not(.vector-menu-heading):not(.cdx-button) { | ||
color: var(--wine) !important; | color: var(--wine) !important; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
| Línea 289: | Línea 281: | ||
} | } | ||
.mw-parser-output a:visited { | .mw-parser-output a:visited { | ||
color: var(--wine-dark) !important; | color: var(--wine-dark) !important; | ||
| Línea 298: | Línea 286: | ||
} | } | ||
.mw-parser-output a:hover { | .mw-parser-output a:hover { | ||
color: var(--gold-bright) !important; | color: var(--gold-bright) !important; | ||
border-bottom-color: var(--gold-bright) !important; | border-bottom-color: var(--gold-bright) !important; | ||
} | } | ||
.mw-parser-output a.new { | .mw-parser-output a.new { | ||
color: #e57373 !important; | color: #e57373 !important; | ||
| Línea 318: | Línea 296: | ||
} | } | ||
.mw-parser-output a.new:hover { | |||
.mw- | |||
color: #ff8a80 !important; | color: #ff8a80 !important; | ||
border-bottom-color: #ff8a80 !important; | border-bottom-color: #ff8a80 !important; | ||
} | } | ||
/* Excepciones | /* Excepciones estructurales de enlaces fuera de contenido */ | ||
. | .vector-menu a, | ||
. | .vector-header a, | ||
.vector-dropdown a, | |||
.vector-user-menu a, | |||
.cdx-button { | |||
border-bottom: none !important; | border-bottom: none !important; | ||
} | } | ||
| Línea 356: | Línea 333: | ||
} | } | ||
table:not(.infobox) td, table:not(.infobox) th { | table:not(.infobox) td, | ||
table:not(.infobox) th { | |||
border: 1px solid var(--gold); | border: 1px solid var(--gold); | ||
padding: 6px 10px; | padding: 6px 10px; | ||
| Línea 371: | Línea 349: | ||
/* ========================================================= | /* ========================================================= | ||
INFOBOXES | INFOBOXES (PORTABLE INFOBOX) | ||
========================================================= */ | ========================================================= */ | ||
.portable-infobox { | .portable-infobox { | ||
Revisión del 01:42 10 sep 2026
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700&family=EB+Garamond:ital,wght@0,400;0,600;1,400&display=swap');
/* =========================================================
VARIABLES GLOBALES
========================================================= */
:root {
--parchment: #ede0c3;
--parchment-dark: #d9c89e;
--parchment-shadow: #b9a06a;
--ink: #2e2115;
--ink-soft: #4a3b28;
--wine: #8e2030;
--wine-dark: #5a1414;
--gold: #a6802f;
--gold-bright: #c9a44c;
--dark-bg: #241a10;
--dark-tab: #2e2115;
--dark-tab-hover: #4a3b28;
--dark-frame-grad: linear-gradient(180deg, #3a2a1a, #241a10);
}
/* =========================================================
ESTRUCTURA BASE Y FONDOS GLOBALES (VECTOR 2022)
========================================================= */
html,
body,
.mw-page-container,
.mw-page-container-inner,
#mw-page-base,
#mw-head-base {
background-color: var(--dark-bg) !important;
background-image: none !important;
color: var(--parchment);
font-family: 'EB Garamond', Georgia, serif;
font-size: 17px;
line-height: 1.65;
}
/* =========================================================
CABECERA SUPERIOR (VECTOR 2022: .vector-header)
========================================================= */
.vector-header-container,
.vector-header {
background: var(--dark-frame-grad) !important;
border-bottom: 2px solid var(--gold) !important;
color: var(--parchment) !important;
}
/* Menú de usuario / herramientas personales */
#p-personal ul li a,
.vector-user-menu-list-item a,
.vector-user-menu-logout a {
color: var(--parchment-dark) !important;
font-family: 'Cinzel', serif;
font-size: 12px;
text-decoration: none !important;
border-bottom: none !important;
}
#p-personal ul li a:hover,
.vector-user-menu-list-item a:hover {
color: var(--gold-bright) !important;
text-decoration: underline !important;
}
/* Buscador (Typeahead / Codex en Vector 2022) */
.cdx-search-input,
.cdx-text-input__input,
#searchInput {
background-color: rgba(237, 224, 195, 0.9) !important;
color: var(--ink) !important;
border: 1px solid var(--gold) !important;
font-family: 'EB Garamond', serif !important;
}
.cdx-search-input button,
.cdx-text-input__icon,
#searchButton {
color: var(--ink) !important;
}
/* =========================================================
PESTAÑAS DE ACCIÓN Y NAVEGACIÓN (VECTOR 2022)
========================================================= */
.vector-page-toolbar,
#p-namespaces,
#p-views,
#left-navigation,
#right-navigation {
background: transparent !important;
}
/* Eliminar fondos del core, bordes residuales y sombras */
.vector-menu-tabs,
.vector-menu-tabs .vector-menu-content-list,
.vector-menu-tabs .vector-tab-noicon,
.vector-menu-tabs li {
background: transparent !important;
box-shadow: none !important;
border: none !important;
}
/* Estilo base de pestaña */
.vector-menu-tabs .vector-menu-content-list li {
background-color: var(--dark-tab) !important;
border: 1px solid var(--gold) !important;
border-bottom: none !important;
margin-right: 4px !important;
border-radius: 4px 4px 0 0 !important;
overflow: hidden;
height: 32px !important;
display: inline-flex !important;
align-items: center;
}
/* Texto y enlaces de pestañas inactivas */
.vector-menu-tabs .vector-menu-content-list li a,
.vector-menu-tabs .vector-menu-content-list li a span {
background-color: transparent !important;
color: var(--parchment-dark) !important;
font-family: 'Cinzel', serif !important;
font-size: 13px !important;
font-weight: 600 !important;
text-decoration: none !important;
padding: 0 14px !important;
line-height: 32px !important;
border-bottom: none !important;
}
/* Hover pestañas inactivas */
.vector-menu-tabs .vector-menu-content-list li:hover {
background-color: var(--dark-tab-hover) !important;
}
.vector-menu-tabs .vector-menu-content-list li:hover a,
.vector-menu-tabs .vector-menu-content-list li:hover a span {
color: var(--gold-bright) !important;
}
/* Pestaña activa / seleccionada */
.vector-menu-tabs .vector-menu-content-list li.selected {
background-color: var(--dark-bg) !important;
border: 1px solid var(--gold) !important;
border-top: 3px solid var(--gold-bright) !important;
border-bottom: 1px solid var(--dark-bg) !important;
}
.vector-menu-tabs .vector-menu-content-list li.selected a,
.vector-menu-tabs .vector-menu-content-list li.selected a span {
color: var(--gold-bright) !important;
font-weight: 700 !important;
}
/* Desplegables de acciones ("Más") */
.vector-menu-dropdown .vector-menu-heading,
.vector-dropdown .vector-dropdown-label {
background-color: var(--dark-tab) !important;
border: 1px solid var(--gold) !important;
border-bottom: none !important;
border-radius: 4px 4px 0 0 !important;
color: var(--parchment-dark) !important;
font-family: 'Cinzel', serif !important;
font-size: 13px !important;
height: 32px !important;
line-height: 32px !important;
padding: 0 12px !important;
}
.vector-menu-dropdown .vector-menu-heading:hover,
.vector-dropdown .vector-dropdown-label:hover {
background-color: var(--dark-tab-hover) !important;
color: var(--gold-bright) !important;
}
.vector-menu-dropdown .vector-menu-content,
.vector-dropdown .vector-dropdown-content {
background-color: var(--dark-tab) !important;
border: 1px solid var(--gold) !important;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6) !important;
}
.vector-menu-dropdown .vector-menu-content li a,
.vector-dropdown .vector-dropdown-content li a {
color: var(--parchment) !important;
font-family: 'EB Garamond', serif !important;
border-bottom: none !important;
}
.vector-menu-dropdown .vector-menu-content li a:hover,
.vector-dropdown .vector-dropdown-content li a:hover {
background-color: var(--dark-tab-hover) !important;
color: var(--gold-bright) !important;
}
/* =========================================================
BARRA LATERAL / MENÚ PRINCIPAL (VECTOR 2022)
========================================================= */
.vector-main-menu-container,
.vector-sidebar-container,
#vector-main-menu {
background: var(--dark-frame-grad) !important;
border-right: 2px solid var(--gold) !important;
box-shadow: 3px 0 12px rgba(0, 0, 0, 0.45);
color: var(--parchment);
}
.vector-main-menu-container h3,
.vector-main-menu-group-heading {
color: var(--gold-bright) !important;
font-family: 'Cinzel', serif !important;
font-weight: 700 !important;
font-size: 0.85em !important;
letter-spacing: 1px;
border-bottom: 1px solid var(--gold) !important;
padding: 0.3em 0 !important;
margin: 0.8em 0 0.4em 0 !important;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}
.vector-main-menu-container a,
.vector-main-menu-group li a {
color: var(--parchment) !important;
font-family: 'EB Garamond', serif !important;
font-size: 15px !important;
text-decoration: none !important;
border-bottom: none !important;
}
.vector-main-menu-container a:hover,
.vector-main-menu-group li a:hover {
color: var(--gold-bright) !important;
text-decoration: underline !important;
}
/* =========================================================
CUERPO PRINCIPAL DEL ARTÍCULO
========================================================= */
#content,
.mw-body,
.vector-body {
background: var(--dark-frame-grad) !important;
color: var(--parchment) !important;
border: 1px solid var(--gold);
outline: 4px double var(--gold);
outline-offset: -8px;
border-radius: 2px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
padding: 2em 2.4em;
margin-top: 10px;
}
/* Encabezados */
h1, h2, h3, h4, .firstHeading, .mw-first-heading {
font-family: 'Cinzel', serif;
font-weight: 700;
color: var(--gold-bright) !important;
letter-spacing: 0.5px;
}
.firstHeading, .mw-first-heading {
font-size: 2em;
border-bottom: 2px solid var(--gold) !important;
padding-bottom: 0.3em;
margin-bottom: 0.6em;
}
h2 {
border-bottom: 1px solid var(--gold) !important;
padding-bottom: 0.15em;
}
/* =========================================================
ENLACES DENTRO DEL TEXTO DEL ARTÍCULO
========================================================= */
.mw-parser-output a,
#bodyContent a:not(.vector-menu-heading):not(.cdx-button) {
color: var(--wine) !important;
text-decoration: none !important;
border-bottom: 1px solid rgba(142, 32, 48, 0.4) !important;
transition: color 0.15s ease, border-color 0.15s ease;
}
.mw-parser-output a:visited {
color: var(--wine-dark) !important;
border-bottom-color: rgba(90, 20, 20, 0.4) !important;
}
.mw-parser-output a:hover {
color: var(--gold-bright) !important;
border-bottom-color: var(--gold-bright) !important;
}
.mw-parser-output a.new {
color: #e57373 !important;
border-bottom: 1px dashed rgba(229, 115, 115, 0.6) !important;
}
.mw-parser-output a.new:hover {
color: #ff8a80 !important;
border-bottom-color: #ff8a80 !important;
}
/* Excepciones estructurales de enlaces fuera de contenido */
.vector-menu a,
.vector-header a,
.vector-dropdown a,
.vector-user-menu a,
.cdx-button {
border-bottom: none !important;
}
/* =========================================================
TABLAS, CÓDIGO Y ELEMENTOS DEL ARTÍCULO
========================================================= */
pre, code {
background-color: rgba(0, 0, 0, 0.4) !important;
border: 1px solid var(--gold) !important;
color: var(--parchment) !important;
}
table:not(.infobox):not(.pi-background) {
background-color: rgba(0, 0, 0, 0.25);
border: 1px solid var(--gold);
border-collapse: collapse;
}
table:not(.infobox) th {
background: linear-gradient(180deg, #5c4322, #3a2a15);
color: var(--parchment);
font-family: 'Cinzel', serif;
font-weight: 500;
letter-spacing: 0.3px;
}
table:not(.infobox) td,
table:not(.infobox) th {
border: 1px solid var(--gold);
padding: 6px 10px;
color: var(--parchment);
}
blockquote {
font-style: italic;
color: var(--parchment-dark);
border-left: 3px solid var(--gold-bright);
padding-left: 1em;
margin-left: 0;
}
/* =========================================================
INFOBOXES (PORTABLE INFOBOX)
========================================================= */
.portable-infobox {
background: var(--parchment);
border: 1px solid var(--gold);
outline: 3px double var(--gold-bright);
outline-offset: -6px;
border-radius: 3px;
box-shadow: 4px 6px 14px rgba(0,0,0,0.5);
font-family: 'EB Garamond', serif;
color: var(--ink);
width: 300px;
}
.portable-infobox .pi-title {
background: linear-gradient(135deg, var(--wine), #4a0e18);
color: #f3e6c8;
font-family: 'Cinzel', serif;
font-weight: 700;
font-size: 1.25em;
text-align: center;
padding: 10px 6px;
border-bottom: 3px solid var(--gold-bright);
text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.portable-infobox .pi-image {
border: 3px solid var(--gold-bright);
border-radius: 2px;
margin: 8px auto;
max-width: 88%;
box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.portable-infobox .pi-header {
background: linear-gradient(180deg, #7a5a30, #5c4322);
color: var(--parchment);
font-family: 'Cinzel', serif;
font-weight: 500;
text-transform: uppercase;
font-size: 0.8em;
letter-spacing: 1.2px;
padding: 5px 6px;
border-top: 1px solid var(--gold-bright);
border-bottom: 1px solid var(--gold-bright);
}
.portable-infobox .pi-data {
border-bottom: 1px solid var(--parchment-shadow);
padding: 5px 10px;
}
.portable-infobox .pi-data-label {
font-weight: 600;
color: var(--wine);
width: 45%;
}
.portable-infobox .pi-data-value {
color: var(--ink);
}
.portable-infobox .pi-group.pi-border-color {
background-color: rgba(166, 128, 47, 0.12);
border-top: 1px dashed var(--gold);
border-bottom: 1px dashed var(--gold);
}
.portable-infobox .pi-footer {
font-size: 0.75em;
text-align: center;
color: var(--ink-soft);
font-style: italic;
padding: 6px;
border-top: 1px solid var(--parchment-shadow);
}
.ficha-personaje .pi-title { background: linear-gradient(135deg, var(--wine), #4a0e18); }
.ficha-monstruo .pi-title { background: linear-gradient(135deg, #4a2010, #2b1208); }
.ficha-hechizo .pi-title { background: linear-gradient(135deg, #2f4f4f, #1a2e2e); }
.ficha-localizacion .pi-title { background: linear-gradient(135deg, #5c4322, #3a2a15); }