Skip to content

Commit a24dd4d

Browse files
committed
(docs) Move the "Fork me on GitHub" image to the repo
Also compress it losslessly. Before: 7,60 KB (7.791 bytes) After: 4,47 KB (4.582 bytes) Thanks to @XhmikosR
1 parent 27d3959 commit a24dd4d

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

4.47 KB
Loading

demo/index.html

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,13 @@
7474
box-shadow: 0 0 4px -1px #000;
7575
}
7676

77+
.ribbon > img {
78+
position: absolute;
79+
top: 0;
80+
right: 0;
81+
border: 0;
82+
}
83+
7784
@media (max-width: 768px) {
7885
.sm-hidden {
7986
display: none;
@@ -85,8 +92,8 @@
8592
</style>
8693
</head>
8794
<body>
88-
<a href="https://github.com/feimosi/baguetteBox.js" class="sm-hidden">
89-
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png">
95+
<a href="https://github.com/feimosi/baguetteBox.js" class="ribbon sm-hidden">
96+
<img src="img/forkme-on-github-right.png" alt="Fork me on GitHub">
9097
</a>
9198
<header>
9299
<h1>baguetteBox.js</h1>

0 commit comments

Comments
 (0)