Diferencia entre revisiones de «MediaWiki:Common.css»
Apariencia
paleta HDV reforzada |
Sync corpus Hub De Vors |
||
| (No se muestran 25 ediciones intermedias del mismo usuario) | |||
| Línea 1: | Línea 1: | ||
/* Hub De Vors — MediaWiki Common.css (paleta portal) */ | /* hdv-cache-bust: 2026-08-27-public-wiki */ | ||
/* Hub De Vors — MediaWiki Common.css (paleta portal + mobile-first) */ | |||
:root { | :root { | ||
--hdv-bg: #0c0c14; | --hdv-bg: #0c0c14; | ||
| Línea 16: | Línea 17: | ||
--hdv-blue: #22d3ee; | --hdv-blue: #22d3ee; | ||
--hdv-radius: 8px; | --hdv-radius: 8px; | ||
--hdv-touch: 44px; | |||
} | } | ||
| Línea 34: | Línea 36: | ||
.vector-page-toolbar, | .vector-page-toolbar, | ||
.vector-sticky-header, | .vector-sticky-header, | ||
.mw-sidebar-container { | .mw-sidebar-container, | ||
.skin-minerva, | |||
.skin-minerva .mw-body, | |||
.skin-minerva #content, | |||
.skin-minerva .content, | |||
.minerva-header, | |||
.minerva__body { | |||
background: var(--hdv-bg) !important; | background: var(--hdv-bg) !important; | ||
color: var(--hdv-text) !important; | color: var(--hdv-text) !important; | ||
| Línea 41: | Línea 49: | ||
.mw-page-container, | .mw-page-container, | ||
.mw-body, | .mw-body, | ||
#content { | #content, | ||
.skin-minerva .mw-body { | |||
background: | background: | ||
radial-gradient(ellipse at 20% 0%, rgba(32, 240, 138, 0.08), transparent 42%), | radial-gradient(ellipse at 20% 0%, rgba(32, 240, 138, 0.08), transparent 42%), | ||
| Línea 48: | Línea 57: | ||
} | } | ||
/* Links — forzar esmeralda sobre azul Vector */ | /* Links — forzar esmeralda sobre azul Vector/Minerva */ | ||
.mw-parser-output a, | .mw-parser-output a, | ||
.mw-parser-output a:link, | .mw-parser-output a:link, | ||
| Línea 57: | Línea 66: | ||
.cdx-menu a, | .cdx-menu a, | ||
a.external, | a.external, | ||
a.hdv-card { | a.hdv-card, | ||
a.hdv-wikilink, | |||
.skin-minerva a, | |||
.skin-minerva .content a { | |||
color: var(--hdv-primary) !important; | color: var(--hdv-primary) !important; | ||
text-decoration-color: rgba(32, 240, 138, 0.45) !important; | text-decoration-color: rgba(32, 240, 138, 0.45) !important; | ||
} | |||
a.hdv-wikilink { | |||
text-decoration: underline; | |||
text-underline-offset: 2px; | |||
} | } | ||
a.hdv-card { | a.hdv-card { | ||
display: block !important; | display: block !important; | ||
padding: | padding: 0.75rem 0.9rem !important; | ||
margin: 0 !important; | margin: 0 !important; | ||
border: 1px solid rgba(32, 240, 138, 0.22) !important; | border: 1px solid rgba(32, 240, 138, 0.22) !important; | ||
| Línea 71: | Línea 88: | ||
text-decoration: none !important; | text-decoration: none !important; | ||
color: var(--hdv-text) !important; | color: var(--hdv-text) !important; | ||
min-height: 0 !important; | |||
box-sizing: border-box; | |||
} | } | ||
| Línea 84: | Línea 103: | ||
} | } | ||
.hdv-grid { | .hdv-grid, | ||
.mw-parser-output .hdv-grid { | |||
display: grid !important; | display: grid !important; | ||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important; | grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)) !important; | ||
gap: 12px !important; | gap: 12px !important; | ||
margin: 1rem 0 1.5rem !important; | margin: 1rem 0 1.5rem !important; | ||
width: 100% !important; | |||
max-width: 100% !important; | |||
} | } | ||
| Línea 95: | Línea 117: | ||
html.skin-theme-clientpref-night body, | html.skin-theme-clientpref-night body, | ||
.skin-theme-clientpref-night .mw-page-container, | .skin-theme-clientpref-night .mw-page-container, | ||
.skin-theme-clientpref-night .mw-body { | .skin-theme-clientpref-night .mw-body, | ||
html.skin-theme-clientpref-os, | |||
.skin-minerva.theme-dark, | |||
.skin-minerva { | |||
background: var(--hdv-bg) !important; | background: var(--hdv-bg) !important; | ||
color: var(--hdv-text) !important; | color: var(--hdv-text) !important; | ||
| Línea 102: | Línea 127: | ||
h1, h2, h3, h4, h5, h6, | h1, h2, h3, h4, h5, h6, | ||
.firstHeading, | .firstHeading, | ||
.mw-heading { | .mw-heading, | ||
.skin-minerva .page-heading, | |||
.skin-minerva h1, | |||
.skin-minerva h2 { | |||
color: var(--hdv-primary-glow) !important; | color: var(--hdv-primary-glow) !important; | ||
border-color: rgba(32, 240, 138, 0.28) !important; | border-color: rgba(32, 240, 138, 0.28) !important; | ||
font-weight: 700; | font-weight: 700; | ||
overflow-wrap: anywhere; | |||
word-break: break-word; | |||
} | } | ||
| Línea 111: | Línea 141: | ||
.mw-parser-output, | .mw-parser-output, | ||
#mw-content-text p, | #mw-content-text p, | ||
.vector-body { | .vector-body, | ||
.skin-minerva .content p { | |||
color: var(--hdv-text) !important; | color: var(--hdv-text) !important; | ||
line-height: 1.65; | line-height: 1.65; | ||
| Línea 121: | Línea 152: | ||
.mw-parser-output table.wikitable, | .mw-parser-output table.wikitable, | ||
.mw-parser-output .toc, | .mw-parser-output .toc, | ||
.mw-parser-output .mw-headline-box { | .mw-parser-output .mw-headline-box, | ||
.skin-minerva table.wikitable { | |||
background: rgba(20, 25, 39, 0.88) !important; | background: rgba(20, 25, 39, 0.88) !important; | ||
border: 1px solid var(--hdv-line) !important; | border: 1px solid var(--hdv-line) !important; | ||
| Línea 128: | Línea 160: | ||
} | } | ||
.mw-parser-output table.wikitable > * > tr > th { | .mw-parser-output table.wikitable > * > tr > th, | ||
.skin-minerva table.wikitable th { | |||
background: rgba(32, 240, 138, 0.12) !important; | background: rgba(32, 240, 138, 0.12) !important; | ||
color: var(--hdv-primary-glow) !important; | color: var(--hdv-primary-glow) !important; | ||
| Línea 134: | Línea 167: | ||
} | } | ||
.mw-parser-output table.wikitable > * > tr > td { | .mw-parser-output table.wikitable > * > tr > td, | ||
.skin-minerva table.wikitable td { | |||
border-color: var(--hdv-line) !important; | border-color: var(--hdv-line) !important; | ||
background: transparent !important; | background: transparent !important; | ||
} | |||
.mw-parser-output table.hdv-index-table { | |||
width: 100%; | |||
margin: 1rem 0 1.45rem !important; | |||
border-collapse: separate !important; | |||
border-spacing: 0 !important; | |||
} | |||
.mw-parser-output table.hdv-index-table th, | |||
.mw-parser-output table.hdv-index-table td { | |||
padding: 0.65rem 0.75rem !important; | |||
vertical-align: top; | |||
} | |||
.mw-parser-output table.hdv-index-table td:first-child { | |||
width: 30%; | |||
min-width: 180px; | |||
} | |||
.mw-parser-output .hdv-render-frame { | |||
display: grid; | |||
justify-items: center; | |||
gap: 0.5rem; | |||
margin: 1rem 0 1.5rem; | |||
padding: 1rem; | |||
border: 1px solid var(--hdv-line); | |||
border-radius: var(--hdv-radius); | |||
background: | |||
linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.04) 75%), | |||
linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.04) 75%), | |||
rgba(20, 25, 39, 0.62); | |||
background-position: 0 0, 12px 12px, 0 0; | |||
background-size: 24px 24px, 24px 24px, auto; | |||
} | |||
.mw-parser-output .hdv-render-frame img { | |||
display: block; | |||
width: min(100%, 420px) !important; | |||
height: auto !important; | |||
max-width: min(100%, 420px) !important; | |||
max-height: 420px !important; | |||
object-fit: contain; | |||
filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45)); | |||
} | |||
.mw-parser-output .hdv-render-frame figcaption { | |||
color: var(--hdv-muted); | |||
font-size: 0.85rem; | |||
text-align: center; | |||
} | |||
.mw-parser-output .hdv-render-gallery { | |||
display: grid !important; | |||
grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)) !important; | |||
gap: 12px !important; | |||
margin: 1rem 0 1.25rem !important; | |||
} | |||
.mw-parser-output a.hdv-render-card { | |||
display: grid !important; | |||
grid-template-rows: 150px auto auto; | |||
gap: 0.45rem; | |||
min-width: 0; | |||
padding: 0.75rem !important; | |||
border: 1px solid var(--hdv-line) !important; | |||
border-radius: var(--hdv-radius) !important; | |||
background: rgba(20, 25, 39, 0.72) !important; | |||
color: var(--hdv-text) !important; | |||
text-decoration: none !important; | |||
} | |||
.mw-parser-output a.hdv-render-card:hover { | |||
border-color: rgba(32, 240, 138, 0.52) !important; | |||
background: rgba(20, 34, 35, 0.86) !important; | |||
} | |||
.mw-parser-output .hdv-render-thumb { | |||
display: grid; | |||
place-items: center; | |||
min-width: 0; | |||
overflow: hidden; | |||
border: 1px solid rgba(184, 192, 224, 0.18); | |||
border-radius: 6px; | |||
background: | |||
linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.04) 75%), | |||
linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.04) 75%), | |||
rgba(5, 8, 12, 0.72); | |||
background-position: 0 0, 8px 8px, 0 0; | |||
background-size: 16px 16px, 16px 16px, auto; | |||
} | |||
.mw-parser-output .hdv-render-thumb img { | |||
display: block; | |||
width: 100%; | |||
height: 100%; | |||
object-fit: contain; | |||
image-rendering: pixelated; | |||
filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.45)); | |||
} | |||
.mw-parser-output a.hdv-render-card strong { | |||
color: var(--hdv-primary-glow) !important; | |||
line-height: 1.2; | |||
overflow-wrap: anywhere; | |||
} | |||
.mw-parser-output a.hdv-render-card span:last-child { | |||
color: var(--hdv-muted) !important; | |||
font-size: 0.9rem; | |||
line-height: 1.3; | |||
} | } | ||
| Línea 150: | Línea 295: | ||
border-color: var(--hdv-line) !important; | border-color: var(--hdv-line) !important; | ||
border-radius: 4px; | border-radius: 4px; | ||
white-space: pre-wrap; | |||
overflow-wrap: anywhere; | |||
max-width: 100%; | |||
} | } | ||
| Línea 155: | Línea 303: | ||
display: inline-block; | display: inline-block; | ||
color: var(--hdv-primary); | color: var(--hdv-primary); | ||
font-size: 0. | font-size: 0.72rem; | ||
letter-spacing: 0.08em; | letter-spacing: 0.08em; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
font-weight: 700; | font-weight: 700; | ||
margin- | margin: 0 0 0.15rem 0; | ||
line-height: 1.2; | |||
} | } | ||
.mw-parser-output .hdv-hero { | .mw-parser-output .hdv-hero, | ||
padding: | .hdv-hero { | ||
margin: 0 0 | padding: 0.45rem 0.75rem; | ||
border-left: | margin: 0 0 0.75rem; | ||
background: linear-gradient(90deg, rgba(32, 240, 138, 0. | border-left: 3px solid var(--hdv-primary); | ||
border-radius: 0 | background: linear-gradient(90deg, rgba(32, 240, 138, 0.10), rgba(20, 25, 39, 0.25)); | ||
border-radius: 0 6px 6px 0; | |||
line-height: 1.35; | |||
} | } | ||
.mw-parser-output .hdv- | .mw-parser-output .hdv-hero p, | ||
.hdv-hero p { | |||
margin: 0.15rem 0 0 0 !important; | |||
padding: 0 !important; | |||
line-height: 1.4 !important; | |||
font-size: 0.95rem !important; | |||
} | |||
.mw-parser-output .hdv-guide-purpose, | |||
.hdv-guide-purpose { | |||
margin: 1.1rem 0 1.4rem; | |||
padding: 1rem 1.15rem; | |||
border-left: 3px solid #f9c74f; | |||
border-radius: 0.75rem; | |||
background: rgba(249,199,79,.08); | |||
} | } | ||
.mw-parser-output .hdv-guide-purpose h3, | |||
.hdv-guide-purpose h3 { margin: 0 0 .45rem; color: #f9c74f; font-size: 1.05rem; } | |||
.mw-parser-output .hdv-guide-purpose p, | |||
.hdv-guide-purpose p { margin: .3rem 0; line-height: 1.55; } | |||
.mw-parser-output .hdv-card { | .mw-parser-output .hdv-card, | ||
display: block; | .hdv-card, | ||
padding: | a.hdv-card { | ||
border: 1px solid rgba(32, 240, 138, 0.22); | display: block !important; | ||
border-radius: var(--hdv-radius); | padding: 0.75rem 0.9rem !important; | ||
background: rgba(20, 25, 39, 0.72); | margin: 0 !important; | ||
border: 1px solid rgba(32, 240, 138, 0.22) !important; | |||
border-radius: var(--hdv-radius) !important; | |||
background: rgba(20, 25, 39, 0.72) !important; | |||
text-decoration: none !important; | text-decoration: none !important; | ||
color: var(--hdv-text) !important; | color: var(--hdv-text) !important; | ||
transition: border-color | transition: border-color 0.15s ease, box-shadow 0.15s ease; | ||
min-height: 0 !important; | |||
box-sizing: border-box; | |||
} | } | ||
.mw-parser-output .hdv-card:hover { | .mw-parser-output .hdv-card:hover, | ||
a.hdv-card:hover { | |||
border-color: var(--hdv-primary); | border-color: var(--hdv-primary); | ||
transform: | transform: none; | ||
box-shadow: 0 0 | box-shadow: 0 0 18px rgba(32, 240, 138, 0.14); | ||
} | } | ||
.mw-parser-output .hdv-card strong { | .mw-parser-output .hdv-card strong, | ||
display: block; | a.hdv-card strong { | ||
display: block !important; | |||
color: var(--hdv-primary-glow) !important; | color: var(--hdv-primary-glow) !important; | ||
margin-bottom: 0. | margin-bottom: 0.25rem !important; | ||
font-size: 1.02rem; | |||
} | } | ||
.mw-parser-output .hdv-meta { | .mw-parser-output .hdv-meta { | ||
color: var(--hdv-muted) !important; | color: var(--hdv-muted) !important; | ||
font-size: 0. | font-size: 0.88rem; | ||
line-height: 1.35; | |||
} | } | ||
.mw-parser-output .hdv-steps > li { | .mw-parser-output .hdv-steps > li { | ||
margin-bottom: 0.55rem; | margin-bottom: 0.55rem; | ||
} | |||
/* Ficha tipo Wikipedia (derecha, compacta, assets pixel) */ | |||
.mw-parser-output .hdv-infobox, | |||
.hdv-infobox { | |||
float: right; | |||
clear: right; | |||
width: 220px; | |||
max-width: 42%; | |||
margin: 0 0 1rem 1rem; | |||
padding: 0.55rem 0.6rem 0.7rem; | |||
background: rgba(16, 19, 29, 0.95); | |||
border: 1px solid rgba(32, 240, 138, 0.35); | |||
border-radius: var(--hdv-radius); | |||
box-shadow: 0 0 24px rgba(0, 0, 0, 0.35); | |||
font-size: 0.82rem; | |||
line-height: 1.35; | |||
} | |||
.mw-parser-output .hdv-infobox-title, | |||
.hdv-infobox-title { | |||
text-align: center; | |||
font-weight: 700; | |||
color: var(--hdv-primary-glow) !important; | |||
margin: 0 0 0.4rem; | |||
font-size: 0.92rem; | |||
} | |||
.mw-parser-output .hdv-infobox-img, | |||
.hdv-infobox-img { | |||
text-align: center; | |||
margin: 0 0 0.45rem; | |||
padding: 0.35rem; | |||
background: rgba(5, 8, 6, 0.85); | |||
border: 1px solid rgba(32, 240, 138, 0.18); | |||
border-radius: 4px; | |||
} | |||
.mw-parser-output .hdv-infobox img, | |||
.hdv-infobox img, | |||
.mw-parser-output img.hdv-pixel, | |||
img.hdv-pixel { | |||
image-rendering: pixelated; | |||
image-rendering: crisp-edges; | |||
width: 64px !important; | |||
height: 64px !important; | |||
max-width: 64px !important; | |||
max-height: 64px !important; | |||
object-fit: contain; | |||
vertical-align: middle; | |||
} | |||
.mw-parser-output .hdv-infobox img.hdv-pixel-lg, | |||
img.hdv-pixel-lg { | |||
width: 128px !important; | |||
height: 128px !important; | |||
max-width: 128px !important; | |||
max-height: 128px !important; | |||
} | |||
.mw-parser-output .hdv-infobox table, | |||
.hdv-infobox table { | |||
width: 100%; | |||
border-collapse: collapse; | |||
margin: 0; | |||
} | |||
.mw-parser-output .hdv-infobox th, | |||
.hdv-infobox th { | |||
text-align: left; | |||
color: var(--hdv-faint) !important; | |||
font-weight: 600; | |||
padding: 0.2rem 0.25rem 0.2rem 0; | |||
width: 38%; | |||
vertical-align: top; | |||
border: none !important; | |||
background: transparent !important; | |||
} | |||
.mw-parser-output .hdv-infobox td, | |||
.hdv-infobox td { | |||
color: var(--hdv-text) !important; | |||
padding: 0.2rem 0; | |||
border: none !important; | |||
background: transparent !important; | |||
vertical-align: top; | |||
} | |||
.mw-parser-output .hdv-layout, | |||
.hdv-layout { | |||
display: block; | |||
overflow: auto; | |||
} | } | ||
.mw-parser-output .hdv-boss { | .mw-parser-output .hdv-boss { | ||
display: grid; | display: grid; | ||
grid-template-columns: | grid-template-columns: 96px 1fr; | ||
gap: | gap: 0.75rem; | ||
align-items: start; | align-items: start; | ||
padding: | padding: 0.75rem; | ||
margin: | margin: 0.75rem 0; | ||
border: 1px solid rgba(32, 240, 138, 0.22); | border: 1px solid rgba(32, 240, 138, 0.22); | ||
border-radius: var(--hdv-radius); | border-radius: var(--hdv-radius); | ||
| Línea 222: | Línea 487: | ||
.mw-parser-output .hdv-boss img { | .mw-parser-output .hdv-boss img { | ||
width: 100%; | width: 64px !important; | ||
height: 64px !important; | |||
max-width: 64px !important; | |||
image-rendering: pixelated; | |||
image-rendering: crisp-edges; | |||
object-fit: contain; | |||
background: #050806; | |||
border: 1px solid rgba(32, 240, 138, 0.25); | |||
border-radius: 4px; | |||
} | |||
/* Logo Vector: icono pixel pequeño, sin wordmark gigante ni inversión "negativo" */ | |||
.mw-logo-container.skin-invert, | |||
.mw-logo.skin-invert, | |||
.skin-invert .mw-logo-icon, | |||
.skin-invert .mw-logo img, | |||
.mw-logo-container { | |||
filter: none !important; | |||
-webkit-filter: none !important; | |||
} | |||
.mw-logo-icon, | |||
.vector-icon.mw-logo-icon, | |||
.mw-logo img, | |||
.cdx-button .mw-logo-icon, | |||
a.mw-logo img { | |||
width: 40px !important; | |||
height: 40px !important; | |||
max-width: 40px !important; | |||
max-height: 40px !important; | |||
object-fit: contain !important; | |||
image-rendering: pixelated !important; | |||
image-rendering: crisp-edges !important; | |||
filter: none !important; | |||
} | |||
.mw-logo-wordmark, | |||
.mw-logo-tagline { | |||
display: none !important; | |||
} | |||
/* Ocultar Crear cuenta / Acceder (wiki de lectura) */ | |||
#pt-createaccount, | |||
#pt-login, | |||
#pt-login-2, | |||
#pt-userpage, | |||
#p-personal, | |||
#p-vector-user-menu-overflow, | |||
#vector-user-links-dropdown, | |||
.vector-user-links-main, | |||
.vector-user-links-wide, | |||
.vector-user-menu-logged-out, | |||
.vector-user-menu-login, | |||
.vector-user-menu-create-account, | |||
li#pt-login, | |||
li#pt-login-2, | |||
li#pt-createaccount, | |||
a[href*="Special:CreateAccount"], | |||
a[href*="Special:UserLogin"], | |||
a[href*="Especial:Crear_una_cuenta"], | |||
a[href*="Especial:Entrar"] { | |||
display: none !important; | |||
visibility: hidden !important; | |||
width: 0 !important; | |||
height: 0 !important; | |||
overflow: hidden !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | |||
.mw-parser-output .hdv-boss img, | |||
.mw-parser-output img, | |||
.skin-minerva .content img { | |||
max-width: 100% !important; | |||
height: auto !important; | |||
image-rendering: pixelated; | image-rendering: pixelated; | ||
border-radius: 6px; | border-radius: 6px; | ||
} | |||
.mw-parser-output .hdv-boss img { | |||
width: 100%; | |||
background: #050806; | background: #050806; | ||
border: 1px solid rgba(32, 240, 138, 0.18); | border: 1px solid rgba(32, 240, 138, 0.18); | ||
} | } | ||
| Línea 241: | Línea 578: | ||
.mw-portlet, | .mw-portlet, | ||
#p-logo, | #p-logo, | ||
.mw-footer { | .mw-footer, | ||
.minerva-header, | |||
.minerva-footer { | |||
background: var(--hdv-surface) !important; | background: var(--hdv-surface) !important; | ||
color: var(--hdv-text) !important; | color: var(--hdv-text) !important; | ||
| Línea 247: | Línea 586: | ||
} | } | ||
input, select, textarea, .oo-ui-inputWidget-input, .cdx-text-input__input { | input, select, textarea, .oo-ui-inputWidget-input, .cdx-text-input__input, | ||
.skin-minerva input, | |||
.skin-minerva .search { | |||
background: var(--hdv-surface-2) !important; | background: var(--hdv-surface-2) !important; | ||
color: var(--hdv-text) !important; | color: var(--hdv-text) !important; | ||
border-color: var(--hdv-line) !important; | border-color: var(--hdv-line) !important; | ||
font-size: 16px !important; /* evita zoom iOS */ | |||
} | } | ||
| Línea 256: | Línea 598: | ||
.cdx-button--action-progressive, | .cdx-button--action-progressive, | ||
#searchButton, | #searchButton, | ||
.searchButton { | .searchButton, | ||
.skin-minerva .mw-ui-button.mw-ui-progressive { | |||
background: var(--hdv-primary) !important; | background: var(--hdv-primary) !important; | ||
color: var(--hdv-primary-ink) !important; | color: var(--hdv-primary-ink) !important; | ||
border-color: var(--hdv-primary) !important; | border-color: var(--hdv-primary) !important; | ||
font-weight: 700; | font-weight: 700; | ||
min-height: var(--hdv-touch); | |||
} | } | ||
| Línea 273: | Línea 617: | ||
#footer-places, | #footer-places, | ||
#footer-icons, | #footer-icons, | ||
.mw-footer li { | .mw-footer li, | ||
.minerva-footer { | |||
color: var(--hdv-faint) !important; | color: var(--hdv-faint) !important; | ||
} | } | ||
/* Tablas: scroll horizontal en lugar de romper el layout */ | |||
.mw-parser-output .wikitable, | |||
.skin-minerva .wikitable { | |||
display: block; | |||
width: 100%; | |||
max-width: 100%; | |||
overflow-x: auto; | |||
-webkit-overflow-scrolling: touch; | |||
} | |||
.mw-parser-output, | |||
.mw-body-content, | |||
.skin-minerva .content, | |||
.skin-minerva .mw-parser-output { | |||
overflow-x: hidden; | |||
max-width: 100%; | |||
} | |||
.mw-parser-output > *, | |||
.skin-minerva .content > * { | |||
max-width: 100%; | |||
} | |||
/* Minerva = vista móvil: siempre 1 columna, sin depender del ancho del emulador */ | |||
.skin-minerva .hdv-grid, | |||
.skin-minerva .mw-parser-output .hdv-grid { | |||
grid-template-columns: 1fr !important; | |||
gap: 10px !important; | |||
} | |||
.skin-minerva a.hdv-card, | |||
.skin-minerva .mw-parser-output .hdv-card { | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
} | |||
.skin-minerva .hdv-hero, | |||
.skin-minerva .mw-parser-output .hdv-hero { | |||
padding: 0.4rem 0.7rem; | |||
} | |||
.skin-minerva .mw-parser-output .hdv-boss { | |||
grid-template-columns: 1fr !important; | |||
} | |||
.skin-minerva .content, | |||
.skin-minerva .mw-body, | |||
.skin-minerva .mw-parser-output { | |||
overflow-x: hidden !important; | |||
} | |||
.skin-minerva table.wikitable { | |||
display: block !important; | |||
overflow-x: auto !important; | |||
-webkit-overflow-scrolling: touch; | |||
} | |||
/* ========================= | |||
RESPONSIVE — tablet | |||
========================= */ | |||
@media (max-width: 960px) { | |||
.mw-parser-output .hdv-grid, | |||
.hdv-grid { | |||
grid-template-columns: repeat(2, minmax(0, 1fr)) !important; | |||
} | |||
.firstHeading, | |||
.mw-heading h1 { | |||
font-size: 1.55rem !important; | |||
line-height: 1.25 !important; | |||
} | |||
} | |||
/* ========================= | |||
RESPONSIVE — móvil | |||
========================= */ | |||
@media (max-width: 720px) { | |||
.mw-parser-output .hdv-boss { | |||
grid-template-columns: 1fr; | |||
} | |||
.mw-parser-output .hdv-grid, | |||
.hdv-grid { | |||
grid-template-columns: 1fr !important; | |||
gap: 8px !important; | |||
} | |||
.mw-parser-output .hdv-hero, | |||
.hdv-hero { | |||
padding: 0.4rem 0.65rem !important; | |||
margin-bottom: 0.65rem !important; | |||
border-left-width: 3px; | |||
font-size: 0.92rem !important; | |||
} | |||
.mw-parser-output .hdv-infobox, | |||
.hdv-infobox { | |||
float: none !important; | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
margin: 0 0 0.85rem 0 !important; | |||
} | |||
a.hdv-card, | |||
.mw-parser-output .hdv-card { | |||
padding: 0.7rem 0.8rem !important; | |||
min-height: 0 !important; | |||
} | |||
a.hdv-card strong, | |||
.mw-parser-output .hdv-card strong { | |||
font-size: 0.95rem !important; | |||
margin-bottom: 0.2rem !important; | |||
} | |||
a.hdv-card .hdv-meta, | |||
.mw-parser-output .hdv-meta { | |||
font-size: 0.82rem !important; | |||
} | |||
.mw-body-content, | |||
.mw-parser-output, | |||
.skin-minerva .content, | |||
.skin-minerva .mw-parser-output, | |||
.skin-minerva .content p { | |||
font-size: 0.92rem !important; | |||
line-height: 1.45 !important; | |||
} | |||
.firstHeading, | |||
.page-heading h1, | |||
.mw-heading h1, | |||
.skin-minerva h1.page-heading, | |||
.skin-minerva .page-heading { | |||
font-size: 1.15rem !important; | |||
line-height: 1.2 !important; | |||
margin-bottom: 0.35rem !important; | |||
} | |||
.mw-heading h2, | |||
.skin-minerva h2, | |||
.mw-parser-output h2 { | |||
font-size: 1.05rem !important; | |||
} | |||
.mw-heading h3, | |||
.skin-minerva h3, | |||
.mw-parser-output h3 { | |||
font-size: 0.98rem !important; | |||
} | |||
.mw-parser-output .hdv-kicker { | |||
font-size: 0.65rem !important; | |||
letter-spacing: 0.06em; | |||
} | |||
.mw-body, | |||
#content, | |||
.mw-body-content, | |||
.skin-minerva .mw-body, | |||
.skin-minerva .content { | |||
padding-left: 0.65rem !important; | |||
padding-right: 0.65rem !important; | |||
} | |||
.mw-parser-output ol.hdv-steps, | |||
.mw-parser-output .hdv-steps { | |||
padding-left: 1rem; | |||
} | |||
.mw-parser-output table.wikitable th, | |||
.mw-parser-output table.wikitable td, | |||
.skin-minerva table.wikitable th, | |||
.skin-minerva table.wikitable td { | |||
font-size: 0.8rem !important; | |||
padding: 0.4rem 0.45rem !important; | |||
} | |||
.mw-parser-output a.image img, | |||
.skin-minerva .content img, | |||
.mw-parser-output img { | |||
max-width: min(100%, 220px) !important; | |||
max-height: 220px !important; | |||
object-fit: contain; | |||
} | |||
.mw-parser-output .thumb { | |||
margin: 0.4rem 0 !important; | |||
float: none !important; | |||
width: 100% !important; | |||
} | |||
.skin-minerva .page-actions-menu, | |||
.skin-minerva .last-modified-bar, | |||
.skin-minerva .tagline { | |||
font-size: 0.75rem !important; | |||
} | |||
.skin-minerva .branding-box img, | |||
.skin-minerva .mw-logo-icon { | |||
max-height: 28px !important; | |||
width: auto !important; | |||
} | |||
} | |||
/* ========================= | |||
RESPONSIVE — móvil estrecho | |||
========================= */ | |||
@media (max-width: 420px) { | |||
.mw-body, | |||
#content, | |||
.mw-body-content, | |||
.skin-minerva .mw-body, | |||
.skin-minerva .content { | |||
padding-left: 0.7rem !important; | |||
padding-right: 0.7rem !important; | |||
} | |||
.firstHeading, | |||
.page-heading h1 { | |||
font-size: 1.22rem !important; | |||
} | |||
a.hdv-card strong { | |||
font-size: 1.02rem; | |||
} | |||
} | |||
/* Minerva: barra superior y overlays HDV */ | |||
.skin-minerva .header-container, | |||
.skin-minerva .minerva-header, | |||
.skin-minerva .overlay, | |||
.skin-minerva .menu, | |||
.skin-minerva .drawer { | |||
background: var(--hdv-surface) !important; | |||
color: var(--hdv-text) !important; | |||
border-color: var(--hdv-line) !important; | |||
} | |||
.skin-minerva .branding-box, | |||
.skin-minerva .mw-logo-wordmark, | |||
.skin-minerva .last-modified-bar { | |||
color: var(--hdv-muted) !important; | |||
} | |||
.skin-minerva .page-actions-menu__list-item a, | |||
.skin-minerva .toggle-list-item__label { | |||
color: var(--hdv-text) !important; | |||
min-height: var(--hdv-touch); | |||
} | |||
/* Safe area (notch / home indicator) */ | |||
@supports (padding: max(0px)) { | |||
.skin-minerva .minerva-header, | |||
.vector-header-container { | |||
padding-left: max(0.5rem, env(safe-area-inset-left)); | |||
padding-right: max(0.5rem, env(safe-area-inset-right)); | |||
} | |||
.skin-minerva .mw-body, | |||
.mw-body { | |||
padding-bottom: max(1rem, env(safe-area-inset-bottom)) !important; | |||
} | |||
} | |||
Revisión actual - 16:01 1 sep 2026
/* hdv-cache-bust: 2026-08-27-public-wiki */
/* Hub De Vors — MediaWiki Common.css (paleta portal + mobile-first) */
:root {
--hdv-bg: #0c0c14;
--hdv-page: #050508;
--hdv-surface: #141927;
--hdv-surface-2: #10131d;
--hdv-line: rgba(184, 192, 224, 0.26);
--hdv-text: #eef2ff;
--hdv-muted: #b8c0e0;
--hdv-faint: #8b93b5;
--hdv-primary: #20f08a;
--hdv-primary-glow: #19f58b;
--hdv-primary-ink: #04130b;
--hdv-gold: #f9ab00;
--hdv-crimson: #ef5350;
--hdv-blue: #22d3ee;
--hdv-radius: 8px;
--hdv-touch: 44px;
}
html,
body,
.mw-body,
.vector-body,
#content,
#mw-content-text,
.mw-page-container,
.mw-workspace-container,
.vector-header-container,
.mw-header,
.vector-sitenotice-container,
.mw-footer-container,
.vector-main-menu-landmark,
.vector-toc-landmark,
.vector-page-toolbar,
.vector-sticky-header,
.mw-sidebar-container,
.skin-minerva,
.skin-minerva .mw-body,
.skin-minerva #content,
.skin-minerva .content,
.minerva-header,
.minerva__body {
background: var(--hdv-bg) !important;
color: var(--hdv-text) !important;
}
.mw-page-container,
.mw-body,
#content,
.skin-minerva .mw-body {
background:
radial-gradient(ellipse at 20% 0%, rgba(32, 240, 138, 0.08), transparent 42%),
radial-gradient(ellipse at 80% 10%, rgba(34, 211, 238, 0.05), transparent 36%),
var(--hdv-bg) !important;
}
/* Links — forzar esmeralda sobre azul Vector/Minerva */
.mw-parser-output a,
.mw-parser-output a:link,
.mw-parser-output a:visited,
.vector-body a,
.vector-toc a,
.mw-list-item a,
.cdx-menu a,
a.external,
a.hdv-card,
a.hdv-wikilink,
.skin-minerva a,
.skin-minerva .content a {
color: var(--hdv-primary) !important;
text-decoration-color: rgba(32, 240, 138, 0.45) !important;
}
a.hdv-wikilink {
text-decoration: underline;
text-underline-offset: 2px;
}
a.hdv-card {
display: block !important;
padding: 0.75rem 0.9rem !important;
margin: 0 !important;
border: 1px solid rgba(32, 240, 138, 0.22) !important;
border-radius: var(--hdv-radius) !important;
background: rgba(20, 25, 39, 0.72) !important;
text-decoration: none !important;
color: var(--hdv-text) !important;
min-height: 0 !important;
box-sizing: border-box;
}
a.hdv-card strong {
display: block !important;
color: var(--hdv-primary-glow) !important;
margin-bottom: 0.35rem !important;
}
a.hdv-card .hdv-meta,
a.hdv-card span {
color: var(--hdv-muted) !important;
}
.hdv-grid,
.mw-parser-output .hdv-grid {
display: grid !important;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)) !important;
gap: 12px !important;
margin: 1rem 0 1.5rem !important;
width: 100% !important;
max-width: 100% !important;
}
/* Night mode root paint */
html.skin-theme-clientpref-night,
html.skin-theme-clientpref-night body,
.skin-theme-clientpref-night .mw-page-container,
.skin-theme-clientpref-night .mw-body,
html.skin-theme-clientpref-os,
.skin-minerva.theme-dark,
.skin-minerva {
background: var(--hdv-bg) !important;
color: var(--hdv-text) !important;
}
h1, h2, h3, h4, h5, h6,
.firstHeading,
.mw-heading,
.skin-minerva .page-heading,
.skin-minerva h1,
.skin-minerva h2 {
color: var(--hdv-primary-glow) !important;
border-color: rgba(32, 240, 138, 0.28) !important;
font-weight: 700;
overflow-wrap: anywhere;
word-break: break-word;
}
.mw-body-content,
.mw-parser-output,
#mw-content-text p,
.vector-body,
.skin-minerva .content p {
color: var(--hdv-text) !important;
line-height: 1.65;
font-size: 1.02rem;
}
.mw-parser-output .hdv-box,
.mw-parser-output .hdv-callout,
.mw-parser-output table.wikitable,
.mw-parser-output .toc,
.mw-parser-output .mw-headline-box,
.skin-minerva table.wikitable {
background: rgba(20, 25, 39, 0.88) !important;
border: 1px solid var(--hdv-line) !important;
border-radius: var(--hdv-radius);
color: var(--hdv-text) !important;
}
.mw-parser-output table.wikitable > * > tr > th,
.skin-minerva table.wikitable th {
background: rgba(32, 240, 138, 0.12) !important;
color: var(--hdv-primary-glow) !important;
border-color: var(--hdv-line) !important;
}
.mw-parser-output table.wikitable > * > tr > td,
.skin-minerva table.wikitable td {
border-color: var(--hdv-line) !important;
background: transparent !important;
}
.mw-parser-output table.hdv-index-table {
width: 100%;
margin: 1rem 0 1.45rem !important;
border-collapse: separate !important;
border-spacing: 0 !important;
}
.mw-parser-output table.hdv-index-table th,
.mw-parser-output table.hdv-index-table td {
padding: 0.65rem 0.75rem !important;
vertical-align: top;
}
.mw-parser-output table.hdv-index-table td:first-child {
width: 30%;
min-width: 180px;
}
.mw-parser-output .hdv-render-frame {
display: grid;
justify-items: center;
gap: 0.5rem;
margin: 1rem 0 1.5rem;
padding: 1rem;
border: 1px solid var(--hdv-line);
border-radius: var(--hdv-radius);
background:
linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.04) 75%),
linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.04) 75%),
rgba(20, 25, 39, 0.62);
background-position: 0 0, 12px 12px, 0 0;
background-size: 24px 24px, 24px 24px, auto;
}
.mw-parser-output .hdv-render-frame img {
display: block;
width: min(100%, 420px) !important;
height: auto !important;
max-width: min(100%, 420px) !important;
max-height: 420px !important;
object-fit: contain;
filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}
.mw-parser-output .hdv-render-frame figcaption {
color: var(--hdv-muted);
font-size: 0.85rem;
text-align: center;
}
.mw-parser-output .hdv-render-gallery {
display: grid !important;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)) !important;
gap: 12px !important;
margin: 1rem 0 1.25rem !important;
}
.mw-parser-output a.hdv-render-card {
display: grid !important;
grid-template-rows: 150px auto auto;
gap: 0.45rem;
min-width: 0;
padding: 0.75rem !important;
border: 1px solid var(--hdv-line) !important;
border-radius: var(--hdv-radius) !important;
background: rgba(20, 25, 39, 0.72) !important;
color: var(--hdv-text) !important;
text-decoration: none !important;
}
.mw-parser-output a.hdv-render-card:hover {
border-color: rgba(32, 240, 138, 0.52) !important;
background: rgba(20, 34, 35, 0.86) !important;
}
.mw-parser-output .hdv-render-thumb {
display: grid;
place-items: center;
min-width: 0;
overflow: hidden;
border: 1px solid rgba(184, 192, 224, 0.18);
border-radius: 6px;
background:
linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.04) 75%),
linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.04) 75%),
rgba(5, 8, 12, 0.72);
background-position: 0 0, 8px 8px, 0 0;
background-size: 16px 16px, 16px 16px, auto;
}
.mw-parser-output .hdv-render-thumb img {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
image-rendering: pixelated;
filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.45));
}
.mw-parser-output a.hdv-render-card strong {
color: var(--hdv-primary-glow) !important;
line-height: 1.2;
overflow-wrap: anywhere;
}
.mw-parser-output a.hdv-render-card span:last-child {
color: var(--hdv-muted) !important;
font-size: 0.9rem;
line-height: 1.3;
}
.mw-parser-output .toc {
padding: 1rem 1.2rem;
}
.mw-parser-output pre,
.mw-parser-output code,
.mw-code {
background: var(--hdv-surface-2) !important;
color: var(--hdv-primary) !important;
border-color: var(--hdv-line) !important;
border-radius: 4px;
white-space: pre-wrap;
overflow-wrap: anywhere;
max-width: 100%;
}
.mw-parser-output .hdv-kicker {
display: inline-block;
color: var(--hdv-primary);
font-size: 0.72rem;
letter-spacing: 0.08em;
text-transform: uppercase;
font-weight: 700;
margin: 0 0 0.15rem 0;
line-height: 1.2;
}
.mw-parser-output .hdv-hero,
.hdv-hero {
padding: 0.45rem 0.75rem;
margin: 0 0 0.75rem;
border-left: 3px solid var(--hdv-primary);
background: linear-gradient(90deg, rgba(32, 240, 138, 0.10), rgba(20, 25, 39, 0.25));
border-radius: 0 6px 6px 0;
line-height: 1.35;
}
.mw-parser-output .hdv-hero p,
.hdv-hero p {
margin: 0.15rem 0 0 0 !important;
padding: 0 !important;
line-height: 1.4 !important;
font-size: 0.95rem !important;
}
.mw-parser-output .hdv-guide-purpose,
.hdv-guide-purpose {
margin: 1.1rem 0 1.4rem;
padding: 1rem 1.15rem;
border-left: 3px solid #f9c74f;
border-radius: 0.75rem;
background: rgba(249,199,79,.08);
}
.mw-parser-output .hdv-guide-purpose h3,
.hdv-guide-purpose h3 { margin: 0 0 .45rem; color: #f9c74f; font-size: 1.05rem; }
.mw-parser-output .hdv-guide-purpose p,
.hdv-guide-purpose p { margin: .3rem 0; line-height: 1.55; }
.mw-parser-output .hdv-card,
.hdv-card,
a.hdv-card {
display: block !important;
padding: 0.75rem 0.9rem !important;
margin: 0 !important;
border: 1px solid rgba(32, 240, 138, 0.22) !important;
border-radius: var(--hdv-radius) !important;
background: rgba(20, 25, 39, 0.72) !important;
text-decoration: none !important;
color: var(--hdv-text) !important;
transition: border-color 0.15s ease, box-shadow 0.15s ease;
min-height: 0 !important;
box-sizing: border-box;
}
.mw-parser-output .hdv-card:hover,
a.hdv-card:hover {
border-color: var(--hdv-primary);
transform: none;
box-shadow: 0 0 18px rgba(32, 240, 138, 0.14);
}
.mw-parser-output .hdv-card strong,
a.hdv-card strong {
display: block !important;
color: var(--hdv-primary-glow) !important;
margin-bottom: 0.25rem !important;
font-size: 1.02rem;
}
.mw-parser-output .hdv-meta {
color: var(--hdv-muted) !important;
font-size: 0.88rem;
line-height: 1.35;
}
.mw-parser-output .hdv-steps > li {
margin-bottom: 0.55rem;
}
/* Ficha tipo Wikipedia (derecha, compacta, assets pixel) */
.mw-parser-output .hdv-infobox,
.hdv-infobox {
float: right;
clear: right;
width: 220px;
max-width: 42%;
margin: 0 0 1rem 1rem;
padding: 0.55rem 0.6rem 0.7rem;
background: rgba(16, 19, 29, 0.95);
border: 1px solid rgba(32, 240, 138, 0.35);
border-radius: var(--hdv-radius);
box-shadow: 0 0 24px rgba(0, 0, 0, 0.35);
font-size: 0.82rem;
line-height: 1.35;
}
.mw-parser-output .hdv-infobox-title,
.hdv-infobox-title {
text-align: center;
font-weight: 700;
color: var(--hdv-primary-glow) !important;
margin: 0 0 0.4rem;
font-size: 0.92rem;
}
.mw-parser-output .hdv-infobox-img,
.hdv-infobox-img {
text-align: center;
margin: 0 0 0.45rem;
padding: 0.35rem;
background: rgba(5, 8, 6, 0.85);
border: 1px solid rgba(32, 240, 138, 0.18);
border-radius: 4px;
}
.mw-parser-output .hdv-infobox img,
.hdv-infobox img,
.mw-parser-output img.hdv-pixel,
img.hdv-pixel {
image-rendering: pixelated;
image-rendering: crisp-edges;
width: 64px !important;
height: 64px !important;
max-width: 64px !important;
max-height: 64px !important;
object-fit: contain;
vertical-align: middle;
}
.mw-parser-output .hdv-infobox img.hdv-pixel-lg,
img.hdv-pixel-lg {
width: 128px !important;
height: 128px !important;
max-width: 128px !important;
max-height: 128px !important;
}
.mw-parser-output .hdv-infobox table,
.hdv-infobox table {
width: 100%;
border-collapse: collapse;
margin: 0;
}
.mw-parser-output .hdv-infobox th,
.hdv-infobox th {
text-align: left;
color: var(--hdv-faint) !important;
font-weight: 600;
padding: 0.2rem 0.25rem 0.2rem 0;
width: 38%;
vertical-align: top;
border: none !important;
background: transparent !important;
}
.mw-parser-output .hdv-infobox td,
.hdv-infobox td {
color: var(--hdv-text) !important;
padding: 0.2rem 0;
border: none !important;
background: transparent !important;
vertical-align: top;
}
.mw-parser-output .hdv-layout,
.hdv-layout {
display: block;
overflow: auto;
}
.mw-parser-output .hdv-boss {
display: grid;
grid-template-columns: 96px 1fr;
gap: 0.75rem;
align-items: start;
padding: 0.75rem;
margin: 0.75rem 0;
border: 1px solid rgba(32, 240, 138, 0.22);
border-radius: var(--hdv-radius);
background: rgba(20, 25, 39, 0.75);
}
.mw-parser-output .hdv-boss img {
width: 64px !important;
height: 64px !important;
max-width: 64px !important;
image-rendering: pixelated;
image-rendering: crisp-edges;
object-fit: contain;
background: #050806;
border: 1px solid rgba(32, 240, 138, 0.25);
border-radius: 4px;
}
/* Logo Vector: icono pixel pequeño, sin wordmark gigante ni inversión "negativo" */
.mw-logo-container.skin-invert,
.mw-logo.skin-invert,
.skin-invert .mw-logo-icon,
.skin-invert .mw-logo img,
.mw-logo-container {
filter: none !important;
-webkit-filter: none !important;
}
.mw-logo-icon,
.vector-icon.mw-logo-icon,
.mw-logo img,
.cdx-button .mw-logo-icon,
a.mw-logo img {
width: 40px !important;
height: 40px !important;
max-width: 40px !important;
max-height: 40px !important;
object-fit: contain !important;
image-rendering: pixelated !important;
image-rendering: crisp-edges !important;
filter: none !important;
}
.mw-logo-wordmark,
.mw-logo-tagline {
display: none !important;
}
/* Ocultar Crear cuenta / Acceder (wiki de lectura) */
#pt-createaccount,
#pt-login,
#pt-login-2,
#pt-userpage,
#p-personal,
#p-vector-user-menu-overflow,
#vector-user-links-dropdown,
.vector-user-links-main,
.vector-user-links-wide,
.vector-user-menu-logged-out,
.vector-user-menu-login,
.vector-user-menu-create-account,
li#pt-login,
li#pt-login-2,
li#pt-createaccount,
a[href*="Special:CreateAccount"],
a[href*="Special:UserLogin"],
a[href*="Especial:Crear_una_cuenta"],
a[href*="Especial:Entrar"] {
display: none !important;
visibility: hidden !important;
width: 0 !important;
height: 0 !important;
overflow: hidden !important;
margin: 0 !important;
padding: 0 !important;
}
.mw-parser-output .hdv-boss img,
.mw-parser-output img,
.skin-minerva .content img {
max-width: 100% !important;
height: auto !important;
image-rendering: pixelated;
border-radius: 6px;
}
.mw-parser-output .hdv-boss img {
width: 100%;
background: #050806;
border: 1px solid rgba(32, 240, 138, 0.18);
}
.vector-menu-tabs,
.vector-page-toolbar-container,
.vector-dropdown-content,
.vector-toc,
.mw-portlet,
#p-logo,
.mw-footer,
.minerva-header,
.minerva-footer {
background: var(--hdv-surface) !important;
color: var(--hdv-text) !important;
border-color: var(--hdv-line) !important;
}
input, select, textarea, .oo-ui-inputWidget-input, .cdx-text-input__input,
.skin-minerva input,
.skin-minerva .search {
background: var(--hdv-surface-2) !important;
color: var(--hdv-text) !important;
border-color: var(--hdv-line) !important;
font-size: 16px !important; /* evita zoom iOS */
}
.mw-ui-button.mw-ui-progressive,
.cdx-button--action-progressive,
#searchButton,
.searchButton,
.skin-minerva .mw-ui-button.mw-ui-progressive {
background: var(--hdv-primary) !important;
color: var(--hdv-primary-ink) !important;
border-color: var(--hdv-primary) !important;
font-weight: 700;
min-height: var(--hdv-touch);
}
.catlinks {
background: rgba(20, 25, 39, 0.85) !important;
border: 1px solid var(--hdv-line) !important;
border-radius: var(--hdv-radius);
color: var(--hdv-muted) !important;
}
#footer-info,
#footer-places,
#footer-icons,
.mw-footer li,
.minerva-footer {
color: var(--hdv-faint) !important;
}
/* Tablas: scroll horizontal en lugar de romper el layout */
.mw-parser-output .wikitable,
.skin-minerva .wikitable {
display: block;
width: 100%;
max-width: 100%;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.mw-parser-output,
.mw-body-content,
.skin-minerva .content,
.skin-minerva .mw-parser-output {
overflow-x: hidden;
max-width: 100%;
}
.mw-parser-output > *,
.skin-minerva .content > * {
max-width: 100%;
}
/* Minerva = vista móvil: siempre 1 columna, sin depender del ancho del emulador */
.skin-minerva .hdv-grid,
.skin-minerva .mw-parser-output .hdv-grid {
grid-template-columns: 1fr !important;
gap: 10px !important;
}
.skin-minerva a.hdv-card,
.skin-minerva .mw-parser-output .hdv-card {
width: 100% !important;
max-width: 100% !important;
}
.skin-minerva .hdv-hero,
.skin-minerva .mw-parser-output .hdv-hero {
padding: 0.4rem 0.7rem;
}
.skin-minerva .mw-parser-output .hdv-boss {
grid-template-columns: 1fr !important;
}
.skin-minerva .content,
.skin-minerva .mw-body,
.skin-minerva .mw-parser-output {
overflow-x: hidden !important;
}
.skin-minerva table.wikitable {
display: block !important;
overflow-x: auto !important;
-webkit-overflow-scrolling: touch;
}
/* =========================
RESPONSIVE — tablet
========================= */
@media (max-width: 960px) {
.mw-parser-output .hdv-grid,
.hdv-grid {
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.firstHeading,
.mw-heading h1 {
font-size: 1.55rem !important;
line-height: 1.25 !important;
}
}
/* =========================
RESPONSIVE — móvil
========================= */
@media (max-width: 720px) {
.mw-parser-output .hdv-boss {
grid-template-columns: 1fr;
}
.mw-parser-output .hdv-grid,
.hdv-grid {
grid-template-columns: 1fr !important;
gap: 8px !important;
}
.mw-parser-output .hdv-hero,
.hdv-hero {
padding: 0.4rem 0.65rem !important;
margin-bottom: 0.65rem !important;
border-left-width: 3px;
font-size: 0.92rem !important;
}
.mw-parser-output .hdv-infobox,
.hdv-infobox {
float: none !important;
width: 100% !important;
max-width: 100% !important;
margin: 0 0 0.85rem 0 !important;
}
a.hdv-card,
.mw-parser-output .hdv-card {
padding: 0.7rem 0.8rem !important;
min-height: 0 !important;
}
a.hdv-card strong,
.mw-parser-output .hdv-card strong {
font-size: 0.95rem !important;
margin-bottom: 0.2rem !important;
}
a.hdv-card .hdv-meta,
.mw-parser-output .hdv-meta {
font-size: 0.82rem !important;
}
.mw-body-content,
.mw-parser-output,
.skin-minerva .content,
.skin-minerva .mw-parser-output,
.skin-minerva .content p {
font-size: 0.92rem !important;
line-height: 1.45 !important;
}
.firstHeading,
.page-heading h1,
.mw-heading h1,
.skin-minerva h1.page-heading,
.skin-minerva .page-heading {
font-size: 1.15rem !important;
line-height: 1.2 !important;
margin-bottom: 0.35rem !important;
}
.mw-heading h2,
.skin-minerva h2,
.mw-parser-output h2 {
font-size: 1.05rem !important;
}
.mw-heading h3,
.skin-minerva h3,
.mw-parser-output h3 {
font-size: 0.98rem !important;
}
.mw-parser-output .hdv-kicker {
font-size: 0.65rem !important;
letter-spacing: 0.06em;
}
.mw-body,
#content,
.mw-body-content,
.skin-minerva .mw-body,
.skin-minerva .content {
padding-left: 0.65rem !important;
padding-right: 0.65rem !important;
}
.mw-parser-output ol.hdv-steps,
.mw-parser-output .hdv-steps {
padding-left: 1rem;
}
.mw-parser-output table.wikitable th,
.mw-parser-output table.wikitable td,
.skin-minerva table.wikitable th,
.skin-minerva table.wikitable td {
font-size: 0.8rem !important;
padding: 0.4rem 0.45rem !important;
}
.mw-parser-output a.image img,
.skin-minerva .content img,
.mw-parser-output img {
max-width: min(100%, 220px) !important;
max-height: 220px !important;
object-fit: contain;
}
.mw-parser-output .thumb {
margin: 0.4rem 0 !important;
float: none !important;
width: 100% !important;
}
.skin-minerva .page-actions-menu,
.skin-minerva .last-modified-bar,
.skin-minerva .tagline {
font-size: 0.75rem !important;
}
.skin-minerva .branding-box img,
.skin-minerva .mw-logo-icon {
max-height: 28px !important;
width: auto !important;
}
}
/* =========================
RESPONSIVE — móvil estrecho
========================= */
@media (max-width: 420px) {
.mw-body,
#content,
.mw-body-content,
.skin-minerva .mw-body,
.skin-minerva .content {
padding-left: 0.7rem !important;
padding-right: 0.7rem !important;
}
.firstHeading,
.page-heading h1 {
font-size: 1.22rem !important;
}
a.hdv-card strong {
font-size: 1.02rem;
}
}
/* Minerva: barra superior y overlays HDV */
.skin-minerva .header-container,
.skin-minerva .minerva-header,
.skin-minerva .overlay,
.skin-minerva .menu,
.skin-minerva .drawer {
background: var(--hdv-surface) !important;
color: var(--hdv-text) !important;
border-color: var(--hdv-line) !important;
}
.skin-minerva .branding-box,
.skin-minerva .mw-logo-wordmark,
.skin-minerva .last-modified-bar {
color: var(--hdv-muted) !important;
}
.skin-minerva .page-actions-menu__list-item a,
.skin-minerva .toggle-list-item__label {
color: var(--hdv-text) !important;
min-height: var(--hdv-touch);
}
/* Safe area (notch / home indicator) */
@supports (padding: max(0px)) {
.skin-minerva .minerva-header,
.vector-header-container {
padding-left: max(0.5rem, env(safe-area-inset-left));
padding-right: max(0.5rem, env(safe-area-inset-right));
}
.skin-minerva .mw-body,
.mw-body {
padding-bottom: max(1rem, env(safe-area-inset-bottom)) !important;
}
}