forked from TIEDC/gitWorkshop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 781b667
Showing
6 changed files
with
142 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Hacktoberfest Census | ||
|
||
A census of those participating in Hacktoberfest 2017 (and an easy PR!) | ||
|
||
This census has a live webpage [here](https://cutwell.github.io/gitWorkshop), it's automatically updated every time a PR is accepted! | ||
|
||
--- | ||
![Hacktoberfest-Census](static/img/Hackcensus.png "Hacktoberfest-Census") | ||
--- | ||
|
||
### Contributing | ||
Fork this project and add your username + profile link to the [Census](https://github.com/TIEDC/gitWorkshop) list below, then make a Pull Request to add your name to this repository like so.. | ||
```markdown | ||
[Cutwell](https://github.com/TIEDC) | ||
``` | ||
|
||
### Census | ||
- [BashCloud](https://github.com/BashCloud) | ||
- [prashasy](https://github.com/prashasy) | ||
- [akhilesh-k](https://github.com/akhilesh-k) | ||
- [uditpilania](https://github.com/uditpilania) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<html lang="en"> | ||
|
||
<head> | ||
<title>Hacktoberfest Participation</title> | ||
<link rel="icon" href="static/img/favicon.png"> | ||
|
||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | ||
<link href="https://fonts.googleapis.com/css?family=Josefin+Sans" rel="stylesheet"> | ||
<meta name="viewport" content="width=device-width"> | ||
<script src="static/js/get_census.js"></script> | ||
<link rel="stylesheet" href="static/css/style.css"> | ||
</head> | ||
|
||
<body> | ||
<div class="fill top"> | ||
<img class="center banner" src="static/img/Hackcensus.png"> | ||
<p class="center repo-desc"> A census of those participating in <a href="https://hacktoberfest.digitalocean.com/">#Hacktoberfest</a> </p><br /> | ||
<a class="center repo-link" href="https://github.com/TIEDC/gitWorkshop"> Instructions </a> | ||
</div> | ||
|
||
<div class="fill bottom"> | ||
<h1 class="center census-title" id="census-count"></h1> | ||
<ul id="census-list"></ul> | ||
</div> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
body { | ||
margin: 0em; | ||
padding: 0em; | ||
height: 100%; | ||
width: 100%; | ||
font-family: 'Josefin Sans', sans-serif; | ||
background-color: #fff; | ||
} | ||
a { | ||
text-decoration: none; | ||
} | ||
a:hover { | ||
text-decoration: underline; | ||
} | ||
br { | ||
line-height: 3em; | ||
} | ||
.fill { | ||
height: 100%; | ||
width: 100%; | ||
position: relative; | ||
} | ||
.center { | ||
display: block; | ||
margin: auto; | ||
width: 50%; | ||
text-align: center; | ||
} | ||
.top { | ||
background-color: #ff8764; | ||
height: 100vh; | ||
} | ||
.bottom { | ||
background-color: #fff; | ||
margin: 1em; | ||
} | ||
.banner { | ||
height: auto; | ||
max-width: 50em; | ||
width: 100%; | ||
} | ||
.repo-desc { | ||
font-size: 2em; | ||
} | ||
.repo-link { | ||
color: #000; | ||
background-color: #fff; | ||
text-align: center; | ||
font-size: 2em; | ||
padding-top: 0.5em; | ||
padding-bottom: 0.5em; | ||
-webkit-transition-duration: 0.4s; /* Safari */ | ||
transition-duration: 0.4s; | ||
width: 10em; | ||
height: 1em; | ||
} | ||
.repo-link:hover { | ||
text-decoration: none; | ||
background-color: #008cba; | ||
color: #fff; | ||
} | ||
.census-title { | ||
font-size: 2.3em; | ||
padding: 1em; | ||
} | ||
.census-list { | ||
|
||
} | ||
.census-item { | ||
font-size: 1em; | ||
float:left; | ||
padding: 0.2em; | ||
padding-right: 2em; | ||
} | ||
ul.items li:nth-child(3n+4) { | ||
clear:left; | ||
float:left; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
$.get( | ||
"https://raw.githubusercontent.com/Cutwell/Hacktoberfest-Census/master/README.md", | ||
function(file) { | ||
var census_md = file.split("### Census")[1].split("\n"); | ||
census_md.map((user) => { | ||
if(user == ""){ | ||
return; | ||
} | ||
var name = user.substring(user.lastIndexOf("[")+1, user.lastIndexOf("]")); | ||
var url = user.substring(user.lastIndexOf("(")+1, user.lastIndexOf(")")); | ||
$("#census-list").append("<li class='census-item'><a href="+url+">"+name+"</a></li>"); | ||
}); | ||
var census_count = census_md.length - 2; | ||
$("#census-count").html(census_count+" Contributors:"); | ||
} | ||
); |