From eb9a656c6971ec9f21bc0aed137169a110eb5fef Mon Sep 17 00:00:00 2001 From: Refringe Date: Tue, 17 Sep 2024 16:47:43 -0400 Subject: [PATCH] RAINBOWS Need I say more? --- resources/css/app.css | 63 ++++++++++++++++++++ resources/views/components/warning.blade.php | 5 +- tailwind.config.js | 2 +- 3 files changed, 67 insertions(+), 3 deletions(-) diff --git a/resources/css/app.css b/resources/css/app.css index b64ffef..6e30fdf 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -108,3 +108,66 @@ main a:not(.mod-list-component):not(.tab):not([role="menuitem"]) { transform-origin: 100% 100%; background-color: #0e7490; } + +.rainbow { + height: 100%; + width: 100%; + left: 0; + right: 0; + top: 0; + bottom: 0; + position: absolute; + background: linear-gradient(124deg, #ff2400, #e81d1d, #e8b71d, #e3e81d, #1de840, #1ddde8, #2b1de8, #dd00f3, #dd00f3); + background-size: 1800% 1800%; + -webkit-animation: rainbow 18s ease infinite; + -o-animation: rainbow 18s ease infinite; + animation: rainbow 18s ease infinite; +} + +@-webkit-keyframes rainbow { + 0% { + background-position: 0 82% + } + 50% { + background-position: 100% 19% + } + 100% { + background-position: 0 82% + } +} + +@-moz-keyframes rainbow { + 0% { + background-position: 0 82% + } + 50% { + background-position: 100% 19% + } + 100% { + background-position: 0 82% + } +} + +@-o-keyframes rainbow { + 0% { + background-position: 0 82% + } + 50% { + background-position: 100% 19% + } + 100% { + background-position: 0 82% + } +} + +@keyframes rainbow { + 0% { + background-position: 0 82% + } + 50% { + background-position: 100% 19% + } + 100% { + background-position: 0 82% + } +} diff --git a/resources/views/components/warning.blade.php b/resources/views/components/warning.blade.php index a4c5ab0..c9b4e4e 100644 --- a/resources/views/components/warning.blade.php +++ b/resources/views/components/warning.blade.php @@ -1,3 +1,4 @@ -
-

Notice: The Forge is currently under heavy construction. Expect nothing to work. Data is reset every hour.

+
+
+

{!! __('The Forge is currently under heavy construction. Expect nothing to work. Data is reset every hour.') !!}

diff --git a/tailwind.config.js b/tailwind.config.js index 4f90d9e..bd33cc0 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -2,7 +2,7 @@ import defaultTheme from "tailwindcss/defaultTheme"; import forms from "@tailwindcss/forms"; import typography from "@tailwindcss/typography"; -/** @type {import('tailwindcss').Config} */ +/** @type {import("tailwindcss").Config} */ export default { darkMode: "selector",