#service-dep-diagram { display: block; margin: 0px auto; } #service-dep-diagram a:hover { text-decoration: none; opacity: 0.65; } html.navy #service-dep-diagram, html.ayu #service-dep-diagram, html.coal #service-dep-diagram { filter: invert(1); } h2, h3, h4, h5, h6 { display: inline-block; }