Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 07:24, 17 December 2025 by Stevium (talk | contribs)
.mp-button {
    width: 100%;
    gap: 6px;
    position: relative;
    cursor: pointer;
    user-select: none;
    text-align: center;
    background-color: var(--background-color-2);
    color: var(--color-base);
    border-radius: 0 0 10px 10px;
    font-size: 1em;
}

.mp-button a,
.mp-button a:hover {
    text-decoration: none;
    color: var(--color-base);
}

.mp-icon-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: auto;
    --icon-base-width: 90px;
    --icon-max-width: 200px;
}

.mp-icon {
    flex: 1 auto;
    width: var(--icon-base-width);
    max-width: var(--icon-max-width);
    display: flex;
    flex-direction: column;
}

/* Responsive icon size */
@media screen and (min-width: 1500px) and (max-width: 2600px) {
    .mp-main-icons {
        --icon-base-width: 6vw;
    }
}
@media screen and (max-width: 950px) {
    .mp-icon-wrapper.mp-main-icons {
        --icon-base-width: 70px;
        --icon-max-width: 100px;
    }
}

.mp-icon-link {
    flex: 1;
    font-size: 1em;
    margin: -2px 0 0;
    padding: 0.25em 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mp-icon-img {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 10px 0 0;
    background-color: var(--background-color-1);
}

.mp-icon:hover .mp-icon-img {
    background-color: var(--background-color-2);
}

.mp-icon:hover .mp-button {
    background-color: var(--background-color-3);
}

.mp-icon-img a {
    padding: 12px 0;
}

.mp-icon-img a,
.mp-icon-img span {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
}

.mp-icon-img img {
    max-width: unset !important;
    width: 60px !important;
    height: 60px !important;
    object-fit: contain;
}

@media screen and (max-width: 950px) {
    .mp-icon-link {
        font-size: 12px;
    }

    .mp-icon-img a {
        padding: 6px 0;
    }

    .mp-icon-img img {
        width: 50px !important;
        height: 50px !important;
    }
}