MediaWiki:Wikia.css

window.addEventListener("load", function { var elements = document.getElementsByClassName("rainbowText");  for (let i = 0; i < elements.length; i++) {    generateRainbowText(elements[i]);  } }); function generateRainbowText(element) { var text = element.innerText; element.innerHTML = ""; for (let i = 0; i < text.length; i++) { let charElem = document.createElement("span"); charElem.style.color = "hsl(" + (360 * i / text.length) + ",80%,50%)"; charElem.innerHTML = text[i]; element.appendChild(charElem); } } p { font-size: 2em; font-weight: 500; } This is an awesome text