Module:NavboxMobile/styles.css: Difference between revisions
EnWikiAdmin (talk | contribs) No edit summary |
EnWikiAdmin (talk | contribs) No edit summary |
||
Line 84: | Line 84: | ||
box-shadow: inset 5px 0 #fff, inset -5px 0 #fff; /* Create shadow effect */ | box-shadow: inset 5px 0 #fff, inset -5px 0 #fff; /* Create shadow effect */ | ||
margin-top: 0.25em; /* Add spacing above for separation */ | margin-top: 0.25em; /* Add spacing above for separation */ | ||
border-top: 1px solid white; /* White border at the top for separation */ | border-top: 1px solid white; /* White border at the top for separation */ | ||
box-sizing: border-box; | box-sizing: border-box; | ||
Line 93: | Line 92: | ||
.navboxMobile-list-level2 { | .navboxMobile-list-level2 { | ||
box-shadow: inset 5px 0 #fff, inset -5px 0 #fff; /* Narrowing effect */ | box-shadow: inset 5px 0 #fff, inset -5px 0 #fff; /* Narrowing effect */ | ||
box-sizing: border-box; | box-sizing: border-box; | ||
padding: 0 5px; /* Match the shadow inset */ | |||
} | } | ||
Line 113: | Line 110: | ||
.navboxMobile-list-level3 { | .navboxMobile-list-level3 { | ||
box-shadow: inset 10px 0 #fff, inset -10px 0 #fff; /* Shadow effect */ | box-shadow: inset 10px 0 #fff, inset -10px 0 #fff; /* Shadow effect */ | ||
box-sizing: border-box; | box-sizing: border-box; | ||
padding: 0 10px; /* Match the shadow inset */ | padding: 0 10px; /* Match the shadow inset */ |