-
Notifications
You must be signed in to change notification settings - Fork 989
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
Jurgen Leschner
committed
Oct 6, 2016
0 parents
commit ff147bf
Showing
17 changed files
with
929 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,3 @@ | ||
_site | ||
.sass-cache | ||
Gemfile.lock |
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,4 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem "github-pages", :github => "github/pages-gem", :branch => "jekyll-v3-3-0" | ||
gemspec |
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,22 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2015 Jason Costello | ||
https://github.com/jasoncostello/slate | ||
|
||
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. |
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,58 @@ | ||
# Slate `jekyll-theme-slate` | ||
|
||
Slate is a Jekyll theme for [GitHub Pages](https://pages.github.com). | ||
|
||
You can preview the theme at http://pages-theme.github.io/slate. | ||
|
||
### Usage | ||
|
||
This theme was ported from the GitHub Automatic Page Generator to a Jekyll v3.3 theme gem. | ||
|
||
To use it on a Pages site, add `theme: jekyll-theme-slate` to your `_config.yml`. | ||
|
||
```yml | ||
theme: jekyll-theme-slate | ||
title: Custom title | ||
description: Custom description. | ||
show_downloads: true | ||
google_analytics: | ||
``` | ||
- To override the repository name or description from GitHub used in the header, set a `title` or `description`. | ||
- Set `show_downloads` to `false` to hide the download buttons in the header. | ||
- Set `google_analytics` to your tracking ID to enable pageview tracking. | ||
|
||
This theme includes a single `default` layout. Markdown files should be prefixed with the following frontmatter. | ||
|
||
``` | ||
--- | ||
layout: default | ||
--- | ||
|
||
``` | ||
#### CSS | ||
For CSS customization, create your own `/assets/css/styles.scss` in your project to replace the one from this theme, and override selected stylesheet properties. | ||
```scss | ||
--- | ||
--- | ||
@import "rouge-base16-dark"; | ||
@import "tactile"; | ||
``` | ||
|
||
#### Syntax Highlighting | ||
|
||
[Rouge](http://rouge.jneen.net/) is the default highlighter in Jekyll 3. This theme includes the `base16.dark` stylesheet from Rouge. | ||
|
||
To switch syntax highlighting colors to say `monokai`, install the `rouge` gem and run the following on the command line. | ||
|
||
``` | ||
mkdir _scss | ||
rougify style monokai > _scss/rouge-monokai.scss | ||
``` | ||
|
||
Then replace `rouge-base16-dark` with `rouge-monokai` in `/assets/css/styles.scss` | ||
|
||
Other pygments highlighter themes should work as well. |
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,5 @@ | ||
title: Slate theme | ||
description: Slate is a theme for GitHub Pages. | ||
show_downloads: true | ||
google_analytics: | ||
theme: |
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,53 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset='utf-8'> | ||
<meta http-equiv="X-UA-Compatible" content="chrome=1"> | ||
<meta name="description" content="{{ site.title | default: site.github.repository_name }} : {{ site.description | default: site.github.project_tagline }}"> | ||
|
||
<link rel="stylesheet" type="text/css" media="screen" href="{{ '/assets/css/styles.css' | relative_url }}"> | ||
|
||
<title>{{ site.title | default: site.github.repository_name }}</title> | ||
</head> | ||
|
||
<body> | ||
|
||
<!-- HEADER --> | ||
<div id="header_wrap" class="outer"> | ||
<header class="inner"> | ||
<a id="forkme_banner" href="{{ site.github.repository_url }}">View on GitHub</a> | ||
|
||
<h1 id="project_title">{{ site.title | default: site.github.repository_name }}</h1> | ||
<h2 id="project_tagline">{{ site.description | default: site.github.project_tagline }}</h2> | ||
|
||
{% if site.show_downloads %} | ||
<section id="downloads"> | ||
<a class="zip_download_link" href="{{ site.github.zip_url }}">Download this project as a .zip file</a> | ||
<a class="tar_download_link" href="{{ site.github.tar_url }}">Download this project as a tar.gz file</a> | ||
</section> | ||
{% endif %} | ||
</header> | ||
</div> | ||
|
||
<!-- MAIN CONTENT --> | ||
<div id="main_content_wrap" class="outer"> | ||
<section id="main_content" class="inner"> | ||
{{ content }} | ||
</section> | ||
</div> | ||
|
||
<!-- FOOTER --> | ||
<div id="footer_wrap" class="outer"> | ||
<footer class="inner"> | ||
{% if site.github.is_project_page %} | ||
<p class="copyright">{{ site.title | default: site.github.repository_name }} maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p> | ||
{% endif %} | ||
<p>Published with <a href="https://pages.github.com">GitHub Pages</a></p> | ||
</footer> | ||
</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,209 @@ | ||
.highlight table td { padding: 5px; } | ||
.highlight table pre { margin: 0; } | ||
.highlight .cm { | ||
color: #999988; | ||
font-style: italic; | ||
} | ||
.highlight .cp { | ||
color: #999999; | ||
font-weight: bold; | ||
} | ||
.highlight .c1 { | ||
color: #999988; | ||
font-style: italic; | ||
} | ||
.highlight .cs { | ||
color: #999999; | ||
font-weight: bold; | ||
font-style: italic; | ||
} | ||
.highlight .c, .highlight .cd { | ||
color: #999988; | ||
font-style: italic; | ||
} | ||
.highlight .err { | ||
color: #a61717; | ||
background-color: #e3d2d2; | ||
} | ||
.highlight .gd { | ||
color: #000000; | ||
background-color: #ffdddd; | ||
} | ||
.highlight .ge { | ||
color: #000000; | ||
font-style: italic; | ||
} | ||
.highlight .gr { | ||
color: #aa0000; | ||
} | ||
.highlight .gh { | ||
color: #999999; | ||
} | ||
.highlight .gi { | ||
color: #000000; | ||
background-color: #ddffdd; | ||
} | ||
.highlight .go { | ||
color: #888888; | ||
} | ||
.highlight .gp { | ||
color: #555555; | ||
} | ||
.highlight .gs { | ||
font-weight: bold; | ||
} | ||
.highlight .gu { | ||
color: #aaaaaa; | ||
} | ||
.highlight .gt { | ||
color: #aa0000; | ||
} | ||
.highlight .kc { | ||
color: #000000; | ||
font-weight: bold; | ||
} | ||
.highlight .kd { | ||
color: #000000; | ||
font-weight: bold; | ||
} | ||
.highlight .kn { | ||
color: #000000; | ||
font-weight: bold; | ||
} | ||
.highlight .kp { | ||
color: #000000; | ||
font-weight: bold; | ||
} | ||
.highlight .kr { | ||
color: #000000; | ||
font-weight: bold; | ||
} | ||
.highlight .kt { | ||
color: #445588; | ||
font-weight: bold; | ||
} | ||
.highlight .k, .highlight .kv { | ||
color: #000000; | ||
font-weight: bold; | ||
} | ||
.highlight .mf { | ||
color: #009999; | ||
} | ||
.highlight .mh { | ||
color: #009999; | ||
} | ||
.highlight .il { | ||
color: #009999; | ||
} | ||
.highlight .mi { | ||
color: #009999; | ||
} | ||
.highlight .mo { | ||
color: #009999; | ||
} | ||
.highlight .m, .highlight .mb, .highlight .mx { | ||
color: #009999; | ||
} | ||
.highlight .sb { | ||
color: #d14; | ||
} | ||
.highlight .sc { | ||
color: #d14; | ||
} | ||
.highlight .sd { | ||
color: #d14; | ||
} | ||
.highlight .s2 { | ||
color: #d14; | ||
} | ||
.highlight .se { | ||
color: #d14; | ||
} | ||
.highlight .sh { | ||
color: #d14; | ||
} | ||
.highlight .si { | ||
color: #d14; | ||
} | ||
.highlight .sx { | ||
color: #d14; | ||
} | ||
.highlight .sr { | ||
color: #009926; | ||
} | ||
.highlight .s1 { | ||
color: #d14; | ||
} | ||
.highlight .ss { | ||
color: #990073; | ||
} | ||
.highlight .s { | ||
color: #d14; | ||
} | ||
.highlight .na { | ||
color: #008080; | ||
} | ||
.highlight .bp { | ||
color: #999999; | ||
} | ||
.highlight .nb { | ||
color: #0086B3; | ||
} | ||
.highlight .nc { | ||
color: #445588; | ||
font-weight: bold; | ||
} | ||
.highlight .no { | ||
color: #008080; | ||
} | ||
.highlight .nd { | ||
color: #3c5d5d; | ||
font-weight: bold; | ||
} | ||
.highlight .ni { | ||
color: #800080; | ||
} | ||
.highlight .ne { | ||
color: #990000; | ||
font-weight: bold; | ||
} | ||
.highlight .nf { | ||
color: #990000; | ||
font-weight: bold; | ||
} | ||
.highlight .nl { | ||
color: #990000; | ||
font-weight: bold; | ||
} | ||
.highlight .nn { | ||
color: #555555; | ||
} | ||
.highlight .nt { | ||
color: #000080; | ||
} | ||
.highlight .vc { | ||
color: #008080; | ||
} | ||
.highlight .vg { | ||
color: #008080; | ||
} | ||
.highlight .vi { | ||
color: #008080; | ||
} | ||
.highlight .nv { | ||
color: #008080; | ||
} | ||
.highlight .ow { | ||
color: #000000; | ||
font-weight: bold; | ||
} | ||
.highlight .o { | ||
color: #000000; | ||
font-weight: bold; | ||
} | ||
.highlight .w { | ||
color: #bbbbbb; | ||
} | ||
.highlight { | ||
background-color: #f8f8f8; | ||
} |
Oops, something went wrong.