.infobox-title-container { display: flex; justify-content: space-between; align-items: center; } .infobox-title-container img { opacity: .7; } .infobox-title-container img.inverted { filter: invert(1) hue-rotate(180deg); } /* Dark mode */ html.skin-citizen-dark .infobox-title-container img { filter: invert(1) hue-rotate(180deg); } html.skin-citizen-dark .infobox-title-container img.inverted { filter: none; }