Diferencia entre revisiones de «MediaWiki:Vector.css»
tema HDV |
paleta HDV reforzada |
||
| Línea 48: | Línea 48: | ||
} | } | ||
/* Links — forzar esmeralda sobre azul Vector */ | |||
.mw-parser-output a, | .mw-parser-output a, | ||
.vector- | .mw-parser-output a:link, | ||
.mw-list-item a { | .mw-parser-output a:visited, | ||
.vector-body a, | |||
.vector-toc a, | |||
.mw-list-item a, | |||
.cdx-menu a, | |||
a.external, | |||
a.hdv-card { | |||
color: var(--hdv-primary) !important; | color: var(--hdv-primary) !important; | ||
text-decoration-color: rgba(32, 240, 138, 0.45) !important; | |||
} | } | ||
a: | a.hdv-card { | ||
. | display: block !important; | ||
padding: 1rem 1.1rem !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; | |||
} | |||
a.hdv-card strong { | |||
display: block !important; | |||
color: var(--hdv-primary-glow) !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 { | |||
display: grid !important; | |||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important; | |||
gap: 12px !important; | |||
margin: 1rem 0 1.5rem !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 { | |||
background: var(--hdv-bg) !important; | |||
color: var(--hdv-text) !important; | |||
} | } | ||