eenymo 0.1.1

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: faeb72f6fd3f8fa87329410d7cec673b4b9fdf7e8a39cdb398a1415964a36d51
4
+ data.tar.gz: 1f0bb4ef917bd01c2684f46d6d2904867c40d7699c42e057da196a719ad05b12
5
+ SHA512:
6
+ metadata.gz: a316f8324ebbc1316f337a0ec98e13e7e6ebbe5c3aecb0c6b3f12a46353fb967c5e2747626a9dec3666346a2cbb139c3039e6bb1d666d73bcfc03f79b5a880a4
7
+ data.tar.gz: 6ec42f805e6c50ff7c54441fa237e11e09e73f9ee681747328f78bd2666c824e2c0e07f0e73bd9519f00a993f50a15fabcc2cf4f1ab59241e455c31f3cc4ada0
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Teemu Hirvonen
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,30 @@
1
+ # eenymo
2
+
3
+ A very simplistic Jekyll theme.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your Jekyll site's `Gemfile`:
8
+
9
+ ```ruby
10
+ gem "eenymo"
11
+ ```
12
+
13
+ And add this line to your Jekyll site's `_config.yml`:
14
+
15
+ ```yaml
16
+ theme: eenymo
17
+ ```
18
+
19
+ And then execute:
20
+
21
+ $ bundle
22
+
23
+ Or install it yourself as:
24
+
25
+ $ gem install eenymo
26
+
27
+ ## License
28
+
29
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
30
+
@@ -0,0 +1,7 @@
1
+ <footer id="site-footer">
2
+ <ul id="footer-menu">
3
+ {%- for link in site.eenymo.footer -%}
4
+ <li><a href="{{ link.href }}" title="{{ link.title}}"><i class="{{ link.icon }}"></i></a></li>
5
+ {%- endfor -%}
6
+ </ul>
7
+ </footer>
@@ -0,0 +1,7 @@
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
+ <link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
6
+ <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
7
+ </head>
@@ -0,0 +1,10 @@
1
+ <nav id="site-navigation" aria-label="Menu">
2
+ <label for="toggle-mobile-menu" aria-label="Menu">&#9776;</label>
3
+ <input id="toggle-mobile-menu" type="checkbox" />
4
+ <ul id="main-menu">
5
+ <li><a href="{{ "/" | relative_url }}">Home</a></li>
6
+ {%- for link in site.eenymo.nav -%}
7
+ <li><a href="{{ link.href | relative_url }}">{{ link.title | escape }}</a></li>
8
+ {%- endfor -%}
9
+ </ul>
10
+ </nav>
@@ -0,0 +1,15 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: 'en-US' }}" class="no-js">
3
+ {% include header.html %}
4
+ <body>
5
+ <div class="container">
6
+ {% include nav.html %}
7
+
8
+ <div class="content">
9
+ {{ content }}
10
+ </div>
11
+
12
+ {% include footer.html %}
13
+ </div>
14
+ </body>
15
+ </html>
@@ -0,0 +1,26 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {%- if site.posts.size > 0 -%}
6
+ <div class="post-previews">
7
+ {%- for post in site.posts -%}
8
+ <article class="post post-preview h-entry">
9
+ <header class="post-header">
10
+ <h2 class="post-title p-name">
11
+ <a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
12
+ </h2>
13
+ <p class="post-meta">
14
+ <time class="dt-published" datetime="{{ post.date | date_to_xmlschema }}">
15
+ {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
16
+ {{ post.date | date: date_format }}
17
+ </time>
18
+ </header>
19
+
20
+ <div class="post-content e-content">
21
+ <p>{{ post.excerpt }}</p>
22
+ </div>
23
+ </article>
24
+ {%- endfor -%}
25
+ </div>
26
+ {%- endif -%}
@@ -0,0 +1,7 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <h1>{{ page.title | escape }}</h1>
6
+
7
+ {{ content }}
@@ -0,0 +1,19 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
6
+ <header class="post-header">
7
+ <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
8
+ <p class="post-meta">
9
+ <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
10
+ {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
11
+ {{ page.date | date: date_format }}
12
+ </time>
13
+ </header>
14
+
15
+ <div class="post-content e-content" itemprop="articleBody">
16
+ {{ content }}
17
+ </div>
18
+
19
+ </article>
@@ -0,0 +1,218 @@
1
+ /* Main */
2
+ body {
3
+ color: #333333;
4
+ margin: 0;
5
+ }
6
+
7
+ .container {
8
+ max-width: 960px;
9
+ margin: 0 auto;
10
+ }
11
+
12
+ .container .excerpt:not(:last-child) {
13
+ border-bottom: 1px dashed #777777;
14
+ }
15
+
16
+ .container .excerpt {
17
+ padding: 2em 0;
18
+ }
19
+
20
+ .container .excerpt a {
21
+ font-family: 'Open Sans', sans-serif;
22
+ }
23
+
24
+ header#site-header ul {
25
+ font-family: 'Open Sans', sans-serif;
26
+ list-style-type: none;
27
+ margin: 0;
28
+ padding: 0;
29
+ min-height: 2em;
30
+ }
31
+
32
+ header#header ul li {
33
+ display: inline-block;
34
+ }
35
+
36
+ footer#site-footer ul {
37
+ padding: 0;
38
+ margin: 20px 0;
39
+ list-style-type: none;
40
+ text-align: center;
41
+ }
42
+
43
+ footer#site-footer ul li {
44
+ display: inline-block;
45
+ margin-left: 14px;
46
+ }
47
+
48
+ footer#site-footer a {
49
+ color: #333333;
50
+ }
51
+
52
+ footer#site-footer a:hover {
53
+ color: green;
54
+ }
55
+
56
+ /* Typography */
57
+ a {
58
+ text-decoration: none;
59
+ color: green;
60
+ }
61
+ a:hover {
62
+ text-decoration: underline;
63
+ }
64
+
65
+ h1 {
66
+ font-family: 'Open Sans', sans-serif;
67
+ font-size: 48px;
68
+ font-weight: 600;
69
+ line-height: 60px;
70
+ letter-spacing: 2px;
71
+ }
72
+
73
+ h2 {
74
+ color: #333333;
75
+ font-family: 'Proza Libre', sans-serif;
76
+ font-size: 3.2rem;
77
+ font-weight: 700;
78
+ line-height: 1.25;
79
+ }
80
+
81
+ h3 {
82
+ color: #333333;
83
+ font-family: 'Open Sans', sans-serif;
84
+ font-size: 24px;
85
+ font-weight: 600;
86
+ line-height: 32px;
87
+ letter-spacing: .5px;
88
+ }
89
+
90
+ h4 {
91
+ color: #333333;
92
+ font-family: 'Open Sans', sans-serif;
93
+ font-size: 16px;
94
+ font-weight: 600;
95
+ line-height: 22px;
96
+ letter-spacing: 0px;
97
+ }
98
+
99
+ p {
100
+ color: #333333;
101
+ font-family: 'Open Sans', sans-serif;
102
+ font-size: 18px;
103
+ font-weight: 200;
104
+ line-height: 1.5;
105
+ letter-spacing: .75px;
106
+ }
107
+
108
+ small {
109
+ font-family: 'Open Sans', sans-serif;
110
+ }
111
+
112
+ .caption {
113
+ color: #777777;
114
+ font-family: 'Open Sans', sans-serif;
115
+ font-size: 14px;
116
+ font-weight: 300;
117
+ line-height: 22px;
118
+ letter-spacing: .5px;
119
+ }
120
+
121
+ .post {
122
+ padding-bottom: 20px;
123
+ }
124
+
125
+ .post-title {
126
+ margin-bottom: 0;
127
+ }
128
+
129
+ .post-meta {
130
+ margin-top: 0;
131
+ }
132
+
133
+ .post-preview:not(:last-child) {
134
+ border-bottom: 1px dashed #e0e0e0;
135
+ }
136
+
137
+ /* Navigation */
138
+ #site-navigation {
139
+ display: block;
140
+ font-family: 'Open Sans', sans-serif;
141
+ height: 48px;
142
+ }
143
+
144
+ #site-navigation #main-menu,
145
+ #site-navigation > input {
146
+ display: none;
147
+ }
148
+
149
+ #site-navigation > label {
150
+ display: block;
151
+ font-size: 36px;
152
+ color: green;
153
+ position: absolute;
154
+ right: 20px;
155
+ width: 36px;
156
+ padding: 0;
157
+ cursor: pointer;
158
+ -webkit-touch-callout: none;
159
+ -webkit-user-select: none;
160
+ -khtml-user-select: none;
161
+ -moz-user-select: none;
162
+ -ms-user-select: none;
163
+ user-select: none;
164
+ }
165
+
166
+ #site-navigation > input:checked + #main-menu {
167
+ display: block;
168
+ clear: both;
169
+ top: 48px;
170
+ position: relative;
171
+ background: #ffffff;
172
+ }
173
+
174
+ #site-navigation ul {
175
+ margin: 0;
176
+ padding: 0;
177
+ }
178
+
179
+ #site-navigation ul li {
180
+ display: block;
181
+ padding: 20px 0;
182
+ margin-right: 14px;
183
+ }
184
+
185
+ #site-navigation a {
186
+ text-decoration: none;
187
+ }
188
+
189
+ #site-navigation a:hover {
190
+ text-decoration: underline;
191
+ }
192
+
193
+ @media only screen and (min-device-width: 768px) {
194
+ #site-navigation {
195
+ height: auto;
196
+ }
197
+ #site-navigation #main-menu {
198
+ display: block;
199
+ }
200
+ #site-navigation > label {
201
+ display: none
202
+ }
203
+ #site-navigation ul li {
204
+ display: inline-block;
205
+ }
206
+ }
207
+
208
+ @media only screen and (max-device-width: 768px) {
209
+ ul#main-menu li {
210
+ margin-left: 12px;
211
+ }
212
+ }
213
+
214
+ @media only screen and (max-device-width: 960px) {
215
+ .content {
216
+ padding: 1em;
217
+ }
218
+ }
metadata ADDED
@@ -0,0 +1,96 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: eenymo
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Teemu Hirvonen
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-04-08 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jekyll
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.8'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.8'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.16'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.16'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '12.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '12.0'
55
+ description:
56
+ email:
57
+ - teemu@teemuhirvonen.dev
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - LICENSE.txt
63
+ - README.md
64
+ - _includes/footer.html
65
+ - _includes/header.html
66
+ - _includes/nav.html
67
+ - _layouts/default.html
68
+ - _layouts/home.html
69
+ - _layouts/page.html
70
+ - _layouts/post.html
71
+ - assets/css/style.css
72
+ homepage: https://github.com/neurovelho/eenymo
73
+ licenses:
74
+ - MIT
75
+ metadata: {}
76
+ post_install_message:
77
+ rdoc_options: []
78
+ require_paths:
79
+ - lib
80
+ required_ruby_version: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
85
+ required_rubygems_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ requirements: []
91
+ rubyforge_project:
92
+ rubygems_version: 2.7.7
93
+ signing_key:
94
+ specification_version: 4
95
+ summary: A very minimalistic theme.
96
+ test_files: []