Module:NavboxMobile/styles.css: Difference between revisions
EnWikiAdmin (talk | contribs) No edit summary |
EnWikiAdmin (talk | contribs) No edit summary Tag: Reverted |
||
Line 55: | Line 55: | ||
/* Group Content */ | /* Group Content */ | ||
.navboxMobile-group-content { | .navboxMobile-group-content { | ||
line-height: 1.5em; | line-height: 1.5em; | ||
text-align: center; /* Centered text */ | text-align: center; /* Centered text */ | ||
Line 65: | Line 64: | ||
.navboxMobile-group-level1 { | .navboxMobile-group-level1 { | ||
background-color: #ddf; /* Level 1 color */ | background-color: #ddf; /* Level 1 color */ | ||
margin-top: 0.25em; /* Add spacing above for separation */ | |||
margin-left: 0; /* No indentation for top-level headings */ | |||
margin-right: 0; /* Ensure alignment with the title */ | |||
} | } | ||
Line 70: | Line 72: | ||
.navboxMobile-group-level2 { | .navboxMobile-group-level2 { | ||
background-color: #e6e6ff; /* Level 2 color */ | background-color: #e6e6ff; /* Level 2 color */ | ||
padding-left: 0; /* | padding-left: 1em; /* Indent slightly on the left */ | ||
padding-right: 1em; /* Indent slightly on the right */ | |||
margin-top: 0.25em; /* Add spacing above for separation */ | |||
} | } | ||
Line 76: | Line 80: | ||
.navboxMobile-group-level3 { | .navboxMobile-group-level3 { | ||
background-color: #e6e6ff; /* Level 3 color */ | background-color: #e6e6ff; /* Level 3 color */ | ||
padding-left: | padding-left: 2em; /* Indent more compared to level 2 */ | ||
margin- | margin-top: 0.25em; /* Add spacing above for separation */ | ||
} | } | ||