Diferencia entre revisiones de «MediaWiki:Minerva.css»
Minerva 1-col cards |
Sync corpus Hub De Vors |
||
| (No se muestran 17 ediciones intermedias del mismo usuario) | |||
| Línea 1: | Línea 1: | ||
/* hdv-cache-bust: 2026-08-27-public-wiki */ | |||
/* Hub De Vors — MediaWiki Common.css (paleta portal + mobile-first) */ | /* Hub De Vors — MediaWiki Common.css (paleta portal + mobile-first) */ | ||
:root { | :root { | ||
| Línea 66: | Línea 67: | ||
a.external, | a.external, | ||
a.hdv-card, | a.hdv-card, | ||
a.hdv-wikilink, | |||
.skin-minerva a, | .skin-minerva a, | ||
.skin-minerva .content 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 81: | Línea 88: | ||
text-decoration: none !important; | text-decoration: none !important; | ||
color: var(--hdv-text) !important; | color: var(--hdv-text) !important; | ||
min-height: | min-height: 0 !important; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
| Línea 164: | Línea 171: | ||
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 185: | 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, | ||
.hdv-hero { | .hdv-hero { | ||
padding: | padding: 0.45rem 0.75rem; | ||
margin: 0 0 | margin: 0 0 0.75rem; | ||
border-left: | border-left: 3px solid var(--hdv-primary); | ||
background: linear-gradient(90deg, rgba(32, 240, 138, 0. | background: linear-gradient(90deg, rgba(32, 240, 138, 0.10), rgba(20, 25, 39, 0.25)); | ||
border-radius: 0 | 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, | .mw-parser-output .hdv-card, | ||
.hdv-card { | .hdv-card, | ||
display: block; | a.hdv-card { | ||
padding: | display: block !important; | ||
border: 1px solid rgba(32, 240, 138, 0.22); | padding: 0.75rem 0.9rem !important; | ||
border-radius: var(--hdv-radius); | margin: 0 !important; | ||
background: rgba(20, 25, 39, 0.72); | 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; | |||
} | } | ||
| Línea 216: | Línea 360: | ||
a.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); | ||
background: rgba(20, 25, 39, 0.75); | 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; | |||
} | } | ||
| Línea 350: | Línea 660: | ||
.skin-minerva .hdv-hero, | .skin-minerva .hdv-hero, | ||
.skin-minerva .mw-parser-output .hdv-hero { | .skin-minerva .mw-parser-output .hdv-hero { | ||
padding: | padding: 0.4rem 0.7rem; | ||
} | } | ||
| Línea 396: | Línea 706: | ||
.hdv-grid { | .hdv-grid { | ||
grid-template-columns: 1fr !important; | grid-template-columns: 1fr !important; | ||
gap: | gap: 8px !important; | ||
} | } | ||
.mw-parser-output .hdv-hero, | .mw-parser-output .hdv-hero, | ||
.hdv-hero { | .hdv-hero { | ||
padding: | padding: 0.4rem 0.65rem !important; | ||
margin-bottom: | margin-bottom: 0.65rem !important; | ||
border-left-width: 3px; | 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, | a.hdv-card, | ||
.mw-parser-output .hdv-card { | .mw-parser-output .hdv-card { | ||
padding: 0.95rem | 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-body-content, | ||
.mw-parser-output, | .mw-parser-output, | ||
.skin-minerva .content { | .skin-minerva .content, | ||
font-size: | .skin-minerva .mw-parser-output, | ||
line-height: 1. | .skin-minerva .content p { | ||
font-size: 0.92rem !important; | |||
line-height: 1.45 !important; | |||
} | } | ||
.firstHeading, | .firstHeading, | ||
.page-heading h1, | .page-heading h1, | ||
.mw-heading h1 { | .mw-heading h1, | ||
font-size: 1.35rem !important; | .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-parser-output | .mw-heading h3, | ||
font-size: 0. | .skin-minerva h3, | ||
.mw-parser-output h3 { | |||
font-size: 0.98rem !important; | |||
} | } | ||
.mw-parser-output .hdv-kicker { | |||
font-size: 0.65rem !important; | |||
.mw- | letter-spacing: 0.06em; | ||
} | } | ||
.mw-body, | .mw-body, | ||
#content, | #content, | ||
.mw-body-content { | .mw-body-content, | ||
padding-left: 0. | .skin-minerva .mw-body, | ||
padding-right: 0. | .skin-minerva .content { | ||
padding-left: 0.65rem !important; | |||
padding-right: 0.65rem !important; | |||
} | } | ||
.mw-parser-output ol.hdv-steps, | .mw-parser-output ol.hdv-steps, | ||
.mw-parser-output .hdv-steps { | .mw-parser-output .hdv-steps { | ||
padding-left: | padding-left: 1rem; | ||
} | } | ||
| Línea 459: | Línea 796: | ||
.skin-minerva table.wikitable th, | .skin-minerva table.wikitable th, | ||
.skin-minerva table.wikitable td { | .skin-minerva table.wikitable td { | ||
font-size: 0. | font-size: 0.8rem !important; | ||
padding: 0. | padding: 0.4rem 0.45rem !important; | ||
} | } | ||
.mw-parser-output a.image img, | .mw-parser-output a.image img, | ||
. | .skin-minerva .content img, | ||
. | .mw-parser-output img { | ||
max-width: 100% !important; | max-width: min(100%, 220px) !important; | ||
max-height: 220px !important; | |||
object-fit: contain; | |||
} | } | ||
.mw-parser-output .thumb { | .mw-parser-output .thumb { | ||
margin: 0. | margin: 0.4rem 0 !important; | ||
float: none !important; | float: none !important; | ||
width: 100% !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; | |||
} | } | ||
} | } | ||
| Línea 537: | Línea 886: | ||
} | } | ||
} | } | ||