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
No edit summary
m Changed banner size
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* 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 navigation menu */
/* Scaevus horizontal menu */


.scaevus-menu {
.scaevus-menu-table {
     display: flex;
     width: 100%;
    justify-content: center;
     margin: 15px 0 25px;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 2px;
     margin: 15px 0 25px 0;
     padding: 4px;
     padding: 4px;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 2px;
     background: #08080d;
     background: #08080d;
     border: 1px solid #6826c9;
     border: 1px solid #7628d7;
     border-radius: 6px;
     border-radius: 6px;
     box-shadow:
     box-shadow:
         0 0 12px rgba(125, 38, 255, 0.45),
         0 0 12px rgba(112, 39, 230, 0.55),
         0 0 24px rgba(225, 32, 255, 0.18);
         0 0 24px rgba(225, 32, 255, 0.20);
}
}


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


.scaevus-menu-item a {
.scaevus-menu-table td a {
     display: block;
     display: block;
     padding: 13px 22px;
     padding: 14px 6px;
 
     color: #ffffff !important;
     color: #ffffff !important;
     font-size: 15px;
     font-size: 14px;
     font-weight: bold;
     font-weight: bold;
     letter-spacing: 1px;
     letter-spacing: 1px;
     text-transform: uppercase;
     text-transform: uppercase;
     text-decoration: none !important;
     text-decoration: none !important;
     background: linear-gradient(
     background: linear-gradient(
         135deg,
         135deg,
         #182a75 0%,
         #173c9b 0%,
         #6021a8 50%,
         #6426bd 50%,
         #ad168f 100%
         #c019a6 100%
     );
     );
    border-radius: 3px;
 
     transition:
     transition:
         background 0.25s ease,
         background 0.25s ease,
         box-shadow 0.25s ease,
         box-shadow 0.25s ease;
        transform 0.25s ease;
}
}


.scaevus-menu-item a:hover {
.scaevus-menu-table td a:hover {
     color: #ffffff !important;
     color: #ffffff !important;
     background: linear-gradient(
     background: linear-gradient(
         135deg,
         135deg,
         #175bea 0%,
         #2176ff 0%,
         #8428e8 48%,
         #9134ee 50%,
         #e322cd 100%
         #ef27d4 100%
     );
     );
     box-shadow:
     box-shadow:
         0 0 10px rgba(49, 107, 255, 0.75),
         inset 0 0 10px rgba(255, 255, 255, 0.20),
         0 0 18px rgba(219, 38, 255, 0.55);
         0 0 12px rgba(160, 40, 255, 0.65);
    transform: translateY(-2px);
}
}


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


@media screen and (max-width: 650px) {
/* Scaevus menu – mobile layout */
     .scaevus-menu {
@media screen and (max-width: 700px) {
 
     .scaevus-menu-table {
         display: block;
         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-item {
     .scaevus-menu-table td {
         display: block;
         display: block;
         margin-bottom: 3px;
         width: auto !important;
        min-width: 0;
        padding: 0 !important;
     }
     }


     .scaevus-menu-item:last-child {
     .scaevus-menu-table td a {
         margin-bottom: 0;
        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;
     }
     }
}
}

Latest revision as of 04:05, 15 July 2026

/* 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;
    }
}