New bookmarklet button

This commit is contained in:
Tom Slominski
2013-12-30 23:27:33 +00:00
parent b3cc086649
commit cc8cdcc9cd
5 changed files with 43 additions and 21 deletions

View File

@@ -29,10 +29,32 @@ a, a:visited, .footer a, .footer a:visited {
text-decoration: none;
}
p {
p, a {
font-size: 1.2em;
}
@font-face {
font-family: 'icons';
src:url('fonts/icons.woff') format('woff'),
url('fonts/icons.ttf') format('truetype'),
url('fonts/icons.svg#icons') format('svg');
font-weight: normal;
font-style: normal;
}
[class^="icon-"], [class*=" icon-"] {
font-family: 'icons';
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Structure */
body {
background: #F1F1F1;
@@ -142,22 +164,10 @@ input[type="radio"] {
margin-right: 1%;
}
a.bookmarklet {
border-radius: 11px;
background: #ddd url(../img/button.png) repeat-x;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(1, #ddd));
background: -moz-linear-gradient(top center, #fff 0%, #ddd 100%);
border: 1px solid;
border-color: #ddd #bbb #999;
cursor: pointer;
color: #333;
font: bold 12px/1.2 Arial, sans-serif;
outline: 0;
overflow: visible;
padding: 3px 10px 4px;
text-shadow: #fff 0 1px 1px;
text-decoration: none;
margin-right: 2%;
.bookmarklet:before {
font-family: 'icons';
content: "\e600";
margin: 2px;
}
/* Tooltips */