Template:Navbox/styles.css

.navbox { box-sizing: border-box; border: 1px solid #a2a9b1; width: 100%; clear: both; font-size: 88%; text-align: center; padding: 1px; margin: 1em auto 0; }

.navbox + .navbox { margin-top: -1px; }

.navbox-subgroup { width: 100%; }

.navbox-inner, .navbox-subgroup { background-color: #fdfdfd; display: grid; grid-template-columns: min-content auto; }

.navbox-above, .navbox-below { grid-column: 1 / -1; }

.navbox-group, .navbox-title, .navbox-above, .navbox-below { padding: 0.25em 1em; line-height: 1.5em; text-align: center; }

.navbox-group { white-space: nowrap; text-align: right; }

.navbox-list { line-height: 1.5em; text-align: left; border-left: #fdfdfd 2px solid; background-color: #f7f7f7; }

.navbox-list > :not(.navbox-child) { padding: 0.25em; }
 * not(.navbox-group) + .navbox-list {

grid-column: 1 / -1; }

.navbox-above:nth-child(n - 1), .navbox-below:nth-child(n - 1), .navbox-group:nth-child(n - 1), .navbox-image:nth-child(n - 1), .navbox-list:nth-child(n - 1) { border-top: 2px solid #fdfdfd; }

.navbox-title { background-color: #ccccff; } .navbox-above, .navbox-below, .navbox-group, .navbox-child .navbox-title { background-color: #ddddff; } .navbox-child .navbox-group, .navbox-child .navbox-above, .navbox-child .navbox-below { background-color: #e6e6ff; }