jekyll-theme-so-simple 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +235 -0
  3. data/LICENSE +49 -0
  4. data/README.md +1145 -0
  5. data/_data/authors.yml +16 -0
  6. data/_data/navigation.yml +14 -0
  7. data/_data/text.yml +36 -0
  8. data/_includes/disqus-comments.html +19 -0
  9. data/_includes/documents-collection.html +3 -0
  10. data/_includes/entry-date.html +6 -0
  11. data/_includes/entry.html +39 -0
  12. data/_includes/footer-custom.html +3 -0
  13. data/_includes/footer.html +24 -0
  14. data/_includes/google-analytics.html +9 -0
  15. data/_includes/head-custom.html +5 -0
  16. data/_includes/head-feed.html +1 -0
  17. data/_includes/head-seo.html +1 -0
  18. data/_includes/head.html +50 -0
  19. data/_includes/lunr-search-scripts.html +106 -0
  20. data/_includes/masthead.html +13 -0
  21. data/_includes/navigation.html +17 -0
  22. data/_includes/page-author.html +37 -0
  23. data/_includes/page-categories.html +14 -0
  24. data/_includes/page-date.html +4 -0
  25. data/_includes/page-image.html +14 -0
  26. data/_includes/page-pagination.html +19 -0
  27. data/_includes/page-tags.html +14 -0
  28. data/_includes/posts-all.html +3 -0
  29. data/_includes/posts-category.html +3 -0
  30. data/_includes/posts-limit.html +3 -0
  31. data/_includes/posts-paginated.html +74 -0
  32. data/_includes/posts-tag.html +3 -0
  33. data/_includes/read-time.html +16 -0
  34. data/_includes/responsive-embed +16 -0
  35. data/_includes/scripts.html +43 -0
  36. data/_includes/skip-links.html +8 -0
  37. data/_includes/social-share.html +6 -0
  38. data/_includes/toc +9 -0
  39. data/_layouts/categories.html +48 -0
  40. data/_layouts/category.html +9 -0
  41. data/_layouts/collection.html +9 -0
  42. data/_layouts/default.html +22 -0
  43. data/_layouts/home.html +17 -0
  44. data/_layouts/page.html +30 -0
  45. data/_layouts/post.html +41 -0
  46. data/_layouts/posts.html +29 -0
  47. data/_layouts/search.html +11 -0
  48. data/_layouts/tag.html +9 -0
  49. data/_layouts/tags.html +48 -0
  50. data/_sass/so-simple.scss +31 -0
  51. data/_sass/so-simple/_author.scss +45 -0
  52. data/_sass/so-simple/_base.scss +112 -0
  53. data/_sass/so-simple/_buttons.scss +92 -0
  54. data/_sass/so-simple/_entries.scss +182 -0
  55. data/_sass/so-simple/_functions.scss +4 -0
  56. data/_sass/so-simple/_global.scss +393 -0
  57. data/_sass/so-simple/_icons.scss +43 -0
  58. data/_sass/so-simple/_mixins.scss +5 -0
  59. data/_sass/so-simple/_notices.scss +93 -0
  60. data/_sass/so-simple/_page.scss +282 -0
  61. data/_sass/so-simple/_reset.scss +523 -0
  62. data/_sass/so-simple/_syntax-highlighting.scss +334 -0
  63. data/_sass/so-simple/_tables.scss +34 -0
  64. data/_sass/so-simple/_utilities.scss +7 -0
  65. data/_sass/so-simple/_variables.scss +132 -0
  66. data/_sass/so-simple/functions/_color.scss +21 -0
  67. data/_sass/so-simple/functions/_em.scss +7 -0
  68. data/_sass/so-simple/functions/_fluid-type.scss +33 -0
  69. data/_sass/so-simple/functions/_yiq.scss +38 -0
  70. data/_sass/so-simple/mixins/_clearfix.scss +32 -0
  71. data/_sass/so-simple/mixins/_float.scss +15 -0
  72. data/_sass/so-simple/mixins/_image.scss +38 -0
  73. data/_sass/so-simple/mixins/_lists.scss +9 -0
  74. data/_sass/so-simple/mixins/_text-truncate.scss +10 -0
  75. data/_sass/so-simple/utilities/_accessibility.scss +43 -0
  76. data/_sass/so-simple/utilities/_align.scss +60 -0
  77. data/_sass/so-simple/utilities/_animations.scss +99 -0
  78. data/_sass/so-simple/utilities/_clearfix.scss +7 -0
  79. data/_sass/so-simple/utilities/_float.scss +7 -0
  80. data/_sass/so-simple/utilities/_responsive-embed.scss +66 -0
  81. data/_sass/so-simple/utilities/_text.scss +48 -0
  82. data/_sass/so-simple/vendor/breakpoint/_breakpoint.scss +114 -0
  83. data/_sass/so-simple/vendor/breakpoint/_context.scss +95 -0
  84. data/_sass/so-simple/vendor/breakpoint/_helpers.scss +151 -0
  85. data/_sass/so-simple/vendor/breakpoint/_legacy-settings.scss +50 -0
  86. data/_sass/so-simple/vendor/breakpoint/_no-query.scss +15 -0
  87. data/_sass/so-simple/vendor/breakpoint/_parsers.scss +215 -0
  88. data/_sass/so-simple/vendor/breakpoint/_respond-to.scss +82 -0
  89. data/_sass/so-simple/vendor/breakpoint/_settings.scss +71 -0
  90. data/_sass/so-simple/vendor/breakpoint/parsers/_double.scss +33 -0
  91. data/_sass/so-simple/vendor/breakpoint/parsers/_query.scss +82 -0
  92. data/_sass/so-simple/vendor/breakpoint/parsers/_resolution.scss +31 -0
  93. data/_sass/so-simple/vendor/breakpoint/parsers/_single.scss +26 -0
  94. data/_sass/so-simple/vendor/breakpoint/parsers/_triple.scss +36 -0
  95. data/_sass/so-simple/vendor/breakpoint/parsers/double/_default-pair.scss +21 -0
  96. data/_sass/so-simple/vendor/breakpoint/parsers/double/_default.scss +22 -0
  97. data/_sass/so-simple/vendor/breakpoint/parsers/double/_double-string.scss +22 -0
  98. data/_sass/so-simple/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -0
  99. data/_sass/so-simple/vendor/breakpoint/parsers/single/_default.scss +13 -0
  100. data/_sass/so-simple/vendor/breakpoint/parsers/triple/_default.scss +18 -0
  101. data/_sass/so-simple/vendor/lity/_lity.scss +221 -0
  102. data/assets/css/main.scss +8 -0
  103. data/assets/js/lunr/lunr.da.min.js +18 -0
  104. data/assets/js/lunr/lunr.de.min.js +18 -0
  105. data/assets/js/lunr/lunr.du.min.js +18 -0
  106. data/assets/js/lunr/lunr.es.min.js +18 -0
  107. data/assets/js/lunr/lunr.fi.min.js +18 -0
  108. data/assets/js/lunr/lunr.fr.min.js +18 -0
  109. data/assets/js/lunr/lunr.hu.min.js +18 -0
  110. data/assets/js/lunr/lunr.it.min.js +18 -0
  111. data/assets/js/lunr/lunr.ja.min.js +1 -0
  112. data/assets/js/lunr/lunr.jp.min.js +1 -0
  113. data/assets/js/lunr/lunr.min.js +6 -0
  114. data/assets/js/lunr/lunr.multi.min.js +1 -0
  115. data/assets/js/lunr/lunr.no.min.js +18 -0
  116. data/assets/js/lunr/lunr.pt.min.js +18 -0
  117. data/assets/js/lunr/lunr.ro.min.js +18 -0
  118. data/assets/js/lunr/lunr.ru.min.js +18 -0
  119. data/assets/js/lunr/lunr.stemmer.support.min.js +1 -0
  120. data/assets/js/lunr/lunr.sv.min.js +18 -0
  121. data/assets/js/lunr/lunr.tr.min.js +18 -0
  122. data/assets/js/main.js +15 -0
  123. data/assets/js/main.min.js +6 -0
  124. data/assets/js/plugins/jquery.smooth-scroll.js +358 -0
  125. data/assets/js/plugins/jquery.smooth-scroll.min.js +9 -0
  126. data/assets/js/plugins/lity.js +655 -0
  127. data/assets/js/plugins/lity.min.js +5 -0
  128. data/assets/js/plugins/table-of-contents.js +59 -0
  129. data/assets/js/search-data.json +27 -0
  130. metadata +312 -0
