Menú alternativo
Alternar el menú de preferencias
Menú alternativo personal
No has accedido
Tu dirección IP será visible si haces alguna edición

MediaWiki:Common.css

Página de la interfaz de MediaWiki
Revisión del 10:34 15 jul 2026 de Maintenance script (discusión | contribs.) (Nueva identidad visual minimalista de WikiMDD)

Nota: Después de publicar, quizás necesite actualizar la caché de su navegador para ver los cambios.

  • Firefox/Safari: Mantenga presionada la tecla Shift mientras pulsa el botón Actualizar, o presiona Ctrl+F5 o Ctrl+R (⌘+R en Mac)
  • Google Chrome: presione Ctrl+Shift+R (⌘+Shift+R en Mac)
  • Edge: mantenga presionada Ctrl mientras pulsa Actualizar, o presione Ctrl+F5
/* =========================================================
   WIKIMDD
   Interfaz editorial y minimalista
   ========================================================= */

.wikimdd-home {
    --wm-green: #075b45;
    --wm-green-dark: #163d32;
    --wm-ink: #17201c;
    --wm-muted: #65716b;
    --wm-border: #d8dfdb;
    --wm-background: #ffffff;
    --wm-soft: #f2f4f2;

    max-width: 1180px;
    margin: 0 auto;
    color: var(--wm-ink);
}

.page-Inicio #firstHeading,
.page-Inicio .mw-page-title-main {
    display: none;
}

.wikimdd-home h1,
.wikimdd-home h2,
.wikimdd-home h3 {
    border: 0;
    color: var(--wm-ink);
    font-family: inherit;
}

.wikimdd-home a {
    transition: opacity 150ms ease;
}

.wikimdd-home a:hover {
    opacity: 0.72;
}


/* HERO */

.wm-hero {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid var(--wm-border);
    background: var(--wm-background);
}

.wm-hero-copy {
    display: flex;
    padding: 64px 46px;
    flex-direction: column;
    justify-content: center;
}

.wm-overline {
    display: block;
    margin-bottom: 16px;
    color: var(--wm-green);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.wm-hero h1 {
    max-width: 570px;
    margin: 0;
    font-size: clamp(2.55rem, 5vw, 4.35rem);
    font-weight: 750;
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.wm-hero-description {
    max-width: 560px;
    margin: 28px 0;
    color: var(--wm-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.wm-hero-media {
    min-height: 520px;
    overflow: hidden;
    background: var(--wm-soft);
}

.wm-hero-media p,
.wm-topic-image p,
.wm-feature-image p {
    height: 100%;
    margin: 0;
}

.wm-hero-media a,
.wm-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
}

.wm-hero-media img {
    object-fit: cover;
}


/* BUSCADOR */

.wm-search {
    max-width: 560px;
    margin-bottom: 24px;
}

.wm-search form {
    display: flex;
    width: 100%;
    gap: 0;
}

.wm-search input[type="text"],
.wm-search input[type="search"] {
    box-sizing: border-box;
    flex: 1;
    min-width: 0;
    min-height: 48px;
    padding: 0 15px;
    border: 1px solid #aeb9b3;
    border-right: 0;
    border-radius: 0;
    color: var(--wm-ink);
    background: #ffffff;
    box-shadow: none;
    font-size: 0.95rem;
}

.wm-search input[type="submit"],
.wm-search button {
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid var(--wm-green);
    border-radius: 0;
    color: #ffffff;
    background: var(--wm-green);
    box-shadow: none;
    font-weight: 700;
    cursor: pointer;
}


/* BOTONES */

.wm-hero-actions,
.wm-community-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.wm-button {
    display: inline-flex;
    min-height: 44px;
    padding: 0 19px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--wm-green);
    border-radius: 0;
    font-weight: 700;
}

.wm-button a {
    color: inherit !important;
    text-decoration: none !important;
}

.wm-button-primary {
    color: #ffffff;
    background: var(--wm-green);
}

.wm-button-secondary {
    color: var(--wm-green);
    background: transparent;
}


/* SECCIONES */

.wm-section {
    margin: 86px 0;
}

.wm-section-heading {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 36px;
    padding-bottom: 23px;
    border-bottom: 1px solid var(--wm-border);
}

.wm-section-heading h2,
.wm-feature h2,
.wm-information h2,
.wm-footer-message h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3.5vw, 2.65rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.wm-section-heading > p {
    max-width: 500px;
    margin: 0;
    color: var(--wm-muted);
    line-height: 1.7;
}


/* TEMAS */

.wm-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 26px;
}

.wm-topic {
    padding-top: 13px;
    border-top: 2px solid var(--wm-ink);
}

.wm-topic-image {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--wm-soft);
}

.wm-topic-image a,
.wm-topic-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.wm-topic-image img {
    object-fit: cover;
    transition: transform 250ms ease;
}

.wm-topic:hover .wm-topic-image img {
    transform: scale(1.015);
}

.wm-topic-content {
    padding-top: 20px;
}

.wm-topic-content h3 {
    margin: 0 0 9px;
    font-size: 1.35rem;
    font-weight: 700;
}

.wm-topic-content p {
    min-height: 66px;
    margin: 0 0 15px;
    color: var(--wm-muted);
    line-height: 1.55;
}

.wm-topic-content > a {
    color: var(--wm-green);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}


/* ARTÍCULO DESTACADO */

.wm-feature {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    margin: 96px 0;
    border-top: 1px solid var(--wm-border);
    border-bottom: 1px solid var(--wm-border);
    background: var(--wm-soft);
}

.wm-feature-image {
    min-height: 470px;
    overflow: hidden;
}

.wm-feature-image a,
.wm-feature-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.wm-feature-image img {
    object-fit: cover;
}

.wm-feature-content {
    display: flex;
    padding: 52px 44px;
    flex-direction: column;
    justify-content: center;
}

.wm-feature-content p {
    margin: 22px 0 0;
    color: var(--wm-muted);
    line-height: 1.75;
}

.wm-text-link {
    display: inline-block;
    margin-top: 28px;
    color: var(--wm-green);
    font-weight: 700;
}

.wm-text-link a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}


/* INFORMACIÓN Y COMUNIDAD */

.wm-information {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 92px 0;
    border-top: 1px solid var(--wm-border);
    border-bottom: 1px solid var(--wm-border);
}

.wm-information-list,
.wm-community {
    padding: 42px;
}

.wm-information-list {
    border-right: 1px solid var(--wm-border);
}

.wm-editorial-link {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    padding: 17px 0;
    border-bottom: 1px solid var(--wm-border);
}

.wm-editorial-link:last-child {
    border-bottom: 0;
}

.wm-editorial-link a {
    color: var(--wm-ink);
    font-weight: 700;
    text-decoration: none;
}

.wm-editorial-link span {
    color: var(--wm-muted);
    font-size: 0.8rem;
}

.wm-community {
    background: var(--wm-soft);
}

.wm-community > p {
    color: var(--wm-muted);
    line-height: 1.75;
}


/* MENSAJE FINAL */

.wm-footer-message {
    display: flex;
    margin: 80px 0 30px;
    padding: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: #ffffff;
    background: var(--wm-green-dark);
}

.wm-footer-message .wm-overline,
.wm-footer-message h2 {
    color: #ffffff;
}

.wm-footer-link {
    flex-shrink: 0;
}

.wm-footer-link a {
    display: inline-block;
    padding-bottom: 5px;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
}


/* MÓVILES Y TABLETAS */

@media screen and (max-width: 900px) {
    .wm-hero {
        grid-template-columns: 1fr;
    }

    .wm-hero-copy {
        padding: 48px 32px;
    }

    .wm-hero-media {
        min-height: 380px;
    }

    .wm-section-heading {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .wm-topic-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wm-feature {
        grid-template-columns: 1fr;
    }

    .wm-feature-image {
        min-height: 370px;
    }

    .wm-information {
        grid-template-columns: 1fr;
    }

    .wm-information-list {
        border-right: 0;
        border-bottom: 1px solid var(--wm-border);
    }
}

@media screen and (max-width: 600px) {
    .wm-hero-copy,
    .wm-feature-content,
    .wm-information-list,
    .wm-community,
    .wm-footer-message {
        padding: 30px 22px;
    }

    .wm-hero h1 {
        font-size: 2.55rem;
    }

    .wm-search form {
        flex-direction: column;
        gap: 8px;
    }

    .wm-search input[type="text"],
    .wm-search input[type="search"] {
        border-right: 1px solid #aeb9b3;
    }

    .wm-search input[type="submit"],
    .wm-search button {
        width: 100%;
    }

    .wm-topic-grid {
        grid-template-columns: 1fr;
    }

    .wm-topic-content p {
        min-height: auto;
    }

    .wm-feature-image {
        min-height: 280px;
    }

    .wm-editorial-link {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .wm-footer-message {
        align-items: flex-start;
        flex-direction: column;
    }
}