MediaWiki:Common.css

From Midas Merge Wiki
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/************
* Infoboxes *
*************/
.portable-infobox {
    --pi-background: var(--wiki-content-background-color--secondary);
    --pi-secondary-background:var(--wiki-accent-color);
    --pi-secondary-background-label: var(--wiki-accent-text-color);
    --pi-border-color: rgba(var(--wiki-accent-color--rgb), 0.5);
}

.portable-infobox .pi-title {
    background-color: var(--pi-secondary-background);
    color:var(--pi-secondary-background-label);
}

.portable-infobox .pi-secondary-background {
	background-color: var(--pi-secondary-background);
    color:var(--pi-secondary-background-label);
}
/****************
* End infoboxes *
*****************/



/************
* Rarity *
*************/
.rarity-common {
	color:var(--rarity-common);	
}
.rarity-dreamlike {
	color:var(--rarity-dreamlike);	
}
.rarity-epic {
	color:var(--rarity-epic);	
}
.rarity-legendary {
	color:var(--rarity-legendary);	
}
.rarity-mythical {
	color:var(--rarity-mythical);	
}
.rarity-rare {
	color:var(--rarity-rare);	
}
.rarity-uncommon {
	color:var(--rarity-uncommon);	
}

/****************
* End Rarity *
*****************/