consyll 0.1.1 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE.txt +21 -0
- data/README.md +46 -0
- data/_includes/disqus_comments.html +25 -0
- data/_includes/footer.html +2 -0
- data/_includes/head.html +12 -0
- data/_includes/header.html +12 -0
- data/_layouts/default.html +20 -0
- data/_layouts/page.html +14 -0
- data/_layouts/post.html +18 -0
- data/_sass/consyll/_base.scss +34 -0
- data/_sass/consyll/_fonts.scss +1 -0
- data/_sass/consyll/_layout.scss +47 -0
- data/_sass/consyll/_syntax-highlighting.scss +71 -0
- data/_sass/consyll.scss +34 -0
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a11bb3833c3396994843e76fd21abadcfe1eb75
|
4
|
+
data.tar.gz: dda0575168254e96c1a9d6dd6b33a963dac51a4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db9d57c039cc73106762f40a311107b732bc20a8d14ac837d7540ad2c8dda4dbfd0ee262c990170e7ffb6f052c741595d8741868942752af7bc9d81357eccd2f
|
7
|
+
data.tar.gz: 24a86d3ca2bfbc1d3dd0733873bad5b81775c9b54c04e8c14111b77b0b3c9156dc3e376a790267aad41ccfeda571bb9dd81c5b131c2e22d15d88c7ccde53cd28
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Nicklaus McClendon
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
# Consyll
|
2
|
+
|
3
|
+
A terminal-esque Jekyll theme.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your Jekyll site's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem "elmsip"
|
11
|
+
```
|
12
|
+
|
13
|
+
And add this line to your Jekyll site:
|
14
|
+
|
15
|
+
```yaml
|
16
|
+
theme: elmsip
|
17
|
+
```
|
18
|
+
|
19
|
+
And then execute:
|
20
|
+
|
21
|
+
$ bundle
|
22
|
+
|
23
|
+
Or install it yourself as:
|
24
|
+
|
25
|
+
$ gem install elmsip
|
26
|
+
|
27
|
+
## Usage
|
28
|
+
|
29
|
+
Contains the same features as Jekyll's minima.
|
30
|
+
|
31
|
+
## Contributing
|
32
|
+
|
33
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/kulinacs/consyll. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
34
|
+
|
35
|
+
## Development
|
36
|
+
|
37
|
+
To set up your environment to develop this theme, run `bundle install`.
|
38
|
+
|
39
|
+
You theme is setup just like a normal Jelyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
40
|
+
|
41
|
+
When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
|
42
|
+
|
43
|
+
## License
|
44
|
+
|
45
|
+
The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
46
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
{% if page.comments != false and jekyll.environment == "production" %}
|
2
|
+
{% if site.url %}
|
3
|
+
{% assign disqus_url = page.url | prepend: site.url %}
|
4
|
+
{% elsif site.github.url %}
|
5
|
+
{% assign disqus_url = page.url | prepend: site.github.url %}
|
6
|
+
{% endif %}
|
7
|
+
|
8
|
+
<div id="disqus_thread"></div>
|
9
|
+
<script>
|
10
|
+
var disqus_config = function () {
|
11
|
+
this.page.url = '{{ disqus_url }}';
|
12
|
+
this.page.identifier = '{{ disqus_url }}';
|
13
|
+
};
|
14
|
+
|
15
|
+
(function() {
|
16
|
+
var d = document, s = d.createElement('script');
|
17
|
+
|
18
|
+
s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
|
19
|
+
|
20
|
+
s.setAttribute('data-timestamp', +new Date());
|
21
|
+
(d.head || d.body).appendChild(s);
|
22
|
+
})();
|
23
|
+
</script>
|
24
|
+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
|
25
|
+
{% endif %}
|
data/_includes/head.html
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="utf-8">
|
3
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
|
+
|
6
|
+
<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
|
7
|
+
<meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
|
8
|
+
|
9
|
+
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
|
10
|
+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
|
11
|
+
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}">
|
12
|
+
</head>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<header role="banner">
|
2
|
+
<a href="{{ '/' | prepend: site.baseurl }}" class="site-title">{{ site.title | escape }}</a>
|
3
|
+
<hr class="header-hr">
|
4
|
+
<nav>
|
5
|
+
{% for my_page in site.pages %}
|
6
|
+
{% if my_page.title %}
|
7
|
+
<a class="nav-link" href="{{ my_page.url | prepend: site.baseurl }}">> {{ my_page.title | escape }}</a>
|
8
|
+
{% endif %}
|
9
|
+
{% endfor %}
|
10
|
+
</nav>
|
11
|
+
<hr class="header-hr">
|
12
|
+
</header>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
3
|
+
|
4
|
+
{% include head.html %}
|
5
|
+
|
6
|
+
<body>
|
7
|
+
|
8
|
+
{% include header.html %}
|
9
|
+
|
10
|
+
<main class="page-content" aria-label="Content">
|
11
|
+
<div class="wrapper">
|
12
|
+
{{ content }}
|
13
|
+
</div>
|
14
|
+
</main>
|
15
|
+
|
16
|
+
{% include footer.html %}
|
17
|
+
|
18
|
+
</body>
|
19
|
+
|
20
|
+
</html>
|
data/_layouts/page.html
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<article class="container">
|
5
|
+
<div class="buffer">
|
6
|
+
<header class="post-header">
|
7
|
+
<h1 class="post-title">{{ page.title | escape }}</h1>
|
8
|
+
</header>
|
9
|
+
|
10
|
+
<div class="post-content">
|
11
|
+
{{ content }}
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
</article>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<article class="container" itemscope itemtype="http://schema.org/BlogPosting">
|
5
|
+
<div class="buffer">
|
6
|
+
<header class="post-header">
|
7
|
+
<h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
|
8
|
+
</header>
|
9
|
+
<div class="post-content" itemprop="articleBody">
|
10
|
+
{{ content }}
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
<div class="status-bar">
|
14
|
+
<div class="buffer">
|
15
|
+
<time datetime="{{ page.date }}" itemprop="datePublished">{{ page.date | date: "%b %-d, %Y" }}</time>{% if page.author %} • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>{% endif %}
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
</article>
|
@@ -0,0 +1,34 @@
|
|
1
|
+
/**
|
2
|
+
* Page Defaults
|
3
|
+
*/
|
4
|
+
body {
|
5
|
+
background-color: $background-color;
|
6
|
+
color: $text-color;
|
7
|
+
font-family: 'Share Tech Mono', monospace;
|
8
|
+
}
|
9
|
+
|
10
|
+
.container {
|
11
|
+
border: 1px dashed darken($text-color, 70%);
|
12
|
+
margin: 25px 10px;
|
13
|
+
text-align: left;
|
14
|
+
|
15
|
+
h1,h2,h3,h4,h5,h6 {
|
16
|
+
a {
|
17
|
+
color: $text-color;
|
18
|
+
text-decoration: none;
|
19
|
+
}
|
20
|
+
a:hover {
|
21
|
+
text-decoration: underline;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
.buffer {
|
27
|
+
padding: 2px 20px;
|
28
|
+
}
|
29
|
+
|
30
|
+
.status-bar {
|
31
|
+
width: 100%;
|
32
|
+
background-color: darken($text-color, 70%);
|
33
|
+
color: darken($background-color, 20%);
|
34
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import 'https://fonts.googleapis.com/css?family=Share+Tech+Mono|VT323';
|
@@ -0,0 +1,47 @@
|
|
1
|
+
/**
|
2
|
+
* Site Header
|
3
|
+
*/
|
4
|
+
header {
|
5
|
+
width: 100%;
|
6
|
+
text-align: center;
|
7
|
+
}
|
8
|
+
|
9
|
+
.site-title {
|
10
|
+
font-size: 6vw;
|
11
|
+
font-family: 'VT323', monospace;
|
12
|
+
color: $nav-title-color;
|
13
|
+
text-decoration: none;
|
14
|
+
}
|
15
|
+
|
16
|
+
.header-hr {
|
17
|
+
border-top: 1px dashed darken($text-color, 70%);
|
18
|
+
border-bottom: 0px;
|
19
|
+
width: 80%;
|
20
|
+
margin-top: 10px;
|
21
|
+
margin-bottom: 10px;
|
22
|
+
}
|
23
|
+
|
24
|
+
.nav-link {
|
25
|
+
font-size: 24px;
|
26
|
+
font-family: 'VT323', monospace;
|
27
|
+
color: $nav-text-color;
|
28
|
+
display: block;
|
29
|
+
}
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
/**
|
34
|
+
* All content
|
35
|
+
*/
|
36
|
+
.wrapper {
|
37
|
+
width: 70%;
|
38
|
+
margin: auto;
|
39
|
+
}
|
40
|
+
|
41
|
+
@include media-query($on-palm) {
|
42
|
+
.wrapper {
|
43
|
+
width: 95%;
|
44
|
+
margin: auto;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
@@ -0,0 +1,71 @@
|
|
1
|
+
/**
|
2
|
+
* Syntax highlighting styles
|
3
|
+
*/
|
4
|
+
.highlight {
|
5
|
+
background: #fff;
|
6
|
+
@extend %vertical-rhythm;
|
7
|
+
|
8
|
+
.highlighter-rouge & {
|
9
|
+
background: #eef;
|
10
|
+
}
|
11
|
+
|
12
|
+
.c { color: #998; font-style: italic } // Comment
|
13
|
+
.err { color: #a61717; background-color: #e3d2d2 } // Error
|
14
|
+
.k { font-weight: bold } // Keyword
|
15
|
+
.o { font-weight: bold } // Operator
|
16
|
+
.cm { color: #998; font-style: italic } // Comment.Multiline
|
17
|
+
.cp { color: #999; font-weight: bold } // Comment.Preproc
|
18
|
+
.c1 { color: #998; font-style: italic } // Comment.Single
|
19
|
+
.cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
|
20
|
+
.gd { color: #000; background-color: #fdd } // Generic.Deleted
|
21
|
+
.gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
|
22
|
+
.ge { font-style: italic } // Generic.Emph
|
23
|
+
.gr { color: #a00 } // Generic.Error
|
24
|
+
.gh { color: #999 } // Generic.Heading
|
25
|
+
.gi { color: #000; background-color: #dfd } // Generic.Inserted
|
26
|
+
.gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
|
27
|
+
.go { color: #888 } // Generic.Output
|
28
|
+
.gp { color: #555 } // Generic.Prompt
|
29
|
+
.gs { font-weight: bold } // Generic.Strong
|
30
|
+
.gu { color: #aaa } // Generic.Subheading
|
31
|
+
.gt { color: #a00 } // Generic.Traceback
|
32
|
+
.kc { font-weight: bold } // Keyword.Constant
|
33
|
+
.kd { font-weight: bold } // Keyword.Declaration
|
34
|
+
.kp { font-weight: bold } // Keyword.Pseudo
|
35
|
+
.kr { font-weight: bold } // Keyword.Reserved
|
36
|
+
.kt { color: #458; font-weight: bold } // Keyword.Type
|
37
|
+
.m { color: #099 } // Literal.Number
|
38
|
+
.s { color: #d14 } // Literal.String
|
39
|
+
.na { color: #008080 } // Name.Attribute
|
40
|
+
.nb { color: #0086B3 } // Name.Builtin
|
41
|
+
.nc { color: #458; font-weight: bold } // Name.Class
|
42
|
+
.no { color: #008080 } // Name.Constant
|
43
|
+
.ni { color: #800080 } // Name.Entity
|
44
|
+
.ne { color: #900; font-weight: bold } // Name.Exception
|
45
|
+
.nf { color: #900; font-weight: bold } // Name.Function
|
46
|
+
.nn { color: #555 } // Name.Namespace
|
47
|
+
.nt { color: #000080 } // Name.Tag
|
48
|
+
.nv { color: #008080 } // Name.Variable
|
49
|
+
.ow { font-weight: bold } // Operator.Word
|
50
|
+
.w { color: #bbb } // Text.Whitespace
|
51
|
+
.mf { color: #099 } // Literal.Number.Float
|
52
|
+
.mh { color: #099 } // Literal.Number.Hex
|
53
|
+
.mi { color: #099 } // Literal.Number.Integer
|
54
|
+
.mo { color: #099 } // Literal.Number.Oct
|
55
|
+
.sb { color: #d14 } // Literal.String.Backtick
|
56
|
+
.sc { color: #d14 } // Literal.String.Char
|
57
|
+
.sd { color: #d14 } // Literal.String.Doc
|
58
|
+
.s2 { color: #d14 } // Literal.String.Double
|
59
|
+
.se { color: #d14 } // Literal.String.Escape
|
60
|
+
.sh { color: #d14 } // Literal.String.Heredoc
|
61
|
+
.si { color: #d14 } // Literal.String.Interpol
|
62
|
+
.sx { color: #d14 } // Literal.String.Other
|
63
|
+
.sr { color: #009926 } // Literal.String.Regex
|
64
|
+
.s1 { color: #d14 } // Literal.String.Single
|
65
|
+
.ss { color: #990073 } // Literal.String.Symbol
|
66
|
+
.bp { color: #999 } // Name.Builtin.Pseudo
|
67
|
+
.vc { color: #008080 } // Name.Variable.Class
|
68
|
+
.vg { color: #008080 } // Name.Variable.Global
|
69
|
+
.vi { color: #008080 } // Name.Variable.Instance
|
70
|
+
.il { color: #099 } // Literal.Number.Integer.Long
|
71
|
+
}
|
data/_sass/consyll.scss
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
// Define defaults for each variable.
|
2
|
+
|
3
|
+
$text-color: #fdfdfd !default;
|
4
|
+
$background-color: #212121 !default;
|
5
|
+
|
6
|
+
// Width of the content area
|
7
|
+
$content-width: 800px !default;
|
8
|
+
|
9
|
+
$on-palm: 600px !default;
|
10
|
+
$on-laptop: 800px !default;
|
11
|
+
|
12
|
+
// Navigation bar
|
13
|
+
$nav-title-color: #ededed !default;
|
14
|
+
$nav-text-color: #fdfdfd !default;
|
15
|
+
|
16
|
+
// Use media queries like this:
|
17
|
+
// @include media-query($on-palm) {
|
18
|
+
// .wrapper {
|
19
|
+
// padding-right: $spacing-unit / 2;
|
20
|
+
// padding-left: $spacing-unit / 2;
|
21
|
+
// }
|
22
|
+
// }
|
23
|
+
@mixin media-query($device) {
|
24
|
+
@media screen and (max-width: $device) {
|
25
|
+
@content;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
// Import partials.
|
30
|
+
@import
|
31
|
+
"consyll/base",
|
32
|
+
"consyll/fonts",
|
33
|
+
"consyll/layout"
|
34
|
+
;
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: consyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicklaus McClendon
|
@@ -59,10 +59,24 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
+
- LICENSE.txt
|
63
|
+
- README.md
|
64
|
+
- _includes/disqus_comments.html
|
65
|
+
- _includes/footer.html
|
66
|
+
- _includes/head.html
|
67
|
+
- _includes/header.html
|
62
68
|
- _includes/icon-github.html
|
63
69
|
- _includes/icon-github.svg
|
64
70
|
- _includes/icon-twitter.html
|
65
71
|
- _includes/icon-twitter.svg
|
72
|
+
- _layouts/default.html
|
73
|
+
- _layouts/page.html
|
74
|
+
- _layouts/post.html
|
75
|
+
- _sass/consyll.scss
|
76
|
+
- _sass/consyll/_base.scss
|
77
|
+
- _sass/consyll/_fonts.scss
|
78
|
+
- _sass/consyll/_layout.scss
|
79
|
+
- _sass/consyll/_syntax-highlighting.scss
|
66
80
|
homepage: https://github.com/kulinacs/consyll
|
67
81
|
licenses:
|
68
82
|
- MIT
|