Permalink
Browse files

added 'fork me on github'-ribbon

  • Loading branch information...
1 parent ebd2429 commit 3ad098d0e010bc5e645bb06cd40c519a1ec68277 Florian Holzner committed May 5, 2011
Showing with 23 additions and 0 deletions.
  1. +23 −0 css/mylibs/githubribbon.css
@@ -0,0 +1,23 @@
+.ribbon {
+ z-index: +1;
+ background-color: #a00;
+ overflow: hidden;
+ position: absolute;
+ -moz-box-shadow: 0 0 1em #888;
+ -webkit-box-shadow: 0 0 1em #888;
+ -moz-transform: rotate(45deg);
+ -webkit-transform: rotate(45deg);
+}
+.ribbon a {
+ z-index: +2;
+ border: 1px solid #faa;
+ color: #fff;
+ display: block;
+ font: bold 81.25% 'Helvetiva Neue', Helvetica, Arial, sans-serif;
+ margin: 0.05em 0 0.075em 0;
+ padding: 0.5em 3.5em;
+ text-align: center;
+ text-decoration: none;
+ /* shadow */
+ text-shadow: 0 0 0.5em #444;
+}

0 comments on commit 3ad098d

Please sign in to comment.