Module:NavboxUpgraded/styles.css

From Ikwipedia
/* Template:NavboxUpgraded/styles.css */

/* Hide mobile version on desktop */
.nomobile {
    display: block;
}
.onlymobile {
    display: none;
}

/* Media query for mobile devices */
@media screen and (max-width: 768px) {
    .nomobile {
        display: none;
    }
    .onlymobile {
        display: block;
    }
}

.navbox-subgroup {
    width: 100%;
    background-color: #f9f9f9;
    border: 1px solid #a2a9b1;
}

.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-title,
.navbox-subgroup .navbox-abovebelow {
    background-color: #e6e6ff; /* Level 3 color */
}

.navbox-subgroup-heading {
    background-color: #e6e6ff;
    padding: 0.25em 1em;
    font-weight: bold;
}

.navbox-list {
    padding-left: 1.5em;
    list-style: disc;
}


/* Additional styling for navbox elements */
.navbox { /* Styles for desktop navbox */ }
.navbox-title { /* Styles for desktop title */ }
.navbox-group { /* Styles for desktop groups */ }
.navbox-list { /* Styles for desktop lists */ }

.navbox-mobile { /* Styles for mobile navbox */ }
.navbox-title-mobile { /* Styles for mobile title */ }
.navbox-group-mobile { /* Styles for mobile groups */ }
.navbox-list-mobile { /* Styles for mobile lists */ }