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

MediaWiki interface page

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
.scaevus-banner {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 15px;
    overflow: hidden;
}

.scaevus-banner img {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}


/* Scaevus horizontal menu */

.scaevus-menu-table {
    width: 100%;
    margin: 15px 0 25px;
    padding: 4px;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 2px;

    background: #08080d;
    border: 1px solid #7628d7;
    border-radius: 6px;

    box-shadow:
        0 0 12px rgba(112, 39, 230, 0.55),
        0 0 24px rgba(225, 32, 255, 0.20);
}

.scaevus-menu-table td {
    width: 25%;
    padding: 0 !important;
    text-align: center;
    vertical-align: middle;
    border: none !important;
    background: transparent !important;
}

.scaevus-menu-table td a {
    display: block;
    padding: 14px 6px;

    color: #ffffff !important;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none !important;

    background: linear-gradient(
        135deg,
        #173c9b 0%,
        #6426bd 50%,
        #c019a6 100%
    );

    transition:
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.scaevus-menu-table td a:hover {
    color: #ffffff !important;

    background: linear-gradient(
        135deg,
        #2176ff 0%,
        #9134ee 50%,
        #ef27d4 100%
    );

    box-shadow:
        inset 0 0 10px rgba(255, 255, 255, 0.20),
        0 0 12px rgba(160, 40, 255, 0.65);
}

.scaevus-menu-table td a:visited {
    color: #ffffff !important;
}

/* Scaevus menu – mobile layout */
@media screen and (max-width: 700px) {

    .scaevus-menu-table {
        display: block;
        width: 100%;
        margin: 12px 0 20px;
        padding: 4px;
        box-sizing: border-box;
        border-spacing: 0;
    }

    .scaevus-menu-table tbody {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
        width: 100%;
    }

    .scaevus-menu-table tr {
        display: contents;
    }

    .scaevus-menu-table td {
        display: block;
        width: auto !important;
        min-width: 0;
        padding: 0 !important;
    }

    .scaevus-menu-table td a {
        display: flex;
        align-items: center;
        justify-content: center;

        min-height: 52px;
        height: 100%;
        padding: 8px 5px;
        box-sizing: border-box;

        font-size: 12px;
        line-height: 1.25;
        letter-spacing: 0.5px;
        text-align: center;

        border-radius: 3px;
        overflow-wrap: anywhere;
    }
}