Diferencia entre revisiones de «MediaWiki:Vector-2022.css»
mobile compact + catalog |
UI/ficha/logo/cards Hub De Vors |
||
| Línea 66: | Línea 66: | ||
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 87: | ||
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 185: | Línea 191: | ||
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-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 236: | ||
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: 96px !important; | |||
height: 96px !important; | |||
max-width: 96px !important; | |||
max-height: 96px !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 */ | |||
.mw-logo-icon, | |||
.vector-icon.mw-logo-icon, | |||
.mw-logo img, | |||
.cdx-button .mw-logo-icon { | |||
width: 40px !important; | |||
height: 40px !important; | |||
max-width: 40px !important; | |||
max-height: 40px !important; | |||
object-fit: contain !important; | |||
image-rendering: pixelated; | |||
image-rendering: crisp-edges; | |||
} | |||
.mw-logo-wordmark, | |||
.mw-logo-tagline { | |||
display: none !important; | |||
} | |||
/* Ocultar Crear cuenta / Acceder (wiki de lectura) */ | |||
#pt-createaccount, | |||
#pt-login, | |||
#pt-userpage, | |||
.vector-user-links-main #p-vector-user-menu-anon-overflow, | |||
.vector-user-menu-login, | |||
.vector-user-menu-create-account, | |||
.mw-ui-icon-wikimedia-logIn, | |||
a[href*="Special:CreateAccount"], | |||
a[href*="Special:UserLogin"], | |||
a[href*="Especial:Crear_una_cuenta"], | |||
a[href*="Especial:Entrar"], | |||
.vector-user-links .vector-user-menu-anon { | |||
display: none !important; | |||
} | } | ||
| Línea 350: | Línea 512: | ||
.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 401: | Línea 563: | ||
.mw-parser-output .hdv-hero, | .mw-parser-output .hdv-hero, | ||
.hdv-hero { | .hdv-hero { | ||
padding: 0. | padding: 0.4rem 0.65rem !important; | ||
margin-bottom: 0. | margin-bottom: 0.65rem !important; | ||
border-left-width: 3px; | border-left-width: 3px; | ||
font-size: 0.92rem !important; | 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; | |||
} | } | ||