Ir al contenido

Diferencia entre revisiones de «MediaWiki:Common.css»

De Manual AOMania
Adaptar las imagenes hero al contenedor de Vector
Mejora la presentación responsive de los sets
 
(No se muestran 8 ediciones intermedias de 2 usuarios)
Línea 1: Línea 1:
/* AOMania wiki — identidad visual común para Vector 2022 y móvil. */
/* Tema AOMania para Vector 2022: piedra oscura, oro y lectura accesible. */
:root {
:root {
     --aom-ink: #27231f;
     --aom-bg: #090b0e;
     --aom-muted: #625d56;
     --aom-surface: #14171b;
     --aom-brown: #633b1f;
     --aom-surface-2: #1b2026;
     --aom-brown-dark: #422515;
     --aom-surface-3: #242a31;
     --aom-gold: #c79a42;
    --aom-text: #eee8dd;
     --aom-gold-soft: #ead6a5;
     --aom-muted: #c8c0b2;
     --aom-cream: #fffaf0;
     --aom-gold: #e0b65b;
     --aom-blue: #315b7d;
     --aom-gold-bright: #f3d58c;
     --aom-blue-soft: #eef5fa;
     --aom-gold-dark: #8d6728;
     --aom-border: #d8c7a3;
     --aom-blue: #86bce2;
     --aom-shadow: 0 10px 28px rgba(66, 37, 21, 0.10);
     --aom-border: #6f5731;
     --aom-shadow: 0 16px 42px rgba(0, 0, 0, 0.52);
    color-scheme: dark;
}
}


