Module:NavboxMobile/styles.css: Difference between revisions
EnWikiAdmin (talk | contribs) No edit summary |
EnWikiAdmin (talk | contribs) No edit summary |
||
Line 67: | Line 67: | ||
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 */ | ||
} | } | ||
Line 75: | Line 74: | ||
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; | |||
} | |||
/* Narrowing styles for Level 2 content */ | |||
.navboxMobile-list-level2 { | |||
box-shadow: inset 5px 0 #fff, inset -5px 0 #fff; /* Narrowing effect */ | |||
width: 95%; /* Matches Lua adjustment */ | |||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
Line 85: | Line 91: | ||
padding-left: 1em; /* Indentation for subgroups */ | padding-left: 1em; /* Indentation for subgroups */ | ||
margin-top: 0.25em; /* Add spacing above for separation */ | margin-top: 0.25em; /* Add spacing above for separation */ | ||
box-shadow: inset 10px 0 #fff, inset -10px 0 #fff; /* Create shadow effect */ | box-shadow: inset 10px 0 #fff, inset -10px 0 #fff; /* Create shadow effect */ | ||
border-bottom: 1px solid white; /* White border at the top for separation */ | border-bottom: 1px solid white; /* White border at the top for separation */ | ||
box-sizing: border-box; | |||
} | |||
/* Narrowing styles for Level 3 content */ | |||
.navboxMobile-list-level3 { | |||
box-shadow: inset 10px 0 #fff, inset -10px 0 #fff; /* Narrowing effect */ | |||
width: 90%; /* Matches Lua adjustment */ | |||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } |