add bitcoin donate button

This commit is contained in:
Gabriele Cirulli
2014-03-11 15:39:30 +01:00
parent 39f229a9fa
commit 9d50e7d746
3 changed files with 120 additions and 3 deletions
+64 -1
View File
@@ -493,5 +493,68 @@ hr {
// Bitcoin donate button
.btc-donate {
font-size: 14px;
// font-size: 14px;
position: relative;
margin-left: 20px;
@include button;
cursor: pointer;
img {
vertical-align: -2px;
margin-right: 8px;
}
a {
color: $bright-text-color;
text-decoration: none;
font-weight: normal;
}
.address {
// display: none;
cursor: auto;
position: absolute;
// background: red;
width: 340px;
right: 50%;
margin-right: -170px;
padding-bottom: 7px;
top: 40px;
opacity: 0;
@include transition(200ms ease);
@include transition-property(top, opacity);
&:after {
position: absolute;
border-top: 10px solid $game-container-background;
border-right: 7px solid transparent;
border-left: 7px solid transparent;
content: "";
bottom: 0px;
left: 50%;
margin-left: -7px;
}
code {
background-color: $game-container-background;
padding: 10px 15px;
width: 100%;
border-radius: 3px;
line-height: 1;
font-weight: normal;
font-size: 15px;
font-family: Consolas, "Liberation Mono", Courier, monospace;
text-align: center;
}
}
&:hover, .address:hover {
.address {
opacity: 1;
top: -45px;
}
}
}