Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name New Userscript
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description try to take over the world!
- // @author You
- // @match https://codeforces.com/*
- // @grant none
- // ==/UserScript==
- function addNewStyle(newStyle) {
- var styleElement = document.getElementById('styles_js');
- if (!styleElement) {
- styleElement = document.createElement('style');
- styleElement.type = 'text/css';
- styleElement.id = 'styles_js';
- document.getElementsByTagName('head')[0].appendChild(styleElement);
- }
- styleElement.appendChild(document.createTextNode(newStyle));
- }
- addNewStyle('*{background-color:#36393f;color:white;}')
- addNewStyle('a{background-color:transparent !important;color:white !important;}')
- addNewStyle('body{background:#36393f;}')
- addNewStyle('.second-level-menu {background-color: transparent;}')
- addNewStyle('.user-admin {color:white !important;}')
- addNewStyle('.user-black {color:white !important;}')
- addNewStyle('.roundbox {border: 1px solid white;position: relative;background-color: transparent;}')
- addNewStyle('.roundbox .caption{color: #92ade6 !important;}')
- addNewStyle('.contest-state-phase{color: #92ade6 !important;}')
- addNewStyle('.topic .title *{color: #92ade6 !important;}')
- addNewStyle('.backLava {border-radius: 25px !important;background: #73AD21 !important;padding: 20px;width: 200px;}')
- addNewStyle('.leftLava {background-color:transparent !important; background: none !important;}')
- addNewStyle('.roundbox .dark { background-color: transparent !important;}')
- addNewStyle('.roundbox .bottom-links{background-color:transparent !important;}')
- addNewStyle('.datatable .dark {background-color: transparent;}');
- addNewStyle('img {background-color: transparent;}');
- addNewStyle('span {background-color: transparent;}');
- addNewStyle('.highlighted-row td, .highlighted-row th{background-color:transparent !important}')
- addNewStyle('.problems td.act .act-item {background-color: transparent;}');
- addNewStyle('.problems .rejected-problem td.act {background-color: #ec6a36 !important;}')
- addNewStyle('.problems .accepted-problem td.act {background-color:#539a53 !important; }')
- addNewStyle('.problems .rejected-problem td.id {border-left: 6px solid #ec6a36 !important;}')
- addNewStyle('.problems .accepted-problem td.id {border-left: 6px solid #539a53 !important;}')
- addNewStyle('.roundbox {background-color:transparent !important;}')
- addNewStyle('.verdict-rejected {color: #A00;font-weight: bold;}')
- addNewStyle('.comment-table {border-style:solid}')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement