Module:NavboxMobile/styles.css: Difference between revisions
EnWikiAdmin (talk | contribs) No edit summary |
EnWikiAdmin (talk | contribs) No edit summary |
||
Line 55: | Line 55: | ||
/* Group Content */ | /* Group Content */ | ||
.navboxMobile-group-content { | .navboxMobile-group-content { | ||
padding: 0. | padding: 0.25em 0.25em; | ||
line-height: 1. | line-height: 1.2em; | ||
text-align: center; /* Centered text */ | text-align: center; /* Centered text */ | ||
font-size: 1em; | font-size: 1em; | ||
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. | margin-top: 0.1em; /* 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 73: | Line 73: | ||
background-color: #e6e6ff; /* Level 2 color */ | background-color: #e6e6ff; /* Level 2 color */ | ||
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. | margin-top: 0.1em; /* 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 92: | Line 92: | ||
.navboxMobile-group-level3 { | .navboxMobile-group-level3 { | ||
background-color: #e6e6ff; /* Level 3 color */ | background-color: #e6e6ff; /* Level 3 color */ | ||
margin-top: 0. | margin-top: 0.1em; /* 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-top: 1px solid white; /* White border at the top for separation */ | border-top: 1px solid white; /* White border at the top for separation */ | ||
Line 122: | Line 122: | ||
font-size: 1em; | font-size: 1em; | ||
text-align: center; | text-align: center; | ||
padding:0.25em; | |||
} | } | ||