Skip to content

Instantly share code, notes, and snippets.

@Cside
Created November 2, 2010 06:34
Show Gist options
  • Save Cside/659329 to your computer and use it in GitHub Desktop.
Save Cside/659329 to your computer and use it in GitHub Desktop.
(function bookmarkIconStyleSetup() {
GM_addStyle([
"div.tooltip {",
" display: block;",
" position: absolute;",
" margin: 0px;",
" max-width: 50%;",
" padding: 5px;",
" z-index: 2;",
" list-style: none;",
" background-color: white;",
" border: 1px solid;",
" border-color: #DDD #AAA #AAA #DDD;",
" text-align: left;",
" font: normal normal normal 100%/1.4 Arial, Helvetica, sans-serif;",
"}",
"div.bookmark-entry-tooltip-header {",
" border-bottom: 1px solid #DDD;",
" margin-bottom: 3px;",
" padding: 0px 0px 3px;",
" display: block;",
"}",
"img.profile-image {",
" width: 16px;",
" height: 16px;",
" margin: 0px 0.1em;",
" cursor: pointer;",
" common.css:18",
" border: none;",
" vertical-align: middle;",
"}",
"span.tags {",
" font-size: 90%;",
" padding-right: 4px;",
"}",
"span.user-tag {",
" color: #66C;",
" text-decoration: none; ",
" cursor: auto;",
"}",
"span.timestamp {",
" font-size: 90%;",
" padding-right: 4px;",
" color: #999;",
"}",
"span.comment {",
" padding-right: 4px; ",
"}",
"div#container {",
" background-color : rgba(255, 255, 255, 0.496094);",
" border-bottom-left-radius : 2px 2px;",
" border-bottom-right-radius : 2px 2px;",
" border-top-left-radius : 2px 2px;",
" border-top-right-radius : 2px 2px;",
" display : inline-block;",
" max-width : 200px;",
" margin : 0px; ",
" padding : 2px;",
"}"
].join(''));
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment