// ==UserScript==
// @name Google: no ads and compact
// @namespace http://userstyles.org
// @description I love the "Google: no ads and new style" and "Google Compact", thus I use both of them
// @author Nelson
// @include http://www.google.*/search*
// @homepage http://userstyles.org/style/show/1082
// ==/UserScript==
(function(){
var css = "/* * Basically from http://userstyles.org/style/show/728 * and http://userstyles.org/style/show/640 */ /* FOR ALL GOOGLE PROPERTIES */ * { font-family: Verdana, sans-serif !important; font-size: 11px !important; } a:link { color: #33c !important; text-decoration: none !important; } a:visited { color: #906 !important; } a:hover { background: #ff6 !important; } a:active { color: #008000 ! important; text-decoration: underline ! important; } input { padding: .2em .4em !important; } input:not([type=\"submit\"]), select { background: #ffc !important; border: 1px solid #9999FF !important; color: #330000 !important; } input:not([type=\"submit\"]):hover, select:hover { /*border: 1px solid #CC0000 !important;*/ } input[type=\"submit\"], input[type=\"button\"] { cursor: pointer !important; } #flashobjectplaceholder { width: 93% !important; } #playrightblock { width: 250px !important; } } /* * FOR GMAIL ONLY. */ div#rh>div:first-child>div:not([id=\"ap\"]) { /* remove the right-hand-side sponsor's link in GMail */ display:none !important } table.tlc tr.rr:hover { background-color: rgb(255,235,134) !important; } table.tlc tr.ur:hover { background-color: rgb(205,243,159) !important; } table.tlc tr.y:hover { background-color: #FF9 !important; } /* make the left nav. menu more clickable */ div#nav .lk { display: block !important; } div#nvl div.lk:hover { background-color: #d9f1e2 !important; } div#nav div.nl:hover, div#nds div.nl:hover { background-color: #e3ebfe !important; } /* remove the contact list and invite area */ div#nb_2, div#nb_1 { display: none !important; } } /* FOR GOOGLE SEARCH ONLY */ body { margin: 0 !important; padding: 0 1em !important; } div.g { border: solid 1px #3366CC ! important; -moz-border-radius: 10px ! important; padding: 10px ! important; background-color: #e5ecf9 ! important; margin: 1em 0 !important; } div[style*=\"clear: left;\"] { /* This is for those who have installed the GooglePreview extension. */ min-height: 85px !important; } div.g:hover { border: solid 2px red ! important; padding: 9px ! important; } td, img, div { margin: 0 !important; padding: 0 !important; } td.k { display: none !important; } td.j { width: 100% ! important; padding-left: 2em ! important; } table[align=\"right\"] { display: none ! important; } div.ch { display: none ! important; }";
PRO_addStyle(css);
PRO_roundCorner('.g')
})();