|
Hello,
Your script Colorful Search 1.2.3, also colourize and add a padding/margin to the top left links in the Google search result page:
Web
Images
Vidéos
Maps
Actualités
Traduction
Gmail
plus
Please, look at the attached screen-shot.
https://docs.google.com/leaf?id=0B2AhS-W7ydCiZm...
To fix this, I just added this code at the end of your script:
(function() {
var css = "@namespace url(http://www.w3.org/1999/xhtml); li.gbt{margin:0 !important;padding:0 !important;border-width:0 !important; background-color: inherit !important;}";
if (typeof GM_addStyle != "undefined") {
GM_addStyle(css);
} else if (typeof addStyle != "undefined") {
addStyle(css);
} else {
var heads = document.getElementsByTagName("head");
if (heads.length > 0) {
var node = document.createElement("style");
node.type = "text/css";
node.appendChild(document.createTextNode(css));
heads[0].appendChild(node);
}
}
})();
Thanks and regards.
|