Ad placeholder

User:Sky/Rarity: Difference between revisions

Jump to navigation Jump to search
191 bytes added ,  9 September 2023
csssss
(csss)
(csssss)
Line 48: Line 48:
<syntaxhighlight lang="css">
<syntaxhighlight lang="css">
body {
body {
   --rarity-common: #48484899;
   --bg3wiki-rarity-common: #48484899;
   --rarity-common-bck: #48484820;
   --bg3wiki-rarity-common-bck: #48484820;
   --rarity-uncommon: #01BD3999;
   --bg3wiki-rarity-uncommon: #01BD3999;
   --rarity-uncommon-bck: #01BD3920;
   --bg3wiki-rarity-uncommon-bck: #01BD3920;
   --rarity-rare: #01BFFF99;
   --bg3wiki-rarity-rare: #01BFFF99;
   --rarity-rare-bck: #01BFFF20;
   --bg3wiki-rarity-rare-bck: #01BFFF20;
   --rarity-very-rare: #D1017B99;
   --bg3wiki-rarity-very-rare: #D1017B99;
   --rarity-very-rare-bck: #D1017B20;
   --bg3wiki-rarity-very-rare-bck: #D1017B20;
   --rarity-legendary: #B7861D99;
   --bg3wiki-rarity-legendary: #B7861D99;
   --rarity-legendary-bck: #B7861D20;
   --bg3wiki-rarity-legendary-bck: #B7861D20;
   --rarity-story: #FF590199;
   --bg3wiki-rarity-story: #FF590199;
   --rarity-story-bck: #FF590120;
   --bg3wiki-rarity-story-bck: #FF590120;
}
}


Line 72: Line 72:


body .bg3wiki-itemicon-wrapper .bg3wiki-itemicon.common {
body .bg3wiki-itemicon-wrapper .bg3wiki-itemicon.common {
   background: linear-gradient(var(--bg-main), var(--rarity-common));
   background: linear-gradient(var(--bg-main), var(--bg3wiki-rarity-common));
   border: solid 1px var(--rarity-common);
   border: solid 1px var(--bg3wiki-rarity-common);
}
}
body .bg3wiki-itemicon-wrapper .bg3wiki-itemicon.uncommon {
body .bg3wiki-itemicon-wrapper .bg3wiki-itemicon.uncommon {
   background: linear-gradient(var(--bg-main), var(--rarity-uncommon-bck));
   background: linear-gradient(var(--bg-main), var(--bg3wiki-arity-uncommon-bck));
   border: solid 1px var(--rarity-uncommon);
   border: solid 1px var(--bg3wiki-rarity-uncommon);
}
}


body .bg3wiki-itemicon-wrapper .bg3wiki-itemicon.rare {
body .bg3wiki-itemicon-wrapper .bg3wiki-itemicon.rare {
   background: linear-gradient(var(--bg-main), var(--rarity-rare-bck));
   background: linear-gradient(var(--bg-main), var(--bg3wiki-rarity-rare-bck));
   border: solid 1px var(--rarity-rare);
   border: solid 1px var(--bg3wiki-rarity-rare);
}
}


body .bg3wiki-itemicon-wrapper .bg3wiki-itemicon.very-rare {
body .bg3wiki-itemicon-wrapper .bg3wiki-itemicon.very-rare {
   background: linear-gradient(var(--bg-main), var(--rarity-very-rare-bck));
   background: linear-gradient(var(--bg-main), var(--bg3wiki-rarity-very-rare-bck));
   border: solid 1px var(--rarity-very-rare);
   border: solid 1px var(--bg3wiki-rarity-very-rare);
}
}


body .bg3wiki-itemicon-wrapper .bg3wiki-itemicon.legendary {
body .bg3wiki-itemicon-wrapper .bg3wiki-itemicon.legendary {
   background: linear-gradient(var(--bg-main), var(--rarity-legendary-bck));
   background: linear-gradient(var(--bg-main), var(--bg3wiki-rarity-legendary-bck));
   border: solid 1px var(--rarity-legendary);
   border: solid 1px var(--bg3wiki-rarity-legendary);
}
}


body .bg3wiki-itemicon-wrapper .bg3wiki-itemicon.story {
body .bg3wiki-itemicon-wrapper .bg3wiki-itemicon.story {
   background: linear-gradient(var(--bg-main), var(--rarity-story-bck));
   background: linear-gradient(var(--bg-main), var(--bg3wiki-rarity-story-bck));
   border: solid 1px var(--rarity-story);
   border: solid 1px var(--bg3wiki-rarity-story);
}
}
</syntaxhighlight>
</syntaxhighlight>
</noinclude>
</noinclude>

Navigation menu