html,
body.skin-vector-2022 {
body.skin-vector-2022 {
     color: var(--aom-ink);
    min-height: 100%;
     background:
     color: var(--aom-text);
         radial-gradient(circle at 15% 0, rgba(199, 154, 66, 0.14), transparent 26rem),
     background-color: var(--aom-bg);
        linear-gradient(180deg, #f7f1e5 0, #edf2f5 28rem, #f5f1e9 100%);
}
 
body.skin-vector-2022 {
    background-image:
         linear-gradient(180deg, rgba(5, 6, 8, 0.56), rgba(5, 6, 8, 0.92) 52rem),
        url('/wiki/resources/assets/aomania-home-bg.jpg');
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
}
 
.vector-header-container,
.vector-header,
.vector-sticky-header {
    color: var(--aom-text);
    background: rgba(11, 13, 16, 0.96);
    border-bottom: 1px solid rgba(224, 182, 91, 0.38);
    box-shadow: 0 5px 24px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(12px);
}
}


.vector-header-container {
.vector-header-container .vector-header,
    background: rgba(255, 250, 240, 0.96);
.vector-header.mw-header {
    border-bottom: 1px solid var(--aom-gold-soft);
     background-color: #0b0d10 !important;
     box-shadow: 0 3px 16px rgba(66, 37, 21, 0.08);
     background-image: none !important;
     backdrop-filter: blur(10px);
}
}


.mw-page-container {
.mw-page-container {
     border: 1px solid rgba(199, 154, 66, 0.30);
    color: var(--aom-text);
    background:
        linear-gradient(rgba(18, 20, 24, 0.965), rgba(18, 20, 24, 0.985)),
        url('/wiki/resources/assets/aomania-stone.jpg');
     border: 1px solid rgba(224, 182, 91, 0.34);
     border-radius: 14px 14px 0 0;
     border-radius: 14px 14px 0 0;
     box-shadow: var(--aom-shadow);
     box-shadow: var(--aom-shadow);
}
}


.mw-body {
.mw-body,
     background: #fff;
.vector-page-toolbar,
.vector-column-start,
.vector-column-end,
.vector-toc,
.vector-pinnable-header,
.mw-footer-container {
    color: var(--aom-text);
     background-color: transparent;
}
}


.mw-parser-output {
.mw-parser-output {
    color: var(--aom-text);
     font-size: 1rem;
     font-size: 1rem;
     line-height: 1.68;
     line-height: 1.72;
    overflow-wrap: anywhere;
}
}


.mw-parser-output > p:first-of-type {
.mw-parser-output > p:first-of-type {
     color: #464039;
     color: #f1eadf;
     font-size: 1.06em;
     font-size: 1.04em;
}
}


.firstHeading,
.firstHeading,
.mw-parser-output h2,
.mw-parser-output h2,
.mw-parser-output h3 {
.mw-parser-output h3,
     color: var(--aom-brown-dark);
.mw-parser-output h4 {
     color: var(--aom-gold-bright);
     font-family: Georgia, "Times New Roman", serif;
     font-family: Georgia, "Times New Roman", serif;
    text-shadow: 0 1px 0 #000;
}
}


.firstHeading {
.firstHeading {
     letter-spacing: -0.025em;
     letter-spacing: -0.025em;
    border-bottom-color: rgba(224, 182, 91, 0.34);
}
}


.mw-parser-output h2 {
.mw-parser-output h2 {
     margin-top: 1.8em;
     margin-top: 1.9em;
     padding: 0.18em 0 0.24em 0.62em;
     padding: 0.18em 0 0.28em 0.64em;
     border-bottom: 1px solid var(--aom-gold-soft);
     border-bottom: 1px solid rgba(224, 182, 91, 0.32);
     border-left: 5px solid var(--aom-gold);
     border-left: 5px solid var(--aom-gold);
}
}


.mw-parser-output h3 {
.mw-parser-output h3 {
     margin-top: 1.45em;
     margin-top: 1.5em;
    color: #b9d9ef;
}
 
a,
.mw-parser-output a:not(.new),
.vector-toc-link {
     color: var(--aom-blue);
     color: var(--aom-blue);
}
}


.mw-parser-output a:not(.new) {
a:visited,
     color: #24557a;
.mw-parser-output a:visited:not(.new) {
    text-decoration-color: rgba(36, 85, 122, 0.35);
     color: #c4a9e8;
    text-underline-offset: 0.16em;
}
}


a:hover,
.mw-parser-output a:not(.new):hover {
.mw-parser-output a:not(.new):hover {
     color: var(--aom-brown);
     color: var(--aom-gold-bright);
     text-decoration-color: var(--aom-gold);
     text-decoration-color: var(--aom-gold);
    text-underline-offset: 0.17em;
}
a.new,
.mw-parser-output a.new {
    color: #ff9990;
}
.mw-parser-output code,
.mw-parser-output pre,
.mw-code {
    color: #ffe1a2;
    background: #0e1115;
    border-color: #5f4c2b;
}
}


.mw-parser-output code {
.mw-parser-output code {
     color: #562f18;
     padding: 0.08em 0.34em;
    background: #f8f1e5;
     border: 1px solid #5f4c2b;
     border: 1px solid #ead8b6;
     border-radius: 4px;
     border-radius: 4px;
    padding: 0.08em 0.34em;
}
}


.mw-parser-output .toc,
.mw-parser-output .toc,
.vector-toc {
.vector-toc,
     border-color: var(--aom-gold-soft);
.vector-pinned-container,
     border-radius: 8px;
.vector-menu-content,
.vector-dropdown-content,
.mw-notification,
.oo-ui-popupWidget-popup {
    color: var(--aom-text);
    background: #171b20;
     border-color: #5c4a2c;
}
 
.vector-header .vector-dropdown-content,
.vector-column-start .vector-dropdown-content,
.vector-column-end .vector-dropdown-content {
    background-color: #111418 !important;
    background-image: none !important;
}
 
.vector-dropdown-content {
    background-color: #111418 !important;
    background-image: none !important;
}
 
.vector-sticky-pinned-container::after {
    background-image: linear-gradient(rgba(17, 20, 24, 0), #111418) !important;
}
 
.vector-toc .vector-toc-list-item-active > .vector-toc-link {
    color: var(--aom-gold-bright);
}
 
.vector-page-toolbar a,
.vector-menu-tabs a,
.vector-menu-dropdown .vector-dropdown-label,
.vector-menu-tabs .mw-list-item a span {
     color: var(--aom-muted) !important;
}
 
.vector-menu-tabs .selected a span,
.vector-page-toolbar a:hover,
.vector-menu-tabs a:hover span {
    color: var(--aom-gold-bright) !important;
}
}


.mw-parser-output .wikitable {
.mw-parser-output .wikitable {
     width: 100%;
     width: 100%;
     margin: 1em 0 1.4em;
     margin: 1em 0 1.45em;
     color: var(--aom-ink);
     color: var(--aom-text);
     background: #fff;
     background: #171b20;
     border: 1px solid var(--aom-border);
     border: 1px solid var(--aom-border);
     border-collapse: separate;
     border-collapse: separate;
     border-spacing: 0;
     border-spacing: 0;
     border-radius: 8px;
     border-radius: 8px;
     box-shadow: 0 4px 14px rgba(66, 37, 21, 0.06);
     box-shadow: 0 7px 22px rgba(0, 0, 0, 0.28);
     overflow: hidden;
     overflow: hidden;
}
}


.mw-parser-output .wikitable > * > tr > th {
.mw-parser-output .wikitable > * > tr > th {
     color: #fff;
     color: #fff2c9;
     background: linear-gradient(180deg, #74502e, #563319);
     background: linear-gradient(180deg, #58451f, #392b16);
     border-color: #8e6a43;
     border-color: #72582e;
     padding: 0.68em 0.75em;
     padding: 0.7em 0.78em;
     vertical-align: middle;
     vertical-align: middle;
}
}


.mw-parser-output .wikitable > * > tr > td {
.mw-parser-output .wikitable > * > tr > td {
     border-color: #eadfc9;
    color: var(--aom-text);
     padding: 0.62em 0.75em;
    background: #171b20;
     border-color: #343941;
     padding: 0.64em 0.78em;
     vertical-align: top;
     vertical-align: top;
}
}


.mw-parser-output .wikitable > tbody > tr:nth-child(even) > td {
.mw-parser-output .wikitable > tbody > tr:nth-child(even) > td {
     background: #fffaf2;
     background: #1d2228;
}
}


.mw-parser-output .wikitable > tbody > tr:hover > td {
.mw-parser-output .wikitable > tbody > tr:hover > td {
     background: #f2f7fa;
     background: #26313a;
}
 
.mw-parser-output img.aom-item-icon,
.mw-parser-output img[src*="AOMania_Set_Grh_"] {
    width: 64px;
    height: 64px;
    padding: 4px;
    object-fit: contain;
    image-rendering: pixelated;
    background: radial-gradient(circle, #262b31 0%, #0d1014 72%);
    border: 1px solid rgba(224, 182, 91, 0.55);
    border-radius: 8px;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.42);
}
}


.aom-guide-hero {
.aom-guide-hero {
     display: grid;
     display: grid;
     grid-template-columns: minmax(260px, 1.15fr) minmax(260px, 0.85fr);
     grid-template-columns: minmax(300px, 1.2fr) minmax(300px, 0.8fr);
     margin: 0 0 1.35em;
     margin: 0 0 1.5em;
     overflow: hidden;
     overflow: hidden;
     color: #fff;
     color: #fff;
     background: linear-gradient(135deg, #422515, #315b7d);
     background:
     border: 1px solid #8a673f;
        linear-gradient(rgba(20, 17, 13, 0.82), rgba(20, 17, 13, 0.96)),
        url('/wiki/resources/assets/aomania-stone.jpg');
     border: 1px solid #8a6734;
     border-radius: 12px;
     border-radius: 12px;
     box-shadow: var(--aom-shadow);
     box-shadow: var(--aom-shadow);
Línea 145: Línea 255:
.aom-guide-hero__media {
.aom-guide-hero__media {
     position: relative;
     position: relative;
     min-height: 255px;
     min-height: 290px;
     background: #1f1c19;
     background: #080a0d;
}
 
.aom-guide-hero__media::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(90deg, transparent 62%, rgba(16, 14, 11, 0.9));
}
}


Línea 167: Línea 285:
}
}


.aom-guide-hero__media img {
.aom-guide-hero__media img,
.aom-guide-hero__media figure > a > img.mw-file-element {
    position: absolute;
    inset: 0;
     display: block;
     display: block;
    width: 100%;
    height: 100%;
    min-height: 255px;
    object-fit: cover;
}
.aom-guide-hero__media figure > a > img.mw-file-element {
     width: 100%;
     width: 100%;
     max-width: none;
     max-width: none;
     height: 100%;
     height: 100% !important;
     min-height: 0;
     min-height: 290px !important;
     max-height: none;
     max-height: none;
     object-fit: cover;
     object-fit: cover;
Línea 185: Línea 299:


.aom-guide-hero__body {
.aom-guide-hero__body {
    position: relative;
    z-index: 1;
     align-self: center;
     align-self: center;
     padding: clamp(1.1rem, 3vw, 2rem);
     padding: clamp(1.15rem, 3vw, 2.2rem);
}
}


.aom-guide-hero__eyebrow {
.aom-guide-hero__eyebrow {
     margin-bottom: 0.35em;
     margin-bottom: 0.45em;
     color: #f2d79c;
     color: var(--aom-gold);
     font-size: 0.78rem;
     font-size: 0.76rem;
     font-weight: 700;
     font-weight: 800;
     letter-spacing: 0.14em;
     letter-spacing: 0.16em;
     text-transform: uppercase;
     text-transform: uppercase;
}
}
Línea 200: Línea 316:
.aom-guide-hero__title {
.aom-guide-hero__title {
     margin-bottom: 0.35em;
     margin-bottom: 0.35em;
     font: 700 clamp(1.65rem, 4vw, 2.6rem)/1.1 Georgia, "Times New Roman", serif;
    color: #fff5d8;
     font: 700 clamp(1.7rem, 3vw, 2.35rem)/1.08 Georgia, "Times New Roman", serif;
    text-shadow: 0 2px 8px #000;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}
}


.aom-guide-hero__text {
.aom-guide-hero__text {
    color: #f1ece3;
     font-size: 1.05rem;
     font-size: 1.05rem;
     line-height: 1.55;
     line-height: 1.55;
Línea 210: Línea 332:
.aom-guide-hero__meta {
.aom-guide-hero__meta {
     margin-top: 1em;
     margin-top: 1em;
     padding-top: 0.75em;
     padding-top: 0.78em;
     color: #e7edf2;
     color: #d9d1c4;
     border-top: 1px solid rgba(255, 255, 255, 0.24);
     border-top: 1px solid rgba(224, 182, 91, 0.38);
     font-size: 0.88rem;
     font-size: 0.88rem;
}
}


.aom-summary-grid {
.aom-updated {
    margin: 0 0 1em;
    padding: 0.62em 0.82em;
    color: #d8d0c3;
    background: rgba(31, 35, 41, 0.9);
    border: 1px solid #51452f;
    border-left: 4px solid var(--aom-gold);
    border-radius: 5px;
    font-size: 0.9em;
}
 
.aom-summary-grid,
.aom-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 0.9em;
    margin: 1em 0 1.45em;
}
 
.aom-card,
.aom-home-card {
    padding: 0.95em 1.05em;
    color: var(--aom-text);
    background:
        linear-gradient(rgba(27, 31, 36, 0.93), rgba(27, 31, 36, 0.97)),
        url('/wiki/resources/assets/aomania-stone.jpg');
    border: 1px solid #5e4b2b;
    border-top: 4px solid var(--aom-gold-dark);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}
 
.aom-card strong,
.aom-home-card__title,
.aom-welcome__title {
    color: var(--aom-gold-bright);
    font: 700 1.1em/1.3 Georgia, "Times New Roman", serif;
}
 
.aom-set-grid {
     display: grid;
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
     grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1em;
    margin: 1em 0 1.5em;
}
 
.aom-set-card {
    min-width: 0;
    overflow: hidden;
    color: var(--aom-text);
    background:
        linear-gradient(rgba(25, 29, 34, 0.96), rgba(20, 24, 29, 0.98)),
        url('/wiki/resources/assets/aomania-stone.jpg');
    border: 1px solid #604c2b;
    border-radius: 9px;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.24);
}
 
.aom-set-card__header {
    display: flex;
     gap: 0.8em;
     gap: 0.8em;
     margin: 1em 0 1.35em;
    align-items: center;
    justify-content: space-between;
    padding: 0.72em 0.9em;
    background: linear-gradient(135deg, rgba(101, 72, 25, 0.82), rgba(57, 42, 22, 0.88));
    border-bottom: 1px solid #806331;
}
 
.aom-set-card__title {
    min-width: 0;
    color: #fff0bd;
    font: 700 1.16em/1.25 Georgia, "Times New Roman", serif;
}
 
.aom-set-card__price {
    flex: 0 0 auto;
    padding: 0.24em 0.58em;
    color: #17130b;
    background: var(--aom-gold);
    border-radius: 999px;
    font-size: 0.86em;
    font-weight: 800;
    white-space: nowrap;
}
 
.aom-set-card__icons {
    display: flex;
    gap: 0.42em;
    align-items: center;
    min-height: 64px;
    padding: 0.72em 0.9em 0.48em;
}
 
.aom-set-card__icons figure,
.aom-set-card__icons .mw-default-size {
    margin: 0;
}
 
.aom-set-card__icons img.mw-file-element {
    width: 52px !important;
    height: 52px !important;
    padding: 4px;
    object-fit: contain;
    background: rgba(9, 12, 15, 0.88);
    border: 1px solid #74591f;
    border-radius: 7px;
}
 
.aom-set-card__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65em;
    padding: 0.55em 0.9em 0.9em;
}
 
.aom-set-card__section,
.aom-set-card__materials {
    min-width: 0;
    padding: 0.62em 0.72em;
    background: rgba(13, 17, 21, 0.54);
    border: 1px solid rgba(116, 91, 48, 0.55);
    border-radius: 6px;
    line-height: 1.48;
}
 
.aom-set-card__materials {
    grid-column: 1 / -1;
}
 
.aom-set-card__label {
    display: block;
    margin-bottom: 0.32em;
    color: var(--aom-gold-bright);
    font-size: 0.72em;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
 
.aom-set-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.34em;
}
 
.aom-set-material {
    display: inline-flex;
    align-items: center;
    padding: 0.2em 0.5em;
    color: #e7dfd2;
    background: #101419;
    border: 1px solid #514328;
    border-radius: 999px;
    font-size: 0.82em;
    line-height: 1.35;
    white-space: nowrap;
}
 
.aom-set-pieces-table .wikitable > * > tr > td {
    vertical-align: top;
    line-height: 1.5;
}
 
.aom-home-card__title {
     margin-bottom: 0.45em;
    font-size: 1.18em;
}
}


.aom-card {
.aom-welcome {
     padding: 0.9em 1em;
    margin: 1em 0 1.4em;
     background: var(--aom-cream);
     padding: 1.1em;
     border: 1px solid var(--aom-gold-soft);
     overflow: auto;
     border-top: 4px solid var(--aom-gold);
    color: var(--aom-text);
    background: rgba(25, 29, 34, 0.93);
     border: 1px solid #665333;
     border-left: 5px solid var(--aom-gold);
     border-radius: 8px;
     border-radius: 8px;
    box-shadow: 0 4px 12px rgba(66, 37, 21, 0.05);
}
}


.aom-card strong {
.aom-welcome__title {
     color: var(--aom-brown-dark);
     margin-bottom: 0.4em;
     font-size: 1.08em;
    font-size: 1.35em;
}
 
.aom-welcome img {
    max-height: 180px;
     object-fit: contain;
}
}


.aom-alert {
.aom-alert,
.aom-related {
     margin: 1em 0;
     margin: 1em 0;
     padding: 0.78em 0.95em;
     padding: 0.82em 1em;
     background: var(--aom-cream);
     color: var(--aom-text);
     border: 1px solid var(--aom-gold-soft);
    background: #20242a;
     border: 1px solid #5f4b2b;
     border-left: 5px solid var(--aom-gold);
     border-left: 5px solid var(--aom-gold);
     border-radius: 6px;
     border-radius: 6px;
}
}


.aom-alert--info {
.aom-alert--info,
     background: var(--aom-blue-soft);
.aom-related {
     border-color: #b9cfdf;
     background: #1c2b35;
     border-color: #405e70;
     border-left-color: var(--aom-blue);
     border-left-color: var(--aom-blue);
}
}
Línea 256: Línea 549:
     overflow-x: auto;
     overflow-x: auto;
     overscroll-behavior-inline: contain;
     overscroll-behavior-inline: contain;
     scrollbar-color: var(--aom-gold) #f2eadb;
     scrollbar-color: var(--aom-gold) #111419;
}
 
.aom-table-hint {
    display: none;
}
}


Línea 263: Línea 560:
}
}


.aom-quest-id {
.aom-quest-id,
.aom-quest-number {
     display: inline-block;
     display: inline-block;
     margin-bottom: 0.2em;
     margin-bottom: 0.2em;
     padding: 0.08em 0.42em;
     padding: 0.08em 0.44em;
     color: #fff;
     color: #101317;
     background: var(--aom-blue);
     background: var(--aom-gold);
     border-radius: 999px;
     border-radius: 999px;
     font-size: 0.78em;
     font-size: 0.78em;
     font-weight: 700;
     font-weight: 800;
}
}


.aom-related {
/* Adapta los antiguos bloques claros mientras se migran a componentes comunes. */
    margin: 1.3em 0 0;
.mw-parser-output [style*="background:#fffaf0"],
     padding: 0.78em 1em;
.mw-parser-output [style*="background: #fffaf0"],
     background: #f2f7fa;
.mw-parser-output [style*="background:#f5f8fb"],
     border-left: 4px solid var(--aom-blue);
.mw-parser-output [style*="background: #f5f8fb"] {
    border-radius: 4px;
     color: var(--aom-text) !important;
     background: #1c2127 !important;
     border-color: #675331 !important;
}
 
.mw-parser-output [style*="color:#5b3515"],
.mw-parser-output [style*="color: #5b3515"],
.mw-parser-output [style*="color:#27415f"],
.mw-parser-output [style*="color: #27415f"] {
    color: var(--aom-gold-bright) !important;
}
}


/* Identidad AOMania en la cabecera: Vector oculta el icono por defecto en móvil. */
/* Cabecera de marca: escudo como icono y logotipo horizontal como wordmark. */
.mw-logo {
.mw-logo {
     min-height: 44px;
     min-height: 48px;
     align-items: center;
     align-items: center;
}
}
Línea 290: Línea 597:
.mw-logo-icon {
.mw-logo-icon {
     display: block;
     display: block;
     width: 42px;
     width: 38px;
     height: 42px;
     height: 44px;
     margin-right: 8px;
     margin-right: 8px;
     object-fit: cover;
     object-fit: contain;
    border: 1px solid var(--aom-gold-soft);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(66, 37, 21, 0.14);
}
}


Línea 303: Línea 607:
}
}


.mw-logo-wordmark {
img.mw-logo-wordmark {
     color: var(--aom-brown-dark);
    width: auto;
    max-width: 180px;
    height: 47px;
    object-fit: contain;
}
 
.mw-logo-wordmark:not(img) {
     color: var(--aom-gold-bright);
     white-space: nowrap;
     white-space: nowrap;
}
input,
textarea,
select,
.cdx-search-input,
.cdx-text-input__input,
.oo-ui-inputWidget-input {
    color: var(--aom-text) !important;
    background-color: #11151a !important;
    border-color: #5b503b !important;
}
button,
.cdx-button,
.oo-ui-buttonElement-button {
    color: var(--aom-text);
    background-color: #262c33;
    border-color: #655432;
}
button:hover,
.cdx-button:hover,
.oo-ui-buttonElement-button:hover {
    color: #fff4d3;
    background-color: #343018;
    border-color: var(--aom-gold);
}
.cdx-search-input__end-button,
.cdx-search-input .cdx-button {
    color: #fff2cc !important;
    background: #352b1a !important;
    border-color: #6e5933 !important;
}
.mw-footer li,
.mw-footer a,
.vector-menu-heading,
.vector-pinnable-header-label,
.vector-pinnable-header-unpin-button {
    color: var(--aom-muted);
}
}


