jekyll-theme-simpleton 0.4.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/_config.yml +24 -3
  3. data/_includes/copyright.html +7 -0
  4. data/_includes/footer.html +3 -1
  5. data/_includes/header.html +7 -7
  6. data/_includes/menu.html +19 -13
  7. data/_includes/post-listing.html +55 -0
  8. data/_includes/series.html +33 -0
  9. data/_layouts/default.html +17 -10
  10. data/_layouts/home.html +4 -34
  11. data/_layouts/page.html +43 -26
  12. data/_layouts/post.html +46 -27
  13. data/_sass/README.md +50 -0
  14. data/_sass/abstracts/_all.scss +7 -0
  15. data/_sass/abstracts/_mixins.scss +58 -0
  16. data/_sass/{modules → abstracts/variables}/_breakpoints.scss +0 -0
  17. data/_sass/{modules → abstracts/variables}/_colors.scss +6 -0
  18. data/_sass/abstracts/variables/_spacing.scss +8 -0
  19. data/_sass/abstracts/variables/_transition.scss +2 -0
  20. data/_sass/abstracts/variables/_typography.scss +3 -0
  21. data/_sass/abstracts/variables/_z-index.scss +4 -0
  22. data/_sass/base/_all.scss +3 -0
  23. data/_sass/base/_normalize.scss +1 -0
  24. data/_sass/base/_typography.scss +4 -0
  25. data/_sass/components/_hero.scss +5 -0
  26. data/_sass/components/_list-style-none.scss +3 -0
  27. data/_sass/components/_nav.scss +7 -0
  28. data/_sass/components/_text-align.scss +21 -0
  29. data/_sass/layout/_gallery.scss +31 -0
  30. data/_sass/layout/_justified-p.scss +5 -0
  31. data/_sass/layout/_side-menu.scss +118 -0
  32. data/_sass/pages/_gallery.scss +0 -0
  33. data/_sass/pages/_home.scss +31 -28
  34. data/_sass/themes/_beko-art.scss +60 -0
  35. data/_sass/themes/_purebred.scss +5 -0
  36. data/_sass/themes/_simpleton.scss +23 -0
  37. data/_sass/vendor/_bootstrap.scss +1 -0
  38. data/_sass/vendor/_dancing-script.scss +1 -0
  39. data/_sass/vendor/_normalize.scss +1 -0
  40. data/_sass/vendor/_purecss.scss +2 -0
  41. data/assets/css/style.scss +1 -1
  42. data/node_modules/normalize.css/CHANGELOG.md +175 -0
  43. data/node_modules/normalize.css/LICENSE.md +21 -0
  44. data/node_modules/normalize.css/README.md +102 -0
  45. data/node_modules/normalize.css/normalize.css +349 -0
  46. data/node_modules/normalize.css/package.json +15 -0
  47. metadata +53 -13
  48. data/_sass/modules/_all.scss +0 -13
  49. data/_sass/modules/_mixins.scss +0 -13
  50. data/_sass/modules/_spacing.scss +0 -1
  51. data/_sass/modules/_typography.scss +0 -1
  52. data/_sass/partials/base.scss +0 -1
  53. data/_sass/partials/side-menu.scss +0 -86
@@ -0,0 +1,349 @@
1
+ /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
2
+
3
+ /* Document
4
+ ========================================================================== */
5
+
6
+ /**
7
+ * 1. Correct the line height in all browsers.
8
+ * 2. Prevent adjustments of font size after orientation changes in iOS.
9
+ */
10
+
11
+ html {
12
+ line-height: 1.15; /* 1 */
13
+ -webkit-text-size-adjust: 100%; /* 2 */
14
+ }
15
+
16
+ /* Sections
17
+ ========================================================================== */
18
+
19
+ /**
20
+ * Remove the margin in all browsers.
21
+ */
22
+
23
+ body {
24
+ margin: 0;
25
+ }
26
+
27
+ /**
28
+ * Render the `main` element consistently in IE.
29
+ */
30
+
31
+ main {
32
+ display: block;
33
+ }
34
+
35
+ /**
36
+ * Correct the font size and margin on `h1` elements within `section` and
37
+ * `article` contexts in Chrome, Firefox, and Safari.
38
+ */
39
+
40
+ h1 {
41
+ font-size: 2em;
42
+ margin: 0.67em 0;
43
+ }
44
+
45
+ /* Grouping content
46
+ ========================================================================== */
47
+
48
+ /**
49
+ * 1. Add the correct box sizing in Firefox.
50
+ * 2. Show the overflow in Edge and IE.
51
+ */
52
+
53
+ hr {
54
+ box-sizing: content-box; /* 1 */
55
+ height: 0; /* 1 */
56
+ overflow: visible; /* 2 */
57
+ }
58
+
59
+ /**
60
+ * 1. Correct the inheritance and scaling of font size in all browsers.
61
+ * 2. Correct the odd `em` font sizing in all browsers.
62
+ */
63
+
64
+ pre {
65
+ font-family: monospace, monospace; /* 1 */
66
+ font-size: 1em; /* 2 */
67
+ }
68
+
69
+ /* Text-level semantics
70
+ ========================================================================== */
71
+
72
+ /**
73
+ * Remove the gray background on active links in IE 10.
74
+ */
75
+
76
+ a {
77
+ background-color: transparent;
78
+ }
79
+
80
+ /**
81
+ * 1. Remove the bottom border in Chrome 57-
82
+ * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
83
+ */
84
+
85
+ abbr[title] {
86
+ border-bottom: none; /* 1 */
87
+ text-decoration: underline; /* 2 */
88
+ text-decoration: underline dotted; /* 2 */
89
+ }
90
+
91
+ /**
92
+ * Add the correct font weight in Chrome, Edge, and Safari.
93
+ */
94
+
95
+ b,
96
+ strong {
97
+ font-weight: bolder;
98
+ }
99
+
100
+ /**
101
+ * 1. Correct the inheritance and scaling of font size in all browsers.
102
+ * 2. Correct the odd `em` font sizing in all browsers.
103
+ */
104
+
105
+ code,
106
+ kbd,
107
+ samp {
108
+ font-family: monospace, monospace; /* 1 */
109
+ font-size: 1em; /* 2 */
110
+ }
111
+
112
+ /**
113
+ * Add the correct font size in all browsers.
114
+ */
115
+
116
+ small {
117
+ font-size: 80%;
118
+ }
119
+
120
+ /**
121
+ * Prevent `sub` and `sup` elements from affecting the line height in
122
+ * all browsers.
123
+ */
124
+
125
+ sub,
126
+ sup {
127
+ font-size: 75%;
128
+ line-height: 0;
129
+ position: relative;
130
+ vertical-align: baseline;
131
+ }
132
+
133
+ sub {
134
+ bottom: -0.25em;
135
+ }
136
+
137
+ sup {
138
+ top: -0.5em;
139
+ }
140
+
141
+ /* Embedded content
142
+ ========================================================================== */
143
+
144
+ /**
145
+ * Remove the border on images inside links in IE 10.
146
+ */
147
+
148
+ img {
149
+ border-style: none;
150
+ }
151
+
152
+ /* Forms
153
+ ========================================================================== */
154
+
155
+ /**
156
+ * 1. Change the font styles in all browsers.
157
+ * 2. Remove the margin in Firefox and Safari.
158
+ */
159
+
160
+ button,
161
+ input,
162
+ optgroup,
163
+ select,
164
+ textarea {
165
+ font-family: inherit; /* 1 */
166
+ font-size: 100%; /* 1 */
167
+ line-height: 1.15; /* 1 */
168
+ margin: 0; /* 2 */
169
+ }
170
+
171
+ /**
172
+ * Show the overflow in IE.
173
+ * 1. Show the overflow in Edge.
174
+ */
175
+
176
+ button,
177
+ input { /* 1 */
178
+ overflow: visible;
179
+ }
180
+
181
+ /**
182
+ * Remove the inheritance of text transform in Edge, Firefox, and IE.
183
+ * 1. Remove the inheritance of text transform in Firefox.
184
+ */
185
+
186
+ button,
187
+ select { /* 1 */
188
+ text-transform: none;
189
+ }
190
+
191
+ /**
192
+ * Correct the inability to style clickable types in iOS and Safari.
193
+ */
194
+
195
+ button,
196
+ [type="button"],
197
+ [type="reset"],
198
+ [type="submit"] {
199
+ -webkit-appearance: button;
200
+ }
201
+
202
+ /**
203
+ * Remove the inner border and padding in Firefox.
204
+ */
205
+
206
+ button::-moz-focus-inner,
207
+ [type="button"]::-moz-focus-inner,
208
+ [type="reset"]::-moz-focus-inner,
209
+ [type="submit"]::-moz-focus-inner {
210
+ border-style: none;
211
+ padding: 0;
212
+ }
213
+
214
+ /**
215
+ * Restore the focus styles unset by the previous rule.
216
+ */
217
+
218
+ button:-moz-focusring,
219
+ [type="button"]:-moz-focusring,
220
+ [type="reset"]:-moz-focusring,
221
+ [type="submit"]:-moz-focusring {
222
+ outline: 1px dotted ButtonText;
223
+ }
224
+
225
+ /**
226
+ * Correct the padding in Firefox.
227
+ */
228
+
229
+ fieldset {
230
+ padding: 0.35em 0.75em 0.625em;
231
+ }
232
+
233
+ /**
234
+ * 1. Correct the text wrapping in Edge and IE.
235
+ * 2. Correct the color inheritance from `fieldset` elements in IE.
236
+ * 3. Remove the padding so developers are not caught out when they zero out
237
+ * `fieldset` elements in all browsers.
238
+ */
239
+
240
+ legend {
241
+ box-sizing: border-box; /* 1 */
242
+ color: inherit; /* 2 */
243
+ display: table; /* 1 */
244
+ max-width: 100%; /* 1 */
245
+ padding: 0; /* 3 */
246
+ white-space: normal; /* 1 */
247
+ }
248
+
249
+ /**
250
+ * Add the correct vertical alignment in Chrome, Firefox, and Opera.
251
+ */
252
+
253
+ progress {
254
+ vertical-align: baseline;
255
+ }
256
+
257
+ /**
258
+ * Remove the default vertical scrollbar in IE 10+.
259
+ */
260
+
261
+ textarea {
262
+ overflow: auto;
263
+ }
264
+
265
+ /**
266
+ * 1. Add the correct box sizing in IE 10.
267
+ * 2. Remove the padding in IE 10.
268
+ */
269
+
270
+ [type="checkbox"],
271
+ [type="radio"] {
272
+ box-sizing: border-box; /* 1 */
273
+ padding: 0; /* 2 */
274
+ }
275
+
276
+ /**
277
+ * Correct the cursor style of increment and decrement buttons in Chrome.
278
+ */
279
+
280
+ [type="number"]::-webkit-inner-spin-button,
281
+ [type="number"]::-webkit-outer-spin-button {
282
+ height: auto;
283
+ }
284
+
285
+ /**
286
+ * 1. Correct the odd appearance in Chrome and Safari.
287
+ * 2. Correct the outline style in Safari.
288
+ */
289
+
290
+ [type="search"] {
291
+ -webkit-appearance: textfield; /* 1 */
292
+ outline-offset: -2px; /* 2 */
293
+ }
294
+
295
+ /**
296
+ * Remove the inner padding in Chrome and Safari on macOS.
297
+ */
298
+
299
+ [type="search"]::-webkit-search-decoration {
300
+ -webkit-appearance: none;
301
+ }
302
+
303
+ /**
304
+ * 1. Correct the inability to style clickable types in iOS and Safari.
305
+ * 2. Change font properties to `inherit` in Safari.
306
+ */
307
+
308
+ ::-webkit-file-upload-button {
309
+ -webkit-appearance: button; /* 1 */
310
+ font: inherit; /* 2 */
311
+ }
312
+
313
+ /* Interactive
314
+ ========================================================================== */
315
+
316
+ /*
317
+ * Add the correct display in Edge, IE 10+, and Firefox.
318
+ */
319
+
320
+ details {
321
+ display: block;
322
+ }
323
+
324
+ /*
325
+ * Add the correct display in all browsers.
326
+ */
327
+
328
+ summary {
329
+ display: list-item;
330
+ }
331
+
332
+ /* Misc
333
+ ========================================================================== */
334
+
335
+ /**
336
+ * Add the correct display in IE 10+.
337
+ */
338
+
339
+ template {
340
+ display: none;
341
+ }
342
+
343
+ /**
344
+ * Add the correct display in IE 10.
345
+ */
346
+
347
+ [hidden] {
348
+ display: none;
349
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "normalize.css",
3
+ "version": "8.0.1",
4
+ "description": "A modern alternative to CSS resets",
5
+ "main": "normalize.css",
6
+ "style": "normalize.css",
7
+ "files": [
8
+ "LICENSE.md",
9
+ "normalize.css"
10
+ ],
11
+ "repository": "necolas/normalize.css",
12
+ "license": "MIT",
13
+ "bugs": "https://github.com/necolas/normalize.css/issues",
14
+ "homepage": "https://necolas.github.io/normalize.css"
15
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-simpleton
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anatoli Wagner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-02 00:00:00.000000000 Z
11
+ date: 2021-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '2.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: webrick
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rake
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -62,25 +76,51 @@ files:
62
76
  - LICENSE.md
63
77
  - README.md
64
78
  - _config.yml
79
+ - _includes/copyright.html
65
80
  - _includes/footer.html
66
81
  - _includes/head.html
67
82
  - _includes/header.html
68
83
  - _includes/menu.html
84
+ - _includes/post-listing.html
85
+ - _includes/series.html
69
86
  - _layouts/default.html
70
87
  - _layouts/home.html
71
88
  - _layouts/page.html
72
89
  - _layouts/post.html
73
90
  - _sass/README.md
74
- - _sass/modules/_all.scss
75
- - _sass/modules/_breakpoints.scss
76
- - _sass/modules/_colors.scss
77
- - _sass/modules/_mixins.scss
78
- - _sass/modules/_spacing.scss
79
- - _sass/modules/_typography.scss
91
+ - _sass/abstracts/_all.scss
92
+ - _sass/abstracts/_mixins.scss
93
+ - _sass/abstracts/variables/_breakpoints.scss
94
+ - _sass/abstracts/variables/_colors.scss
95
+ - _sass/abstracts/variables/_spacing.scss
96
+ - _sass/abstracts/variables/_transition.scss
97
+ - _sass/abstracts/variables/_typography.scss
98
+ - _sass/abstracts/variables/_z-index.scss
99
+ - _sass/base/_all.scss
100
+ - _sass/base/_normalize.scss
101
+ - _sass/base/_typography.scss
102
+ - _sass/components/_hero.scss
103
+ - _sass/components/_list-style-none.scss
104
+ - _sass/components/_nav.scss
105
+ - _sass/components/_text-align.scss
106
+ - _sass/layout/_gallery.scss
107
+ - _sass/layout/_justified-p.scss
108
+ - _sass/layout/_side-menu.scss
109
+ - _sass/pages/_gallery.scss
80
110
  - _sass/pages/_home.scss
81
- - _sass/partials/base.scss
82
- - _sass/partials/side-menu.scss
111
+ - _sass/themes/_beko-art.scss
112
+ - _sass/themes/_purebred.scss
113
+ - _sass/themes/_simpleton.scss
114
+ - _sass/vendor/_bootstrap.scss
115
+ - _sass/vendor/_dancing-script.scss
116
+ - _sass/vendor/_normalize.scss
117
+ - _sass/vendor/_purecss.scss
83
118
  - assets/css/style.scss
119
+ - node_modules/normalize.css/CHANGELOG.md
120
+ - node_modules/normalize.css/LICENSE.md
121
+ - node_modules/normalize.css/README.md
122
+ - node_modules/normalize.css/normalize.css
123
+ - node_modules/normalize.css/package.json
84
124
  homepage: https://gitlab.com/anwait/jekyll-theme-simpleton
85
125
  licenses:
86
126
  - MIT
@@ -91,16 +131,16 @@ require_paths:
91
131
  - lib
92
132
  required_ruby_version: !ruby/object:Gem::Requirement
93
133
  requirements:
94
- - - ">="
134
+ - - "~>"
95
135
  - !ruby/object:Gem::Version
96
- version: '0'
136
+ version: 3.pre.0
97
137
  required_rubygems_version: !ruby/object:Gem::Requirement
98
138
  requirements:
99
139
  - - ">="
100
140
  - !ruby/object:Gem::Version
101
141
  version: '0'
102
142
  requirements: []
103
- rubygems_version: 3.1.4
143
+ rubygems_version: 3.2.29
104
144
  signing_key:
105
145
  specification_version: 4
106
146
  summary: A very simple jekyll theme with almost no css.
@@ -1,13 +0,0 @@
1
- @import "modules/breakpoints";
2
- @import "modules/colors";
3
- @import "modules/mixins";
4
- @import "modules/spacing";
5
- @import "modules/typography";
6
-
7
- // TODO move
8
- $hamburger-color: $black-color;
9
- $hamburger-margin: 0.5ex;
10
- $hamburger-height: 1ex;
11
- $hamburger-width: 2em;
12
- $hamburger-radius: 1ex;
13
- $clickable-cursor: pointer;
@@ -1,13 +0,0 @@
1
- @mixin transition {
2
- -webkit-transition: all 0.2s ease-out;
3
- -moz-transition: all 0.2s ease-out;
4
- -ms-transition: all 0.2s ease-out;
5
- -o-transition: all 0.2s ease-out;
6
- transition: all 0.2s ease-out;
7
- }
8
-
9
- @mixin media-query($breakpoint) {
10
- @media screen and (min-width: $breakpoint) {
11
- @content;
12
- }
13
- }
@@ -1 +0,0 @@
1
- $menu-width: 160px !default;
@@ -1 +0,0 @@
1
- $link-text-decoration: none;
@@ -1 +0,0 @@
1
- @import "modules/all";
@@ -1,86 +0,0 @@
1
- #menu-container {
2
- * {
3
- transition: all 1s ease-out;
4
- }
5
-
6
- #menu-toggle {
7
- display: none;
8
-
9
- &:checked {
10
- ~ #menu {
11
- left: 0;
12
- }
13
-
14
- ~ #menu-icon {
15
- background: green;
16
- left: $menu-width;
17
-
18
- span {
19
- /* TODO */
20
- &:first-child {
21
- transform: rotate(135deg) translate(21px, -13px);
22
- }
23
-
24
- &:nth-child(2) {
25
- opacity: 0;
26
- }
27
-
28
- &:last-child {
29
- transform: rotate(-135deg) translate(3px);
30
- }
31
- }
32
- }
33
- }
34
- } // #menu-toggle
35
-
36
- #menu {
37
- position: fixed;
38
- top: 0;
39
- left: -$menu-width;
40
- bottom: 0;
41
- background: $menu-background-color;
42
- width: $menu-width;
43
- display: flex;
44
- flex-flow: column nowrap;
45
- align-items: center;
46
-
47
- > * {
48
- margin: 0.5em;
49
- }
50
-
51
- header {
52
- display: flex;
53
- flex-flow: row wrap;
54
- justify-content: center;
55
- text-align: center; /* DEBUG */
56
- }
57
-
58
- ul {
59
- margin: 0;
60
- padding: 0;
61
- list-style-type: none;
62
- }
63
-
64
- a {
65
- color: $menu-text-color;
66
- text-decoration: $link-text-decoration;
67
- // margin: 1em;
68
- }
69
- } // #menu
70
-
71
- #menu-icon {
72
- position: fixed;
73
- top: 0;
74
- left: 0;
75
-
76
- span {
77
- display: block;
78
- background: $hamburger-color;
79
- margin: $hamburger-margin;
80
- height: $hamburger-height;
81
- width: $hamburger-width;
82
- border-radius: $hamburger-radius;
83
- cursor: $clickable-cursor;
84
- }
85
- } // #menu-icon
86
- } // #menu-container