Skip to content

Latest commit

 

History

History
75 lines (64 loc) · 2.15 KB

links.rst

File metadata and controls

75 lines (64 loc) · 2.15 KB

Helpful Links

Fork me on GitHub /*! * Adapted from * "Fork me on GitHub" CSS ribbon v0.2.0 | MIT License * <a href="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/simonwhitaker/github-fork-ribbon-css">https://github.com/simonwhitaker/github-fork-ribbon-css</a> */ .github-fork-ribbon, .github-fork-ribbon:hover, .github-fork-ribbon:hover:active { background:none; left: inherit; width: 12.1em; height: 12.1em; position: absolute; overflow: hidden; top: 0; right: 0; z-index: 9999; pointer-events: none; text-decoration: none; text-indent: -999999px; } .github-fork-ribbon:before, .github-fork-ribbon:after { /* The right and left classes determine the side we attach our banner to */ position: absolute; display: block; width: 15.38em; height: 1.54em; top: 3.23em; right: -3.23em; box-sizing: content-box; transform: rotate(45deg); } .github-fork-ribbon:before { content: ""; padding: .38em 0; background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1)); box-shadow: 0 0.07em 0.4em 0 rgba(0, 0, 0, 0.3); pointer-events: auto; } .github-fork-ribbon:after { content: attr(title); color: #000; font: 700 1em "Helvetica Neue", Helvetica, Arial, sans-serif; line-height: 1.54em; text-decoration: none; text-align: center; text-indent: 0; padding: .15em 0; margin: .15em 0; border-width: .08em 0; border-style: dotted; border-color: #777; }