Diferencia entre revisiones de «MediaWiki:Common.css»
Apariencia
Sin resumen de edición Etiqueta: Revertido |
Se ha deshecho la revisión 18 de Dungeon Master (disc.) Etiqueta: Deshacer |
||
| Línea 66: | Línea 66: | ||
/* ========================================================= | /* ========================================================= | ||
PESTAÑAS DE ACCIÓN ( | PESTAÑAS DE ACCIÓN (MENSAJE, DISCUSIÓN, LEER, EDITAR...) | ||
========================================================= */ | ========================================================= */ | ||
#left-navigation, #right-navigation { | #left-navigation, #right-navigation { | ||
| Línea 72: | Línea 72: | ||
} | } | ||
/* | /* Destruir fondos nativos, sprites PNG y sombras del core */ | ||
.vectorTabs, | .vectorTabs, | ||
.vectorTabs ul, | .vectorTabs ul, | ||
.vectorTabs li, | .vectorTabs ul li, | ||
.vectorTabs a, | .vectorTabs ul li a, | ||
.vectorTabs span { | .vectorTabs ul li a span, | ||
.vectorTabs ul li span { | |||
background-image: none !important; | background-image: none !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
/* | /* Pestaña inactiva: fondo oscuro sólido en todos los niveles */ | ||
.vectorTabs li, | .vectorTabs ul li, | ||
.vectorTabs li a, | .vectorTabs ul li a, | ||
.vectorTabs li | .vectorTabs ul li span { | ||
background-color: #2e2115 !important; | background-color: #2e2115 !important; | ||
} | } | ||
.vectorTabs li { | .vectorTabs ul li { | ||
border: 1px solid var(--gold) !important; | border: 1px solid var(--gold) !important; | ||
border-bottom: none !important; | border-bottom: none !important; | ||
margin-right: 3px !important; | margin-right: 3px !important; | ||
border-radius: 4px 4px 0 0 !important; | border-radius: 4px 4px 0 0 !important; | ||
overflow: hidden | overflow: hidden; | ||
} | } | ||
.vectorTabs li a { | .vectorTabs ul li a, | ||
.vectorTabs ul li a span { | |||
color: var(--parchment-dark) !important; | |||
font-family: 'Cinzel', serif !important; | |||
font-size: 13px !important; | |||
font-weight: 600 !important; | |||
line-height: 28px !important; | line-height: 28px !important; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
display: block !important; | |||
} | } | ||
.vectorTabs li a span { | .vectorTabs ul li a span { | ||
padding: 0 14px !important; | |||
padding: 0 | |||
} | } | ||
/* | /* Hover de pestaña inactiva */ | ||
.vectorTabs li:hover, | .vectorTabs ul li:hover, | ||
.vectorTabs li:hover a, | .vectorTabs ul li:hover a, | ||
.vectorTabs li:hover span { | .vectorTabs ul li:hover span { | ||
background-color: #4a3b28 !important; | background-color: #4a3b28 !important; | ||
color: var(--gold-bright) !important; | color: var(--gold-bright) !important; | ||
} | } | ||
/* | /* Pestaña activa / seleccionada */ | ||
.vectorTabs li.selected, | .vectorTabs ul li.selected, | ||
.vectorTabs li.selected a, | .vectorTabs ul li.selected a, | ||
.vectorTabs li.selected | .vectorTabs ul li.selected span { | ||
background-color: var(--dark-bg) !important; | background-color: var(--dark-bg) !important; | ||
} | } | ||
.vectorTabs li.selected { | .vectorTabs ul li.selected { | ||
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 139: | Línea 134: | ||
} | } | ||
.vectorTabs li.selected a span { | .vectorTabs ul li.selected a, | ||
.vectorTabs ul li.selected a span { | |||
color: var(--gold-bright) !important; | |||
font-weight: 700 !important; | font-weight: 700 !important; | ||
} | } | ||
/* Menú desplegable "Más" */ | |||
.vector-menu-dropdown .vector-menu-heading { | |||
background-color: #2e2115 !important; | |||
background-image: none !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; | |||
line-height: 28px !important; | |||
padding: 0 12px !important; | |||
height: 30px !important; | |||
} | |||
/* ========================================================= | /* ========================================================= | ||
SIDEBAR (#mw-panel) | SIDEBAR (#mw-panel) | ||
Revisión del 01:40 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
========================================================= */
: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-frame-grad: linear-gradient(180deg, #3a2a1a, #241a10);
}
/* =========================================================
FONDO GLOBAL Y BASES (ELIMINA FONDOS BLANCOS/CREMA RESIDUALES)
========================================================= */
html,
body,
#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 (#mw-head)
========================================================= */
#mw-head {
background: var(--dark-frame-grad) !important;
border-bottom: 2px solid var(--gold) !important;
color: var(--parchment) !important;
}
#p-personal ul li a {
color: var(--parchment-dark) !important;
font-family: 'Cinzel', serif;
font-size: 12px;
text-decoration: none;
}
#p-personal ul li a:hover {
color: var(--gold-bright) !important;
text-decoration: underline;
}
/* Buscador */
#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;
}
#searchButton {
background-color: var(--wine) !important;
border: 1px solid var(--gold) !important;
}
/* =========================================================
PESTAÑAS DE ACCIÓN (MENSAJE, DISCUSIÓN, LEER, EDITAR...)
========================================================= */
#left-navigation, #right-navigation {
margin-top: 2.2em !important;
}
/* Destruir fondos nativos, sprites PNG y sombras del core */
.vectorTabs,
.vectorTabs ul,
.vectorTabs ul li,
.vectorTabs ul li a,
.vectorTabs ul li a span,
.vectorTabs ul li span {
background-image: none !important;
box-shadow: none !important;
}
/* Pestaña inactiva: fondo oscuro sólido en todos los niveles */
.vectorTabs ul li,
.vectorTabs ul li a,
.vectorTabs ul li span {
background-color: #2e2115 !important;
}
.vectorTabs ul li {
border: 1px solid var(--gold) !important;
border-bottom: none !important;
margin-right: 3px !important;
border-radius: 4px 4px 0 0 !important;
overflow: hidden;
}
.vectorTabs ul li a,
.vectorTabs ul li a span {
color: var(--parchment-dark) !important;
font-family: 'Cinzel', serif !important;
font-size: 13px !important;
font-weight: 600 !important;
line-height: 28px !important;
text-decoration: none !important;
display: block !important;
}
.vectorTabs ul li a span {
padding: 0 14px !important;
}
/* Hover de pestaña inactiva */
.vectorTabs ul li:hover,
.vectorTabs ul li:hover a,
.vectorTabs ul li:hover span {
background-color: #4a3b28 !important;
color: var(--gold-bright) !important;
}
/* Pestaña activa / seleccionada */
.vectorTabs ul li.selected,
.vectorTabs ul li.selected a,
.vectorTabs ul li.selected span {
background-color: var(--dark-bg) !important;
}
.vectorTabs ul li.selected {
border: 1px solid var(--gold) !important;
border-top: 3px solid var(--gold-bright) !important;
border-bottom: 1px solid var(--dark-bg) !important;
}
.vectorTabs ul li.selected a,
.vectorTabs ul li.selected a span {
color: var(--gold-bright) !important;
font-weight: 700 !important;
}
/* Menú desplegable "Más" */
.vector-menu-dropdown .vector-menu-heading {
background-color: #2e2115 !important;
background-image: none !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;
line-height: 28px !important;
padding: 0 12px !important;
height: 30px !important;
}
/* =========================================================
SIDEBAR (#mw-panel)
========================================================= */
#mw-panel {
position: absolute;
top: 0;
left: 0;
width: 10.5em !important;
min-height: 100vh;
height: 100%;
background: var(--dark-frame-grad) !important;
border-right: 2px solid var(--gold) !important;
box-shadow: 3px 0 12px rgba(0, 0, 0, 0.45);
padding: 0 !important;
text-align: left !important;
}
/* Contenedor del logo */
#p-logo {
position: static !important;
margin: 15px auto !important;
width: 10em !important;
height: 140px !important;
display: block !important;
}
/* Portales y títulos */
#mw-panel .portal {
background: transparent !important;
margin: 0 !important;
padding: 0 0.8em 1em 0.8em !important;
text-align: left !important;
}
#mw-panel .portal h3 {
color: var(--gold-bright) !important;
font-family: 'Cinzel', serif !important;
font-weight: 700 !important;
font-size: 0.82em !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-align: left !important;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}
#mw-panel .portal .body {
background: transparent !important;
margin: 0 !important;
padding: 0 !important;
}
#mw-panel .portal .body ul {
margin: 0 !important;
padding: 0 !important;
list-style: none !important;
}
#mw-panel .portal .body li {
margin: 0 !important;
padding: 3px 0 !important;
text-align: left !important;
}
#mw-panel .portal .body li a {
color: var(--parchment) !important;
font-family: 'EB Garamond', serif !important;
font-size: 15px !important;
line-height: 1.3 !important;
border-bottom: none !important;
text-decoration: none !important;
display: block !important;
text-align: left !important;
}
#mw-panel .portal .body li a:hover {
color: var(--gold-bright) !important;
text-decoration: underline !important;
}
/* =========================================================
CUERPO PRINCIPAL (#content / .mw-body)
========================================================= */
#content, .mw-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-left: 11.5em !important;
margin-right: 1.2em;
margin-top: -1px;
}
/* Encabezados */
h1, h2, h3, h4, .firstHeading {
font-family: 'Cinzel', serif;
font-weight: 700;
color: var(--gold-bright) !important;
letter-spacing: 0.5px;
}
.firstHeading {
font-size: 2em;
border-bottom: 2px solid var(--gold);
padding-bottom: 0.3em;
margin-bottom: 0.6em;
}
h2 {
border-bottom: 1px solid var(--gold);
padding-bottom: 0.15em;
}
/* =========================================================
ENLACES (<a>) — TONO VINO CLÁSICO CON ESPECIFICIDAD
========================================================= */
a,
#content a,
.mw-body a,
#bodyContent a,
#mw-content-text a,
.mw-parser-output a,
#siteNotice a {
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;
}
a:visited,
#content a:visited,
.mw-body a:visited,
#bodyContent a:visited,
.mw-parser-output a:visited {
color: var(--wine-dark) !important;
border-bottom-color: rgba(90, 20, 20, 0.4) !important;
}
a:hover,
#content a:hover,
.mw-body a:hover,
#bodyContent a:hover,
#mw-content-text a:hover,
.mw-parser-output a:hover {
color: var(--gold-bright) !important;
border-bottom-color: var(--gold-bright) !important;
text-decoration: none !important;
}
a.new,
#content a.new,
.mw-body a.new,
#bodyContent a.new,
.mw-parser-output a.new {
color: #e57373 !important;
border-bottom: 1px dashed rgba(229, 115, 115, 0.6) !important;
}
a.new:hover,
#content a.new:hover,
.mw-body a.new:hover {
color: #ff8a80 !important;
border-bottom-color: #ff8a80 !important;
}
/* Excepciones para que las zonas oscuras no hereden el color vino */
.vectorTabs ul li a,
.vectorTabs ul li a span,
#p-personal ul li a,
#mw-panel .portal .body li a {
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 {
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); }