@@ -0,0 +1,334 @@
1
+ /* ==========================================================================
2
+ Syntax highlighting
3
+ ========================================================================== */
4
+
5
+ /* Inline code block */
6
+
7
+ code.highlighter-rouge {
8
+ margin: 0;
9
+ padding: 0.2em 0.4em;
10
+ color: $base05;
11
+ background-color: $base00;
12
+ font-size: 85%;
13
+ border-radius: 3px;
14
+ }
15
+
16
+ /* Multi-line code blocks */
17
+
18
+ div.highlighter-rouge,
19
+ figure.highlight {
20
+ position: relative;
21
+ margin-bottom: 1em;
22
+ background: $base00;
23
+ color: $base05;
24
+ font-family: $monospace-font-family;
25
+ line-height: 1.8;
26
+
27
+ > pre,
28
+ pre.highlight {
29
+ margin: 0;
30
+ padding: 1em;
31
+ }
32
+ }
33
+
34
+ .highlight table {
35
+ margin-bottom: 0;
36
+ font-size: 1em;
37
+ border: 0;
38
+
39
+ td {
40
+ padding: 0;
41
+ width: calc(100% - 1em);
42
+ border: 0;
43
+
44
+ /* line numbers*/
45
+ &.gutter {
46
+ padding-right: 1em;
47
+ width: 1em;
48
+ color: $base04;
49
+ border-right: 1px solid $base04;
50
+ text-align: right;
51
+ }
52
+
53
+ /* code */
54
+ &.code {
55
+ padding-left: 1em;
56
+ }
57
+ }
58
+
59
+ pre {
60
+ margin: 0;
61
+ }
62
+ }
63
+
64
+ .highlight pre {
65
+ width: 100%;
66
+ }
67
+
68
+ .highlight .hll {
69
+ background-color: $base06;
70
+ }
71
+ .highlight {
72
+ .c {
73
+ /* Comment */
74
+ color: $base04;
75
+ }
76
+ .err {
77
+ /* Error */
78
+ color: $base08;
79
+ }
80
+ .k {
81
+ /* Keyword */
82
+ color: $base0e;
83
+ }
84
+ .l {
85
+ /* Literal */
86
+ color: $base09;
87
+ }
88
+ .n {
89
+ /* Name */
90
+ color: $base05;
91
+ }
92
+ .o {
93
+ /* Operator */
94
+ color: $base0c;
95
+ }
96
+ .p {
97
+ /* Punctuation */
98
+ color: $base05;
99
+ }
100
+ .cm {
101
+ /* Comment.Multiline */
102
+ color: $base04;
103
+ }
104
+ .cp {
105
+ /* Comment.Preproc */
106
+ color: $base04;
107
+ }
108
+ .c1 {
109
+ /* Comment.Single */
110
+ color: $base04;
111
+ }
112
+ .cs {
113
+ /* Comment.Special */
114
+ color: $base04;
115
+ }
116
+ .gd {
117
+ /* Generic.Deleted */
118
+ color: $base08;
119
+ }
120
+ .ge {
121
+ /* Generic.Emph */
122
+ font-style: italic;
123
+ }
124
+ .gh {
125
+ /* Generic.Heading */
126
+ color: $base05;
127
+ font-weight: bold;
128
+ }
129
+ .gi {
130
+ /* Generic.Inserted */
131
+ color: $base0b;
132
+ }
133
+ .gp {
134
+ /* Generic.Prompt */
135
+ color: $base04;
136
+ font-weight: bold;
137
+ }
138
+ .gs {
139
+ /* Generic.Strong */
140
+ font-weight: bold;
141
+ }
142
+ .gu {
143
+ /* Generic.Subheading */
144
+ color: $base0c;
145
+ font-weight: bold;
146
+ }
147
+ .kc {
148
+ /* Keyword.Constant */
149
+ color: $base0e;
150
+ }
151
+ .kd {
152
+ /* Keyword.Declaration */
153
+ color: $base0e;
154
+ }
155
+ .kn {
156
+ /* Keyword.Namespace */
157
+ color: $base0c;
158
+ }
159
+ .kp {
160
+ /* Keyword.Pseudo */
161
+ color: $base0e;
162
+ }
163
+ .kr {
164
+ /* Keyword.Reserved */
165
+ color: $base0e;
166
+ }
167
+ .kt {
168
+ /* Keyword.Type */
169
+ color: $base0a;
170
+ }
171
+ .ld {
172
+ /* Literal.Date */
173
+ color: $base0b;
174
+ }
175
+ .m {
176
+ /* Literal.Number */
177
+ color: $base09;
178
+ }
179
+ .s {
180
+ /* Literal.String */
181
+ color: $base0b;
182
+ }
183
+ .na {
184
+ /* Name.Attribute */
185
+ color: $base0d;
186
+ }
187
+ .nb {
188
+ /* Name.Builtin */
189
+ color: $base05;
190
+ }
191
+ .nc {
192
+ /* Name.Class */
193
+ color: $base0a;
194
+ }
195
+ .no {
196
+ /* Name.Constant */
197
+ color: $base08;
198
+ }
199
+ .nd {
200
+ /* Name.Decorator */
201
+ color: $base0c;
202
+ }
203
+ .ni {
204
+ /* Name.Entity */
205
+ color: $base05;
206
+ }
207
+ .ne {
208
+ /* Name.Exception */
209
+ color: $base08;
210
+ }
211
+ .nf {
212
+ /* Name.Function */
213
+ color: $base0d;
214
+ }
215
+ .nl {
216
+ /* Name.Label */
217
+ color: $base05;
218
+ }
219
+ .nn {
220
+ /* Name.Namespace */
221
+ color: $base0a;
222
+ }
223
+ .nx {
224
+ /* Name.Other */
225
+ color: $base0d;
226
+ }
227
+ .py {
228
+ /* Name.Property */
229
+ color: $base05;
230
+ }
231
+ .nt {
232
+ /* Name.Tag */
233
+ color: $base0c;
234
+ }
235
+ .nv {
236
+ /* Name.Variable */
237
+ color: $base08;
238
+ }
239
+ .ow {
240
+ /* Operator.Word */
241
+ color: $base0c;
242
+ }
243
+ .w {
244
+ /* Text.Whitespace */
245
+ color: $base05;
246
+ }
247
+ .mf {
248
+ /* Literal.Number.Float */
249
+ color: $base09;
250
+ }
251
+ .mh {
252
+ /* Literal.Number.Hex */
253
+ color: $base09;
254
+ }
255
+ .mi {
256
+ /* Literal.Number.Integer */
257
+ color: $base09;
258
+ }
259
+ .mo {
260
+ /* Literal.Number.Oct */
261
+ color: $base09;
262
+ }
263
+ .sb {
264
+ /* Literal.String.Backtick */
265
+ color: $base0b;
266
+ }
267
+ .sc {
268
+ /* Literal.String.Char */
269
+ color: $base05;
270
+ }
271
+ .sd {
272
+ /* Literal.String.Doc */
273
+ color: $base04;
274
+ }
275
+ .s2 {
276
+ /* Literal.String.Double */
277
+ color: $base0b;
278
+ }
279
+ .se {
280
+ /* Literal.String.Escape */
281
+ color: $base09;
282
+ }
283
+ .sh {
284
+ /* Literal.String.Heredoc */
285
+ color: $base0b;
286
+ }
287
+ .si {
288
+ /* Literal.String.Interpol */
289
+ color: $base09;
290
+ }
291
+ .sx {
292
+ /* Literal.String.Other */
293
+ color: $base0b;
294
+ }
295
+ .sr {
296
+ /* Literal.String.Regex */
297
+ color: $base0b;
298
+ }
299
+ .s1 {
300
+ /* Literal.String.Single */
301
+ color: $base0b;
302
+ }
303
+ .ss {
304
+ /* Literal.String.Symbol */
305
+ color: $base0b;
306
+ }
307
+ .bp {
308
+ /* Name.Builtin.Pseudo */
309
+ color: $base05;
310
+ }
311
+ .vc {
312
+ /* Name.Variable.Class */
313
+ color: $base08;
314
+ }
315
+ .vg {
316
+ /* Name.Variable.Global */
317
+ color: $base08;
318
+ }
319
+ .vi {
320
+ /* Name.Variable.Instance */
321
+ color: $base08;
322
+ }
323
+ .il {
324
+ /* Literal.Number.Integer.Long */
325
+ color: $base09;
326
+ }
327
+ }
328
+
329
+ .gist {
330
+ td,
331
+ th {
332
+ border-bottom: 0;
333
+ }
334
+ }
@@ -0,0 +1,34 @@
1
+ /* ==========================================================================
2
+ Tables
3
+ ========================================================================== */
4
+
5
+ table {
6
+ @include fluid-type($min-vw, $max-vw, 12px, 18px);
7
+ width: 100%;
8
+ border-collapse: collapse;
9
+ /* For Firefox to horizontally scroll wider tables */
10
+ // scss-lint:disable DuplicateProperty
11
+ word-break: normal;
12
+ word-break: keep-all;
13
+ }
14
+
15
+ th,
16
+ td {
17
+ border-bottom: 1px solid $border-color;
18
+ }
19
+
20
+ th {
21
+ padding: 0.5em;
22
+ font-weight: bold;
23
+ text-align: left;
24
+ }
25
+
26
+ td {
27
+ padding: 0.5em;
28
+ }
29
+
30
+ tr,
31
+ td,
32
+ th {
33
+ vertical-align: middle;
34
+ }
@@ -0,0 +1,7 @@
1
+ @import "utilities/accessibility";
2
+ @import "utilities/animations";
3
+ @import "utilities/align";
4
+ @import "utilities/clearfix";
5
+ @import "utilities/float";
6
+ @import "utilities/text";
7
+ @import "utilities/responsive-embed";
@@ -0,0 +1,132 @@
1
+ /* ==========================================================================
2
+ Variables
3
+ ========================================================================== */
4
+
5
+ /* Breakpoint widths */
6
+ $small: 320px !default;
7
+ $medium: 768px !default;
8
+ $large: 1024px !default;
9
+ $xlarge: 1280px !default;
10
+
11
+ /* Fluid type */
12
+ $base-font-size: 16px !default;
13
+ $min-vw: $small !default;
14
+ $max-vw: $xlarge !default;
15
+ $min-font-size: 14px !default;
16
+ $max-font-size: 18px !default;
17
+
18
+ /* Calculate Modular Scale */
19
+ $modular-scale-1: 1.067 !default; /* small */
20
+ $modular-scale-2: 1.2 !default; /* large */
21
+ /* Heading 1 */
22
+ $h1-min: $modular-scale-1 * $modular-scale-1 * $modular-scale-1 * $modular-scale-1 * $base-font-size !default;
23
+ $h1-max: $modular-scale-2 * $modular-scale-2 * $modular-scale-2 * $modular-scale-2 * $base-font-size !default;
24
+ /* Heading 2 */
25
+ $h2-min: $modular-scale-1 * $modular-scale-1 * $modular-scale-1 * $base-font-size !default;
26
+ $h2-max: $modular-scale-2 * $modular-scale-2 * $modular-scale-2 * $base-font-size !default;
27
+ /* Heading 3 */
28
+ $h3-min: $modular-scale-1 * $modular-scale-1 * $base-font-size !default;
29
+ $h3-max: $modular-scale-2 * $modular-scale-2 * $base-font-size !default;
30
+ /* Heading 4 */
31
+ $h4-min: $modular-scale-1 * $base-font-size !default;
32
+ $h4-max: $modular-scale-2 * $base-font-size !default;
33
+ /* Heading 5 */
34
+ $h5-min: $base-font-size !default;
35
+ $h5-max: $base-font-size !default;
36
+ /* Heading 6 */
37
+ $h6-min: ($base-font-size / $modular-scale-1) !default;
38
+ $h6-max: ($base-font-size / $modular-scale-2) !default;
39
+
40
+ /* Font Families */
41
+ $serif-font-family: "Lora", serif !default;
42
+ $sans-serif-font-family: "Source Sans Pro", sans-serif !default;
43
+ $monospace-font-family: Menlo, Consolas, Monaco, "Courier New", Courier, monospace !default;
44
+
45
+ $base-font-family: $sans-serif-font-family !default;
46
+ $headline-font-family: $sans-serif-font-family !default;
47
+ $title-font-family: $serif-font-family !default;
48
+ $description-font-family: $serif-font-family !default;
49
+ $meta-font-family: $serif-font-family !default;
50
+
51
+ $page-title-weight: bold !default;
52
+ $entry-title-weight: bold !default;
53
+
54
+ /* Colors */
55
+ $base-color: #000 !default;
56
+ $text-color: #000 !default;
57
+ $accent-color: #34374C !default;
58
+ $nav-color: #fff !default;
59
+ $background-color: #fff !default;
60
+ $nav-background-color: #000 !default;
61
+ $code-background-color: tint($base-color, 95%) !default;
62
+ $border-color: tint($base-color, 80%) !default;
63
+
64
+ $primary-color: #000 !default;
65
+ $success-color: #62c462 !default;
66
+ $warning-color: #f89406 !default;
67
+ $danger-color: #ee5f5b !default;
68
+ $info-color: #52adc8 !default;
69
+
70
+ /* YIQ color contrast */
71
+ $yiq-contrasted-dark-default: #000 !default;
72
+ $yiq-contrasted-light-default: #fff !default;
73
+ $yiq-contrasted-threshold: 175 !default;
74
+ $yiq-debug: false !default;
75
+
76
+ /* Brands */
77
+ $behance-color: #1769ff !default;
78
+ $bitbucket-color: #205081 !default;
79
+ $dribbble-color: #ea4c89 !default;
80
+ $facebook-color: #3b5998 !default;
81
+ $flickr-color: #ff0084 !default;
82
+ $foursquare-color: #0072b1 !default;
83
+ $github-color: #171516 !default;
84
+ $google-plus-color: #dd4b39 !default;
85
+ $instagram-color: #517fa4 !default;
86
+ $lastfm-color: #d51007 !default;
87
+ $linkedin-color: #007bb6 !default;
88
+ $pinterest-color: #cb2027 !default;
89
+ $reddit-color: #ff4500 !default;
90
+ $rss-color: #fa9b39 !default;
91
+ $soundcloud-color: #ff3300 !default;
92
+ $stackoverflow-color: #fe7a15 !default;
93
+ $tumblr-color: #32506d !default;
94
+ $twitter-color: #55acee !default;
95
+ $vimeo-color: #1ab7ea !default;
96
+ $vine-color: #00bf8f !default;
97
+ $youtube-color: #bb0000 !default;
98
+ $xing-color: #006567 !default;
99
+
100
+ /* Syntax highlighting (base16) colors */
101
+ $base00: #fafafa !default;
102
+ $base01: #073642 !default;
103
+ $base02: #586e75 !default;
104
+ $base03: #657b83 !default;
105
+ $base04: #839496 !default;
106
+ $base05: #586e75 !default;
107
+ $base06: #eee8d5 !default;
108
+ $base07: #fdf6e3 !default;
109
+ $base08: #dc322f !default;
110
+ $base09: #cb4b16 !default;
111
+ $base0a: #b58900 !default;
112
+ $base0b: #859900 !default;
113
+ $base0c: #2aa198 !default;
114
+ $base0d: #268bd2 !default;
115
+ $base0e: #6c71c4 !default;
116
+ $base0f: #d33682 !default;
117
+
118
+ /* Max-width of the main content */
119
+ $main-max-width: $medium !default;
120
+
121
+ /* Max-width of the main content + sidebar */
122
+ $main-sidebar-max-width: $large !default;
123
+
124
+ /* Site logo */
125
+ $site-logo-width: 75px !default;
126
+ $site-logo-height: 75px !default;
127
+
128
+ /* Border radius */
129
+ $border-radius: 0.25rem !default;
130
+
131
+ /* Global transition */
132
+ $global-transition: all 0.4s ease !default;