Ad placeholder

User:Sky/Rarity: Difference between revisions

Jump to navigation Jump to search
93 bytes removed ,  8 September 2023
modify css
(add css)
(modify css)
Line 46: Line 46:


== CSS ==
== CSS ==
Can also define the following vars on <body> if reusing these colours outside of ItemIcon is desired.
<syntaxhighlight lang="css">
<syntaxhighlight lang="css">
body .itemicon-wrapper {
body {
   --rarity-common: #48484899;
   --rarity-common: #48484899;
   --rarity-common-bck: #48484820;
   --rarity-common-bck: #48484820;
Line 62: Line 60:
   --rarity-story: #FF590199;
   --rarity-story: #FF590199;
   --rarity-story-bck: #FF590120;
   --rarity-story-bck: #FF590120;
}
body .itemicon-wrapper {
   text-align: center;
   text-align: center;
   white-space: nowrap;
   white-space: nowrap;

Navigation menu