Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name AtlasF1 CleanCompact
- // @namespace Atlasf1.com
- // @include http://forums.autosport.com/*
- // @grant none
- // @version 1
- // ==/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('table.ipb_table td { padding: 3px }');
- addGlobalStyle('.post_block h3 { height: 22px; line-height: 22px; background: #DDDDDD; }');
- addGlobalStyle('.post_block h3 a, body .post_block h3 .ip { color: #000000;}');
- addGlobalStyle('table.ipb_table td { padding: 4px; background: #DDDDDD }');
- addGlobalStyle('.post_body { line-height: 1 }');
- addGlobalStyle('table.ipb_table td {border-bottom: 3px solid #FFFFFF;}' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement