Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions _data/nav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
url: /learn/
- title: Compilers
url: /compilers/
- title: Community
url: /community/
- title: Packages
url: /packages
- title: News
Expand Down
12 changes: 12 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<meta name="description" content="{{site.description}}">
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title }}</title>
<link href="https://fonts.googleapis.com/css?family=Lato:400,700,900" rel="stylesheet">
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.0/themes/smoothness/jquery-ui.css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.0/normalize.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.rawgit.com/konpa/devicon/df6431e323547add1b4cf45992913f15286456d3/devicon.min.css">
Expand All @@ -15,6 +16,12 @@
<link href="{{ site.baseurl }}/assets/css/syntax.css" rel="stylesheet">
<link rel="canonical" href="{{ site.url }}{% if page.canonical_url %}{{ page.canonical_url }}{% else %}{{ page.url }}{% endif %}" />
<script src="https://kit.fontawesome.com/8d17d4fe97.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/octicons/2.0.2/octicons.min.css">
<link rel="stylesheet" href="{{ site.baseurl }}/assets/github-activity-0.1.5/github-activity-0.1.5.min.css">
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mustache.js/0.7.2/mustache.min.js"></script>
<script type="text/javascript" src="{{site.baseurl}}/assets/github-activity-0.1.5/github-activity-0.1.5.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.bundle.min.js" integrity="sha256-TQq84xX6vkwR0Qs1qH5ADkP+MvH0W+9E7TdHJsoIQiM=" crossorigin="anonymous"></script>

<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
Expand All @@ -27,9 +34,14 @@
{% include footer.html %}

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.0/jquery-ui.min.js"></script>
{% include google_analytics.html %}
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script src="{{ site.baseurl }}/assets/js/fortranlang.js"></script>
<script src="{{ site.baseurl }}/assets/js/page_nav.js"></script>
<script src="{{ site.baseurl }}/assets/js/gh-contributors.js"></script>
<script src="{{ site.baseurl }}/assets/js/package_search.js"></script>
<script src="{{ site.baseurl }}/assets/js/package_tags.js"></script>
<script>
feather.replace()
</script>
Expand Down
69 changes: 58 additions & 11 deletions assets/css/main.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
layout: null
---

* {
-moz-box-sizing: border-box;
box-sizing: border-box;
Expand Down Expand Up @@ -57,6 +61,8 @@ a {
background-color: #777;
}



#page-nav {
padding-left: 20px;
}
Expand Down Expand Up @@ -101,6 +107,11 @@ a[target="_blank"]:after {
margin: 0px;
}

.hidenewwindow[target="_blank"]:after {
content:'';
margin: 0px;
}

/* Hide text for social navbar icons
if not on mobile device*/
@media (min-width: 758px) {
Expand Down Expand Up @@ -159,6 +170,16 @@ pre {
vertical-align: top;
}

.col-flex.contributor {
/* display: table-cell; */
flex: 30%;
margin: 10px;
padding: 10px;
vertical-align: top;
border-radius: 10px;
background-color: #fff;
}

@media screen and (max-width: 700px) {
.col-flex {
flex: 100%;
Expand Down Expand Up @@ -240,9 +261,23 @@ pre {
}
}

.col-center {
display: block;
margin: 0 auto;
width: 100%;
}
@media (min-width: 568px) {
.col-center {
display: block;
margin: 0 auto;
width: 60%;
}
}

.col-wide,
.col-narrow {
display: block;
padding: 10px 0px;
}
@media (min-width: 568px) {
.col-wide {
Expand Down Expand Up @@ -346,25 +381,32 @@ pre {
width: 100%;
}

.search-form {
width: 100%;
position: relative;
padding: 15px;
}

.search-btn {
display: inline-block;
text-align: center;
vertical-align: middle;
background-color: #3c92d1;
color: #fff;
font-family: 'Lato', sans-serif;
border-radius: 4px;
background-image: url('{{site.baseurl}}/assets/img/search.svg');
background-repeat: no-repeat;
background-color: transparent;
padding: 5px 7px;
}

.search-btn:hover {
background-color: #3889c4;
color: white;
position: absolute;
right: 20px;
border: 0px;
width: 33px;
margin-top: 10px;
}

.search-box {
width: 85%;
padding: 5px 7px;
/* width: 85%; */
padding: 10px 50px 10px 10px;
width: 100%;
/* padding: 0 auto; */
color: #777;
font-weight: bold;
}
Expand Down Expand Up @@ -437,4 +479,9 @@ footer a {

padding: 4px;

}


svg.feather {
vertical-align: top;
}
9 changes: 9 additions & 0 deletions assets/github-activity-0.1.5/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
### The MIT License (MIT)

Copyright (c) 2015 Casey Scarborough

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
72 changes: 72 additions & 0 deletions assets/github-activity-0.1.5/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# GitHub Activity Stream Widget

This is a small Javascript plugin that creates a stream of your recent GitHub activity. It displays the user's name, username, photo, and a list of each individual activity type. Click [here](https://caseyscarborough.github.io/github-activity) for a demo.

A sample image of the activity stream is shown below:

![](https://raw.githubusercontent.com/caseyscarborough/github-activity/gh-pages/images/matz.png)

## Dependencies

The two dependencies for the plugin are the [Mustache](https://github.com/janl/mustache.js/) templating library and [Octicons](https://octicons.github.com/) (if you want the icons to show). You can include these along with the scripts for the plugin in the head of your page with the following HTML:

```html
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/octicons/2.0.2/octicons.min.css">
<link rel="stylesheet" href="github-activity-0.1.5.min.css">

<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/mustache.js/0.7.2/mustache.min.js"></script>
<script type="text/javascript" src="github-activity-0.1.5.min.js"></script>
```

The files can be downloaded from the [releases page](https://github.com/caseyscarborough/github-activity/releases).

If you'd like to build the files yourself:

```bash
# Ensure you have grunt and bower installed
npm install bower
npm install grunt-cli

# Clone the repository
git clone https://github.com/caseyscarborough/github-activity.git
cd github-activity

# Install dependencies
bower install

# Build dist
grunt
```

## Usage

To use the library, begin by creating a new div with an id in the body of your page:

```html
<div id="feed"></div>
```

Then call the feed method via Javascript:

```js
GitHubActivity.feed({
username: "your-username",
repository: "your-repo", // optional
selector: "#feed",
limit: 20 // optional
});
```

## Credits

* [MD5 Methods](http://www.myersdaily.org/joseph/javascript/md5-text.html)

## Fork and Enjoy

Please feel free to contribute to the application by following the steps below:

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. Create new Pull Request
10 changes: 10 additions & 0 deletions assets/github-activity-0.1.5/github-activity-0.1.5.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading