MediaWiki:Custom-Common.less/navbox.less

// /* ===========================      Template:Navbox =========================== */

.navbox { border: 1px solid #aaa; color: #000; width: 100%; margin: auto; margin-top: 5px; clear: both; font-size: 90%; text-align: left; padding: 1px; border-collapse: initial; background: #f9f9f9;

.navbox-subgroup { background: #f9f9f9; width: 100%; } }

/* single pixel border between adjacent navboxes */ .navbox-wrapper + .navbox-wrapper { margin-top: -6px; }

/* title style and footer style */ .navbox-title, .navbox-footer { background: #ccf; text-align: center; padding-left: 5px; border: 2px solid #fff; }

.navbox-title { font-size: 110%; }

.navbox-footer { border-top: 1px; font-size: smaller; }

/* group style */ .navbox-group { width: 15%; background: #ddf; font-weight: bold; padding-left: 10px; padding-right: 10px; padding-bottom: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; }

.navbox .navbox-group a { white-space: normal; }

.navbox-list { padding-left: 7px; padding-right: 7px; padding-bottom: 5px; border-left: 2px solid #fff; border-right: 2px solid #fff; border-bottom: 2px solid #fff; }

/* level 2 color */ .navbox-subgroup .navbox-title { background: #ddf; }

/* level 3 color */ .navbox-subgroup .navbox-group { background: #e6e6ff; padding-bottom: 5px; border-left: 0; }

.navbox-subgroup .navbox-group a { white-space: normal; }

.navbox-subgroup .navbox-list { background: transparent !important; border-right: 0; } .navbox img { padding-left: 1px; padding-right: 3px; margin: 0 !important; width: auto; height: auto; }

/* experimental list styling in navboxes */ .navbox-list ul { margin: 0; padding: 0; }

.navbox-list li { display: inline-block; padding: 0; padding-right: 3px; margin: 0; }

.navbox-list li::after { content: '•'; }

.navbox-list li:last-child:after { content: none; }

/* For expand/collapse link on navboxes */ .navbox .mw-collapsible-toggle { width: 6em; font-size: 90%; float: right; text-align: right; }

/* CSS fix for deprecated cellspacing */ .navbox, .navbox-subgroup { border-spacing: 0; }

.navbox-title a, .navbox-footer a { color: #3c7fa8 !important; }