kiko-minus 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.
@@ -0,0 +1,62 @@
1
+ /* See https://github.com/aweekj/Kiko-plus/blob/master/_sass/_highlighter.scss */
2
+
3
+ .highlight { background: $oc-gray-0 }
4
+ .highlight .c { color: #999988; font-style: italic } /* Comment */
5
+ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
6
+ .highlight .k { font-weight: bold } /* Keyword */
7
+ .highlight .o { font-weight: bold } /* Operator */
8
+ .highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
9
+ .highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
10
+ .highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
11
+ .highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
12
+ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
13
+ .highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
14
+ .highlight .ge { font-style: italic } /* Generic.Emph */
15
+ .highlight .gr { color: #aa0000 } /* Generic.Error */
16
+ .highlight .gh { color: #999999 } /* Generic.Heading */
17
+ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
18
+ .highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
19
+ .highlight .go { color: #888888 } /* Generic.Output */
20
+ .highlight .gp { color: #555555 } /* Generic.Prompt */
21
+ .highlight .gs { font-weight: bold } /* Generic.Strong */
22
+ .highlight .gu { color: #aaaaaa } /* Generic.Subheading */
23
+ .highlight .gt { color: #aa0000 } /* Generic.Traceback */
24
+ .highlight .kc { font-weight: bold } /* Keyword.Constant */
25
+ .highlight .kd { font-weight: bold } /* Keyword.Declaration */
26
+ .highlight .kp { font-weight: bold } /* Keyword.Pseudo */
27
+ .highlight .kr { font-weight: bold } /* Keyword.Reserved */
28
+ .highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
29
+ .highlight .m { color: #009999 } /* Literal.Number */
30
+ .highlight .s { color: #d14 } /* Literal.String */
31
+ .highlight .na { color: #008080 } /* Name.Attribute */
32
+ .highlight .nb { color: #0086B3 } /* Name.Builtin */
33
+ .highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
34
+ .highlight .no { color: #008080 } /* Name.Constant */
35
+ .highlight .ni { color: #800080 } /* Name.Entity */
36
+ .highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
37
+ .highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
38
+ .highlight .nn { color: #555555 } /* Name.Namespace */
39
+ .highlight .nt { color: #000080 } /* Name.Tag */
40
+ .highlight .nv { color: #008080 } /* Name.Variable */
41
+ .highlight .ow { font-weight: bold } /* Operator.Word */
42
+ .highlight .w { color: #bbbbbb } /* Text.Whitespace */
43
+ .highlight .mf { color: #009999 } /* Literal.Number.Float */
44
+ .highlight .mh { color: #009999 } /* Literal.Number.Hex */
45
+ .highlight .mi { color: #009999 } /* Literal.Number.Integer */
46
+ .highlight .mo { color: #009999 } /* Literal.Number.Oct */
47
+ .highlight .sb { color: #d14 } /* Literal.String.Backtick */
48
+ .highlight .sc { color: #d14 } /* Literal.String.Char */
49
+ .highlight .sd { color: #d14 } /* Literal.String.Doc */
50
+ .highlight .s2 { color: #d14 } /* Literal.String.Double */
51
+ .highlight .se { color: #d14 } /* Literal.String.Escape */
52
+ .highlight .sh { color: #d14 } /* Literal.String.Heredoc */
53
+ .highlight .si { color: #d14 } /* Literal.String.Interpol */
54
+ .highlight .sx { color: #d14 } /* Literal.String.Other */
55
+ .highlight .sr { color: #009926 } /* Literal.String.Regex */
56
+ .highlight .s1 { color: #d14 } /* Literal.String.Single */
57
+ .highlight .ss { color: #990073 } /* Literal.String.Symbol */
58
+ .highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
59
+ .highlight .vc { color: #008080 } /* Name.Variable.Class */
60
+ .highlight .vg { color: #008080 } /* Name.Variable.Global */
61
+ .highlight .vi { color: #008080 } /* Name.Variable.Instance */
62
+ .highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
@@ -0,0 +1,328 @@
1
+ /**
2
+ * Basic typography settings
3
+ * Adapted from https://github.com/aweekj/Kiko-plus/blob/master/_sass/_typography.scss
4
+ * and https://github.com/jekyll/minima/blob/master/_sass/minima/_base.scss
5
+ */
6
+
7
+ /**
8
+ * Basic styling
9
+ */
10
+ body {
11
+ font-family: $base-font-stack;
12
+ font-size: $mob-font-size;
13
+ font-weight: $mob-font-weight;
14
+ line-height: $base-line-height;
15
+ color: $base-font-color;
16
+ background-color: $background-color;
17
+ -webkit-text-size-adjust: 100%;
18
+ -webkit-font-feature-settings: "kern" 1;
19
+ -moz-font-feature-settings: "kern" 1;
20
+ -o-font-feature-settings: "kern" 1;
21
+ font-feature-settings: "kern" 1;
22
+ font-kerning: normal;
23
+ display: flex;
24
+ min-height: 100vh;
25
+ flex-direction: column;
26
+
27
+ @include media-query($on-desktop) {
28
+ font-size: $base-font-size;
29
+ font-weight: $base-font-weight;
30
+ }
31
+ }
32
+
33
+
34
+ /**
35
+ * Vertical spacing
36
+ */
37
+ h1, h2, h3, h4, h5, h6,
38
+ p, blockquote, pre,
39
+ ul, ol, dl, figure,
40
+ %vertical-space {
41
+ margin-bottom: $spacing-unit / 2;
42
+ }
43
+
44
+
45
+ /**
46
+ * Headings
47
+ */
48
+ h1, h2, h3, h4, h5, h6 {
49
+ font-weight: $heading-font-weight;
50
+ }
51
+
52
+ h1, h2 {
53
+ border-bottom: 1px solid #eee;
54
+ padding-bottom: $spacing-unit / 5;
55
+ }
56
+
57
+
58
+ /**
59
+ * Links
60
+ */
61
+ a {
62
+ color: $link-color;
63
+ text-decoration: none;
64
+
65
+ &:visited {
66
+ color: darken($link-color, 15%);
67
+ }
68
+
69
+ &:hover,
70
+ &:focus {
71
+ text-decoration: underline;
72
+ }
73
+ }
74
+
75
+
76
+ /**
77
+ * Lists
78
+ */
79
+ ol, ul, dl {
80
+ padding: 0;
81
+ list-style: none;
82
+ list-style-image: none;
83
+ }
84
+
85
+ // Modify spacing before item
86
+ ol, ul {
87
+ > li {
88
+ &:before {
89
+ position: absolute;
90
+ width: $li-bul-width;
91
+ margin-left: -$li-bul-width;
92
+ display: inline-block;
93
+ box-sizing: border-box;
94
+ text-align: right;
95
+ }
96
+ }
97
+ }
98
+
99
+ // Modify bullet
100
+ ul {
101
+ > li:before {
102
+ content: "\2022";
103
+ padding-right: $ul-bul-right-space;
104
+ font-family: $ul-bul-font;
105
+ font-size: $ul-bul-font-size;
106
+ line-height: $ul-bul-line-height;
107
+ }
108
+ }
109
+
110
+ // Modify counter
111
+ ol {
112
+ counter-reset: section;
113
+
114
+ > li:before {
115
+ counter-increment: section;
116
+ content: counter(section) ".";
117
+ padding-right: $ol-bul-right-space;
118
+ font-family: $ol-bul-font;
119
+ font-size: $ol-bul-font-size;
120
+ line-height: $ol-bul-line-height;
121
+ }
122
+ }
123
+
124
+ // Modify spacing
125
+ ol, ul {
126
+ > li {
127
+ margin: 0 auto $mob-li-bottom-space $li-bul-width;
128
+ line-height: $li-line-height;
129
+
130
+ @include media-query($on-desktop) {
131
+ margin-bottom: $li-bottom-space;
132
+ }
133
+
134
+ > ol,
135
+ > ul {
136
+ margin-top: $mob-li-bottom-space;
137
+
138
+ @include media-query($on-desktop) {
139
+ margin-bottom: $li-bottom-space;
140
+ }
141
+ }
142
+ }
143
+ }
144
+
145
+ // Modify spacing for nested lists
146
+ li {
147
+ > ol,
148
+ > ul {
149
+ > li {
150
+ margin: 0 auto ($mob-li-bottom-space * $li-child-size-ratio) ($li-bul-width * $li-child-size-ratio);
151
+
152
+ @include relative-font-size($li-child-size-ratio);
153
+
154
+ @include media-query($on-desktop) {
155
+ margin-bottom: $li-bottom-space * $li-child-size-ratio;
156
+ }
157
+ }
158
+ }
159
+ }
160
+
161
+ dt {
162
+ float: left;
163
+ width: $mob-dt-width;
164
+ overflow: auto;
165
+ clear: left;
166
+ text-align: right;
167
+ white-space: nowrap;
168
+ font-weight: bold;
169
+ margin-bottom: $mob-li-bottom-space;
170
+
171
+ @include media-query($on-desktop) {
172
+ width: $dt-width;
173
+ margin-bottom: $li-bottom-space;
174
+ }
175
+ }
176
+
177
+ dd {
178
+ margin-left: $mob-dd-position;
179
+ margin-bottom: $mob-li-bottom-space;
180
+
181
+ @include media-query($on-desktop) {
182
+ margin-left: $dd-position;
183
+ margin-bottom: $li-bottom-space;
184
+ }
185
+ }
186
+
187
+
188
+ /**
189
+ * Blockquotes
190
+ */
191
+ blockquote {
192
+ color: $blockquote-color;
193
+ border-left: .3rem solid lighten($blockquote-color, 30%);
194
+ margin: 0 2rem 1rem 0;
195
+ padding-left: $spacing-unit / 2;
196
+ @include relative-font-size(1.125);
197
+
198
+ > :last-child {
199
+ margin-bottom: 0;
200
+ }
201
+ }
202
+
203
+
204
+ /**
205
+ * Breaks
206
+ */
207
+ hr {
208
+ border: 0;
209
+ border-top: 1px solid $divider-color;
210
+ margin: 1.5rem auto;
211
+ }
212
+
213
+
214
+ /**
215
+ * Images
216
+ */
217
+ img {
218
+ max-width: 100%;
219
+ vertical-align: middle;
220
+ @extend %vertical-space;
221
+ border-radius: 3px;
222
+ }
223
+
224
+
225
+ /**
226
+ * Figures
227
+ */
228
+ figure > img {
229
+ display: block;
230
+ }
231
+
232
+ figcaption {
233
+ font-size: $small-font-size;
234
+ }
235
+
236
+
237
+ /**
238
+ * Tables
239
+ */
240
+ table {
241
+ margin-bottom: $spacing-unit;
242
+ width: 100%;
243
+ text-align: left;
244
+ border-collapse: collapse;
245
+ border: 1px solid $table-color;
246
+
247
+ tr {
248
+ &:nth-child(even) {
249
+ background-color: lighten($table-color, 2%);
250
+ }
251
+ }
252
+
253
+ th, td {
254
+ padding: ($spacing-unit / 3) ($spacing-unit / 2);
255
+ }
256
+
257
+ th {
258
+ background-color: lighten($table-color, 2%);
259
+ border: 1px solid darken($table-color, 4%);
260
+ border-bottom-color: darken($table-color, 12%);
261
+ }
262
+
263
+ td {
264
+ border: 1px solid $table-color;
265
+ }
266
+ }
267
+
268
+
269
+ /**
270
+ * Code
271
+ */
272
+ code {
273
+ padding: .25em .5em;
274
+ font-size: 85%;
275
+ color: $code-text-color;
276
+ background-color: $code-bg-color;
277
+ border-radius: 3px;
278
+ }
279
+
280
+ pre {
281
+ display: block;
282
+ margin-top: 0;
283
+ margin-bottom: 1rem;
284
+ padding: .5rem;
285
+ @include relative-font-size(0.8);
286
+ line-height: 1.4;
287
+ white-space: pre;
288
+ overflow: auto;
289
+ background-color: $code-bg-color;
290
+
291
+ code {
292
+ padding: 0;
293
+ font-size: 100%;
294
+ color: inherit;
295
+ background-color: transparent;
296
+ }
297
+ }
298
+
299
+ .highlight {
300
+ margin-bottom: 1rem;
301
+ border-radius: 4px;
302
+
303
+ pre {
304
+ margin-bottom: 0;
305
+ }
306
+ }
307
+
308
+
309
+ /**
310
+ * Footnotes
311
+ */
312
+ a.footnote {
313
+ &,
314
+ .post p &,
315
+ .post ol &,
316
+ .post ul & {
317
+ margin: 0 3px;
318
+ font-size: $small-font-size;
319
+ -webkit-text-stroke: 0.25px;
320
+ text-decoration: none;
321
+ }
322
+ }
323
+ .footnotes {
324
+ margin: 4rem 0;
325
+ padding: 2rem 1em;
326
+ border-top: 1px solid $divider-color;
327
+ font-size: $small-font-size;
328
+ }
@@ -0,0 +1,5 @@
1
+ ---
2
+ # Empty front matter
3
+ ---
4
+
5
+ @import "kiko-minus";
metadata ADDED
@@ -0,0 +1,114 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: kiko-minus
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Areeb Khan
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-04-09 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: jekyll-seo-tag
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.6'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.6'
41
+ - !ruby/object:Gem::Dependency
42
+ name: jekyll-paginate-v2
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.1'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '2.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2.0'
69
+ description:
70
+ email:
71
+ - areebk@protonmail.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - LICENSE
77
+ - README.md
78
+ - _includes/footer.html
79
+ - _layouts/default.html
80
+ - _layouts/home.html
81
+ - _layouts/page.html
82
+ - _layouts/post.html
83
+ - _sass/kiko-minus.scss
84
+ - _sass/kiko-minus/_colors.scss
85
+ - _sass/kiko-minus/_layout.scss
86
+ - _sass/kiko-minus/_normalize.scss
87
+ - _sass/kiko-minus/_syntax-highlighting.scss
88
+ - _sass/kiko-minus/_typography.scss
89
+ - assets/css/style.scss
90
+ homepage: https://gitlab.com/areebk/kiko-minus
91
+ licenses:
92
+ - MIT
93
+ metadata:
94
+ plugin_type: theme
95
+ post_install_message:
96
+ rdoc_options: []
97
+ require_paths:
98
+ - lib
99
+ required_ruby_version: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ required_rubygems_version: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - ">="
107
+ - !ruby/object:Gem::Version
108
+ version: '0'
109
+ requirements: []
110
+ rubygems_version: 3.0.3
111
+ signing_key:
112
+ specification_version: 4
113
+ summary: Stripped down version of Kiko Plus
114
+ test_files: []