Skip to content

Commit

Permalink
Fix 'Fork me on GitHub' banner (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
tumbarumba authored May 31, 2024
1 parent e4b9afd commit 535cd88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/_includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
<title>{{ page.title }}</title>
<link href="css/hamcrest.css" rel="stylesheet" type="text/css">
<link href="css/pygments-default.css" rel="stylesheet" type="text/css">
<style>#forkongithub a{background:#070;color:#fff;text-decoration:none;font-family:arial,sans-serif;text-align:center;font-weight:bold;padding:5px 40px;font-size:1rem;line-height:2rem;position:relative;transition:0.5s;}#forkongithub a:hover{background:#0a0;color:#fff;}#forkongithub a::before,#forkongithub a::after{content:"";width:100%;display:block;position:absolute;top:1px;left:0;height:1px;background:#fff;}#forkongithub a::after{bottom:1px;top:auto;}@media screen and (min-width:800px){#forkongithub{position:absolute;display:block;top:0;right:0;width:200px;overflow:hidden;height:200px;z-index:9999;}#forkongithub a{width:200px;position:absolute;top:60px;right:-60px;transform:rotate(45deg);-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);-moz-transform:rotate(45deg);-o-transform:rotate(45deg);box-shadow:4px 4px 10px rgba(0,0,0,0.8);}}</style>
</head>
4 changes: 2 additions & 2 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<span style="float:right;">
Released under the <a href="http://opensource.org/licenses/BSD-3-Clause">BSD License</a>.
</span>
Copyright 2012-2019 <a href="http://hamcrest.org">hamcrest.org</a>
Copyright 2012-2024 <a href="http://hamcrest.org">hamcrest.org</a>
</footer>
<a href="http://github.com/hamcrest/JavaHamcrest"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png" alt="Fork me on GitHub"></a>
<span id="forkongithub"><a href="https://github.com/hamcrest/JavaHamcrest">Fork me on GitHub</a></span>
</body>
</html>

0 comments on commit 535cd88

Please sign in to comment.