This is a recreation of the Fork me on GitHub ribbon in CSS, hence resolution-independent.
You can use github-fork-ribbon-css without installation via cdnjs.com.
Copy the following code into the <head>
of your page:
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.0/gh-fork-ribbon.min.css" />
<!--[if lt IE 9]>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.0/gh-fork-ribbon.ie.min.css" />
<![endif]-->
And this into the <body>
of your page:
<a class="github-fork-ribbon" href="https://url.to-your.repo" title="Fork me on GitHub">Fork me on GitHub</a>
See 'em in action! https://simonwhitaker.github.io/github-fork-ribbon-css/
Feel free to fork, tweak and send me a pull request.
Note: this project is not sponsored or in any way endorsed by GitHub.