kiko-minus-gh 0.0.1

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,222 @@
1
+ /**
2
+ * Site layout settings
3
+ * Adapted from https://github.com/aweekj/Kiko-plus/blob/master/_sass/_site.scss
4
+ * and https://github.com/jekyll/minima/blob/master/_sass/minima/_layout.scss
5
+ */
6
+
7
+ /**
8
+ * Main wrapper
9
+ */
10
+ .main-wrapper {
11
+ max-width: 48rem;
12
+ padding: 2rem 1.3rem;
13
+ margin-left: auto;
14
+ margin-right: auto;
15
+
16
+ @include media-query($on-desktop) {
17
+ padding: 5rem 1rem 2rem;
18
+ }
19
+ }
20
+
21
+
22
+ /**
23
+ * Page header
24
+ */
25
+ .header {
26
+ &-title {
27
+ margin: 0.3em 0;
28
+ @include relative-font-size(2.25);
29
+ line-height: 1.2em;
30
+ font-weight: 600;
31
+
32
+ a {
33
+ color: $base-font-color;
34
+ &:hover,
35
+ &:focus {
36
+ text-decoration: none;
37
+ }
38
+ }
39
+
40
+ span {
41
+ color: $oc-gray-5;
42
+ }
43
+ }
44
+
45
+ &-nav {
46
+ a {
47
+ color: $oc-gray-7;
48
+ text-transform: lowercase;
49
+ margin-right: .3rem;
50
+
51
+ &:hover,
52
+ &:focus {
53
+ text-decoration: none;
54
+ }
55
+ }
56
+ }
57
+ }
58
+
59
+ .header-small {
60
+ text-align: left;
61
+ margin-bottom: .75rem;
62
+ @include relative-font-size(0.7);
63
+ font-weight: 600;
64
+ text-transform: uppercase;
65
+
66
+ a {
67
+ color: $base-font-color;
68
+
69
+ &:hover,
70
+ &:focus {
71
+ text-decoration: none;
72
+ }
73
+ }
74
+ }
75
+
76
+ .page {
77
+ &-title {
78
+ margin-bottom: 0.5rem;
79
+ @include relative-font-size(1.9);
80
+ line-height: 1.2em;
81
+ font-weight: 600;
82
+
83
+ @include media-query($on-desktop) {
84
+ @include relative-font-size(2.25);
85
+ }
86
+ }
87
+
88
+ &-date {
89
+ margin-bottom: .5rem;
90
+ @include relative-font-size(0.7);
91
+ }
92
+
93
+ &-tags {
94
+ margin-top: 1.5rem;
95
+ @include relative-font-size(0.8);
96
+ color: lighten($base-font-color, 10%);
97
+ }
98
+ }
99
+
100
+
101
+ /**
102
+ * Post list
103
+ */
104
+ .post-list {
105
+ &-item {
106
+ padding: 4% 0;
107
+
108
+ &:hover a {
109
+ color: lighten($base-font-color, 10%);
110
+ }
111
+
112
+ a {
113
+ color: $base-font-color;
114
+
115
+ &:hover,
116
+ &:focus {
117
+ text-decoration: none;
118
+ }
119
+ }
120
+
121
+ &-title {
122
+ margin-bottom: .3rem;
123
+ @include relative-font-size(1.6);
124
+ font-weight: 600;
125
+ }
126
+
127
+ &-date {
128
+ @include relative-font-size(.75);
129
+ }
130
+
131
+ &-desc {
132
+ color: $base-font-color;
133
+ margin-bottom: .25rem;
134
+ font-size: 1rem;
135
+ }
136
+ }
137
+
138
+ &-pagination {
139
+ padding-top: 2rem;
140
+ padding-bottom: 2rem;
141
+ text-transform: lowercase;
142
+
143
+ &-previous {
144
+ float: left;
145
+ padding-left: 2%;
146
+
147
+ a {
148
+ color: $base-font-color;
149
+
150
+ &:hover,
151
+ &:focus {
152
+ color: lighten($base-font-color, 10%);
153
+ text-decoration: none;
154
+ }
155
+ }
156
+ }
157
+
158
+ &-next {
159
+ float: right;
160
+ padding-right: 2%;
161
+ a {
162
+ color: $base-font-color;
163
+
164
+ &:hover {
165
+ color: lighten($base-font-color, 10%);
166
+ text-decoration: none;
167
+ }
168
+ }
169
+ }
170
+ }
171
+ }
172
+
173
+ /**
174
+ * Archive list
175
+ */
176
+ .archive {
177
+ &-list {
178
+ &-item {
179
+ padding: 0.1rem;
180
+
181
+ &:hover a {
182
+ color: lighten($base-font-color, 10%);
183
+ }
184
+
185
+ a {
186
+ color: $base-font-color;
187
+
188
+ &:hover,
189
+ &:focus {
190
+ text-decoration: none;
191
+ }
192
+ }
193
+
194
+ &-title {
195
+ @include relative-font-size(1.1);
196
+ font-weight: 400;
197
+ }
198
+
199
+ &-date {
200
+ @include relative-font-size(.7);
201
+ }
202
+ }
203
+ }
204
+ }
205
+
206
+
207
+ /**
208
+ * Comments
209
+ */
210
+ .comments-content {
211
+ padding: 1rem;
212
+ @include relative-font-size(0.9);
213
+ }
214
+
215
+
216
+ /**
217
+ * Footer
218
+ */
219
+ .footer {
220
+ text-align: center;
221
+ @include relative-font-size(0.8);
222
+ }
@@ -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
+ }