Skip to content

Commit 94d65e2

Browse files
committed
Altered the CSS of the sample to be inline.
Update typos
1 parent 71b99bc commit 94d65e2

File tree

4 files changed

+38
-40
lines changed

4 files changed

+38
-40
lines changed

jQuery.GitHubBadge/Sample/Sample.css

Lines changed: 0 additions & 34 deletions
This file was deleted.

jQuery.GitHubBadge/Sample/Sample.html

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
<script type="text/javascript" src="../jquery.GitHubBadge.min.js"></script>
88

9-
<link rel="Stylesheet" type="text/css" href="sample.css" />
10-
119
<script type="text/javascript">
1210
$(document).ready(function() {
1311
$("#GetGithHubBadge").click(function() {
@@ -18,7 +16,41 @@
1816
});
1917
});
2018
</script>
19+
<style type="text/css">
20+
.GithubBadge
21+
{
22+
border-left: 1px solid #DFDFDF;
23+
border-top: 1px solid #DFDFDF;
24+
border-right: 1px solid #AFAFAF;
25+
border-bottom: 1px solid #AFAFAF;
26+
-webkit-border-radius:3px;
27+
-moz-border-radius:3px;
28+
border-radius:3px;
29+
background-color : #F6F6F6;
30+
padding : 5px;
31+
}
32+
33+
.GithubBadgeTitle
34+
{
35+
font-weight:bold;
36+
}
37+
38+
.GithubBadgeRepo
39+
{
40+
background : url('http://github.com/images/icons/public.png') no-repeat left center;
41+
padding-left : 22px;
42+
}
43+
44+
.GithubBadgeFork
45+
{
46+
font-style : italic;
47+
}
2148

49+
.GithubBadgeError
50+
{
51+
color:red;
52+
}
53+
</style>
2254
</head>
2355
<body>
2456
<h2>

jQuery.GitHubBadge/jquery.GitHubBadge.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
* Inspired by http://drnicjavascript.rubyforge.org/github_badge and
77
* http://mattn.github.com/jquery-github-badge/
88
*
9-
* Home Page : http://erikzaadi.github.com/jQueryPlugins/jQueryGitHubBadge
9+
* Home Page : http://erikzaadi.github.com/jQueryPlugins/jQuery.GitHubBadge
1010
* jQuery Plugin home page : http://plugins.jquery.com/project/GitHubBadge
11-
* Wiki : http://wiki.github.com/erikzaadi/jQueryPlugins/jQueryGitHubBadge
11+
* Wiki : http://wiki.github.com/erikzaadi/jQueryPlugins/jQuery.GitHubBadge
1212
*
1313
* Dual licensed under the MIT and GPL licenses:
1414
* http://www.opensource.org/licenses/mit-license.php

jQuery.GitHubBadge/jquery.GitHubBadge.min.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
* Inspired by http://drnicjavascript.rubyforge.org/github_badge and
77
* http://mattn.github.com/jquery-github-badge/
88
*
9-
* Home Page : http://erikzaadi.github.com/jQueryPlugins/jQueryGitHubBadge
9+
* Home Page : http://erikzaadi.github.com/jQueryPlugins/jQuery.GitHubBadge
1010
* jQuery Plugin home page : http://plugins.jquery.com/project/GitHubBadge
11-
* Wiki : http://wiki.github.com/erikzaadi/jQueryPlugins/jQueryGitHubBadge
11+
* Wiki : http://wiki.github.com/erikzaadi/jQueryPlugins/jQuery.GitHubBadge
1212
*
1313
* Dual licensed under the MIT and GPL licenses:
1414
* http://www.opensource.org/licenses/mit-license.php

0 commit comments

Comments
 (0)