Permalink
Browse files

Switch to using github buttons under contribute section

  • Loading branch information...
1 parent c78fd2f commit 1b939cab1bfa5a92b62c58d4c365c71e3c905906 @meltingice committed Jan 7, 2013
Showing with 30 additions and 5 deletions.
  1. +11 −1 _assets/sass/sections/home.css.scss
  2. +19 −4 index.html
@@ -5,10 +5,16 @@
}
.HomeLinks {
+ &.Across2 {
+ .LinksSection {
+ width: 280px;
+ }
+ }
+
.LinksSection {
float: left;
width: 180px;
- margin: 0 10px;
+ margin: 0 10px 10px 10px;
h4, p {
margin: 0;
@@ -33,6 +39,10 @@
}
}
+ iframe {
+ margin: 10px 0;
+ }
+
.CopyCommand {
margin: 10px 0 !important;
}
View
@@ -104,20 +104,35 @@
<p>Both <a href="https://github.com/meltingice/CamanJS">CamanJS</a> and <a href="https://github.com/meltingice/CamanJS-Site">this website</a> are fully open-source and accepting pull requests. To contribute: fork either project, create a new branch for your changes, and send a pull request when ready.</p>
- <div class="HomeLinks">
+ <div class="HomeLinks Across2">
<div class="LinksSection">
<h4>CamanJS</h4>
- <a href="https://github.com/meltingice/CamanJS">View on GitHub</a>
+
+ <iframe src="http://ghbtns.com/github-btn.html?user=meltingice&repo=CamanJS&type=watch&count=true"
+ allowtransparency="true" frameborder="0" scrolling="0" width="110" height="20"></iframe>
+
+ <iframe src="http://ghbtns.com/github-btn.html?user=meltingice&repo=CamanJS&type=fork&count=true"
+ allowtransparency="true" frameborder="0" scrolling="0" width="110" height="20"></iframe>
</div>
<div class="LinksSection">
<h4>CamanJS Plugins</h4>
- <a href="https://github.com/meltingice/CamanJS-Plugins">View on GitHub</a>
+
+ <iframe src="http://ghbtns.com/github-btn.html?user=meltingice&repo=CamanJS-Plugins&type=watch&count=true"
+ allowtransparency="true" frameborder="0" scrolling="0" width="110" height="20"></iframe>
+
+ <iframe src="http://ghbtns.com/github-btn.html?user=meltingice&repo=CamanJS-Plugins&type=fork&count=true"
+ allowtransparency="true" frameborder="0" scrolling="0" width="110" height="20"></iframe>
</div>
<div class="LinksSection">
<h4>CamanJS Website</h4>
- <a href="https://github.com/meltingice/CamanJS-Site">View on GitHub</a>
+
+ <iframe src="http://ghbtns.com/github-btn.html?user=meltingice&repo=CamanJS-Site&type=watch&count=true"
+ allowtransparency="true" frameborder="0" scrolling="0" width="110" height="20"></iframe>
+
+ <iframe src="http://ghbtns.com/github-btn.html?user=meltingice&repo=CamanJS-Site&type=fork&count=true"
+ allowtransparency="true" frameborder="0" scrolling="0" width="110" height="20"></iframe>
</div>
</div>

0 comments on commit 1b939ca

Please sign in to comment.