jekyll-theme-twail 1.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 (50) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +41 -0
  4. data/_config.yml +98 -0
  5. data/_includes/analytics-providers/custom.html +3 -0
  6. data/_includes/analytics-providers/google-gtag.html +9 -0
  7. data/_includes/analytics-providers/google-universal.html +7 -0
  8. data/_includes/analytics-providers/google.html +14 -0
  9. data/_includes/analytics.html +13 -0
  10. data/_includes/comments-providers/custom.html +3 -0
  11. data/_includes/comments-providers/disqus.html +16 -0
  12. data/_includes/comments-providers/utterances.html +11 -0
  13. data/_includes/comments.html +8 -0
  14. data/_includes/footer.html +6 -0
  15. data/_includes/head.html +19 -0
  16. data/_includes/head__seo.html +101 -0
  17. data/_includes/pager.html +38 -0
  18. data/_includes/postlist.html +37 -0
  19. data/_includes/profile.html +32 -0
  20. data/_includes/tagnav.html +10 -0
  21. data/_layouts/autopage_tags.html +5 -0
  22. data/_layouts/default.html +30 -0
  23. data/_layouts/home.html +5 -0
  24. data/_layouts/post.html +50 -0
  25. data/_sass/_custom.scss +4 -0
  26. data/_sass/_variables.scss +144 -0
  27. data/_sass/components/_comments.scss +10 -0
  28. data/_sass/components/_footer.scss +20 -0
  29. data/_sass/components/_pager.scss +39 -0
  30. data/_sass/components/_postlist.scss +76 -0
  31. data/_sass/components/_profile.scss +71 -0
  32. data/_sass/components/_tagnav.scss +46 -0
  33. data/_sass/main.scss +56 -0
  34. data/_sass/pages/_deafult.scss +41 -0
  35. data/_sass/pages/_post.scss +87 -0
  36. data/_sass/vendors/_buttons.scss +95 -0
  37. data/_sass/vendors/_forms.scss +360 -0
  38. data/_sass/vendors/_markdown-body.scss +960 -0
  39. data/_sass/vendors/_mixins.scss +37 -0
  40. data/_sass/vendors/_notices.scss +92 -0
  41. data/_sass/vendors/_syntax.scss +348 -0
  42. data/assets/css/styles.scss +5 -0
  43. data/assets/images/500x300.png +0 -0
  44. data/assets/images/avatar.png +0 -0
  45. data/assets/images/jekyll-theme-twail.png +0 -0
  46. data/assets/images/unsplash-image-1.jpg +0 -0
  47. data/assets/images/unsplash-image-2.jpg +0 -0
  48. data/assets/images/unsplash-image-3.jpg +0 -0
  49. data/assets/images/unsplash-image-4.jpg +0 -0
  50. metadata +148 -0
