diff --git a/files/assets/css/awards.css b/files/assets/css/awards.css index 72150e603..3612bad96 100644 --- a/files/assets/css/awards.css +++ b/files/assets/css/awards.css @@ -272,11 +272,6 @@ font-weight: 400; } -@keyframes move-colors { - from {background-position: 0px;} - to {background-position: 1000px;} -} - @keyframes lgbt { 0% { filter: hue-rotate(0deg); } 100% { filter: hue-rotate(360deg); } diff --git a/files/assets/css/dark_themes.css b/files/assets/css/dark_themes.css index 860627320..f38daad0c 100644 --- a/files/assets/css/dark_themes.css +++ b/files/assets/css/dark_themes.css @@ -8,12 +8,8 @@ lite-youtube, iframe { } .gold-text:not(a), h1.gold-text.post-title a, :not(td) > a[href="/h/highrollerclub"]:not(.hole-flair) { - background: repeating-linear-gradient( - 45deg, - gold, - #debd00 20px, - #cdae00 60px - ); + background: url("/i/animations/gold_gradient.svg"); + background-size: 200% 200%; } code { diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 4eee733b3..5396e7469 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -7611,27 +7611,18 @@ blink { .gold-text:not(a), h1.gold-text.post-title a, :not(td) > a[href="/h/highrollerclub"]:not(.hole-flair) { font-family: open sans,sans-serif !important; - background: repeating-linear-gradient( - 45deg, - #a78e00, - #947d00 20px, - #847000 60px - ); + background: url("/i/animations/gold_gradient.svg") repeat; + background-size: 200% 200%; color: transparent !important; font-weight: 700 !important; background-clip: text !important; -webkit-background-clip: text !important; - animation: 60s linear 0s infinite move-colors; } :not(td) > a[href="/h/highrollerclub"].hole-flair, .effortpost-flair { font-family: open sans,sans-serif !important; - background: repeating-linear-gradient( - 45deg, - #a78e00, - #947d00 20px, - #847000 60px - ); + background: url("/i/animations/gold_gradient.svg"); + background-size: 200% 200%; font-weight: 700 !important; animation: 60s linear 0s infinite move-colors; } diff --git a/files/assets/images/animations/gold_gradient.svg b/files/assets/images/animations/gold_gradient.svg new file mode 100644 index 000000000..85c7f6298 --- /dev/null +++ b/files/assets/images/animations/gold_gradient.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + \ No newline at end of file