From 41c4d4e2ccf0341723f74f71a1073d904e3cd7af Mon Sep 17 00:00:00 2001 From: n9k Date: Sun, 24 Jul 2022 10:21:13 +0000 Subject: [PATCH] Nojs: add `background-color` CSS to all iframes So if they are popped out their background looks like it should (and not pure white). --- anonstream/templates/nojs_chat_form.html | 1 + anonstream/templates/nojs_chat_messages.html | 1 + anonstream/templates/nojs_chat_users.html | 1 + anonstream/templates/nojs_info.html | 1 + anonstream/templates/nojs_stream.html | 1 + 5 files changed, 5 insertions(+) diff --git a/anonstream/templates/nojs_chat_form.html b/anonstream/templates/nojs_chat_form.html index 8af9f81..8eeb650 100644 --- a/anonstream/templates/nojs_chat_form.html +++ b/anonstream/templates/nojs_chat_form.html @@ -21,6 +21,7 @@ height: 100%; color: #ddd; font-family: sans-serif; + background-color: #232327; } a { color: var(--link-color); diff --git a/anonstream/templates/nojs_chat_messages.html b/anonstream/templates/nojs_chat_messages.html index 27209f6..91999cd 100644 --- a/anonstream/templates/nojs_chat_messages.html +++ b/anonstream/templates/nojs_chat_messages.html @@ -24,6 +24,7 @@ font-family: sans-serif; font-size: 11pt; transform: rotate(180deg); + background-color: #232327; } .button { diff --git a/anonstream/templates/nojs_chat_users.html b/anonstream/templates/nojs_chat_users.html index b352446..a5da3b0 100644 --- a/anonstream/templates/nojs_chat_users.html +++ b/anonstream/templates/nojs_chat_users.html @@ -18,6 +18,7 @@ margin: 0; color: #ddd; font-family: sans-serif; + background-color: #121214; } #timeout { height: 0; diff --git a/anonstream/templates/nojs_info.html b/anonstream/templates/nojs_info.html index 1563f6a..362abb1 100644 --- a/anonstream/templates/nojs_info.html +++ b/anonstream/templates/nojs_info.html @@ -15,6 +15,7 @@ margin: 0.75ch 1.25ch; font-family: sans-serif; color: #ddd; + background-color: #18181a; } #float { float: right; diff --git a/anonstream/templates/nojs_stream.html b/anonstream/templates/nojs_stream.html index 178e063..5eba22a 100644 --- a/anonstream/templates/nojs_stream.html +++ b/anonstream/templates/nojs_stream.html @@ -18,6 +18,7 @@ overflow: hidden; color: #ddd; font-family: sans-serif; + background-color: black; } {% if online %} #video {