Module:NavboxMobile/styles.css: Difference between revisions
EnWikiAdmin (talk | contribs) No edit summary Tag: Reverted |
EnWikiAdmin (talk | contribs) No edit summary Tag: Reverted |
||
Line 78: | Line 78: | ||
.navboxMobile-group-level2 { | .navboxMobile-group-level2 { | ||
background-color: #e6e6ff; /* Level 2 color */ | background-color: #e6e6ff; /* Level 2 color */ | ||
margin-top: 0. | margin-top: 0.5em; /* Add space above for separation */ | ||
border-top: 2px solid white; /* White border at the top for separation */ | border-top: 2px solid white; /* White border at the top for separation */ | ||
border-left: | border-left: 2em solid transparent; /* Indent significantly */ | ||
border-right: | border-right: 2em solid transparent; /* Indent significantly */ | ||
margin-left: | margin-left: 2em; /* Indent significantly */ | ||
margin-right: | margin-right: 2em; /* Indent significantly */ | ||
padding: 0.25em 0.5em; /* Reduced padding for text */ | padding: 0.25em 0.5em; /* Reduced padding for text */ | ||
} | } | ||
Line 91: | Line 91: | ||
.navboxMobile-group-level3 { | .navboxMobile-group-level3 { | ||
background-color: #e6e6ff; /* Level 3 color */ | background-color: #e6e6ff; /* Level 3 color */ | ||
margin-top: 0. | margin-top: 0.5em; /* Add space above for separation */ | ||
border-top: 2px solid white; /* White border at the top for separation */ | border-top: 2px solid white; /* White border at the top for separation */ | ||
border-left: | border-left: 4em solid transparent; /* Indent more compared to level 2 */ | ||
border-right: | border-right: 4em solid transparent; /* Indent more compared to level 2 */ | ||
margin-left: | margin-left: 4em; /* Indent further */ | ||
margin-right: | margin-right: 4em; /* Indent further */ | ||
padding: 0.25em 0.5em; /* Reduced padding for text */ | padding: 0.25em 0.5em; /* Reduced padding for text */ | ||
} | } |