Template:Infobox title icon/styles.css

.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 */ @media (prefers-color-scheme: dark) { .infobox-title-container img { filter: invert(1) hue-rotate(180deg); }

.infobox-title-container img.inverted { filter: none; } }