User:Sur/vector.css: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sur (talk | contribs)
mNo edit summary
Sur (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
/* [[Infobox_stat]] container used in [[Module:HeroData]]'s write_stat_infoboxes()*/
.icon {
.stat-infoboxes-container {
   filter: invert(0%);
   max-width: calc(100% - 300px);
}
}


@media (max-width: 768px) {
@media (prefers-color-scheme: dark) {
   .stat-infoboxes-container {
   .icon {
     max-width: 100%;
     filter: invert(100%);
   }
   }
}
}

Latest revision as of 18:56, 6 October 2024

.icon {
  filter: invert(0%);
}

@media (prefers-color-scheme: dark) {
  .icon {
    filter: invert(100%);
  }
}