Skip to content

Instantly share code, notes, and snippets.

@sulami
Last active September 14, 2015 09:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sulami/7312f77cd0afddb8a679 to your computer and use it in GitHub Desktop.
Save sulami/7312f77cd0afddb8a679 to your computer and use it in GitHub Desktop.
Livecoding.tv Dark Chat
// ==UserScript==
// @name Livecoding.tv Dark Chat
// @namespace webogram.fixes
// @include https://www.livecoding.tv/chat/*
// @version 1
// @grant none
// ==/UserScript==
function addGlobalStyle(css) {
var head, style;
head = document.getElementsByTagName('head')[0];
if (!head) { return; }
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
}
addGlobalStyle('div.chat-heading { background-color: #121212 !important; border: none !important}');
addGlobalStyle('div.chat-heading > div { border-bottom: 2px solid #333 }')
addGlobalStyle('#candy, #chat-pane, #chat-rooms, .message-pane-wrapper, .message-pane, .message-textarea, #message-textarea { background-color: #121212 !important; }');
addGlobalStyle('form.message-form { border-top: 2px solid #333 !important; }');
addGlobalStyle('div.jspDrag { background-color: #333 !important; }');
addGlobalStyle('#chat-rooms .message, #message-textarea { color: #888 }')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment