Skip to content

Commit 92c0497

Browse files
committed
adding github ribbon inside of the project
1 parent 5d0bdf0 commit 92c0497

13 files changed

+54
-0
lines changed
File renamed without changes.

assets/btn-sprite.png

1.56 KB
Loading

css/style.css renamed to demo/css/style.css

+7
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ p{
3939
opacity: 0.4;
4040
}
4141

42+
.github-ribbon {
43+
position: absolute;
44+
top: 0;
45+
right: 0;
46+
border: 0;
47+
}
48+
4249
.projects{
4350
width:700px;
4451
margin:0 auto;
File renamed without changes.
File renamed without changes.

demo/img/github-ribbon.png

6.73 KB
Loading

demo/index.html

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<!DOCTYPE HTML>
2+
<html lang="en-US">
3+
<head>
4+
5+
<meta charset="UTF-8">
6+
<title>jQuery Github Repos</title>
7+
8+
<!-- Plugin CSS -->
9+
<link rel="stylesheet" href="../assets/base.css">
10+
11+
<!-- Demo CSS -->
12+
<link rel="stylesheet" href="css/style.css">
13+
14+
</head>
15+
<body>
16+
17+
<div class="title">
18+
<h1>jQuery Github Repos</h1>
19+
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
20+
tempor<br> incididunt ut labore et dolore
21+
magna aliqua. Ut enim ad minim veniam
22+
</p>
23+
</div>
24+
25+
<div class="projects">
26+
27+
<div class="github-widget" data-repo="jquery-boilerplate/boilerplate"></div>
28+
<div class="github-widget" data-repo="zenorocha/diveintohtml5"></div>
29+
<div class="github-widget" data-repo="zenorocha/talks"></div>
30+
<div class="github-widget" data-repo="zenorocha/hub.me"></div>
31+
</div>
32+
33+
<img id="github-logo" src="img/cat.png" alt="Github's Logo" />
34+
35+
<a href="https://github.com/zenorocha/github-project-repos">
36+
<img class="github-ribbon" src="img/github-ribbon.png" alt="Fork me on GitHub">
37+
</a>
38+
39+
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
40+
<script src="../jquery.github.repos.js"></script>
41+
42+
<script>
43+
$('.github-widget').githubWidget();
44+
</script>
45+
46+
</body>
47+
</html>

img/download.png

-1.06 KB
Binary file not shown.

img/repo.png

-1.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)