Template:Item quality color: Difference between revisions

From HyruleGamingGroup Wiki
Jump to navigation Jump to search
(Created page with "{{#css: span#quality-type { background: #000; padding: 5px; font-weight: bold; border-radius: 7.5px; } span.regular { color: #FFD700; } span.strange { color: #CF6A32; } span.spooky { color: #38F3AB; } span.special { color: #70B04A; } span.vintage { color: #476291; } span.spectacular { color: #8650AC; } span.admin { color: #A50F79; } }} <span id="quality-type" class="{{{quality}}}">{{{quality}}}</span>")
 
No edit summary
Line 33: Line 33:


span.admin {
span.admin {
   color: #A50F79;
   background: linear-gradient(
    to right,
    hsl(0, 100%, 50%),
    hsl(36, 100%, 50%),
    hsl(56, 100%, 50%),
    hsl(81, 100%, 50%),
    hsl(153, 100%, 50%),
    hsl(177, 100%, 50%),
    hsl(208, 100%, 50%),
    hsl(270, 100%, 50%),
    hsl(291, 100%, 50%),
    hsl(321, 100%, 50%)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  margin-top: -10px;
  float: left;
}
}


}}
}}
<span id="quality-type" class="{{{quality}}}">{{{quality}}}</span>
<span id="quality-type" class="{{{quality}}}">{{{quality}}}</span>

Revision as of 06:53, 24 November 2023

{{{quality}}}