Skip to content

Commit

Permalink
Merge branch 'consistent-stylesheets'
Browse files Browse the repository at this point in the history
  • Loading branch information
madman-bob committed Jun 4, 2018
2 parents 97e03db + e18b09f commit f096303
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion POV Cam/lord-english-text.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
function lordEnglishInit() {
var LEColourOrder = [[0, 2], [1, 3], [2, 0], [3, 1], [4, 6], [5, 0], [6, 4], [0, 2], [1, 3], [2, 0], [3, 1], [4, 6], [0, 5], [6, 4]];
var LEColours = ["#FFEA00", "#4040FD", "#DF0000", "#A357FF", "#FF6000", "#008140", "#950015", "#000000"];
var sheet = document.styleSheets[0];
for (var i = 0; i < 14; i++) {
sheet.addRule("@-webkit-keyframes le" + i, "0% {color:" + LEColours[LEColourOrder[i][0]] + ";} 49% {color:" + LEColours[LEColourOrder[i][0]] + ";} 50% {color:" + LEColours[LEColourOrder[i][1]] + ";} 100% {color:" + LEColours[LEColourOrder[i][1]] + ";}");
sheet.addRule("letter.lordenglish:nth-of-type(14n + " + (i + 1) + ")", "-webkit-animation: le" + i + " 0.2s infinite;");
Expand Down

0 comments on commit f096303

Please sign in to comment.