Skip to content

Commit 5874ba8

Browse files
committed
Add "Fork me on GitHub" link.
1 parent 5547ccc commit 5874ba8

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

Diff for: docs/_layouts/default.html

+5
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,14 @@
2626
<link rel="apple-touch-icon-precomposed" href="http://theme.thephpleague.com/img/apple-touch-icon-precomposed.png">
2727
{% endif %}
2828
<link rel="stylesheet" href="http://theme.thephpleague.com/css/all.css">
29+
<link rel="stylesheet" href="/css/custom.css">
2930
</head>
3031
<body>
3132

33+
<a href="https://github.com/thephpleague/plates" class="github">
34+
<img src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png">
35+
</a>
36+
3237
<section class="all_packages">
3338
<a href="http://thephpleague.com/">
3439
<img src="http://theme.thephpleague.com/img/loep_logo.png" width="195" height="200" alt="The League of Extraordinary Packages">

Diff for: docs/css/custom.scss

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
---
3+
4+
.github {
5+
position: absolute;
6+
top: 0;
7+
right: 0;
8+
border: 0;
9+
z-index: 1000;
10+
}
11+
12+
@media screen and (max-width: 1065px) {
13+
.github {
14+
display: none;
15+
}
16+
}

0 commit comments

Comments
 (0)