diff --git a/.gitignore b/.gitignore index 496ee2c..91dfed8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -.DS_Store \ No newline at end of file +.DS_Store +node_modules \ No newline at end of file diff --git a/README.md b/README.md deleted file mode 100644 index 39f5328..0000000 --- a/README.md +++ /dev/null @@ -1,56 +0,0 @@ -# jQuery Github Repos - - - -## Usage - -Use the `github-widget` class and create an attribute called `data-repo`: - -```html -
-``` - -Include jQuery: - -```html - -``` - -Include this jQuery plugin: - -```html - -``` - -Call the plugin: - -```html - -``` - -And that's it \o/ - -## Contributing - -1. Fork it! -2. Create your feature branch: `git checkout -b my-new-feature` -3. Commit your changes: `git commit -am 'Add some feature'` -4. Push to the branch: `git push origin my-new-feature` -5. Submit a pull request :D - -## History - -* v0.3 January 13, 2013 - * Replaced single images for a sprite - * Added minified version -* v0.2 September 11, 2012 - * Code wrapped into a jQuery plugin - * Demonstration page created -* v0.1 September 10, 2012 - * Initial commit - -## License - -[MIT License](http://zenorocha.mit-license.org/) \ No newline at end of file diff --git a/assets/base.css b/assets/base.css deleted file mode 100644 index c7f2641..0000000 --- a/assets/base.css +++ /dev/null @@ -1,159 +0,0 @@ -.github-repos:nth-child(even) .github-box{ - margin-right:0 !important -} - -.github-box{ - font-family:"proxima-nova-1","proxima-nova-2","Helvetica Neue",Arial,sans-serif; - background:#fafafa; - border:1px solid #ddd; - color:#666; - -moz-border-radius:5px; - -webkit-border-radius:5px; - -o-border-radius:5px; - -ms-border-radius:5px; - -khtml-border-radius:5px; - border-radius:5px; - float:left; - margin-right:1.2em; - margin-bottom:2em; - width:46% -} - -.github-box a{ - color:#4183C4; - border:none -} - -.github-box .github-box-title{ - position:relative; - border-bottom:1px solid #ddd; - -moz-border-radius:5px 5px 0 0; - -webkit-border-radius:5px 5px 0 0; - -o-border-radius:5px 5px 0 0; - -ms-border-radius:5px 5px 0 0; - -khtml-border-radius:5px 5px 0 0; - border-radius:5px 5px 0 0; - background:#fcfcfc; - background:-moz-linear-gradient(#fcfcfc, #ebebeb); - background:-webkit-linear-gradient(#fcfcfc, #ebebeb); - -ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc',endColorstr='#ebebeb')" -} - -.github-box .github-box-title h3{ - font-family:helvetica,arial,sans-serif;font-weight:normal; - font-size:16px; - color:gray; - margin:0; - padding:10px 10px 10px 10px -} - -.github-box .github-box-title h3 .repo{ - font-weight:bold -} - -.github-box .github-box-title .github-stats{ - position:absolute; - top:10px; - right:10px; - background:white; - border:1px solid #ddd; - border-radius:3px; - font-size:11px; - font-weight:bold; - line-height:21px; - height:21px -} - -.github-box .github-box-title .github-stats a{ - display:inline-block; - height:21px; - color:#666; - padding:0 5px 0 18px; - background:url('btn-sprite.png') no-repeat; - filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=70); - opacity:0.7 -} - -.github-box .github-box-title .github-stats a:hover{ - filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100); - opacity:1 -} - -.github-box .github-box-title .github-stats .watchers{ - border-right:1px solid #ddd; - background-position:3px 4px -} - -.github-box .github-box-title .github-stats .forks{ - background-position: 2px -14px; - padding-left:15px -} - -.github-box .github-box-content{ - padding:10px; - font-weight:300; - font-size:0.7em -} - -.github-box .github-box-content p{ - margin:0 -} - -.github-box .github-box-content .link{ - font-weight:bold -} - -.github-box .github-box-download{ - position:relative; - border-top:1px solid #ddd; - background:white; - border-radius:0 0 3px 3px; - padding:10px; - height:24px -} - -.github-box .github-box-download .updated{ - margin:0; - font-size:11px; - color:#666; - line-height:24px -} - -.github-box .github-box-download .updated strong{ - font-size:12px; - font-weight:bold; - color:#000 -} - -.github-box .github-box-download .download{ - position:absolute; - display:block; - top:10px; - right:10px; - height:24px; - line-height:24px; - font-size:12px; - color:#666; - font-weight:bold; - text-shadow:0 1px 0 rgba(255,255,255,0.9); - padding:0 10px; - border:1px solid #ddd; - border-bottom-color:#bbb; - border-radius:3px; - display:block; - text-indent:-9999px; - width:24px; - padding:0; - background: url('btn-sprite.png') no-repeat 4px -31px,-webkit-linear-gradient(whiteSmoke, #E5E5E5); - background:url('btn-sprite.png') no-repeat 4px -31px,-moz-linear-gradient(#f1f7fa, #dbeaf1); - filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=70); - opacity:0.7 -} - -.github-box .github-box-download .download:hover{ - color:#527894; - border-color:#cfe3ed; - border-bottom-color:#9fc7db; - filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100); - opacity:1 -} \ No newline at end of file diff --git a/demo/css/style.css b/css/style.css similarity index 94% rename from demo/css/style.css rename to css/style.css index 8ebc404..6789118 100644 --- a/demo/css/style.css +++ b/css/style.css @@ -1,5 +1,5 @@ body { - background: #Ffffff; + background:#F8F8F8 url('../img/bg-noise.png') top left; } a { @@ -36,6 +36,7 @@ h1 { margin: 0 auto; width: 700px; text-align: center; + clear: both; } #github-logo { @@ -60,10 +61,6 @@ h1 { padding: 30px; } -.link { - display: none; -} - /* Font-face */ @font-face { diff --git a/demo/index.html b/demo/index.html deleted file mode 100644 index 074292c..0000000 --- a/demo/index.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - -A jQuery plugin to display your favorite Github Repositories.
For more informations, visit our repository.
Made with love by Zeno Rocha.
- -A jQuery plugin to display your favorite Github Repositories.
For more informations, visit our repository.
Made with love by Zeno Rocha.
+ +' + repo.description + ' — Read More
\ - \ -Latest commit to master on ' + pushed_at + '
\ - Download as zip \ -'+d.description+' — Read More
" + this.description + " — Read More
" + + ""+this.description+" — Read More