Module:Taxonbar/styles.css

.taxonbar { /* based on class navbox in Module:Navbox/styles.css */ box-sizing: border-box; border: 1px solid #a2a9b1; width: 100%; clear: both; font-size: 88%; text-align: center; padding: 1px; margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */ } .taxonbar-group, .taxonbar-title { padding: 0.25em 1em; line-height: 1.5em; text-align: center; }

.taxonbar-group { white-space: nowrap; /* @noflip */ text-align: right; }

.taxonbar { background-color: #fdfdfd; }

.taxonbar-list { line-height: 1.5em; border-color: #fdfdfd; /* Must match background color */ } .taxonbar-title { background-color: #ccf; /* Level 1 color */ } .taxonbar-title { /* added for div version (some may be redundant*/	font-size:114%;	font-weight:bold;	margin:2px 1px; } .taxonbar-group {	background-color: #ddf; /* Level 2 color */ }

.taxonbar-group { /* added for div version (some may be redundant*/	text-align:left;	vertical-align:middle;	margin:2px 1px;	padding:0.25em 1em;	font-size:100%;	font-weight:bold;	line-height: 1.5em; } .taxonbar-list {	text-align:left;	margin:2px 1px;	background-color:rgb(247, 247, 247); }

.taxonbar-grid { display:grid; grid-template-columns: auto auto; }