diff options
| author | sD <stoned@derpymail.org> | 2020-02-13 18:01:34 +0100 |
|---|---|---|
| committer | sD <stoned@derpymail.org> | 2020-02-13 18:01:34 +0100 |
| commit | 1de76d8d8f949c819314e94265cae12d8de78089 (patch) | |
| tree | 8961c5672ed2eb6b74b5444445689af876acde78 /webAO/styles/classic.css | |
| parent | 65ad652aa950c55158441c520d96856d6391d013 (diff) | |
handle text colors in css
Diffstat (limited to 'webAO/styles/classic.css')
| -rw-r--r-- | webAO/styles/classic.css | 68 |
1 files changed, 67 insertions, 1 deletions
diff --git a/webAO/styles/classic.css b/webAO/styles/classic.css index f8ceb79..b0a84cf 100644 --- a/webAO/styles/classic.css +++ b/webAO/styles/classic.css @@ -10,6 +10,73 @@ img { -ms-interpolation-mode: nearest-neighbor; } +.text_white { + color: #fff; +} + +.text_blue { + color: #6bc6f7; +} + +.text_green { + color: #0f0; +} + +.text_red { + color: #f00; +} + +.text_orange { + color: #ffa500; +} + +.text_yellow { + color: #ff0; +} + +.text_pink { + color: #ffc0cb; +} + +.text_cyan { + color: #0ff; +} + +.text_rainbow { + background-color: rgb(255, 255, 255); + background-image: repeating-linear-gradient(to right, + red 0% 8%, orange 8% 16%, yellow 16% 24%, green 24% 32%, blue 32% 40%, + red 40% 48%, orange 48% 56%, yellow 56% 64%, green 64% 72%, blue 72% 80%, + red 80% 88%, orange 88% 96%, yellow 96% 100%); + background-size: 40% 40%; + background-clip: text; + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + animation: rainbow 4s linear infinite; +} + +@keyframes rainbow_alt { + + 0%, + 100% { + background-position: 0 0; + } + + 50% { + background-position: 400% 0; + } +} + +@keyframes rainbow { + 0% { + background-position: 0 0; + } + + 100% { + background-position: 400% 0; + } +} + #client_chatcontainer { filter:none; } @@ -57,7 +124,6 @@ img { #client_chat p { padding: 1% 3.13%; - color: white; margin: 1px; line-height: 97%; } |
