Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name ESR Menu
- // @namespace ESR Menu
- // @include http://*.esreality.com/*
- // @include http://esreality.com/*
- // ==/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('#menubox {background: none repeat scroll 0 0 #000000; border-bottom: 1px solid #444444; border-top: 1px solid #444444; border-left: 1px solid #444444; border-right: 1px solid #444444; color: #FFFFFF; font-size: 12px; height: 25px;text-align:right; width: 999px; z-index: 10;}');
- addGlobalStyle('a.judgementvalue, a.judgementvalue:visited { color: #fff; } ');
- addGlobalStyle('#menuheadings a { background-image: none; background-repeat: no-repeat; padding-left: 0px; background-position: 0 2px; text-transform: uppercase; color: #fff; height: auto; text-align: right;}');
- addGlobalStyle('#menuheadings ul { margin-left: 0; padding-left: 0; display: inline; } ');
- addGlobalStyle('#menuheadings ul li { list-style-type: none; margin: 0; padding: 0; height: 13px; position: relative; left: 720px; top: -86px; width: 270px; }');
- addGlobalStyle('#menuresults { position: relative; right: -670px; top: -82px; width: 270px; padding: 0 10px 0 50px; font-family: arial; font-size: 9px; color: #000; text-transform: lowercase; }');
- addGlobalStyle('.postcontent img { max-width:670px; border:0px; } ');
- addGlobalStyle('.commentcontent img { max-width:988px; border:0px; } ');
- addGlobalStyle('.galleryimage img { max-width:960px; height:auto; border:0px; } ');
- addGlobalStyle('#infobar_left { left: 0px; } ');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement