Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
Created page with "→CSS placed here will be applied to all skins: .venture-home-grid { display: grid; grid-template-columns: 280px 1fr 1fr; grid-template-areas: "patch title title" "patch shipimage missionimage" "patch shiplinks missionlinks"; max-width: 800px; margin: 0 auto; gap: 12px; background: transparent; } .venture-patch { grid-area: patch; text-align: center; } .venture-title { grid-area: title; } .venture-ship..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 38: Line 38:
.venture-mission-links {
.venture-mission-links {
     grid-area: missionlinks;
     grid-area: missionlinks;
    text-align:left;
}
.venture-ship-links ul,
.venture-mission-links ul {
    margin-left: 1.2em;
    padding-left: 0;
}
}



Latest revision as of 16:54, 11 September 2026

/* CSS placed here will be applied to all skins */
.venture-home-grid {
    display: grid;
    grid-template-columns: 280px 1fr 1fr;
    grid-template-areas:
        "patch title title"
        "patch shipimage missionimage"
        "patch shiplinks missionlinks";
    max-width: 800px;
    margin: 0 auto;
    gap: 12px;
    background: transparent;
}

.venture-patch {
    grid-area: patch;
    text-align: center;
}

.venture-title {
    grid-area: title;
}

.venture-ship-image {
    grid-area: shipimage;
    text-align: center;
}

.venture-ship-links {
    grid-area: shiplinks;
}

.venture-mission-image {
    grid-area: missionimage;
    text-align: center;
}

.venture-mission-links {
    grid-area: missionlinks;
    text-align:left;
}

.venture-ship-links ul,
.venture-mission-links ul {
    margin-left: 1.2em;
    padding-left: 0;
}

.venture-home-grid img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 700px) {
    .venture-home-grid {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }

    .venture-patch {
        order: 1;
    }

    .venture-title {
        order: 2;
        text-align: center;
    }

    .venture-ship-image {
        order: 3;
    }

    .venture-ship-links {
        order: 4;
    }

    .venture-mission-image {
        order: 5;
    }

    .venture-mission-links {
        order: 6;
    }
}