use CSS for 'fork me on github' banner

This commit is contained in:
jomo
2014-11-06 22:40:45 +01:00
parent 1976ed13c9
commit 7b93a1ef98
2 changed files with 15 additions and 3 deletions

View File

@@ -11,10 +11,23 @@ a {
}
a.forkme {
position: fixed;
top: 0;
right: 0;
z-index: 1040;
position: fixed;
display: inline-block;
background: #008000;
box-shadow: 0 0 5px #000;
color: #fff;
font-weight: bold;
padding: 3px 40px;
border: 2px solid #006400;
-webkit-transform: rotate(45deg) translate(65px);
transform: rotate(45deg) translate(65px);
}
a.forkme:hover {
color: #ddd;
text-decoration: none;
}
mark.green {