Minimalist 0.1.0 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +4 -0
- data/Gemfile +2 -0
- data/LICENSE.txt +21 -0
- data/README.md +48 -0
- data/_includes/footer.html +3 -0
- data/_includes/head.html +44 -0
- data/_includes/header.html +3 -0
- data/_layouts/default.html +13 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +5 -0
- data/css/main.css +400 -0
- data/example/_config.yml +8 -0
- data/example/css/main.scss +4 -0
- data/example/index.html +13 -0
- data/example/posts/2016-08-27-my-first-post.md +12 -0
- data/example/posts/2016-08-27-my-second-post.md +11 -0
- data/minimalist.gemspec +22 -0
- metadata +24 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04652650a70f21c1e67772725184e7b47b216c05
|
4
|
+
data.tar.gz: 654418b1b9a7c77a5a6ca1e79620af17b3e18436
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4115fd7141da0a7341c87d8598c2a98dbeab9d3f36626f6aa9ed00cf1b84b9513da9ab004866fcf0356ac3e47de4ca9ca978eaa28482d6f011b7cc870437fbc3
|
7
|
+
data.tar.gz: 93ce537c8a3bac112995c00a32d0ffb84a57307d9519d7ec276468cf9053e831840ffc54f553938d0e0fe87e3592c8ffb548e257539606339ee5b14eab873bdb
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Ismail
|
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,48 @@
|
|
1
|
+
# Minimalist
|
2
|
+
|
3
|
+
Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes` and your sass in `_sass`. To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your Jekyll site's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem "Minimalist"
|
13
|
+
```
|
14
|
+
|
15
|
+
And add this line to your Jekyll site:
|
16
|
+
|
17
|
+
```yaml
|
18
|
+
theme: Minimalist
|
19
|
+
```
|
20
|
+
|
21
|
+
And then execute:
|
22
|
+
|
23
|
+
$ bundle
|
24
|
+
|
25
|
+
Or install it yourself as:
|
26
|
+
|
27
|
+
$ gem install Minimalist
|
28
|
+
|
29
|
+
## Usage
|
30
|
+
|
31
|
+
TODO: Write usage instructions here. Describe your available layouts, includes, and/or sass.
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/ismailmechbal/jekyll_minimalist_theme. 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.
|
36
|
+
|
37
|
+
## Development
|
38
|
+
|
39
|
+
To set up your environment to develop this theme, run `bundle install`.
|
40
|
+
|
41
|
+
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.
|
42
|
+
|
43
|
+
When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
|
44
|
+
|
45
|
+
## License
|
46
|
+
|
47
|
+
The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
48
|
+
|
data/_includes/head.html
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
<meta charset="utf-8">
|
2
|
+
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
3
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
4
|
+
|
5
|
+
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.name }}{% endif %}</title>
|
6
|
+
|
7
|
+
<meta name="application-name" content="Application Name">
|
8
|
+
<meta name="description" content="{{ site.description }}">
|
9
|
+
<meta name="subject" content="your website's subject">
|
10
|
+
<meta name="robots" content="index,follow,noodp">
|
11
|
+
<meta name="googlebot" content="index,follow">
|
12
|
+
<meta name="google" content="nositelinkssearchbox">
|
13
|
+
<meta name="google-site-verification" content="verification_token">
|
14
|
+
<meta name="abstract" content="{{ site.description }}">
|
15
|
+
<meta name="topic" content="Bygg och renovering">
|
16
|
+
<meta name="summary" content="{{ site.description }}">
|
17
|
+
<meta name="classification" content="business">
|
18
|
+
<meta name="url" content="{{ site.url }}{{ page.url | replace:'index.html','' }}/">
|
19
|
+
<meta name="identifier-URL" content="{{ site.url }}{{ page.url | replace:'index.html','' }}/">
|
20
|
+
<meta name="directory" content="submission">
|
21
|
+
<meta name="category" content="">
|
22
|
+
<meta name="coverage" content="Sweden">
|
23
|
+
<meta name="distribution" content="Global">
|
24
|
+
<meta name="rating" content="General">
|
25
|
+
<meta name="referrer" content="never">
|
26
|
+
<meta http-equiv="Content-Security-Policy" content="default-src 'self'">
|
27
|
+
|
28
|
+
<!-- Disable automatic detection and formatting of possible phone numbers -->
|
29
|
+
<meta name="format-detection" content="telephone=no">
|
30
|
+
|
31
|
+
<meta name="ICBM" content="latitude, longitude">
|
32
|
+
<meta name="geo.position" content="latitude;longitude">
|
33
|
+
<meta name="geo.region" content="SE-AB">
|
34
|
+
<meta name="geo.placename" content="Stockholm">
|
35
|
+
|
36
|
+
<!-- Prefetching, preloading, prebrowsing -->
|
37
|
+
<link rel="dns-prefetch" href="//example.com/">
|
38
|
+
<link rel="preconnect" href="https://www.example.com/">
|
39
|
+
<link rel="prefetch" href="https://www.example.com/">
|
40
|
+
<link rel="prerender" href="https://example.com/">
|
41
|
+
<link rel="subresource" href="styles.css">
|
42
|
+
<link rel="preload" href="image.png">
|
43
|
+
|
44
|
+
<link rel="stylesheet" href="/css/main.css">
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
data/css/main.css
ADDED
@@ -0,0 +1,400 @@
|
|
1
|
+
/* Base */
|
2
|
+
/* ----------------------------------------------------------*/
|
3
|
+
|
4
|
+
* {
|
5
|
+
margin: 0;
|
6
|
+
padding: 0;
|
7
|
+
}
|
8
|
+
|
9
|
+
html, body { height: 100%; }
|
10
|
+
|
11
|
+
body {
|
12
|
+
background-color: #FFF;
|
13
|
+
font-family: Helvetica, Arial, sans-serif;
|
14
|
+
font-size: 16px;
|
15
|
+
line-height: 1.5;
|
16
|
+
font-weight: 300;
|
17
|
+
background-color: #fdfdfd;
|
18
|
+
}
|
19
|
+
|
20
|
+
h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: 400; }
|
21
|
+
|
22
|
+
a { color: #2a7ae2; text-decoration: none; }
|
23
|
+
a:hover { color: #000; text-decoration: underline; }
|
24
|
+
a:visited { color: #205caa; }
|
25
|
+
|
26
|
+
/* Utility */
|
27
|
+
|
28
|
+
.wrap:before,
|
29
|
+
.wrap:after { content:""; display:table; }
|
30
|
+
.wrap:after { clear: both; }
|
31
|
+
.wrap {
|
32
|
+
max-width: 800px;
|
33
|
+
padding: 0 30px;
|
34
|
+
margin: 0 auto;
|
35
|
+
zoom: 1;
|
36
|
+
}
|
37
|
+
|
38
|
+
|
39
|
+
/* Layout Styles */
|
40
|
+
/* ----------------------------------------------------------*/
|
41
|
+
|
42
|
+
/* Site header */
|
43
|
+
|
44
|
+
.site-header {
|
45
|
+
border-top: 5px solid #333;
|
46
|
+
border-bottom: 1px solid #e8e8e8;
|
47
|
+
min-height: 56px;
|
48
|
+
background-color: white;
|
49
|
+
}
|
50
|
+
|
51
|
+
.site-title,
|
52
|
+
.site-title:hover,
|
53
|
+
.site-title:visited {
|
54
|
+
display: block;
|
55
|
+
color: #333;
|
56
|
+
font-size: 26px;
|
57
|
+
letter-spacing: -1px;
|
58
|
+
float: left;
|
59
|
+
line-height: 56px;
|
60
|
+
position: relative;
|
61
|
+
z-index: 1;
|
62
|
+
}
|
63
|
+
|
64
|
+
.site-nav {
|
65
|
+
float: right;
|
66
|
+
line-height: 56px;
|
67
|
+
}
|
68
|
+
|
69
|
+
.site-nav .menu-icon { display: none; }
|
70
|
+
|
71
|
+
.site-nav .page-link {
|
72
|
+
margin-left: 20px;
|
73
|
+
color: #727272;
|
74
|
+
letter-spacing: -.5px;
|
75
|
+
}
|
76
|
+
|
77
|
+
/* Site footer */
|
78
|
+
|
79
|
+
.site-footer {
|
80
|
+
border-top: 1px solid #e8e8e8;
|
81
|
+
padding: 30px 0;
|
82
|
+
}
|
83
|
+
|
84
|
+
.footer-heading {
|
85
|
+
font-size: 18px;
|
86
|
+
font-weight: 300;
|
87
|
+
letter-spacing: -.5px;
|
88
|
+
margin-bottom: 15px;
|
89
|
+
}
|
90
|
+
|
91
|
+
.site-footer .column { float: left; margin-bottom: 15px; }
|
92
|
+
|
93
|
+
.footer-col-1 {
|
94
|
+
width: 270px; /*fallback*/
|
95
|
+
width: -webkit-calc(35% - 10px);
|
96
|
+
width: -moz-calc(35% - 10px);
|
97
|
+
width: -o-calc(35% - 10px);
|
98
|
+
width: calc(35% - 10px);
|
99
|
+
margin-right: 10px
|
100
|
+
}
|
101
|
+
.footer-col-2 {
|
102
|
+
width: 175px; /*fallback*/
|
103
|
+
width: -webkit-calc(23.125% - 10px);
|
104
|
+
width: -moz-calc(23.125% - 10px);
|
105
|
+
width: -o-calc(23.125% - 10px);
|
106
|
+
width: calc(23.125% - 10px);
|
107
|
+
margin-right: 10px
|
108
|
+
}
|
109
|
+
.footer-col-3 {
|
110
|
+
width: 335px; /*fallback*/
|
111
|
+
width: -webkit-calc(41.875%);
|
112
|
+
width: -moz-calc(41.875%);
|
113
|
+
width: -o-calc(41.875%);
|
114
|
+
width: calc(41.875%);
|
115
|
+
}
|
116
|
+
|
117
|
+
.site-footer ul { list-style: none; }
|
118
|
+
|
119
|
+
.site-footer li,
|
120
|
+
.site-footer p {
|
121
|
+
font-size: 15px;
|
122
|
+
letter-spacing: -.3px;
|
123
|
+
color: #828282;
|
124
|
+
}
|
125
|
+
|
126
|
+
.github-icon-svg,
|
127
|
+
.twitter-icon-svg {
|
128
|
+
display: inline-block;
|
129
|
+
width: 16px;
|
130
|
+
height: 16px;
|
131
|
+
position: relative;
|
132
|
+
top: 3px;
|
133
|
+
}
|
134
|
+
|
135
|
+
|
136
|
+
/* Page Content styles */
|
137
|
+
/* ----------------------------------------------------------*/
|
138
|
+
|
139
|
+
.page-content {
|
140
|
+
padding: 30px 0;
|
141
|
+
background-color: #fff;
|
142
|
+
}
|
143
|
+
|
144
|
+
|
145
|
+
/* Home styles */
|
146
|
+
/* ----------------------------------------------------------*/
|
147
|
+
|
148
|
+
.home h1 { margin-bottom: 25px; }
|
149
|
+
|
150
|
+
.posts { list-style-type: none; }
|
151
|
+
|
152
|
+
.posts li { margin-bottom: 30px; }
|
153
|
+
|
154
|
+
.posts .post-link {
|
155
|
+
font-size: 24px;
|
156
|
+
letter-spacing: -1px;
|
157
|
+
line-height: 1;
|
158
|
+
}
|
159
|
+
|
160
|
+
.posts .post-date {
|
161
|
+
display: block;
|
162
|
+
font-size: 15px;
|
163
|
+
color: #818181;
|
164
|
+
}
|
165
|
+
|
166
|
+
|
167
|
+
/* Post styles */
|
168
|
+
/* ----------------------------------------------------------*/
|
169
|
+
|
170
|
+
.post-header { margin: 10px 0 30px; }
|
171
|
+
|
172
|
+
.post-header h1 {
|
173
|
+
font-size: 42px;
|
174
|
+
letter-spacing: -1.75px;
|
175
|
+
line-height: 1;
|
176
|
+
font-weight: 300;
|
177
|
+
}
|
178
|
+
|
179
|
+
.post-header .meta {
|
180
|
+
font-size: 15px;
|
181
|
+
color: #818181;
|
182
|
+
margin-top: 5px;
|
183
|
+
}
|
184
|
+
|
185
|
+
.post-content { margin: 0 0 30px; }
|
186
|
+
|
187
|
+
.post-content > * { margin: 20px 0; }
|
188
|
+
|
189
|
+
|
190
|
+
.post-content h1,
|
191
|
+
.post-content h2,
|
192
|
+
.post-content h3,
|
193
|
+
.post-content h4,
|
194
|
+
.post-content h5,
|
195
|
+
.post-content h6 {
|
196
|
+
line-height: 1;
|
197
|
+
font-weight: 300;
|
198
|
+
margin: 40px 0 20px;
|
199
|
+
}
|
200
|
+
|
201
|
+
.post-content h2 {
|
202
|
+
font-size: 32px;
|
203
|
+
letter-spacing: -1.25px;
|
204
|
+
}
|
205
|
+
|
206
|
+
.post-content h3 {
|
207
|
+
font-size: 26px;
|
208
|
+
letter-spacing: -1px;
|
209
|
+
}
|
210
|
+
|
211
|
+
.post-content h4 {
|
212
|
+
font-size: 20px;
|
213
|
+
letter-spacing: -1px;
|
214
|
+
}
|
215
|
+
|
216
|
+
.post-content blockquote {
|
217
|
+
border-left: 4px solid #e8e8e8;
|
218
|
+
padding-left: 20px;
|
219
|
+
font-size: 18px;
|
220
|
+
opacity: .6;
|
221
|
+
letter-spacing: -1px;
|
222
|
+
font-style: italic;
|
223
|
+
margin: 30px 0;
|
224
|
+
}
|
225
|
+
|
226
|
+
.post-content ul,
|
227
|
+
.post-content ol { padding-left: 20px; }
|
228
|
+
|
229
|
+
.post pre,
|
230
|
+
.post code {
|
231
|
+
border: 1px solid #d5d5e9;
|
232
|
+
background-color: #eef;
|
233
|
+
padding: 8px 12px;
|
234
|
+
border-radius: 3px;
|
235
|
+
font-size: 15px;
|
236
|
+
}
|
237
|
+
|
238
|
+
.post code { padding: 1px 5px; }
|
239
|
+
|
240
|
+
.post ul,
|
241
|
+
.post ol { margin-left: 1.35em; }
|
242
|
+
|
243
|
+
.post pre code { border: none; }
|
244
|
+
|
245
|
+
/* terminal */
|
246
|
+
.post pre.terminal {
|
247
|
+
border: 1px solid #000;
|
248
|
+
background-color: #333;
|
249
|
+
color: #FFF;
|
250
|
+
border-radius: 3px;
|
251
|
+
}
|
252
|
+
|
253
|
+
.post pre.terminal code { background-color: #333; }
|
254
|
+
|
255
|
+
/* Syntax highlighting styles */
|
256
|
+
/* ----------------------------------------------------------*/
|
257
|
+
|
258
|
+
.highlight { background: #ffffff; }
|
259
|
+
.highlight .c { color: #999988; font-style: italic } /* Comment */
|
260
|
+
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
|
261
|
+
.highlight .k { font-weight: bold } /* Keyword */
|
262
|
+
.highlight .o { font-weight: bold } /* Operator */
|
263
|
+
.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
|
264
|
+
.highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
|
265
|
+
.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
|
266
|
+
.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
|
267
|
+
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
|
268
|
+
.highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
|
269
|
+
.highlight .ge { font-style: italic } /* Generic.Emph */
|
270
|
+
.highlight .gr { color: #aa0000 } /* Generic.Error */
|
271
|
+
.highlight .gh { color: #999999 } /* Generic.Heading */
|
272
|
+
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
|
273
|
+
.highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
|
274
|
+
.highlight .go { color: #888888 } /* Generic.Output */
|
275
|
+
.highlight .gp { color: #555555 } /* Generic.Prompt */
|
276
|
+
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
277
|
+
.highlight .gu { color: #aaaaaa } /* Generic.Subheading */
|
278
|
+
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
|
279
|
+
.highlight .kc { font-weight: bold } /* Keyword.Constant */
|
280
|
+
.highlight .kd { font-weight: bold } /* Keyword.Declaration */
|
281
|
+
.highlight .kp { font-weight: bold } /* Keyword.Pseudo */
|
282
|
+
.highlight .kr { font-weight: bold } /* Keyword.Reserved */
|
283
|
+
.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
|
284
|
+
.highlight .m { color: #009999 } /* Literal.Number */
|
285
|
+
.highlight .s { color: #d14 } /* Literal.String */
|
286
|
+
.highlight .na { color: #008080 } /* Name.Attribute */
|
287
|
+
.highlight .nb { color: #0086B3 } /* Name.Builtin */
|
288
|
+
.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
|
289
|
+
.highlight .no { color: #008080 } /* Name.Constant */
|
290
|
+
.highlight .ni { color: #800080 } /* Name.Entity */
|
291
|
+
.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
|
292
|
+
.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
|
293
|
+
.highlight .nn { color: #555555 } /* Name.Namespace */
|
294
|
+
.highlight .nt { color: #000080 } /* Name.Tag */
|
295
|
+
.highlight .nv { color: #008080 } /* Name.Variable */
|
296
|
+
.highlight .ow { font-weight: bold } /* Operator.Word */
|
297
|
+
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
|
298
|
+
.highlight .mf { color: #009999 } /* Literal.Number.Float */
|
299
|
+
.highlight .mh { color: #009999 } /* Literal.Number.Hex */
|
300
|
+
.highlight .mi { color: #009999 } /* Literal.Number.Integer */
|
301
|
+
.highlight .mo { color: #009999 } /* Literal.Number.Oct */
|
302
|
+
.highlight .sb { color: #d14 } /* Literal.String.Backtick */
|
303
|
+
.highlight .sc { color: #d14 } /* Literal.String.Char */
|
304
|
+
.highlight .sd { color: #d14 } /* Literal.String.Doc */
|
305
|
+
.highlight .s2 { color: #d14 } /* Literal.String.Double */
|
306
|
+
.highlight .se { color: #d14 } /* Literal.String.Escape */
|
307
|
+
.highlight .sh { color: #d14 } /* Literal.String.Heredoc */
|
308
|
+
.highlight .si { color: #d14 } /* Literal.String.Interpol */
|
309
|
+
.highlight .sx { color: #d14 } /* Literal.String.Other */
|
310
|
+
.highlight .sr { color: #009926 } /* Literal.String.Regex */
|
311
|
+
.highlight .s1 { color: #d14 } /* Literal.String.Single */
|
312
|
+
.highlight .ss { color: #990073 } /* Literal.String.Symbol */
|
313
|
+
.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
|
314
|
+
.highlight .vc { color: #008080 } /* Name.Variable.Class */
|
315
|
+
.highlight .vg { color: #008080 } /* Name.Variable.Global */
|
316
|
+
.highlight .vi { color: #008080 } /* Name.Variable.Instance */
|
317
|
+
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
|
318
|
+
|
319
|
+
|
320
|
+
/* media queries */
|
321
|
+
/* ----------------------------------------------------------*/
|
322
|
+
|
323
|
+
|
324
|
+
@media screen and (max-width: 750px) {
|
325
|
+
|
326
|
+
.footer-col-1 { width: 50%; }
|
327
|
+
|
328
|
+
.footer-col-2 {
|
329
|
+
width: 45%; /*fallback*/
|
330
|
+
width: -webkit-calc(50% - 10px);
|
331
|
+
width: -moz-calc(50% - 10px);
|
332
|
+
width: -o-calc(50% - 10px);
|
333
|
+
width: calc(50% - 10px);
|
334
|
+
margin-right: 0;
|
335
|
+
}
|
336
|
+
|
337
|
+
.site-footer .column.footer-col-3 {
|
338
|
+
width: auto;
|
339
|
+
float: none;
|
340
|
+
clear: both;
|
341
|
+
}
|
342
|
+
|
343
|
+
}
|
344
|
+
|
345
|
+
@media screen and (max-width: 600px) {
|
346
|
+
|
347
|
+
.wrap { padding: 0 12px; }
|
348
|
+
|
349
|
+
.site-nav {
|
350
|
+
position: fixed;
|
351
|
+
z-index: 10;
|
352
|
+
top: 14px; right: 8px;
|
353
|
+
background-color: white;
|
354
|
+
border-radius: 5px;
|
355
|
+
border: 1px solid #e8e8e8;
|
356
|
+
}
|
357
|
+
|
358
|
+
.site-nav .menu-icon {
|
359
|
+
display: block;
|
360
|
+
font-size: 24px;
|
361
|
+
color: #505050;
|
362
|
+
float: right;
|
363
|
+
width: 36px;
|
364
|
+
text-align: center;
|
365
|
+
line-height: 36px;
|
366
|
+
}
|
367
|
+
|
368
|
+
.site-nav .menu-icon svg { width: 18px; height: 16px; }
|
369
|
+
|
370
|
+
.site-nav .trigger {
|
371
|
+
clear: both;
|
372
|
+
margin-bottom: 5px;
|
373
|
+
display: none;
|
374
|
+
}
|
375
|
+
|
376
|
+
.site-nav:hover .trigger { display: block; }
|
377
|
+
|
378
|
+
.site-nav .page-link {
|
379
|
+
display: block;
|
380
|
+
text-align: right;
|
381
|
+
line-height: 1.25;
|
382
|
+
padding: 5px 10px;
|
383
|
+
margin: 0;
|
384
|
+
}
|
385
|
+
|
386
|
+
.post-header h1 { font-size: 36px; }
|
387
|
+
.post-content h2 { font-size: 28px; }
|
388
|
+
.post-content h3 { font-size: 22px; }
|
389
|
+
.post-content h4 { font-size: 18px; }
|
390
|
+
.post-content blockquote { padding-left: 10px; }
|
391
|
+
.post-content ul,
|
392
|
+
.post-content ol { padding-left: 10px; }
|
393
|
+
|
394
|
+
.site-footer .column {
|
395
|
+
float: none;
|
396
|
+
clear: both;
|
397
|
+
width: auto;
|
398
|
+
margin: 0 0 15px; }
|
399
|
+
|
400
|
+
}
|
data/example/_config.yml
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
theme: Minimalist
|
2
|
+
|
3
|
+
name: A site title
|
4
|
+
description: "Write an awesome description for your new site here. It will appear in your document head meta (for Google search results) and in your feed.xml site description."
|
5
|
+
|
6
|
+
collections:
|
7
|
+
posts:
|
8
|
+
permalink: /posts/:title
|
data/example/index.html
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
Lorem ipsum dolor sit amet, quo id prima corrumpit pertinacia, id ius dolor dolores, an veri pertinax explicari mea. Agam solum et qui, his id ludus graeco adipiscing. Duis theophrastus nam in, at his vidisse atomorum. Tantas gloriatur scripserit ne eos. Est wisi tempor habemus at, ei graeco dissentiet eos. Ne usu aliquip sanctus conceptam, te vis ignota animal, modus latine contentiones ius te.
|
6
|
+
|
7
|
+
{% for post in site.posts %}
|
8
|
+
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
|
9
|
+
{% endfor %}
|
10
|
+
|
11
|
+
Te falli veritus sea, at molestiae scribentur deterruisset vix, et mea zril phaedrum vulputate. No cum dicit consulatu. Ut has nostro noluisse expetendis, te pro quaeque disputando, eu sed summo omnes. Eos at tale aperiam, usu cu propriae quaestio constituto, sed aperiam erroribus temporibus an.
|
12
|
+
|
13
|
+
Quo eu liber mediocritatem, vix an delectus eleifend, iuvaret suscipit ei vel. Partem invenire per an, mea postulant dissentias eu, ius tantas audire nominavi eu. Dicunt tritani veritus ex vis, mei in case sententiae. At exerci democritum nam, cu lobortis iracundia mei. Alia eligendi consectetuer eu sed, paulo docendi noluisse sit ex.
|
@@ -0,0 +1,12 @@
|
|
1
|
+
---
|
2
|
+
layout: post
|
3
|
+
---
|
4
|
+
|
5
|
+
Eos eu docendi tractatos sapientem, brute option menandri in vix, quando vivendo accommodare te ius. Nec melius fastidii constituam id, viderer theophrastus ad sit, hinc semper periculis cum id. Noluisse postulant assentior est in, no choro sadipscing repudiandae vix. Vis in euismod delenit dignissim. Ex quod nostrum sit, suas decore animal id ius, nobis solet detracto quo te.
|
6
|
+
|
7
|
+
{% comment %}
|
8
|
+
Might you have an include in your theme? Why not try it here!
|
9
|
+
{% include my-themes-great-include.html %}
|
10
|
+
{% endcomment %}
|
11
|
+
|
12
|
+
No laudem altera adolescens has, volumus lucilius eum no. Eam ei nulla audiam efficiantur. Suas affert per no, ei tale nibh sea. Sea ne magna harum, in denique scriptorem sea, cetero alienum tibique ei eos. Labores persequeris referrentur eos ei.
|
@@ -0,0 +1,11 @@
|
|
1
|
+
---
|
2
|
+
layout: post
|
3
|
+
title: "Some articles are just so long they deserve a really long title to see if things will break well"
|
4
|
+
categories: misc
|
5
|
+
---
|
6
|
+
|
7
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit. Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum. In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.
|
8
|
+
|
9
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit. Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum. In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.
|
10
|
+
|
11
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce bibendum neque eget nunc mattis eu sollicitudin enim tincidunt. Vestibulum lacus tortor, ultricies id dignissim ac, bibendum in velit. Proin convallis mi ac felis pharetra aliquam. Curabitur dignissim accumsan rutrum. In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est.
|
data/minimalist.gemspec
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
Gem::Specification.new do |spec|
|
4
|
+
spec.name = "Minimalist"
|
5
|
+
spec.version = "0.1.3"
|
6
|
+
spec.authors = ["Ismail"]
|
7
|
+
spec.email = ["ismail@unik.ma"]
|
8
|
+
|
9
|
+
spec.summary = %q{Minimalist Theme for Jekyll by Ismail Mechbal // NB: Not recommended for usage yet.}
|
10
|
+
spec.homepage = "http://github.com/ismailmechbal/jekyll_minimalist_theme"
|
11
|
+
spec.license = "MIT"
|
12
|
+
|
13
|
+
spec.metadata["plugin_type"] = "theme"
|
14
|
+
|
15
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(exe)/}) }
|
16
|
+
spec.bindir = "exe"
|
17
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
18
|
+
|
19
|
+
spec.add_development_dependency "jekyll", "~> 3.2"
|
20
|
+
spec.add_development_dependency "bundler", "~> 1.12"
|
21
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
22
|
+
end
|
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: Minimalist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ismail
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: exe
|
10
10
|
cert_chain: []
|
11
11
|
date: 2016-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
@@ -58,11 +58,29 @@ email:
|
|
58
58
|
executables: []
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
|
-
files:
|
61
|
+
files:
|
62
|
+
- ".gitignore"
|
63
|
+
- Gemfile
|
64
|
+
- LICENSE.txt
|
65
|
+
- README.md
|
66
|
+
- _includes/footer.html
|
67
|
+
- _includes/head.html
|
68
|
+
- _includes/header.html
|
69
|
+
- _layouts/default.html
|
70
|
+
- _layouts/page.html
|
71
|
+
- _layouts/post.html
|
72
|
+
- css/main.css
|
73
|
+
- example/_config.yml
|
74
|
+
- example/css/main.scss
|
75
|
+
- example/index.html
|
76
|
+
- example/posts/2016-08-27-my-first-post.md
|
77
|
+
- example/posts/2016-08-27-my-second-post.md
|
78
|
+
- minimalist.gemspec
|
62
79
|
homepage: http://github.com/ismailmechbal/jekyll_minimalist_theme
|
63
80
|
licenses:
|
64
81
|
- MIT
|
65
|
-
metadata:
|
82
|
+
metadata:
|
83
|
+
plugin_type: theme
|
66
84
|
post_install_message:
|
67
85
|
rdoc_options: []
|
68
86
|
require_paths:
|
@@ -82,5 +100,6 @@ rubyforge_project:
|
|
82
100
|
rubygems_version: 2.5.1
|
83
101
|
signing_key:
|
84
102
|
specification_version: 4
|
85
|
-
summary: Minimalist Theme by Ismail Mechbal
|
103
|
+
summary: 'Minimalist Theme for Jekyll by Ismail Mechbal // NB: Not recommended for
|
104
|
+
usage yet.'
|
86
105
|
test_files: []
|