@@ -0,0 +1,37 @@
1
+ /*
2
+ Compass YIQ Color Contrast
3
+ https://github.com/easy-designs/yiq-color-contrast
4
+ ========================================================================== */
5
+
6
+ @function yiq-is-light($color, $threshold: $yiq-contrasted-threshold) {
7
+ $red: red($color);
8
+ $green: green($color);
9
+ $blue: blue($color);
10
+
11
+ $yiq: (($red * 299)+ ($green * 587)+ ($blue * 114))/1000;
12
+
13
+ @if $yiq-debug {
14
+ @debug $yiq, $threshold;
15
+ }
16
+
17
+ @return if($yiq >= $threshold, true, false);
18
+ }
19
+
20
+ @function yiq-contrast-color(
21
+ $color,
22
+ $dark: $yiq-contrasted-dark-default,
23
+ $light: $yiq-contrasted-light-default,
24
+ $threshold: $yiq-contrasted-threshold
25
+ ) {
26
+ @return if(yiq-is-light($color, $threshold), $yiq-contrasted-dark-default, $yiq-contrasted-light-default);
27
+ }
28
+
29
+ @mixin yiq-contrasted(
30
+ $background-color,
31
+ $dark: $yiq-contrasted-dark-default,
32
+ $light: $yiq-contrasted-light-default,
33
+ $threshold: $yiq-contrasted-threshold
34
+ ) {
35
+ background-color: $background-color;
36
+ color: yiq-contrast-color($background-color, $dark, $light, $threshold);
37
+ }
@@ -0,0 +1,92 @@
1
+ @mixin notice($notice-color) {
2
+ margin: 1rem 0 !important;
3
+ padding: 1em;
4
+ color: $color-fg-default;
5
+ font-size: 0.85em !important;
6
+ text-indent: initial; /* override*/
7
+ background-color: mix($color-card-background, $notice-color, $notice-background-mix);
8
+ border-radius: 4px;
9
+ box-shadow: 0 1px 1px rgba($notice-color, 0.25);
10
+
11
+ h4 {
12
+ margin-top: 0 !important; /* override*/
13
+ margin-bottom: 0.75em;
14
+ line-height: inherit;
15
+ }
16
+
17
+ @at-root .page__content #{&} h4 {
18
+ /* using at-root to override .page-content h4 font size*/
19
+ margin-bottom: 0;
20
+ font-size: $font-size-4;
21
+ }
22
+
23
+ p {
24
+ &:last-child {
25
+ margin-bottom: 0 !important; /* override*/
26
+ }
27
+ }
28
+
29
+ h4 + p {
30
+ /* remove space above paragraphs that appear directly after notice headline*/
31
+ margin-top: 0;
32
+ padding-top: 0;
33
+ }
34
+
35
+ a {
36
+ text-decoration: underline;
37
+ transition: 0.2s;
38
+
39
+ color: mix(#000, $notice-color, 10%);
40
+
41
+ &:hover {
42
+ color: mix(#000, $notice-color, 50%);
43
+ }
44
+ }
45
+
46
+ code {
47
+ color: inherit;
48
+ background-color: mix($color-card-background, $notice-color, $code-notice-background-mix);
49
+ }
50
+
51
+ pre code {
52
+ background-color: inherit;
53
+ }
54
+
55
+ ul {
56
+ &:last-child {
57
+ margin-bottom: 0; /* override*/
58
+ }
59
+ }
60
+ }
61
+
62
+ .markdown-body {
63
+ /* Default notice */
64
+ .notice {
65
+ @include notice($color-notice-default);
66
+ }
67
+
68
+ /* Primary notice */
69
+ .notice--primary {
70
+ @include notice($color-notice-primary);
71
+ }
72
+
73
+ /* Info notice */
74
+ .notice--info {
75
+ @include notice($color-notice-info);
76
+ }
77
+
78
+ /* Warning notice */
79
+ .notice--warning {
80
+ @include notice($color-notice-warning);
81
+ }
82
+
83
+ /* Success notice */
84
+ .notice--success {
85
+ @include notice($color-notice-success);
86
+ }
87
+
88
+ /* Danger notice */
89
+ .notice--danger {
90
+ @include notice($color-notice-danger);
91
+ }
92
+ }
@@ -0,0 +1,348 @@
1
+ /* ==========================================================================
2
+ Syntax highlighting
3
+ ========================================================================== */
4
+
5
+ .markdown-body {
6
+ div.highlighter-rouge,
7
+ figure.highlight {
8
+ position: relative;
9
+ margin-bottom: 1rem;
10
+ background: $base00;
11
+ color: $base05;
12
+ font-family: $font-codeblock;
13
+ font-size: 0.82em;
14
+ line-height: 1.8;
15
+ border-radius: 4px;
16
+
17
+ > pre,
18
+ pre.highlight {
19
+ margin: 0;
20
+ padding: 1em;
21
+ }
22
+ }
23
+
24
+ .highlight table {
25
+ margin-bottom: 0;
26
+ font-size: 1em;
27
+ border: none;
28
+
29
+ th {
30
+ padding: 0;
31
+ border: none;
32
+ }
33
+
34
+ td {
35
+ padding: 0;
36
+ width: calc(100% - 1em);
37
+ border: none;
38
+
39
+ /* line numbers*/
40
+ &.gutter,
41
+ &.rouge-gutter {
42
+ padding-right: 1em;
43
+ width: 1em;
44
+ color: $base04;
45
+ border-right: 1px solid $base04;
46
+ text-align: right;
47
+ }
48
+
49
+ /* code */
50
+ &.code,
51
+ &.rouge-code {
52
+ padding-left: 1em;
53
+ }
54
+ }
55
+
56
+ tr {
57
+ border: none;
58
+ background: inherit;
59
+
60
+ &:nth-child(2n) {
61
+ background-color: inherit;
62
+ }
63
+ }
64
+
65
+ pre {
66
+ margin: 0;
67
+ }
68
+ }
69
+
70
+ .highlight code {
71
+ color: inherit !important;
72
+ }
73
+
74
+ .highlight pre {
75
+ width: 100%;
76
+ }
77
+
78
+ .highlight .hll {
79
+ background-color: $base06;
80
+ }
81
+ .highlight {
82
+ .c {
83
+ /* Comment */
84
+ color: $base04;
85
+ }
86
+ .err {
87
+ /* Error */
88
+ color: $base08;
89
+ }
90
+ .k {
91
+ /* Keyword */
92
+ color: $base0e;
93
+ }
94
+ .l {
95
+ /* Literal */
96
+ color: $base09;
97
+ }
98
+ .n {
99
+ /* Name */
100
+ color: $base05;
101
+ }
102
+ .o {
103
+ /* Operator */
104
+ color: $base0c;
105
+ }
106
+ .p {
107
+ /* Punctuation */
108
+ color: $base05;
109
+ }
110
+ .cm {
111
+ /* Comment.Multiline */
112
+ color: $base04;
113
+ }
114
+ .cp {
115
+ /* Comment.Preproc */
116
+ color: $base04;
117
+ }
118
+ .c1 {
119
+ /* Comment.Single */
120
+ color: $base04;
121
+ }
122
+ .cs {
123
+ /* Comment.Special */
124
+ color: $base04;
125
+ }
126
+ .gd {
127
+ /* Generic.Deleted */
128
+ color: $base08;
129
+ }
130
+ .ge {
131
+ /* Generic.Emph */
132
+ font-style: italic;
133
+ }
134
+ .gh {
135
+ /* Generic.Heading */
136
+ color: $base05;
137
+ font-weight: bold;
138
+ }
139
+ .gi {
140
+ /* Generic.Inserted */
141
+ color: $base0b;
142
+ }
143
+ .gp {
144
+ /* Generic.Prompt */
145
+ color: $base04;
146
+ font-weight: bold;
147
+ }
148
+ .gs {
149
+ /* Generic.Strong */
150
+ font-weight: bold;
151
+ }
152
+ .gu {
153
+ /* Generic.Subheading */
154
+ color: $base0c;
155
+ font-weight: bold;
156
+ }
157
+ .kc {
158
+ /* Keyword.Constant */
159
+ color: $base0e;
160
+ }
161
+ .kd {
162
+ /* Keyword.Declaration */
163
+ color: $base0e;
164
+ }
165
+ .kn {
166
+ /* Keyword.Namespace */
167
+ color: $base0c;
168
+ }
169
+ .kp {
170
+ /* Keyword.Pseudo */
171
+ color: $base0e;
172
+ }
173
+ .kr {
174
+ /* Keyword.Reserved */
175
+ color: $base0e;
176
+ }
177
+ .kt {
178
+ /* Keyword.Type */
179
+ color: $base0a;
180
+ }
181
+ .ld {
182
+ /* Literal.Date */
183
+ color: $base0b;
184
+ }
185
+ .m {
186
+ /* Literal.Number */
187
+ color: $base09;
188
+ }
189
+ .s {
190
+ /* Literal.String */
191
+ color: $base0b;
192
+ }
193
+ .na {
194
+ /* Name.Attribute */
195
+ color: $base0d;
196
+ }
197
+ .nb {
198
+ /* Name.Builtin */
199
+ color: $base05;
200
+ }
201
+ .nc {
202
+ /* Name.Class */
203
+ color: $base0a;
204
+ }
205
+ .no {
206
+ /* Name.Constant */
207
+ color: $base08;
208
+ }
209
+ .nd {
210
+ /* Name.Decorator */
211
+ color: $base0c;
212
+ }
213
+ .ni {
214
+ /* Name.Entity */
215
+ color: $base05;
216
+ }
217
+ .ne {
218
+ /* Name.Exception */
219
+ color: $base08;
220
+ }
221
+ .nf {
222
+ /* Name.Function */
223
+ color: $base0d;
224
+ }
225
+ .nl {
226
+ /* Name.Label */
227
+ color: $base05;
228
+ }
229
+ .nn {
230
+ /* Name.Namespace */
231
+ color: $base0a;
232
+ }
233
+ .nx {
234
+ /* Name.Other */
235
+ color: $base0d;
236
+ }
237
+ .py {
238
+ /* Name.Property */
239
+ color: $base05;
240
+ }
241
+ .nt {
242
+ /* Name.Tag */
243
+ color: $base0c;
244
+ }
245
+ .nv {
246
+ /* Name.Variable */
247
+ color: $base08;
248
+ }
249
+ .ow {
250
+ /* Operator.Word */
251
+ color: $base0c;
252
+ }
253
+ .w {
254
+ /* Text.Whitespace */
255
+ color: $base05;
256
+ }
257
+ .mf {
258
+ /* Literal.Number.Float */
259
+ color: $base09;
260
+ }
261
+ .mh {
262
+ /* Literal.Number.Hex */
263
+ color: $base09;
264
+ }
265
+ .mi {
266
+ /* Literal.Number.Integer */
267
+ color: $base09;
268
+ }
269
+ .mo {
270
+ /* Literal.Number.Oct */
271
+ color: $base09;
272
+ }
273
+ .sb {
274
+ /* Literal.String.Backtick */
275
+ color: $base0b;
276
+ }
277
+ .sc {
278
+ /* Literal.String.Char */
279
+ color: $base05;
280
+ }
281
+ .sd {
282
+ /* Literal.String.Doc */
283
+ color: $base04;
284
+ }
285
+ .s2 {
286
+ /* Literal.String.Double */
287
+ color: $base0b;
288
+ }
289
+ .se {
290
+ /* Literal.String.Escape */
291
+ color: $base09;
292
+ }
293
+ .sh {
294
+ /* Literal.String.Heredoc */
295
+ color: $base0b;
296
+ }
297
+ .si {
298
+ /* Literal.String.Interpol */
299
+ color: $base09;
300
+ }
301
+ .sx {
302
+ /* Literal.String.Other */
303
+ color: $base0b;
304
+ }
305
+ .sr {
306
+ /* Literal.String.Regex */
307
+ color: $base0b;
308
+ }
309
+ .s1 {
310
+ /* Literal.String.Single */
311
+ color: $base0b;
312
+ }
313
+ .ss {
314
+ /* Literal.String.Symbol */
315
+ color: $base0b;
316
+ }
317
+ .bp {
318
+ /* Name.Builtin.Pseudo */
319
+ color: $base05;
320
+ }
321
+ .vc {
322
+ /* Name.Variable.Class */
323
+ color: $base08;
324
+ }
325
+ .vg {
326
+ /* Name.Variable.Global */
327
+ color: $base08;
328
+ }
329
+ .vi {
330
+ /* Name.Variable.Instance */
331
+ color: $base08;
332
+ }
333
+ .il {
334
+ /* Literal.Number.Integer.Long */
335
+ color: $base09;
336
+ }
337
+ }
338
+
339
+ .gist {
340
+ tr {
341
+ border: none;
342
+ }
343
+ th,
344
+ td {
345
+ border: none;
346
+ }
347
+ }
348
+ }
@@ -0,0 +1,5 @@
1
+ ---
2
+ # this ensures Jekyll reads the file to be transformed into CSS later
3
+ ---
4
+
5
+ @import 'main';
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
metadata ADDED
@@ -0,0 +1,148 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-theme-twail
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - leetaewook
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-01-15 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: '4.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: jekyll-paginate-v2
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '3.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '3.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: jekyll-sitemap
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: jekyll-gist
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ description:
70
+ email:
71
+ - twleev@gmail.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - LICENSE.txt
77
+ - README.md
78
+ - _config.yml
79
+ - _includes/analytics-providers/custom.html
80
+ - _includes/analytics-providers/google-gtag.html
81
+ - _includes/analytics-providers/google-universal.html
82
+ - _includes/analytics-providers/google.html
83
+ - _includes/analytics.html
84
+ - _includes/comments-providers/custom.html
85
+ - _includes/comments-providers/disqus.html
86
+ - _includes/comments-providers/utterances.html
87
+ - _includes/comments.html
88
+ - _includes/footer.html
89
+ - _includes/head.html
90
+ - _includes/head__seo.html
91
+ - _includes/pager.html
92
+ - _includes/postlist.html
93
+ - _includes/profile.html
94
+ - _includes/tagnav.html
95
+ - _layouts/autopage_tags.html
96
+ - _layouts/default.html
97
+ - _layouts/home.html
98
+ - _layouts/post.html
99
+ - _sass/_custom.scss
100
+ - _sass/_variables.scss
101
+ - _sass/components/_comments.scss
102
+ - _sass/components/_footer.scss
103
+ - _sass/components/_pager.scss
104
+ - _sass/components/_postlist.scss
105
+ - _sass/components/_profile.scss
106
+ - _sass/components/_tagnav.scss
107
+ - _sass/main.scss
108
+ - _sass/pages/_deafult.scss
109
+ - _sass/pages/_post.scss
110
+ - _sass/vendors/_buttons.scss
111
+ - _sass/vendors/_forms.scss
112
+ - _sass/vendors/_markdown-body.scss
113
+ - _sass/vendors/_mixins.scss
114
+ - _sass/vendors/_notices.scss
115
+ - _sass/vendors/_syntax.scss
116
+ - assets/css/styles.scss
117
+ - assets/images/500x300.png
118
+ - assets/images/avatar.png
119
+ - assets/images/jekyll-theme-twail.png
120
+ - assets/images/unsplash-image-1.jpg
121
+ - assets/images/unsplash-image-2.jpg
122
+ - assets/images/unsplash-image-3.jpg
123
+ - assets/images/unsplash-image-4.jpg
124
+ homepage: https://github.com/leetaewook/jekyll-theme-twail
125
+ licenses:
126
+ - MIT
127
+ metadata:
128
+ plugin_type: theme
129
+ post_install_message:
130
+ rdoc_options: []
131
+ require_paths:
132
+ - lib
133
+ required_ruby_version: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ required_rubygems_version: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
143
+ requirements: []
144
+ rubygems_version: 3.1.6
145
+ signing_key:
146
+ specification_version: 4
147
+ summary: Card style Jekyll theme for blog
148
+ test_files: []