Diferencia entre revisiones de «MediaWiki:Common.css»
Sync corpus Hub De Vors |
Sync corpus Hub De Vors |
||
| (No se muestran 14 ediciones intermedias del mismo usuario) | |||
| Línea 1: | Línea 1: | ||
/* hdv-cache-bust: 2026-08- | /* 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 171: | 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; | |||
} | } | ||