Module:NavboxMobile/styles.css: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 64: Line 64:
.navboxMobile-group-level1 {
.navboxMobile-group-level1 {
     background-color: #ddf; /* Level 1 color */
     background-color: #ddf; /* Level 1 color */
     margin-top: 0.25em; /* Add spacing above for separation */
     margin-top: 0.25em; /* Add space above for separation */
    border-top: 2px solid white; /* White border at the top for separation */
     margin-left: 0; /* No indentation for top-level headings */
     margin-left: 0; /* No indentation for top-level headings */
     margin-right: 0; /* Ensure alignment with the title */
     margin-right: 0; /* Ensure alignment with the title */
Line 72: Line 73:
.navboxMobile-group-level2 {
.navboxMobile-group-level2 {
     background-color: #e6e6ff; /* Level 2 color */
     background-color: #e6e6ff; /* Level 2 color */
     padding-left: 1em; /* Indent slightly on the left */
     margin-top: 0.25em; /* Add space above for separation */
     padding-right: 1em; /* Indent slightly on the right */
    border-top: 2px solid white; /* White border at the top for separation */
     margin-top: 0.25em; /* Add spacing above for separation */
     margin-left: 1em; /* Indent slightly on the left */
     margin-right: 1em; /* Indent slightly on the right */
}
}


/* Level 3: Subgroups */
/* Level 3: Subgroups */
.navboxMobile-group-level3 {
.navboxMobile-group-level3 {
     background-color: #e6e6ff; /* Level 3 color */
     background-color: #e6e6ff; /* Level 3 color */
     padding-left: 2em; /* Indent more compared to level 2 */
     margin-top: 0.25em; /* Add space above for separation */
     margin-top: 0.25em; /* Add spacing above for separation */
    border-top: 2px solid white; /* White border at the top for separation */
    margin-left: 2em; /* Indent more compared to level 2 */
     margin-right: 0; /* Keep consistent */
}
}