Module:NavboxMobile/styles.css: Difference between revisions
EnWikiAdmin (talk | contribs) No edit summary |
EnWikiAdmin (talk | contribs) No edit summary |
||
Line 69: | Line 69: | ||
} | } | ||
/* Level 2 | /* Narrowing styles for Level 2 content */ | ||
.navboxMobile- | .navboxMobile-list-level2 { | ||
box-shadow: inset 5px 0 #fff, inset -5px 0 #fff; /* Shadow effect */ | |||
box- | width: 95%; /* Width reduction for Level 2 */ | ||
margin | box-sizing: border-box; | ||
padding: 0 5px; /* Match the shadow inset */ | |||
margin: 0 auto; /* Center-align the content */ | |||
} | |||
/* Narrowing styles for Level 3 content */ | |||
.navboxMobile-list-level3 { | |||
box-shadow: inset 10px 0 #fff, inset -10px 0 #fff; /* Shadow effect */ | |||
width: 90%; /* Width reduction for Level 3 */ | |||
box-sizing: border-box; | box-sizing: border-box; | ||
padding: 0 10px; /* Match the shadow inset */ | |||
margin: 0 auto; /* Center-align the content */ | |||
} | } | ||
Line 99: | Line 108: | ||
/* Level 3 | /* Narrowing styles for Level 3 content */ | ||
.navboxMobile-list-level3 { | .navboxMobile-list-level3 { | ||
box-shadow: inset 10px 0 #fff, inset -10px 0 #fff; /* | box-shadow: inset 10px 0 #fff, inset -10px 0 #fff; /* Shadow effect */ | ||
width: 90%; /* | width: 90%; /* Width reduction for Level 3 */ | ||
box-sizing: border-box; | box-sizing: border-box; | ||
padding: 0 10px; /* Match the shadow inset */ | |||
margin: 0 auto; /* Center-align the content */ | |||
} | } | ||