Last active
September 14, 2015 09:21
-
-
Save sulami/7312f77cd0afddb8a679 to your computer and use it in GitHub Desktop.
Livecoding.tv Dark Chat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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