jekyll-theme-so-simple-libre 4.0.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.
Files changed (103) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +329 -0
  3. data/LICENSE +21 -0
  4. data/README.md +1148 -0
  5. data/_data/authors.yml +16 -0
  6. data/_data/navigation.yml +14 -0
  7. data/_data/text.yml +193 -0
  8. data/_includes/documents-collection.html +19 -0
  9. data/_includes/entry-date.html +6 -0
  10. data/_includes/entry.html +38 -0
  11. data/_includes/footer-custom.html +3 -0
  12. data/_includes/footer.html +24 -0
  13. data/_includes/head-custom.html +5 -0
  14. data/_includes/head-feed.html +1 -0
  15. data/_includes/head-seo.html +1 -0
  16. data/_includes/head.html +47 -0
  17. data/_includes/masthead.html +18 -0
  18. data/_includes/navigation.html +17 -0
  19. data/_includes/page-author.html +37 -0
  20. data/_includes/page-categories.html +15 -0
  21. data/_includes/page-date.html +4 -0
  22. data/_includes/page-image.html +14 -0
  23. data/_includes/page-pagination.html +19 -0
  24. data/_includes/page-tags.html +15 -0
  25. data/_includes/posts-all.html +3 -0
  26. data/_includes/posts-category.html +3 -0
  27. data/_includes/posts-limit.html +5 -0
  28. data/_includes/posts-paginated.html +74 -0
  29. data/_includes/posts-tag.html +3 -0
  30. data/_includes/read-time.html +16 -0
  31. data/_includes/responsive-embed +16 -0
  32. data/_includes/skip-links.html +8 -0
  33. data/_includes/social-share.html +6 -0
  34. data/_includes/talkyard-comments-provider.html +10 -0
  35. data/_includes/toc +9 -0
  36. data/_layouts/categories.html +81 -0
  37. data/_layouts/category.html +9 -0
  38. data/_layouts/collection.html +9 -0
  39. data/_layouts/default.html +21 -0
  40. data/_layouts/home.html +17 -0
  41. data/_layouts/page.html +30 -0
  42. data/_layouts/post.html +41 -0
  43. data/_layouts/posts.html +29 -0
  44. data/_layouts/tag.html +9 -0
  45. data/_layouts/tags.html +81 -0
  46. data/_sass/so-simple.scss +31 -0
  47. data/_sass/so-simple/_author.scss +47 -0
  48. data/_sass/so-simple/_base.scss +106 -0
  49. data/_sass/so-simple/_buttons.scss +64 -0
  50. data/_sass/so-simple/_entries.scss +194 -0
  51. data/_sass/so-simple/_functions.scss +4 -0
  52. data/_sass/so-simple/_global.scss +353 -0
  53. data/_sass/so-simple/_icons.scss +43 -0
  54. data/_sass/so-simple/_mixins.scss +5 -0
  55. data/_sass/so-simple/_notices.scss +57 -0
  56. data/_sass/so-simple/_page.scss +286 -0
  57. data/_sass/so-simple/_reset.scss +522 -0
  58. data/_sass/so-simple/_skin.scss +552 -0
  59. data/_sass/so-simple/_syntax-highlighting.scss +68 -0
  60. data/_sass/so-simple/_tables.scss +34 -0
  61. data/_sass/so-simple/_utilities.scss +7 -0
  62. data/_sass/so-simple/_variables.scss +98 -0
  63. data/_sass/so-simple/functions/_color.scss +21 -0
  64. data/_sass/so-simple/functions/_em.scss +7 -0
  65. data/_sass/so-simple/functions/_fluid-type.scss +33 -0
  66. data/_sass/so-simple/functions/_yiq.scss +38 -0
  67. data/_sass/so-simple/mixins/_clearfix.scss +32 -0
  68. data/_sass/so-simple/mixins/_float.scss +15 -0
  69. data/_sass/so-simple/mixins/_image.scss +38 -0
  70. data/_sass/so-simple/mixins/_lists.scss +9 -0
  71. data/_sass/so-simple/mixins/_text-truncate.scss +10 -0
  72. data/_sass/so-simple/utilities/_accessibility.scss +42 -0
  73. data/_sass/so-simple/utilities/_align.scss +60 -0
  74. data/_sass/so-simple/utilities/_animations.scss +99 -0
  75. data/_sass/so-simple/utilities/_clearfix.scss +7 -0
  76. data/_sass/so-simple/utilities/_float.scss +7 -0
  77. data/_sass/so-simple/utilities/_responsive-embed.scss +66 -0
  78. data/_sass/so-simple/utilities/_text.scss +48 -0
  79. data/_sass/so-simple/vendor/breakpoint/_breakpoint.scss +114 -0
  80. data/_sass/so-simple/vendor/breakpoint/_context.scss +95 -0
  81. data/_sass/so-simple/vendor/breakpoint/_helpers.scss +151 -0
  82. data/_sass/so-simple/vendor/breakpoint/_legacy-settings.scss +50 -0
  83. data/_sass/so-simple/vendor/breakpoint/_no-query.scss +15 -0
  84. data/_sass/so-simple/vendor/breakpoint/_parsers.scss +215 -0
  85. data/_sass/so-simple/vendor/breakpoint/_respond-to.scss +82 -0
  86. data/_sass/so-simple/vendor/breakpoint/_settings.scss +71 -0
  87. data/_sass/so-simple/vendor/breakpoint/parsers/_double.scss +33 -0
  88. data/_sass/so-simple/vendor/breakpoint/parsers/_query.scss +82 -0
  89. data/_sass/so-simple/vendor/breakpoint/parsers/_resolution.scss +31 -0
  90. data/_sass/so-simple/vendor/breakpoint/parsers/_single.scss +26 -0
  91. data/_sass/so-simple/vendor/breakpoint/parsers/_triple.scss +36 -0
  92. data/_sass/so-simple/vendor/breakpoint/parsers/double/_default-pair.scss +21 -0
  93. data/_sass/so-simple/vendor/breakpoint/parsers/double/_default.scss +22 -0
  94. data/_sass/so-simple/vendor/breakpoint/parsers/double/_double-string.scss +22 -0
  95. data/_sass/so-simple/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -0
  96. data/_sass/so-simple/vendor/breakpoint/parsers/single/_default.scss +13 -0
  97. data/_sass/so-simple/vendor/breakpoint/parsers/triple/_default.scss +18 -0
  98. data/_sass/so-simple/vendor/lity/_lity.scss +221 -0
  99. data/assets/css/main.scss +8 -0
  100. data/assets/css/skins/dark.scss +43 -0
  101. data/assets/css/skins/default.scss +44 -0
  102. data/assets/css/skins/light.scss +44 -0
  103. metadata +262 -0
@@ -0,0 +1,4 @@
1
+ @import "functions/color";
2
+ @import "functions/em";
3
+ @import "functions/fluid-type";
4
+ @import "functions/yiq";
@@ -0,0 +1,353 @@
1
+ /* ==========================================================================
2
+ Site-wide
3
+ ========================================================================== */
4
+
5
+ .skip-links {
6
+ ul {
7
+ margin: 0;
8
+ padding: 0;
9
+ list-style: none;
10
+ }
11
+ }
12
+
13
+ #menu-toggle {
14
+ display: block;
15
+ margin: 0;
16
+ padding: 0.25em 0.75em 0.5em;
17
+ text-transform: uppercase;
18
+ text-decoration: none;
19
+ text-align: center;
20
+
21
+ @include breakpoint($medium) {
22
+ display: none;
23
+ }
24
+ }
25
+
26
+ .site-nav {
27
+ display: none;
28
+ margin-bottom: 1em;
29
+ text-align: center;
30
+
31
+ ul {
32
+ display: block;
33
+ margin: 0;
34
+ padding: 0.25em 0.75em;
35
+ list-style: none;
36
+ border-radius: 0 0 (2 * $border-radius) (2 * $border-radius);
37
+
38
+ @include breakpoint($medium) {
39
+ display: inline-block;
40
+ }
41
+ }
42
+
43
+ li {
44
+ display: inline-block;
45
+ font-size: 0.75rem;
46
+ }
47
+
48
+ a {
49
+ display: block;
50
+ padding: 0.5em 0.75em;
51
+ text-transform: uppercase;
52
+ text-decoration: none;
53
+ border: 1px solid;
54
+ border-radius: $border-radius;
55
+ }
56
+
57
+ @include breakpoint($medium) {
58
+ display: block;
59
+ }
60
+
61
+ &.js-menu-is-open {
62
+ display: block;
63
+ -webkit-animation-name: initial;
64
+ animation-name: initial;
65
+ }
66
+ }
67
+
68
+ .masthead {
69
+ @include clearfix;
70
+ margin-bottom: 3em;
71
+ text-align: center;
72
+ }
73
+
74
+ .site-title {
75
+ margin: 0.5em 0 0;
76
+ padding: 0;
77
+ @include fluid-type($min-vw, $max-vw, $h2-min, $h2-max);
78
+ font-weight: 700;
79
+
80
+ a {
81
+ text-decoration: none;
82
+ }
83
+ }
84
+
85
+ .site-description {
86
+ margin-bottom: 1em;
87
+ font-family: $description-font-family;
88
+ @include fluid-type($min-vw, $max-vw, $h5-min, $h5-max);
89
+ font-weight: 400;
90
+ font-style: italic;
91
+ }
92
+
93
+ .site-logo {
94
+ display: inline-block;
95
+ position: relative;
96
+ z-index: 10;
97
+ }
98
+
99
+ .site-logo-img {
100
+ width: $site-logo-width;
101
+ height: $site-logo-height;
102
+ border: 5px solid;
103
+ border-radius: $site-logo-width;
104
+
105
+ @include breakpoint($medium) {
106
+ width: 1.5 * $site-logo-width;
107
+ height: 1.5 * $site-logo-height;
108
+ border-radius: 1.5 * $site-logo-width;
109
+ }
110
+
111
+ @include breakpoint($large) {
112
+ width: 2 * $site-logo-width;
113
+ height: 2 * $site-logo-height;
114
+ border-radius: 2 * $site-logo-width;
115
+ }
116
+ }
117
+
118
+ .site-footer {
119
+ @include clearfix();
120
+ margin: 2em 0;
121
+ padding: 2em 0;
122
+ text-align: center;
123
+ border-top: 1px solid;
124
+
125
+ .social-icons {
126
+ margin-bottom: 0.5em;
127
+ }
128
+
129
+ .social-icon {
130
+ display: inline-block;
131
+ padding: 0 0.25em;
132
+ }
133
+ }
134
+
135
+ .copyright {
136
+ font-size: 0.75rem;
137
+
138
+ p {
139
+ margin: 0;
140
+ padding: 0;
141
+ }
142
+ }
143
+
144
+ .footnotes {
145
+ margin: 2rem 0;
146
+ padding-top: 1rem;
147
+ border-top: 1px solid;
148
+ font-size: 0.75rem;
149
+ }
150
+
151
+ .more-link {
152
+ font-weight: bold;
153
+ text-decoration: none;
154
+ }
155
+
156
+ .back-to-top {
157
+ display: block;
158
+ font-size: 0.75rem;
159
+ text-transform: uppercase;
160
+ text-align: right;
161
+ text-decoration: none;
162
+ }
163
+
164
+ .taxonomy-section {
165
+ margin-bottom: 2em;
166
+ padding-bottom: 1em;
167
+
168
+ &:not(:last-child) {
169
+ border-bottom: solid 1px;
170
+ }
171
+
172
+ + .taxonomy-section {
173
+ margin-top: 2em;
174
+ }
175
+ }
176
+
177
+ .taxonomy-title {
178
+ @include fluid-type($min-vw, $max-vw, 28px, 32px);
179
+ margin-bottom: 0.5em;
180
+ font-family: $base-font-family;
181
+ }
182
+
183
+ .taxonomy-index {
184
+ display: grid;
185
+ grid-column-gap: 2em;
186
+ grid-template-columns: repeat(2, 1fr);
187
+ margin: 0;
188
+ padding: 0;
189
+ font-family: $base-font-family;
190
+ font-size: 0.9rem;
191
+ list-style: none;
192
+
193
+ @include breakpoint($large) {
194
+ grid-template-columns: repeat(3, 1fr);
195
+ }
196
+
197
+ a {
198
+ display: -webkit-box;
199
+ display: -ms-flexbox;
200
+ display: flex;
201
+ padding: 0.25em 0;
202
+ -webkit-box-pack: justify;
203
+ -ms-flex-pack: justify;
204
+ justify-content: space-between;
205
+ color: inherit;
206
+ text-decoration: none;
207
+ border-bottom: 1px solid;
208
+ }
209
+
210
+ + .taxonomy-section {
211
+ margin-top: 3em;
212
+ }
213
+ }
214
+
215
+ .pagination {
216
+ display: -webkit-box;
217
+ display: -ms-flexbox;
218
+ display: flex;
219
+ grid-column: 1 / -1;
220
+ margin: 2em 0;
221
+ width: 100%;
222
+
223
+ ul {
224
+ margin: 0 auto;
225
+ padding: 0;
226
+ list-style-type: none;
227
+ }
228
+
229
+ li {
230
+ display: block;
231
+ float: left;
232
+ margin-left: -1px;
233
+
234
+ a {
235
+ display: block;
236
+ margin-bottom: 0.25em;
237
+ padding: 0.5em 1em;
238
+ font-size: 0.75rem;
239
+ font-weight: bold;
240
+ line-height: 1.5;
241
+ text-align: center;
242
+ text-decoration: none;
243
+ border: 1px solid;
244
+ border-radius: 0;
245
+
246
+ &.disabled {
247
+ pointer-events: none;
248
+ cursor: not-allowed;
249
+ }
250
+ }
251
+
252
+ &:first-child {
253
+ margin-left: 0;
254
+
255
+ a {
256
+ border-top-left-radius: $border-radius;
257
+ border-bottom-left-radius: $border-radius;
258
+ }
259
+ }
260
+
261
+ &:last-child {
262
+ a {
263
+ border-top-right-radius: $border-radius;
264
+ border-bottom-right-radius: $border-radius;
265
+ }
266
+ }
267
+ }
268
+ }
269
+
270
+ .search-input {
271
+ margin-bottom: 2em;
272
+ padding: 0.5em;
273
+ width: 100%;
274
+ font-size: 0.9rem;
275
+ border: 2px solid;
276
+ border-radius: $border-radius;
277
+ }
278
+
279
+ .toc-wrapper {
280
+ display: inline-block;
281
+ margin-bottom: 1.5em;
282
+ border: 1px solid;
283
+ border-radius: $border-radius;
284
+
285
+ h2 {
286
+ display: -webkit-box;
287
+ display: -ms-flexbox;
288
+ display: flex;
289
+ -webkit-box-pack: justify;
290
+ -ms-flex-pack: justify;
291
+ justify-content: space-between;
292
+ -webkit-box-align: center;
293
+ -ms-flex-align: center;
294
+ align-items: center;
295
+ margin: 0;
296
+ padding: 0.75rem 1rem;
297
+ font-family: $base-font-family;
298
+ font-size: 0.75rem;
299
+ text-transform: uppercase;
300
+ cursor: pointer;
301
+
302
+ .toc-toggle-icon {
303
+ margin-left: 1rem;
304
+ -webkit-transition: -webkit-transform 350ms ease;
305
+ transition: -webkit-transform 350ms ease;
306
+ transition: transform 350ms ease;
307
+ transition: transform 350ms ease, -webkit-transform 350ms ease;
308
+ }
309
+
310
+ &.js-toc-is-open {
311
+ .toc-toggle-icon {
312
+ -webkit-transform: rotate(180deg);
313
+ -ms-transform: rotate(180deg);
314
+ transform: rotate(180deg);
315
+ }
316
+ }
317
+ }
318
+
319
+ #markdown-toc {
320
+ display: none;
321
+ height: 0;
322
+ margin-bottom: 0;
323
+ padding-left: 2rem;
324
+ overflow: hidden;
325
+ font-size: 0.9rem;
326
+ -webkit-transition: height 350ms ease;
327
+ transition: height 350ms ease;
328
+
329
+ &.js-toc-is-open {
330
+ display: block;
331
+ height: auto;
332
+ }
333
+ }
334
+
335
+ li {
336
+ padding: 0.3em 0;
337
+ font-family: $base-font-family;
338
+
339
+ a {
340
+ display: inline-block;
341
+ color: inherit;
342
+ font-size: 0.75rem;
343
+ font-weight: 600;
344
+ text-decoration: none;
345
+ border-bottom: 1px dotted transparent;
346
+ }
347
+
348
+ ol {
349
+ padding-left: 0.5rem;
350
+ list-style-type: lower-roman;
351
+ }
352
+ }
353
+ }
@@ -0,0 +1,43 @@
1
+ /* ==========================================================================
2
+ Icons
3
+ ========================================================================== */
4
+
5
+ .icon {
6
+ display: inline-block;
7
+ position: relative;
8
+ top: -0.05em; /* fine-tune alignment */
9
+ width: 1em;
10
+ height: 1em;
11
+ line-height: 1;
12
+ vertical-align: middle;
13
+ fill: currentColor;
14
+
15
+ $icons: (
16
+ (bitbucket, #205081),
17
+ (codepen, #000),
18
+ (dribbble, #ea4c89),
19
+ (email, #000),
20
+ (facebook, #3b5998),
21
+ (flickr, #0063dc),
22
+ (github, #181717),
23
+ (gitlab, #e24329),
24
+ (googleplus, #dc4e41),
25
+ (instagram, #e4405f),
26
+ (lastfm, #d51007),
27
+ (linkedin, #0077b5),
28
+ (pinterest, #bd081c),
29
+ (rss, #ffa500),
30
+ (soundcloud, #f30),
31
+ (stackoverflow, #fe7a16),
32
+ (tumblr, #36465d),
33
+ (twitter, #1da1f2),
34
+ (xing, #005a5f),
35
+ (youtube, #cd201f)
36
+ );
37
+
38
+ @each $icon, $color in $icons {
39
+ &--#{$icon} {
40
+ fill: $color;
41
+ }
42
+ }
43
+ }
@@ -0,0 +1,5 @@
1
+ @import "mixins/clearfix";
2
+ @import "mixins/float";
3
+ @import "mixins/image";
4
+ @import "mixins/lists";
5
+ @import "mixins/text-truncate";
@@ -0,0 +1,57 @@
1
+ /* ==========================================================================
2
+ NOTICE TEXT BLOCKS
3
+ ========================================================================== */
4
+
5
+ /**
6
+ * Default Kramdown usage (no indents!):
7
+ * <div class="notice" markdown="1">
8
+ * #### Headline for the Notice
9
+ * Text for the notice
10
+ * </div>
11
+ */
12
+
13
+ @mixin notice($notice-color) {
14
+ margin: 2em 0 !important; /* override*/
15
+ padding: 1em;
16
+ @include yiq-contrasted($notice-color);
17
+ border-radius: $border-radius;
18
+ -webkit-box-shadow: 0 1px 1px rgba($notice-color, 0.25);
19
+ box-shadow: 0 1px 1px rgba($notice-color, 0.25);
20
+
21
+ h4 {
22
+ margin-top: 0 !important; /* override*/
23
+ margin-bottom: 0.75em;
24
+ }
25
+
26
+ @at-root .page__content #{&} h4 {
27
+ /* using at-root to override .page-content h4 font size*/
28
+ margin-bottom: 0;
29
+ font-size: 1rem;
30
+ }
31
+
32
+ p {
33
+ &:last-child {
34
+ margin-bottom: 0 !important; /* override*/
35
+ }
36
+ }
37
+
38
+ h4 + p {
39
+ /* remove space above paragraphs that appear directly after notice headline*/
40
+ margin-top: 0;
41
+ padding-top: 0;
42
+ }
43
+
44
+ a {
45
+ color: mix(#000, $notice-color, 75%);
46
+
47
+ &:hover {
48
+ color: mix(#000, $notice-color, 60%);
49
+ }
50
+ }
51
+
52
+ ul {
53
+ &:last-child {
54
+ margin-bottom: 0; /* override*/
55
+ }
56
+ }
57
+ }