@media (max-width: 719px) {
@media (max-width: 719px) {
     body.skin-vector-2022 {
     body.skin-vector-2022 {
         background: #f5f0e7;
         background-image:
            linear-gradient(rgba(7, 9, 11, 0.87), rgba(7, 9, 11, 0.96)),
            url('/wiki/resources/assets/aomania-home-bg.jpg');
        background-attachment: scroll;
        background-position: 45% top;
     }
     }


     .mw-page-container {
     .mw-page-container {
         border-width: 0;
         border-width: 1px 0 0;
         border-radius: 0;
         border-radius: 0;
         box-shadow: none;
         box-shadow: none;
Línea 321: Línea 678:
     .mw-parser-output {
     .mw-parser-output {
         font-size: 0.98rem;
         font-size: 0.98rem;
         line-height: 1.62;
         line-height: 1.64;
     }
     }


     .mw-logo-icon {
     .mw-logo-icon {
        display: block;
         width: 30px;
         width: 36px;
         height: 36px;
         height: 36px;
         margin-right: 6px;
         margin-right: 5px;
     }
     }


     .mw-logo-container {
     .mw-logo-container {
         max-width: 154px;
         max-width: 138px;
    }
 
    img.mw-logo-wordmark {
        max-width: 132px;
        height: 36px;
     }
     }


     .mw-logo-wordmark {
     .mw-logo-wordmark:not(img) {
         font-size: 0.92rem;
         font-size: 0.9rem;
     }
     }


Línea 344: Línea 705:


     .aom-guide-hero__media,
     .aom-guide-hero__media,
     .aom-guide-hero__media img {
     .aom-guide-hero__media img,
         min-height: 180px;
    .aom-guide-hero__media figure > a > img.mw-file-element {
         max-height: 220px;
         min-height: 180px !important;
         max-height: 230px;
    }
 
    .aom-guide-hero__media::after {
        background: linear-gradient(180deg, transparent 58%, rgba(16, 14, 11, 0.78));
     }
     }


Línea 355: Línea 721:
     .aom-guide-hero__title {
     .aom-guide-hero__title {
         font-size: 1.75rem;
         font-size: 1.75rem;
    }
    .aom-home-grid,
    .aom-summary-grid,
    .aom-set-grid {
        grid-template-columns: 1fr;
    }
    .aom-set-card__body {
        grid-template-columns: 1fr;
    }
    .aom-set-card__materials {
        grid-column: auto;
    }
    .aom-set-card__icons img.mw-file-element {
        width: 48px !important;
        height: 48px !important;
    }
    .mw-parser-output .wikitable {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
     }
     }


     .mw-parser-output .wikitable > * > tr > th,
     .mw-parser-output .wikitable > * > tr > th,
     .mw-parser-output .wikitable > * > tr > td {
     .mw-parser-output .wikitable > * > tr > td {
         padding: 0.52em 0.58em;
        min-width: 7.5em;
         padding: 0.53em 0.6em;
     }
     }
}


html.skin-theme-clientpref-night body.skin-vector-2022 {
    .aom-table-hint {
    color: #ece6db;
        display: block;
    background: #17191b;
        margin: 0.7em 0 0.35em;
        color: #b9d9ef;
        font-size: 0.88rem;
        font-weight: 700;
    }
}
}


html.skin-theme-clientpref-night .mw-page-container,
@media (prefers-reduced-motion: reduce) {
html.skin-theme-clientpref-night .mw-body {
     *,
     background: #202326;
    *::before,
}
     *::after {
 
        scroll-behavior: auto !important;
html.skin-theme-clientpref-night .mw-parser-output .wikitable,
        transition-duration: 0.01ms !important;
html.skin-theme-clientpref-night .mw-parser-output .wikitable > tbody > tr > td,
        animation-duration: 0.01ms !important;
html.skin-theme-clientpref-night .aom-card {
        animation-iteration-count: 1 !important;
     color: #ece6db;
     }
    background: #292725;
}
 
html.skin-theme-clientpref-night .mw-parser-output h2,
html.skin-theme-clientpref-night .mw-parser-output h3,
html.skin-theme-clientpref-night .firstHeading,
html.skin-theme-clientpref-night .aom-card strong {
     color: #f0d59c;
}
}

Revisión actual - 12:10 1 sep 2026

/* Tema AOMania para Vector 2022: piedra oscura, oro y lectura accesible. */
:root {
    --aom-bg: #090b0e;
    --aom-surface: #14171b;
    --aom-surface-2: #1b2026;
    --aom-surface-3: #242a31;
    --aom-text: #eee8dd;
    --aom-muted: #c8c0b2;
    --aom-gold: #e0b65b;
    --aom-gold-bright: #f3d58c;
    --aom-gold-dark: #8d6728;
    --aom-blue: #86bce2;
    --aom-border: #6f5731;
    --aom-shadow: 0 16px 42px rgba(0, 0, 0, 0.52);
    color-scheme: dark;
}

html,
body.skin-vector-2022 {
    min-height: 100%;
    color: var(--aom-text);
    background-color: var(--aom-bg);
}

body.skin-vector-2022 {
    background-image:
        linear-gradient(180deg, rgba(5, 6, 8, 0.56), rgba(5, 6, 8, 0.92) 52rem),
        url('/wiki/resources/assets/aomania-home-bg.jpg');
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
}

.vector-header-container,
.vector-header,
.vector-sticky-header {
    color: var(--aom-text);
    background: rgba(11, 13, 16, 0.96);
    border-bottom: 1px solid rgba(224, 182, 91, 0.38);
    box-shadow: 0 5px 24px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(12px);
}

.vector-header-container .vector-header,
.vector-header.mw-header {
    background-color: #0b0d10 !important;
    background-image: none !important;
}

.mw-page-container {
    color: var(--aom-text);
    background:
        linear-gradient(rgba(18, 20, 24, 0.965), rgba(18, 20, 24, 0.985)),
        url('/wiki/resources/assets/aomania-stone.jpg');
    border: 1px solid rgba(224, 182, 91, 0.34);
    border-radius: 14px 14px 0 0;
    box-shadow: var(--aom-shadow);
}

.mw-body,
.vector-page-toolbar,
.vector-column-start,
.vector-column-end,
.vector-toc,
.vector-pinnable-header,
.mw-footer-container {
    color: var(--aom-text);
    background-color: transparent;
}

.mw-parser-output {
    color: var(--aom-text);
    font-size: 1rem;
    line-height: 1.72;
    overflow-wrap: anywhere;
}

.mw-parser-output > p:first-of-type {
    color: #f1eadf;
    font-size: 1.04em;
}

.firstHeading,
.mw-parser-output h2,
.mw-parser-output h3,
.mw-parser-output h4 {
    color: var(--aom-gold-bright);
    font-family: Georgia, "Times New Roman", serif;
    text-shadow: 0 1px 0 #000;
}

.firstHeading {
    letter-spacing: -0.025em;
    border-bottom-color: rgba(224, 182, 91, 0.34);
}

.mw-parser-output h2 {
    margin-top: 1.9em;
    padding: 0.18em 0 0.28em 0.64em;
    border-bottom: 1px solid rgba(224, 182, 91, 0.32);
    border-left: 5px solid var(--aom-gold);
}

.mw-parser-output h3 {
    margin-top: 1.5em;
    color: #b9d9ef;
}

a,
.mw-parser-output a:not(.new),
.vector-toc-link {
    color: var(--aom-blue);
}

a:visited,
.mw-parser-output a:visited:not(.new) {
    color: #c4a9e8;
}

a:hover,
.mw-parser-output a:not(.new):hover {
    color: var(--aom-gold-bright);
    text-decoration-color: var(--aom-gold);
    text-underline-offset: 0.17em;
}

a.new,
.mw-parser-output a.new {
    color: #ff9990;
}

.mw-parser-output code,
.mw-parser-output pre,
.mw-code {
    color: #ffe1a2;
    background: #0e1115;
    border-color: #5f4c2b;
}

.mw-parser-output code {
    padding: 0.08em 0.34em;
    border: 1px solid #5f4c2b;
    border-radius: 4px;
}

.mw-parser-output .toc,
.vector-toc,
.vector-pinned-container,
.vector-menu-content,
.vector-dropdown-content,
.mw-notification,
.oo-ui-popupWidget-popup {
    color: var(--aom-text);
    background: #171b20;
    border-color: #5c4a2c;
}

.vector-header .vector-dropdown-content,
.vector-column-start .vector-dropdown-content,
.vector-column-end .vector-dropdown-content {
    background-color: #111418 !important;
    background-image: none !important;
}

.vector-dropdown-content {
    background-color: #111418 !important;
    background-image: none !important;
}

.vector-sticky-pinned-container::after {
    background-image: linear-gradient(rgba(17, 20, 24, 0), #111418) !important;
}

.vector-toc .vector-toc-list-item-active > .vector-toc-link {
    color: var(--aom-gold-bright);
}

.vector-page-toolbar a,
.vector-menu-tabs a,
.vector-menu-dropdown .vector-dropdown-label,
.vector-menu-tabs .mw-list-item a span {
    color: var(--aom-muted) !important;
}

.vector-menu-tabs .selected a span,
.vector-page-toolbar a:hover,
.vector-menu-tabs a:hover span {
    color: var(--aom-gold-bright) !important;
}

.mw-parser-output .wikitable {
    width: 100%;
    margin: 1em 0 1.45em;
    color: var(--aom-text);
    background: #171b20;
    border: 1px solid var(--aom-border);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    box-shadow: 0 7px 22px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.mw-parser-output .wikitable > * > tr > th {
    color: #fff2c9;
    background: linear-gradient(180deg, #58451f, #392b16);
    border-color: #72582e;
    padding: 0.7em 0.78em;
    vertical-align: middle;
}

.mw-parser-output .wikitable > * > tr > td {
    color: var(--aom-text);
    background: #171b20;
    border-color: #343941;
    padding: 0.64em 0.78em;
    vertical-align: top;
}

.mw-parser-output .wikitable > tbody > tr:nth-child(even) > td {
    background: #1d2228;
}

.mw-parser-output .wikitable > tbody > tr:hover > td {
    background: #26313a;
}

.mw-parser-output img.aom-item-icon,
.mw-parser-output img[src*="AOMania_Set_Grh_"] {
    width: 64px;
    height: 64px;
    padding: 4px;
    object-fit: contain;
    image-rendering: pixelated;
    background: radial-gradient(circle, #262b31 0%, #0d1014 72%);
    border: 1px solid rgba(224, 182, 91, 0.55);
    border-radius: 8px;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.42);
}

.aom-guide-hero {
    display: grid;
    grid-template-columns: minmax(300px, 1.2fr) minmax(300px, 0.8fr);
    margin: 0 0 1.5em;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(rgba(20, 17, 13, 0.82), rgba(20, 17, 13, 0.96)),
        url('/wiki/resources/assets/aomania-stone.jpg');
    border: 1px solid #8a6734;
    border-radius: 12px;
    box-shadow: var(--aom-shadow);
}

.aom-guide-hero__media {
    position: relative;
    min-height: 290px;
    background: #080a0d;
}

.aom-guide-hero__media::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(90deg, transparent 62%, rgba(16, 14, 11, 0.9));
}

.aom-guide-hero__media > figure,
.aom-guide-hero__media .center,
.aom-guide-hero__media .mw-halign-center {
    height: 100%;
    margin: 0;
}

.aom-guide-hero__media > figure {
    position: absolute;
    inset: 0;
    width: 100%;
}

.aom-guide-hero__media figure > a {
    display: block;
    height: 100%;
}

.aom-guide-hero__media img,
.aom-guide-hero__media figure > a > img.mw-file-element {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: 100% !important;
    min-height: 290px !important;
    max-height: none;
    object-fit: cover;
}

.aom-guide-hero__body {
    position: relative;
    z-index: 1;
    align-self: center;
    padding: clamp(1.15rem, 3vw, 2.2rem);
}

.aom-guide-hero__eyebrow {
    margin-bottom: 0.45em;
    color: var(--aom-gold);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.aom-guide-hero__title {
    margin-bottom: 0.35em;
    color: #fff5d8;
    font: 700 clamp(1.7rem, 3vw, 2.35rem)/1.08 Georgia, "Times New Roman", serif;
    text-shadow: 0 2px 8px #000;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.aom-guide-hero__text {
    color: #f1ece3;
    font-size: 1.05rem;
    line-height: 1.55;
}

.aom-guide-hero__meta {
    margin-top: 1em;
    padding-top: 0.78em;
    color: #d9d1c4;
    border-top: 1px solid rgba(224, 182, 91, 0.38);
    font-size: 0.88rem;
}

.aom-updated {
    margin: 0 0 1em;
    padding: 0.62em 0.82em;
    color: #d8d0c3;
    background: rgba(31, 35, 41, 0.9);
    border: 1px solid #51452f;
    border-left: 4px solid var(--aom-gold);
    border-radius: 5px;
    font-size: 0.9em;
}

.aom-summary-grid,
.aom-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 0.9em;
    margin: 1em 0 1.45em;
}

.aom-card,
.aom-home-card {
    padding: 0.95em 1.05em;
    color: var(--aom-text);
    background:
        linear-gradient(rgba(27, 31, 36, 0.93), rgba(27, 31, 36, 0.97)),
        url('/wiki/resources/assets/aomania-stone.jpg');
    border: 1px solid #5e4b2b;
    border-top: 4px solid var(--aom-gold-dark);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.aom-card strong,
.aom-home-card__title,
.aom-welcome__title {
    color: var(--aom-gold-bright);
    font: 700 1.1em/1.3 Georgia, "Times New Roman", serif;
}

.aom-set-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1em;
    margin: 1em 0 1.5em;
}

.aom-set-card {
    min-width: 0;
    overflow: hidden;
    color: var(--aom-text);
    background:
        linear-gradient(rgba(25, 29, 34, 0.96), rgba(20, 24, 29, 0.98)),
        url('/wiki/resources/assets/aomania-stone.jpg');
    border: 1px solid #604c2b;
    border-radius: 9px;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.24);
}

.aom-set-card__header {
    display: flex;
    gap: 0.8em;
    align-items: center;
    justify-content: space-between;
    padding: 0.72em 0.9em;
    background: linear-gradient(135deg, rgba(101, 72, 25, 0.82), rgba(57, 42, 22, 0.88));
    border-bottom: 1px solid #806331;
}

.aom-set-card__title {
    min-width: 0;
    color: #fff0bd;
    font: 700 1.16em/1.25 Georgia, "Times New Roman", serif;
}

.aom-set-card__price {
    flex: 0 0 auto;
    padding: 0.24em 0.58em;
    color: #17130b;
    background: var(--aom-gold);
    border-radius: 999px;
    font-size: 0.86em;
    font-weight: 800;
    white-space: nowrap;
}

.aom-set-card__icons {
    display: flex;
    gap: 0.42em;
    align-items: center;
    min-height: 64px;
    padding: 0.72em 0.9em 0.48em;
}

.aom-set-card__icons figure,
.aom-set-card__icons .mw-default-size {
    margin: 0;
}

.aom-set-card__icons img.mw-file-element {
    width: 52px !important;
    height: 52px !important;
    padding: 4px;
    object-fit: contain;
    background: rgba(9, 12, 15, 0.88);
    border: 1px solid #74591f;
    border-radius: 7px;
}

.aom-set-card__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65em;
    padding: 0.55em 0.9em 0.9em;
}

.aom-set-card__section,
.aom-set-card__materials {
    min-width: 0;
    padding: 0.62em 0.72em;
    background: rgba(13, 17, 21, 0.54);
    border: 1px solid rgba(116, 91, 48, 0.55);
    border-radius: 6px;
    line-height: 1.48;
}

.aom-set-card__materials {
    grid-column: 1 / -1;
}

.aom-set-card__label {
    display: block;
    margin-bottom: 0.32em;
    color: var(--aom-gold-bright);
    font-size: 0.72em;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.aom-set-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.34em;
}

.aom-set-material {
    display: inline-flex;
    align-items: center;
    padding: 0.2em 0.5em;
    color: #e7dfd2;
    background: #101419;
    border: 1px solid #514328;
    border-radius: 999px;
    font-size: 0.82em;
    line-height: 1.35;
    white-space: nowrap;
}

.aom-set-pieces-table .wikitable > * > tr > td {
    vertical-align: top;
    line-height: 1.5;
}

.aom-home-card__title {
    margin-bottom: 0.45em;
    font-size: 1.18em;
}

.aom-welcome {
    margin: 1em 0 1.4em;
    padding: 1.1em;
    overflow: auto;
    color: var(--aom-text);
    background: rgba(25, 29, 34, 0.93);
    border: 1px solid #665333;
    border-left: 5px solid var(--aom-gold);
    border-radius: 8px;
}

.aom-welcome__title {
    margin-bottom: 0.4em;
    font-size: 1.35em;
}

.aom-welcome img {
    max-height: 180px;
    object-fit: contain;
}

.aom-alert,
.aom-related {
    margin: 1em 0;
    padding: 0.82em 1em;
    color: var(--aom-text);
    background: #20242a;
    border: 1px solid #5f4b2b;
    border-left: 5px solid var(--aom-gold);
    border-radius: 6px;
}

.aom-alert--info,
.aom-related {
    background: #1c2b35;
    border-color: #405e70;
    border-left-color: var(--aom-blue);
}

.aom-table-scroll {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-color: var(--aom-gold) #111419;
}

.aom-table-hint {
    display: none;
}

.aom-table-scroll .wikitable {
    min-width: 980px;
}

.aom-quest-id,
.aom-quest-number {
    display: inline-block;
    margin-bottom: 0.2em;
    padding: 0.08em 0.44em;
    color: #101317;
    background: var(--aom-gold);
    border-radius: 999px;
    font-size: 0.78em;
    font-weight: 800;
}

/* Adapta los antiguos bloques claros mientras se migran a componentes comunes. */
.mw-parser-output [style*="background:#fffaf0"],
.mw-parser-output [style*="background: #fffaf0"],
.mw-parser-output [style*="background:#f5f8fb"],
.mw-parser-output [style*="background: #f5f8fb"] {
    color: var(--aom-text) !important;
    background: #1c2127 !important;
    border-color: #675331 !important;
}

.mw-parser-output [style*="color:#5b3515"],
.mw-parser-output [style*="color: #5b3515"],
.mw-parser-output [style*="color:#27415f"],
.mw-parser-output [style*="color: #27415f"] {
    color: var(--aom-gold-bright) !important;
}

/* Cabecera de marca: escudo como icono y logotipo horizontal como wordmark. */
.mw-logo {
    min-height: 48px;
    align-items: center;
}

.mw-logo-icon {
    display: block;
    width: 38px;
    height: 44px;
    margin-right: 8px;
    object-fit: contain;
}

.mw-logo-container {
    max-width: 190px;
}

img.mw-logo-wordmark {
    width: auto;
    max-width: 180px;
    height: 47px;
    object-fit: contain;
}

.mw-logo-wordmark:not(img) {
    color: var(--aom-gold-bright);
    white-space: nowrap;
}

input,
textarea,
select,
.cdx-search-input,
.cdx-text-input__input,
.oo-ui-inputWidget-input {
    color: var(--aom-text) !important;
    background-color: #11151a !important;
    border-color: #5b503b !important;
}

button,
.cdx-button,
.oo-ui-buttonElement-button {
    color: var(--aom-text);
    background-color: #262c33;
    border-color: #655432;
}

button:hover,
.cdx-button:hover,
.oo-ui-buttonElement-button:hover {
    color: #fff4d3;
    background-color: #343018;
    border-color: var(--aom-gold);
}

.cdx-search-input__end-button,
.cdx-search-input .cdx-button {
    color: #fff2cc !important;
    background: #352b1a !important;
    border-color: #6e5933 !important;
}

.mw-footer li,
.mw-footer a,
.vector-menu-heading,
.vector-pinnable-header-label,
.vector-pinnable-header-unpin-button {
    color: var(--aom-muted);
}

@media (max-width: 719px) {
    body.skin-vector-2022 {
        background-image:
            linear-gradient(rgba(7, 9, 11, 0.87), rgba(7, 9, 11, 0.96)),
            url('/wiki/resources/assets/aomania-home-bg.jpg');
        background-attachment: scroll;
        background-position: 45% top;
    }

    .mw-page-container {
        border-width: 1px 0 0;
        border-radius: 0;
        box-shadow: none;
    }

    .mw-parser-output {
        font-size: 0.98rem;
        line-height: 1.64;
    }

    .mw-logo-icon {
        width: 30px;
        height: 36px;
        margin-right: 5px;
    }

    .mw-logo-container {
        max-width: 138px;
    }

    img.mw-logo-wordmark {
        max-width: 132px;
        height: 36px;
    }

    .mw-logo-wordmark:not(img) {
        font-size: 0.9rem;
    }

    .aom-guide-hero {
        grid-template-columns: 1fr;
    }

    .aom-guide-hero__media,
    .aom-guide-hero__media img,
    .aom-guide-hero__media figure > a > img.mw-file-element {
        min-height: 180px !important;
        max-height: 230px;
    }

    .aom-guide-hero__media::after {
        background: linear-gradient(180deg, transparent 58%, rgba(16, 14, 11, 0.78));
    }

    .aom-guide-hero__body {
        padding: 1rem;
    }

    .aom-guide-hero__title {
        font-size: 1.75rem;
    }

    .aom-home-grid,
    .aom-summary-grid,
    .aom-set-grid {
        grid-template-columns: 1fr;
    }

    .aom-set-card__body {
        grid-template-columns: 1fr;
    }

    .aom-set-card__materials {
        grid-column: auto;
    }

    .aom-set-card__icons img.mw-file-element {
        width: 48px !important;
        height: 48px !important;
    }

    .mw-parser-output .wikitable {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mw-parser-output .wikitable > * > tr > th,
    .mw-parser-output .wikitable > * > tr > td {
        min-width: 7.5em;
        padding: 0.53em 0.6em;
    }

    .aom-table-hint {
        display: block;
        margin: 0.7em 0 0.35em;
        color: #b9d9ef;
        font-size: 0.88rem;
        font-weight: 700;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}