User:Sky/Rarity: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(csssss)
(cssssssssssssss)
Line 71: Line 71:
}
}


body .bg3wiki-itemicon-wrapper .bg3wiki-itemicon.common {
body .bg3wiki-itemicon-wrapper .bg3wiki-itemicon-common {
   background: linear-gradient(var(--bg-main), var(--bg3wiki-rarity-common));
   background: linear-gradient(var(--bg-main), var(--bg3wiki-rarity-common));
   border: solid 1px var(--bg3wiki-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(--bg3wiki-arity-uncommon-bck));
   background: linear-gradient(var(--bg-main), var(--bg3wiki-arity-uncommon-bck));
   border: solid 1px var(--bg3wiki-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(--bg3wiki-rarity-rare-bck));
   background: linear-gradient(var(--bg-main), var(--bg3wiki-rarity-rare-bck));
   border: solid 1px var(--bg3wiki-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(--bg3wiki-rarity-very-rare-bck));
   background: linear-gradient(var(--bg-main), var(--bg3wiki-rarity-very-rare-bck));
   border: solid 1px var(--bg3wiki-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(--bg3wiki-rarity-legendary-bck));
   background: linear-gradient(var(--bg-main), var(--bg3wiki-rarity-legendary-bck));
   border: solid 1px var(--bg3wiki-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(--bg3wiki-rarity-story-bck));
   background: linear-gradient(var(--bg-main), var(--bg3wiki-rarity-story-bck));
   border: solid 1px var(--bg3wiki-rarity-story);
   border: solid 1px var(--bg3wiki-rarity-story);

Revision as of 05:08, 9 September 2023


Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin tristique ligula vitae turpis varius ullamcorper. Ut sagittis Potion of Healing eu dolor accumsan venenatis. Maecenas sit amet ante at ligula efficitur fermentum. Suspendisse ac neque pretium nisi finibus euismod. Suspendisse varius ipsum lorem, vitae consectetur metus mattis sit amet. Proin ornare orci turpis, non blandit lorem scelerisque a. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Potion of Healing in luctus arcu. Proin aliquet lorem quis lacus lacinia molestie. Suspendisse iaculis venenatis nibh, et dapibus augue varius a.

CSS

body {
  --bg3wiki-rarity-common: #48484899;
  --bg3wiki-rarity-common-bck: #48484820;
  --bg3wiki-rarity-uncommon: #01BD3999;
  --bg3wiki-rarity-uncommon-bck: #01BD3920;
  --bg3wiki-rarity-rare: #01BFFF99;
  --bg3wiki-rarity-rare-bck: #01BFFF20;
  --bg3wiki-rarity-very-rare: #D1017B99;
  --bg3wiki-rarity-very-rare-bck: #D1017B20;
  --bg3wiki-rarity-legendary: #B7861D99;
  --bg3wiki-rarity-legendary-bck: #B7861D20;
  --bg3wiki-rarity-story: #FF590199;
  --bg3wiki-rarity-story-bck: #FF590120;
}

body .bg3wiki-itemicon-wrapper {
  text-align: center;
  white-space: nowrap;
}

body .bg3wiki-itemicon-wrapper .bg3wiki-itemicon {
  display: inline-block;
}

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

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

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

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

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