Skip to content

Commit

Permalink
Use HTTPS where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed Feb 11, 2016
1 parent 2c6ab76 commit 1e7a871
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ in CSS, hence resolution-independent.
## Using "Fork me on GitHub" CSS ribbon with a CDN

CDN provided by [cdnjs](https://cdnjs.com/libraries/github-fork-ribbon-css)
```
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.1.1/gh-fork-ribbon.min.css" />

```html
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.1.1/gh-fork-ribbon.min.css" />
<!--[if lt IE 9]>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.1.1/gh-fork-ribbon.ie.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.1.1/gh-fork-ribbon.ie.min.css" />
<![endif]-->
```

See 'em in action! <http:https://simonwhitaker.github.io/github-fork-ribbon-css/>
See 'em in action! <https:https://simonwhitaker.github.io/github-fork-ribbon-css/>

Feel free to fork, tweak and send me a pull request.

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "github-fork-ribbon-css",
"version": "0.1.1",
"homepage": "http:https://simonwhitaker.github.io/github-fork-ribbon-css/",
"homepage": "https:https://simonwhitaker.github.io/github-fork-ribbon-css/",
"authors": [
"Simon Whitaker"
],
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Fork me on GitHub CSS Ribbon</title>
<link rel="stylesheet" href="//oss.maxcdn.com/libs/normalize-css/3.0.0/normalize.min.css">
<link rel="stylesheet" href="https://oss.maxcdn.com/libs/normalize-css/3.0.0/normalize.min.css">
<style>
/* This is just the styling for this page. See below for the CSS for the ribbon itself. */
html {
Expand Down Expand Up @@ -112,7 +112,7 @@ <h2>Using with cdnjs</h2>
<h2>About</h2>
<p>
This project was written by
<a href="http:https://twitter.com/s1mn/">Simon Whitaker</a>.
<a href="https:https://twitter.com/s1mn">Simon Whitaker</a>.
It is not endorsed in any way by GitHub.
</p>
</div>
Expand Down

0 comments on commit 1e7a871

Please sign in to comment.