Module:NavboxMobile/styles.css: Difference between revisions

No edit summary
No edit summary
Line 69: Line 69:
}
}


/* Narrowing styles for Level 2 content */
.navboxMobile-list-level2 {
    box-shadow: inset 5px 0 #fff, inset -5px 0 #fff; /* Shadow effect */
    width: 95%; /* Width reduction for Level 2 */
    box-sizing: border-box;
    padding: 0 5px; /* Match the shadow inset */
    margin: 0 auto; /* Center-align the content */
}




Line 95: Line 87:
     box-sizing: border-box;
     box-sizing: border-box;
     padding: 0 5px; /* Ensure content stays within bounds */
     padding: 0 5px; /* Ensure content stays within bounds */
    border-left: 5px solid transparent; /* Simulate the shadow effect on the content */
    border-right: 5px solid transparent;
     margin: 0 auto; /* Center the content */
     margin: 0 auto; /* Center the content */
    border: none; /*need*/
    padding: 5px;
}
}


Line 120: Line 112:
     border-right: 10px solid transparent;
     border-right: 10px solid transparent;
     margin: 0 auto; /* Center the content */
     margin: 0 auto; /* Center the content */
    border:none;
    padding:10px
}
}