plainwhite 0.1.0

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
+ SHA1:
3
+ metadata.gz: 318b0ccfd0b7af2a6ea8c8448a8e705d7f976393
4
+ data.tar.gz: 55a68c9eb60c5edd8b2cc9ed5bdb82a866835533
5
+ SHA512:
6
+ metadata.gz: bd027d1559ec0f64dde00d2705bbc87941e35c474f2b96bd19e40e48cc1c5ae75d8822eb61fa01fa6135e31a4ae2536d0fc2fb16b39d28bc8d8ee89994bf4a67
7
+ data.tar.gz: 1cb9aef129d2f02d74d235b8fcecbf236e1c8089ca21d82f0989e84d5661093f41d8cf31e3bcb1fabdac313195646f59926aa5e5f4bcb42141b9c5f065b3548b
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Samarjeet
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,50 @@
1
+ # plainwhite
2
+
3
+ Simplistic jekyll theme for writers.
4
+
5
+ ![plainwhite theme preview](/screenshot.png)
6
+
7
+
8
+ ## Installation
9
+
10
+ Add this line to your Jekyll site's `Gemfile`:
11
+
12
+ ```ruby
13
+ gem "plainwhite"
14
+ ```
15
+
16
+ And add this line to your Jekyll site's `_config.yml`:
17
+
18
+ ```yaml
19
+ theme: plainwhite
20
+ ```
21
+
22
+ And then execute:
23
+
24
+ $ bundle
25
+
26
+ Or install it yourself as:
27
+
28
+ $ gem install plainwhite
29
+
30
+ ## Usage
31
+
32
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
33
+
34
+ ## Contributing
35
+
36
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. 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.
37
+
38
+ ## Development
39
+
40
+ To set up your environment to develop this theme, run `bundle install`.
41
+
42
+ Your theme is setup just like a normal Jekyll 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.
43
+
44
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
45
+ To add a custom directory to your theme-gem, please edit the regexp in `plainwhite.gemspec` accordingly.
46
+
47
+ ## License
48
+
49
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
50
+
@@ -0,0 +1,30 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <meta name="description" content="{{ site.description }}">
7
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
8
+ <link href="https://fonts.googleapis.com/css?family=Merriweather:300|Raleway:400,700" rel="stylesheet">
9
+ <link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
10
+ <title>{{ page.title | default: site.title }}</title>
11
+ </head>
12
+ <body>
13
+ <main class="container">
14
+ <section class="about">
15
+ <img src="{{ "/assets/portfolio.png" | relative_url }}" alt="{{ site.plainwhite.name }}">
16
+ <h2>{{ site.plainwhite.name }}</h2>
17
+ <p class="tagline">{{ site.plainwhite.tagline }}</p>
18
+ <ul class="social">
19
+ <a href="https://github.com/{{ site.plainwhite.social_links.github }}"><li><i class="icon-github-circled"></i></li></a>
20
+ <a href="https://linkedin.com/{{ site.plainwhite.social_links.linkedIn }}"><li><i class="icon-linkedin-squared"></i></li></a>
21
+ <a href="https://twitter.com/{{ site.plainwhite.social_links.twitter }}"><li><i class="icon-twitter-squared"></i></li></a>
22
+ </ul>
23
+ <p>&copy; 2019</p>
24
+ </section>
25
+ <section class="content">
26
+ {{ content }}
27
+ </section>
28
+ </main>
29
+ </body>
30
+ </html>
@@ -0,0 +1,40 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {%- if page.title -%}
6
+ <h1 class="page-heading">{{ page.title }}</h1>
7
+ {%- endif -%}
8
+
9
+ {{ content }}
10
+
11
+ {%- if site.posts.size > 0 -%}
12
+ <ul class="posts">
13
+ {%- for post in site.posts -%}
14
+ <li>
15
+ {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
16
+ <a class="post-link" href="{{ post.url | relative_url }}">
17
+ <h2 class="post-title">{{ post.title | escape }}</h2>
18
+ </a>
19
+ <div class="post-meta">
20
+ <ul class="post-categories">
21
+ {%- for tag in post.categories -%}
22
+ <li>{{ tag }}</li>
23
+ {%- endfor -%}
24
+ </ul>
25
+ <div class="post-date"><i class="icon-calendar"></i>{{ post.date | date: date_format }}</div>
26
+ </div>
27
+ <div class="post">
28
+ {%- if site.show_excerpts -%}
29
+ {{ post.excerpt }}
30
+ {%- endif -%}
31
+ </div>
32
+ </li>
33
+ {%- endfor -%}
34
+ </ul>
35
+
36
+ <!-- <p class="feed-subscribe"><svg class="svg-icon orange">
37
+ <use xlink:href="{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"></use>
38
+ </svg><a href="{{ "/feed.xml" | relative_url }}">Subscribe</a></p> -->
39
+ {%- endif -%}
40
+
@@ -0,0 +1,20 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
5
+ <div class="post-container">
6
+ <a class="post-link" href="{{ page.url | relative_url }}">
7
+ <h2 class="post-title">{{ page.title | escape }}</h2>
8
+ </a>
9
+ <div class="post-meta">
10
+ <ul class="post-categories">
11
+ {%- for tag in page.categories -%}
12
+ <li>{{ tag }}</li>
13
+ {%- endfor -%}
14
+ </ul>
15
+ <div class="post-date"><i class="icon-calendar"></i>{{ page.date | date: date_format }}</div>
16
+ </div>
17
+ <div class="post">
18
+ {{ content }}
19
+ </div>
20
+ </div>
@@ -0,0 +1,14 @@
1
+ @import 'ext/solarized-light';
2
+
3
+ .highlight {
4
+ background-color: #f4f4f4;
5
+ }
6
+
7
+ div.highlight {
8
+ padding: 5px 20px;
9
+ }
10
+ pre.highlight, code {
11
+ font-family: 'Consolas', Menlo, monospace;
12
+ line-height: 1.4em;
13
+ tab-size: 4;
14
+ }
@@ -0,0 +1,61 @@
1
+ @font-face {
2
+ font-family: 'fontello';
3
+ src: url('../font/fontello.eot?26793073');
4
+ src: url('../font/fontello.eot?26793073#iefix') format('embedded-opentype'),
5
+ url('../font/fontello.woff2?26793073') format('woff2'),
6
+ url('../font/fontello.woff?26793073') format('woff'),
7
+ url('../font/fontello.ttf?26793073') format('truetype'),
8
+ url('../font/fontello.svg?26793073#fontello') format('svg');
9
+ font-weight: normal;
10
+ font-style: normal;
11
+ }
12
+ /* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
13
+ /* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
14
+ /*
15
+ @media screen and (-webkit-min-device-pixel-ratio:0) {
16
+ @font-face {
17
+ font-family: 'fontello';
18
+ src: url('../font/fontello.svg?26793073#fontello') format('svg');
19
+ }
20
+ }
21
+ */
22
+
23
+ [class^="icon-"]:before, [class*=" icon-"]:before {
24
+ font-family: "fontello";
25
+ font-style: normal;
26
+ font-weight: normal;
27
+ speak: none;
28
+
29
+ display: inline-block;
30
+ text-decoration: inherit;
31
+ width: 1em;
32
+ margin-right: .2em;
33
+ text-align: center;
34
+ /* opacity: .8; */
35
+
36
+ /* For safety - reset parent styles, that can break glyph codes*/
37
+ font-variant: normal;
38
+ text-transform: none;
39
+
40
+ /* fix buttons height, for twitter bootstrap */
41
+ line-height: 1em;
42
+
43
+ /* Animation center compensation - margins should be symmetric */
44
+ /* remove if not needed */
45
+ margin-left: .2em;
46
+
47
+ /* you can be more comfortable with increased icons size */
48
+ /* font-size: 120%; */
49
+
50
+ /* Font smoothing. That was taken from TWBS */
51
+ -webkit-font-smoothing: antialiased;
52
+ -moz-osx-font-smoothing: grayscale;
53
+
54
+ /* Uncomment for 3D effect */
55
+ /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
56
+ }
57
+
58
+ .icon-calendar:before { content: '\e800'; } /* '' */
59
+ .icon-github-circled:before { content: '\f09b'; } /* '' */
60
+ .icon-twitter-squared:before { content: '\f304'; } /* '' */
61
+ .icon-linkedin-squared:before { content: '\f30c'; } /* '' */
@@ -0,0 +1,428 @@
1
+ /*! normalize.css v3.0.2 | MIT License | git.io/normalize */
2
+
3
+ //
4
+ // 1. Set default font family to sans-serif.
5
+ // 2. Prevent iOS text size adjust after orientation change, without disabling
6
+ // user zoom.
7
+ //
8
+
9
+ html {
10
+ font-family: sans-serif; // 1
11
+ -ms-text-size-adjust: 100%; // 2
12
+ -webkit-text-size-adjust: 100%; // 2
13
+ }
14
+
15
+ //
16
+ // Remove default margin.
17
+ //
18
+
19
+ body {
20
+ margin: 0;
21
+ }
22
+
23
+ // HTML5 display definitions
24
+ // ==========================================================================
25
+
26
+ //
27
+ // Correct `block` display not defined for any HTML5 element in IE 8/9.
28
+ // Correct `block` display not defined for `details` or `summary` in IE 10/11
29
+ // and Firefox.
30
+ // Correct `block` display not defined for `main` in IE 11.
31
+ //
32
+
33
+ article,
34
+ aside,
35
+ details,
36
+ figcaption,
37
+ figure,
38
+ footer,
39
+ header,
40
+ hgroup,
41
+ main,
42
+ menu,
43
+ nav,
44
+ section,
45
+ summary {
46
+ display: block;
47
+ }
48
+
49
+ //
50
+ // 1. Correct `inline-block` display not defined in IE 8/9.
51
+ // 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
52
+ //
53
+
54
+ audio,
55
+ canvas,
56
+ progress,
57
+ video {
58
+ display: inline-block; // 1
59
+ vertical-align: baseline; // 2
60
+ }
61
+
62
+ //
63
+ // Prevent modern browsers from displaying `audio` without controls.
64
+ // Remove excess height in iOS 5 devices.
65
+ //
66
+
67
+ audio:not([controls]) {
68
+ display: none;
69
+ height: 0;
70
+ }
71
+
72
+ //
73
+ // Address `[hidden]` styling not present in IE 8/9/10.
74
+ // Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
75
+ //
76
+
77
+ [hidden],
78
+ template {
79
+ display: none;
80
+ }
81
+
82
+ // Links
83
+ // ==========================================================================
84
+
85
+ //
86
+ // Remove the gray background color from active links in IE 10.
87
+ //
88
+
89
+ a {
90
+ background-color: transparent;
91
+ }
92
+
93
+ //
94
+ // Improve readability when focused and also mouse hovered in all browsers.
95
+ //
96
+
97
+ a:active,
98
+ a:hover {
99
+ outline: 0;
100
+ }
101
+
102
+ // Text-level semantics
103
+ // ==========================================================================
104
+
105
+ //
106
+ // Address styling not present in IE 8/9/10/11, Safari, and Chrome.
107
+ //
108
+
109
+ abbr[title] {
110
+ border-bottom: 1px dotted;
111
+ }
112
+
113
+ //
114
+ // Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
115
+ //
116
+
117
+ b,
118
+ strong {
119
+ font-weight: bold;
120
+ }
121
+
122
+ //
123
+ // Address styling not present in Safari and Chrome.
124
+ //
125
+
126
+ dfn {
127
+ font-style: italic;
128
+ }
129
+
130
+ //
131
+ // Address variable `h1` font-size and margin within `section` and `article`
132
+ // contexts in Firefox 4+, Safari, and Chrome.
133
+ //
134
+
135
+ h1 {
136
+ font-size: 2em;
137
+ margin: 0.67em 0;
138
+ }
139
+
140
+ //
141
+ // Address styling not present in IE 8/9.
142
+ //
143
+
144
+ mark {
145
+ background: #ff0;
146
+ color: #000;
147
+ }
148
+
149
+ //
150
+ // Address inconsistent and variable font size in all browsers.
151
+ //
152
+
153
+ small {
154
+ font-size: 80%;
155
+ }
156
+
157
+ //
158
+ // Prevent `sub` and `sup` affecting `line-height` in all browsers.
159
+ //
160
+
161
+ sub,
162
+ sup {
163
+ font-size: 75%;
164
+ line-height: 0;
165
+ position: relative;
166
+ vertical-align: baseline;
167
+ }
168
+
169
+ sup {
170
+ top: -0.5em;
171
+ }
172
+
173
+ sub {
174
+ bottom: -0.25em;
175
+ }
176
+
177
+ // Embedded content
178
+ // ==========================================================================
179
+
180
+ //
181
+ // Remove border when inside `a` element in IE 8/9/10.
182
+ //
183
+
184
+ img {
185
+ border: 0;
186
+ }
187
+
188
+ //
189
+ // Correct overflow not hidden in IE 9/10/11.
190
+ //
191
+
192
+ svg:not(:root) {
193
+ overflow: hidden;
194
+ }
195
+
196
+ // Grouping content
197
+ // ==========================================================================
198
+
199
+ //
200
+ // Address margin not present in IE 8/9 and Safari.
201
+ //
202
+
203
+ figure {
204
+ margin: 1em 40px;
205
+ }
206
+
207
+ //
208
+ // Address differences between Firefox and other browsers.
209
+ //
210
+
211
+ hr {
212
+ -moz-box-sizing: content-box;
213
+ box-sizing: content-box;
214
+ height: 0;
215
+ }
216
+
217
+ //
218
+ // Contain overflow in all browsers.
219
+ //
220
+
221
+ pre {
222
+ overflow: auto;
223
+ }
224
+
225
+ //
226
+ // Address odd `em`-unit font size rendering in all browsers.
227
+ //
228
+
229
+ code,
230
+ kbd,
231
+ pre,
232
+ samp {
233
+ font-family: monospace, monospace;
234
+ font-size: 1em;
235
+ }
236
+
237
+ // Forms
238
+ // ==========================================================================
239
+
240
+ //
241
+ // Known limitation: by default, Chrome and Safari on OS X allow very limited
242
+ // styling of `select`, unless a `border` property is set.
243
+ //
244
+
245
+ //
246
+ // 1. Correct color not being inherited.
247
+ // Known issue: affects color of disabled elements.
248
+ // 2. Correct font properties not being inherited.
249
+ // 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
250
+ //
251
+
252
+ button,
253
+ input,
254
+ optgroup,
255
+ select,
256
+ textarea {
257
+ color: inherit; // 1
258
+ font: inherit; // 2
259
+ margin: 0; // 3
260
+ }
261
+
262
+ //
263
+ // Address `overflow` set to `hidden` in IE 8/9/10/11.
264
+ //
265
+
266
+ button {
267
+ overflow: visible;
268
+ }
269
+
270
+ //
271
+ // Address inconsistent `text-transform` inheritance for `button` and `select`.
272
+ // All other form control elements do not inherit `text-transform` values.
273
+ // Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
274
+ // Correct `select` style inheritance in Firefox.
275
+ //
276
+
277
+ button,
278
+ select {
279
+ text-transform: none;
280
+ }
281
+
282
+ //
283
+ // 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
284
+ // and `video` controls.
285
+ // 2. Correct inability to style clickable `input` types in iOS.
286
+ // 3. Improve usability and consistency of cursor style between image-type
287
+ // `input` and others.
288
+ //
289
+
290
+ button,
291
+ html input[type="button"],
292
+ // 1
293
+ input[type="reset"],
294
+ input[type="submit"] {
295
+ -webkit-appearance: button; // 2
296
+ cursor: pointer; // 3
297
+ }
298
+
299
+ //
300
+ // Re-set default cursor for disabled elements.
301
+ //
302
+
303
+ button[disabled],
304
+ html input[disabled] {
305
+ cursor: default;
306
+ }
307
+
308
+ //
309
+ // Remove inner padding and border in Firefox 4+.
310
+ //
311
+
312
+ button::-moz-focus-inner,
313
+ input::-moz-focus-inner {
314
+ border: 0;
315
+ padding: 0;
316
+ }
317
+
318
+ //
319
+ // Address Firefox 4+ setting `line-height` on `input` using `!important` in
320
+ // the UA stylesheet.
321
+ //
322
+
323
+ input {
324
+ line-height: normal;
325
+ }
326
+
327
+ //
328
+ // It's recommended that you don't attempt to style these elements.
329
+ // Firefox's implementation doesn't respect box-sizing, padding, or width.
330
+ //
331
+ // 1. Address box sizing set to `content-box` in IE 8/9/10.
332
+ // 2. Remove excess padding in IE 8/9/10.
333
+ //
334
+
335
+ input[type="checkbox"],
336
+ input[type="radio"] {
337
+ box-sizing: border-box; // 1
338
+ padding: 0; // 2
339
+ }
340
+
341
+ //
342
+ // Fix the cursor style for Chrome's increment/decrement buttons. For certain
343
+ // `font-size` values of the `input`, it causes the cursor style of the
344
+ // decrement button to change from `default` to `text`.
345
+ //
346
+
347
+ input[type="number"]::-webkit-inner-spin-button,
348
+ input[type="number"]::-webkit-outer-spin-button {
349
+ height: auto;
350
+ }
351
+
352
+ //
353
+ // 1. Address `appearance` set to `searchfield` in Safari and Chrome.
354
+ // 2. Address `box-sizing` set to `border-box` in Safari and Chrome
355
+ // (include `-moz` to future-proof).
356
+ //
357
+
358
+ input[type="search"] {
359
+ -webkit-appearance: textfield; // 1
360
+ -moz-box-sizing: content-box;
361
+ -webkit-box-sizing: content-box; // 2
362
+ box-sizing: content-box;
363
+ }
364
+
365
+ //
366
+ // Remove inner padding and search cancel button in Safari and Chrome on OS X.
367
+ // Safari (but not Chrome) clips the cancel button when the search input has
368
+ // padding (and `textfield` appearance).
369
+ //
370
+
371
+ input[type="search"]::-webkit-search-cancel-button,
372
+ input[type="search"]::-webkit-search-decoration {
373
+ -webkit-appearance: none;
374
+ }
375
+
376
+ //
377
+ // Define consistent border, margin, and padding.
378
+ //
379
+
380
+ fieldset {
381
+ border: 1px solid #c0c0c0;
382
+ margin: 0 2px;
383
+ padding: 0.35em 0.625em 0.75em;
384
+ }
385
+
386
+ //
387
+ // 1. Correct `color` not being inherited in IE 8/9/10/11.
388
+ // 2. Remove padding so people aren't caught out if they zero out fieldsets.
389
+ //
390
+
391
+ legend {
392
+ border: 0; // 1
393
+ padding: 0; // 2
394
+ }
395
+
396
+ //
397
+ // Remove default vertical scrollbar in IE 8/9/10/11.
398
+ //
399
+
400
+ textarea {
401
+ overflow: auto;
402
+ }
403
+
404
+ //
405
+ // Don't inherit the `font-weight` (applied by a rule above).
406
+ // NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
407
+ //
408
+
409
+ optgroup {
410
+ font-weight: bold;
411
+ }
412
+
413
+ // Tables
414
+ // ==========================================================================
415
+
416
+ //
417
+ // Remove most spacing between table cells.
418
+ //
419
+
420
+ table {
421
+ border-collapse: collapse;
422
+ border-spacing: 0;
423
+ }
424
+
425
+ td,
426
+ th {
427
+ padding: 0;
428
+ }
@@ -0,0 +1,84 @@
1
+ /* Solarized Light
2
+ For use with Jekyll and Pygments
3
+ http://ethanschoonover.com/solarized
4
+ SOLARIZED HEX ROLE
5
+ --------- -------- ------------------------------------------
6
+ base01 #586e75 body text / default code / primary content
7
+ base1 #93a1a1 comments / secondary content
8
+ base3 #fdf6e3 background
9
+ orange #cb4b16 constants
10
+ red #dc322f regex, special keywords
11
+ blue #268bd2 reserved keywords
12
+ cyan #2aa198 strings, numbers
13
+ green #859900 operators, other keywords
14
+ */
15
+
16
+ .highlight { background-color: #fdf6e3; color: #586e75 }
17
+ .highlight .c { color: #93a1a1 } /* Comment */
18
+ .highlight .err { color: #586e75 } /* Error */
19
+ .highlight .g { color: #586e75 } /* Generic */
20
+ .highlight .k { color: #859900 } /* Keyword */
21
+ .highlight .l { color: #586e75 } /* Literal */
22
+ .highlight .n { color: #586e75 } /* Name */
23
+ .highlight .o { color: #859900 } /* Operator */
24
+ .highlight .x { color: #cb4b16 } /* Other */
25
+ .highlight .p { color: #586e75 } /* Punctuation */
26
+ .highlight .cm { color: #93a1a1 } /* Comment.Multiline */
27
+ .highlight .cp { color: #859900 } /* Comment.Preproc */
28
+ .highlight .c1 { color: #93a1a1 } /* Comment.Single */
29
+ .highlight .cs { color: #859900 } /* Comment.Special */
30
+ .highlight .gd { color: #2aa198 } /* Generic.Deleted */
31
+ .highlight .ge { color: #586e75; font-style: italic } /* Generic.Emph */
32
+ .highlight .gr { color: #dc322f } /* Generic.Error */
33
+ .highlight .gh { color: #cb4b16 } /* Generic.Heading */
34
+ .highlight .gi { color: #859900 } /* Generic.Inserted */
35
+ .highlight .go { color: #586e75 } /* Generic.Output */
36
+ .highlight .gp { color: #586e75 } /* Generic.Prompt */
37
+ .highlight .gs { color: #586e75; font-weight: bold } /* Generic.Strong */
38
+ .highlight .gu { color: #cb4b16 } /* Generic.Subheading */
39
+ .highlight .gt { color: #586e75 } /* Generic.Traceback */
40
+ .highlight .kc { color: #cb4b16 } /* Keyword.Constant */
41
+ .highlight .kd { color: #268bd2 } /* Keyword.Declaration */
42
+ .highlight .kn { color: #859900 } /* Keyword.Namespace */
43
+ .highlight .kp { color: #859900 } /* Keyword.Pseudo */
44
+ .highlight .kr { color: #268bd2 } /* Keyword.Reserved */
45
+ .highlight .kt { color: #dc322f } /* Keyword.Type */
46
+ .highlight .ld { color: #586e75 } /* Literal.Date */
47
+ .highlight .m { color: #2aa198 } /* Literal.Number */
48
+ .highlight .s { color: #2aa198 } /* Literal.String */
49
+ .highlight .na { color: #586e75 } /* Name.Attribute */
50
+ .highlight .nb { color: #B58900 } /* Name.Builtin */
51
+ .highlight .nc { color: #268bd2 } /* Name.Class */
52
+ .highlight .no { color: #cb4b16 } /* Name.Constant */
53
+ .highlight .nd { color: #268bd2 } /* Name.Decorator */
54
+ .highlight .ni { color: #cb4b16 } /* Name.Entity */
55
+ .highlight .ne { color: #cb4b16 } /* Name.Exception */
56
+ .highlight .nf { color: #268bd2 } /* Name.Function */
57
+ .highlight .nl { color: #586e75 } /* Name.Label */
58
+ .highlight .nn { color: #586e75 } /* Name.Namespace */
59
+ .highlight .nx { color: #586e75 } /* Name.Other */
60
+ .highlight .py { color: #586e75 } /* Name.Property */
61
+ .highlight .nt { color: #268bd2 } /* Name.Tag */
62
+ .highlight .nv { color: #268bd2 } /* Name.Variable */
63
+ .highlight .ow { color: #859900 } /* Operator.Word */
64
+ .highlight .w { color: #586e75 } /* Text.Whitespace */
65
+ .highlight .mf { color: #2aa198 } /* Literal.Number.Float */
66
+ .highlight .mh { color: #2aa198 } /* Literal.Number.Hex */
67
+ .highlight .mi { color: #2aa198 } /* Literal.Number.Integer */
68
+ .highlight .mo { color: #2aa198 } /* Literal.Number.Oct */
69
+ .highlight .sb { color: #93a1a1 } /* Literal.String.Backtick */
70
+ .highlight .sc { color: #2aa198 } /* Literal.String.Char */
71
+ .highlight .sd { color: #586e75 } /* Literal.String.Doc */
72
+ .highlight .s2 { color: #2aa198 } /* Literal.String.Double */
73
+ .highlight .se { color: #cb4b16 } /* Literal.String.Escape */
74
+ .highlight .sh { color: #586e75 } /* Literal.String.Heredoc */
75
+ .highlight .si { color: #2aa198 } /* Literal.String.Interpol */
76
+ .highlight .sx { color: #2aa198 } /* Literal.String.Other */
77
+ .highlight .sr { color: #dc322f } /* Literal.String.Regex */
78
+ .highlight .s1 { color: #2aa198 } /* Literal.String.Single */
79
+ .highlight .ss { color: #2aa198 } /* Literal.String.Symbol */
80
+ .highlight .bp { color: #268bd2 } /* Name.Builtin.Pseudo */
81
+ .highlight .vc { color: #268bd2 } /* Name.Variable.Class */
82
+ .highlight .vg { color: #268bd2 } /* Name.Variable.Global */
83
+ .highlight .vi { color: #268bd2 } /* Name.Variable.Instance */
84
+ .highlight .il { color: #2aa198 } /* Literal.Number.Integer.Long */
data/_sass/plain.scss ADDED
@@ -0,0 +1,159 @@
1
+ @import 'ext/fonts';
2
+ @import 'ext/normalize';
3
+ @import 'syntax';
4
+
5
+ $linkColor: #0A59B0;
6
+ $mobileW: 768px;
7
+ $smallMobileW: 480px;
8
+ $bigScreenW: 1600px;
9
+
10
+ *,*:before,*:after {
11
+ box-sizing: border-box;
12
+ }
13
+
14
+ body {
15
+ font-family: 'Raleway', sans-serif;
16
+ font-size: 16px;
17
+ line-height: 1.2em;
18
+ margin: 0;
19
+ -webkit-font-smoothing: antialiased;
20
+ -moz-osx-font-smoothing: grayscale;
21
+ }
22
+
23
+ img, embed, object, video {
24
+ max-width: 100%;
25
+ }
26
+
27
+ a {
28
+ color: #000;
29
+ transition: color 0.3s;
30
+ &:hover {
31
+ color: #0A59B0;
32
+ }
33
+ }
34
+
35
+ main {
36
+ margin: 0 90px;
37
+ @media screen and (min-width: $bigScreenW) {
38
+ margin: 0 auto;
39
+ max-width: 1440px;
40
+ }
41
+ @media screen and (max-width: 1280px) {
42
+ margin: 0 75px;
43
+ }
44
+ @media screen and (max-width: 1024px){
45
+ margin: 0 35px;
46
+ }
47
+
48
+ @media screen and (max-width: $mobileW) {
49
+ margin: 0 10px;
50
+ flex-direction: column;
51
+ }
52
+ @media screen and (max-width: $smallMobileW) {
53
+ margin: 0;
54
+ }
55
+ display: flex;
56
+ height: 100%;
57
+ @media screen and (min-width: $mobileW + 1){
58
+ .content {
59
+ margin-left: 220px;
60
+ }
61
+ }
62
+ .about {
63
+ display: flex;
64
+ height: 100vh;
65
+ padding-bottom: 15vh;
66
+ @media screen and (max-width: $mobileW) {
67
+ height: auto;
68
+ padding: 10vh 0;
69
+ }
70
+ @media screen and (min-width: $mobileW + 1) {
71
+ position: fixed;
72
+ }
73
+ min-width: 220px;
74
+ justify-content: center;
75
+ flex-direction: column;
76
+ align-items: center;
77
+ h2 {
78
+ font-size: 22px;
79
+ margin-top: 25px;
80
+ margin-bottom: 0;
81
+ color: #222222;
82
+ font-weight: normal;
83
+ }
84
+ .tagline {
85
+ font-size: 22px;
86
+ margin-top: 17px;
87
+ color: #aaa;
88
+ }
89
+ img {
90
+ max-width: 150px;
91
+ }
92
+ }
93
+ }
94
+ .social {
95
+ list-style-type: none;
96
+ padding: 0;
97
+ margin-top: 0;
98
+ li {
99
+ float: left;
100
+ i {
101
+ font-size: 34px;
102
+ }
103
+ }
104
+ }
105
+
106
+ .post-categories {
107
+ list-style-type: none;
108
+ margin: 0;
109
+ padding: 0;
110
+ li {
111
+ font-size: 14px;
112
+ float: left;
113
+ background-color: #E3E3E3;
114
+ padding: 5px 20px;
115
+ border-radius: 2px;
116
+ @media screen and (max-width: $mobileW){
117
+ margin-top: 5px;
118
+ }
119
+ margin-right: 10px;
120
+ }
121
+ }
122
+ .post-date {
123
+ margin-right: 10px;
124
+ color: #555;
125
+ }
126
+ .post-meta {
127
+ display: flex;
128
+ justify-content: space-between;
129
+ align-items: center;
130
+ }
131
+ .post-link {
132
+ text-decoration: none;
133
+ }
134
+
135
+ .post-title {
136
+ line-height: 1.2em;
137
+ font-size: 28px;
138
+ }
139
+ .posts, .post-container {
140
+ list-style-type: none;
141
+ margin: 45px 30px;
142
+ @media screen and (max-width: $smallMobileW){
143
+ margin-left: 20px;
144
+ margin-right: 20px;
145
+ }
146
+ @media screen and (max-width: $mobileW){
147
+ padding: 0 !important;
148
+ margin-top: 0;
149
+ }
150
+ }
151
+ .post-container {
152
+ padding-left: 40px;
153
+ }
154
+ .post {
155
+ font-family: 'Merriweather', sans-serif;
156
+ font-weight: 300;
157
+ color: #222;
158
+ line-height: 1.9em;
159
+ }
data/assets/.DS_Store ADDED
Binary file
@@ -0,0 +1,4 @@
1
+ ---
2
+ ---
3
+
4
+ @import "plain";
Binary file
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Copyright (C) 2019 by original authors @ fontello.com</metadata>
5
+ <defs>
6
+ <font id="fontello" horiz-adv-x="1000" >
7
+ <font-face font-family="fontello" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
8
+ <missing-glyph horiz-adv-x="1000" />
9
+ <glyph glyph-name="calendar" unicode="&#xe800;" d="M71-79h161v161h-161v-161z m197 0h178v161h-178v-161z m-197 197h161v178h-161v-178z m197 0h178v178h-178v-178z m-197 214h161v161h-161v-161z m411-411h179v161h-179v-161z m-214 411h178v161h-178v-161z m428-411h161v161h-161v-161z m-214 197h179v178h-179v-178z m-196 482v161q0 7-6 12t-12 6h-36q-7 0-12-6t-6-12v-161q0-7 6-13t12-5h36q7 0 12 5t6 13z m410-482h161v178h-161v-178z m-214 214h179v161h-179v-161z m214 0h161v161h-161v-161z m18 268v161q0 7-5 12t-13 6h-35q-7 0-13-6t-5-12v-161q0-7 5-13t13-5h35q8 0 13 5t5 13z m215 36v-715q0-29-22-50t-50-21h-786q-29 0-50 21t-21 50v715q0 29 21 50t50 21h72v54q0 37 26 63t63 26h36q37 0 63-26t26-63v-54h214v54q0 37 27 63t63 26h35q37 0 64-26t26-63v-54h71q29 0 50-21t22-50z" horiz-adv-x="928.6" />
10
+
11
+ <glyph glyph-name="github-circled" unicode="&#xf09b;" d="M429 779q116 0 215-58t156-156 57-215q0-140-82-252t-211-155q-15-3-22 4t-7 17q0 1 0 43t0 75q0 54-29 79 32 3 57 10t53 22 45 37 30 58 11 84q0 67-44 115 21 51-4 114-16 5-46-6t-51-25l-21-13q-52 15-107 15t-108-15q-8 6-23 15t-47 22-47 7q-25-63-5-114-44-48-44-115 0-47 12-83t29-59 45-37 52-22 57-10q-21-20-27-58-12-5-25-8t-32-3-36 12-31 35q-11 18-27 29t-28 14l-11 1q-12 0-16-2t-3-7 5-8 7-6l4-3q12-6 24-21t18-29l6-13q7-21 24-34t37-17 39-3 31 1l13 3q0-22 0-50t1-30q0-10-8-17t-22-4q-129 43-211 155t-82 252q0 117 58 215t155 156 216 58z m-267-616q2 4-3 7-6 1-8-1-1-4 4-7 5-3 7 1z m18-19q4 3-1 9-6 5-9 2-4-3 1-9 5-6 9-2z m16-25q6 4 0 11-4 7-9 3-5-3 0-10t9-4z m24-23q4 4-2 10-7 7-11 2-5-5 2-11 6-6 11-1z m32-14q1 6-8 9-8 2-10-4t7-9q8-3 11 4z m35-3q0 7-10 6-9 0-9-6 0-7 10-6 9 0 9 6z m32 5q-1 7-10 5-9-1-8-8t10-4 8 7z" horiz-adv-x="857.1" />
12
+
13
+ <glyph glyph-name="twitter-squared" unicode="&#xf304;" d="M714 510q-31-14-67-19 38 22 52 65-37-21-75-28-34 36-85 36-49 0-83-34t-35-83q0-16 3-27-72 4-135 37t-107 86q-16-28-16-59 0-64 51-98-27 1-56 15v-1q0-42 28-75t68-40q-16-5-28-5-7 0-22 3 12-36 42-59t67-23q-64-50-145-50-15 0-28 2 82-53 180-53 62 0 117 20t94 53 67 76 42 91 13 94q0 10 0 15 35 25 58 61z m143 108v-536q0-66-47-113t-114-48h-535q-67 0-114 48t-47 113v536q0 66 47 113t114 48h535q67 0 114-48t47-113z" horiz-adv-x="857.1" />
14
+
15
+ <glyph glyph-name="linkedin-squared" unicode="&#xf30c;" d="M132 61h129v387h-129v-387z m138 507q-1 29-21 48t-51 19-53-19-21-48q0-29 20-48t52-19h0q33 0 53 19t21 48z m326-507h129v222q0 86-41 130t-107 44q-76 0-117-65h1v56h-129q2-37 0-387h129v217q0 21 4 31 8 19 25 33t41 14q65 0 65-88v-207z m261 557v-536q0-66-47-113t-114-48h-535q-67 0-114 48t-47 113v536q0 66 47 113t114 48h535q67 0 114-48t47-113z" horiz-adv-x="857.1" />
16
+ </font>
17
+ </defs>
18
+ </svg>
Binary file
Binary file
Binary file
Binary file
metadata ADDED
@@ -0,0 +1,104 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: plainwhite
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Samarjeet
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-03-26 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
+ - thelehhman@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - LICENSE.txt
63
+ - README.md
64
+ - _layouts/default.html
65
+ - _layouts/home.html
66
+ - _layouts/post.html
67
+ - _sass/_syntax.scss
68
+ - _sass/ext/_fonts.scss
69
+ - _sass/ext/_normalize.scss
70
+ - _sass/ext/_solarized-light.scss
71
+ - _sass/plain.scss
72
+ - assets/.DS_Store
73
+ - assets/css/style.scss
74
+ - assets/font/fontello.eot
75
+ - assets/font/fontello.svg
76
+ - assets/font/fontello.ttf
77
+ - assets/font/fontello.woff
78
+ - assets/font/fontello.woff2
79
+ - assets/portfolio.png
80
+ homepage: https://thelehhman.com/
81
+ licenses:
82
+ - MIT
83
+ metadata: {}
84
+ post_install_message:
85
+ rdoc_options: []
86
+ require_paths:
87
+ - lib
88
+ required_ruby_version: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ required_rubygems_version: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
98
+ requirements: []
99
+ rubyforge_project:
100
+ rubygems_version: 2.5.2.3
101
+ signing_key:
102
+ specification_version: 4
103
+ summary: Plain White theme for jekyll
104
+ test_files: []