Module:NavboxMobile/styles.css: Difference between revisions
EnWikiAdmin (talk | contribs) No edit summary Tag: Reverted |
EnWikiAdmin (talk | contribs) No edit summary Tag: Reverted |
||
Line 64: | 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 | margin-top: 0.25em; /* Add space above for separation */ | ||
border-top: 2px solid white; /* White border at the top for separation */ | |||
margin-left: 0; /* No indentation for top-level headings */ | margin-left: 0; /* No indentation for top-level headings */ | ||
margin-right: 0; /* Ensure alignment with the title */ | margin-right: 0; /* Ensure alignment with the title */ | ||
Line 72: | Line 73: | ||
.navboxMobile-group-level2 { | .navboxMobile-group-level2 { | ||
background-color: #e6e6ff; /* Level 2 color */ | background-color: #e6e6ff; /* Level 2 color */ | ||
margin-top: 0.25em; /* Add space above for separation */ | |||
border-top: 2px solid white; /* White border at the top for separation */ | |||
margin- | margin-left: 1em; /* Indent slightly on the left */ | ||
margin-right: 1em; /* Indent slightly on the right */ | |||
} | } | ||
/* Level 3: Subgroups */ | /* Level 3: Subgroups */ | ||
.navboxMobile-group-level3 { | .navboxMobile-group-level3 { | ||
background-color: #e6e6ff; /* Level 3 color */ | background-color: #e6e6ff; /* Level 3 color */ | ||
margin-top: 0.25em; /* Add space above for separation */ | |||
margin- | border-top: 2px solid white; /* White border at the top for separation */ | ||
margin-left: 2em; /* Indent more compared to level 2 */ | |||
margin-right: 0; /* Keep consistent */ | |||
} | } | ||