User:Andrewds1021/Wikipedia-style Navbox/CSS.css

.wikipedia-style-navbox { border: 1px solid black; padding: 2px; }

/* ".WikiaArticle" is needed to override Wikia's default CSS */ .WikiaArticle .wikipedia-style-navbox p { margin: 0px; }

.wikipedia-style-navbox-header { background-color: #00B7E0; padding: 2px; }

.wikipedia-style-navbox-title { color: white; margin: auto; text-align: center; }

.wikipedia-style-navbox-content { padding: 2px; }

/* "!important" is needed to override the collapsible feature's inline CSS */ .wikipedia-style-navbox-content:empty { display: none !important; }