doccoli-jekyll 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,250 @@
1
+ /**
2
+ * Site header
3
+ */
4
+ .site-header {
5
+ border-top: 5px solid $grey-color-dark;
6
+ border-bottom: 1px solid $grey-color-light;
7
+ min-height: $spacing-unit * 1.865;
8
+
9
+ // Positioning context for the mobile navigation icon
10
+ position: relative;
11
+ }
12
+
13
+ .site-title {
14
+ @include relative-font-size(1.625);
15
+ font-weight: 300;
16
+ line-height: $base-line-height * $base-font-size * 2.25;
17
+ letter-spacing: -1px;
18
+ margin-bottom: 0;
19
+ float: left;
20
+
21
+ &,
22
+ &:visited {
23
+ color: $grey-color-dark;
24
+ }
25
+ }
26
+
27
+ .site-nav {
28
+ float: right;
29
+ line-height: $base-line-height * $base-font-size * 2.25;
30
+
31
+ .nav-trigger {
32
+ display: none;
33
+ }
34
+
35
+ .menu-icon {
36
+ display: none;
37
+ }
38
+
39
+ .page-link {
40
+ color: $text-color;
41
+ line-height: $base-line-height;
42
+
43
+ // Gaps between nav items, but not on the last one
44
+ &:not(:last-child) {
45
+ margin-right: 20px;
46
+ }
47
+ }
48
+
49
+ @include media-query($on-palm) {
50
+ position: absolute;
51
+ top: 9px;
52
+ right: $spacing-unit / 2;
53
+ background-color: $background-color;
54
+ border: 1px solid $grey-color-light;
55
+ border-radius: 5px;
56
+ text-align: right;
57
+
58
+ label[for="nav-trigger"] {
59
+ display: block;
60
+ float: right;
61
+ width: 36px;
62
+ height: 36px;
63
+ z-index: 2;
64
+ cursor: pointer;
65
+ }
66
+
67
+ .menu-icon {
68
+ display: block;
69
+ float: right;
70
+ width: 36px;
71
+ height: 26px;
72
+ line-height: 0;
73
+ padding-top: 10px;
74
+ text-align: center;
75
+
76
+ > svg path {
77
+ fill: $grey-color-dark;
78
+ }
79
+ }
80
+
81
+ input ~ .trigger {
82
+ clear: both;
83
+ display: none;
84
+ }
85
+
86
+ input:checked ~ .trigger {
87
+ display: block;
88
+ padding-bottom: 5px;
89
+ }
90
+
91
+ .page-link {
92
+ display: block;
93
+ padding: 5px 10px;
94
+
95
+ &:not(:last-child) {
96
+ margin-right: 0;
97
+ }
98
+ margin-left: 20px;
99
+ }
100
+ }
101
+ }
102
+
103
+
104
+
105
+ /**
106
+ * Site footer
107
+ */
108
+ .site-footer {
109
+ border-top: 1px solid $grey-color-light;
110
+ padding: $spacing-unit 0;
111
+ }
112
+
113
+ .footer-heading {
114
+ @include relative-font-size(1.125);
115
+ margin-bottom: $spacing-unit / 2;
116
+ }
117
+
118
+ .contact-list,
119
+ .social-media-list {
120
+ list-style: none;
121
+ margin-left: 0;
122
+ }
123
+
124
+ .footer-col-wrapper {
125
+ @include relative-font-size(0.9375);
126
+ color: $grey-color;
127
+ margin-left: -$spacing-unit / 2;
128
+ @extend %clearfix;
129
+ }
130
+
131
+ .footer-col {
132
+ float: left;
133
+ margin-bottom: $spacing-unit / 2;
134
+ padding-left: $spacing-unit / 2;
135
+ }
136
+
137
+ .footer-col-1 {
138
+ width: -webkit-calc(35% - (#{$spacing-unit} / 2));
139
+ width: calc(35% - (#{$spacing-unit} / 2));
140
+ }
141
+
142
+ .footer-col-2 {
143
+ width: -webkit-calc(20% - (#{$spacing-unit} / 2));
144
+ width: calc(20% - (#{$spacing-unit} / 2));
145
+ }
146
+
147
+ .footer-col-3 {
148
+ width: -webkit-calc(45% - (#{$spacing-unit} / 2));
149
+ width: calc(45% - (#{$spacing-unit} / 2));
150
+ }
151
+
152
+ @include media-query($on-laptop) {
153
+ .footer-col-1,
154
+ .footer-col-2 {
155
+ width: -webkit-calc(50% - (#{$spacing-unit} / 2));
156
+ width: calc(50% - (#{$spacing-unit} / 2));
157
+ }
158
+
159
+ .footer-col-3 {
160
+ width: -webkit-calc(100% - (#{$spacing-unit} / 2));
161
+ width: calc(100% - (#{$spacing-unit} / 2));
162
+ }
163
+ }
164
+
165
+ @include media-query($on-palm) {
166
+ .footer-col {
167
+ float: none;
168
+ width: -webkit-calc(100% - (#{$spacing-unit} / 2));
169
+ width: calc(100% - (#{$spacing-unit} / 2));
170
+ }
171
+ }
172
+
173
+
174
+
175
+ /**
176
+ * Page content
177
+ */
178
+ .page-content {
179
+ padding: $spacing-unit 0;
180
+ }
181
+
182
+ .page-heading {
183
+ @include relative-font-size(1.25);
184
+ }
185
+
186
+ .post-list {
187
+ margin-left: 0;
188
+ list-style: none;
189
+
190
+ > li {
191
+ margin-bottom: $spacing-unit;
192
+ }
193
+ }
194
+
195
+ .post-meta {
196
+ font-size: $small-font-size;
197
+ color: $grey-color;
198
+ }
199
+
200
+ .post-link {
201
+ display: block;
202
+ @include relative-font-size(1.5);
203
+ }
204
+
205
+
206
+
207
+ /**
208
+ * Posts
209
+ */
210
+ .post-header {
211
+ margin-bottom: $spacing-unit;
212
+ }
213
+
214
+ .post-title {
215
+ @include relative-font-size(2.625);
216
+ letter-spacing: -1px;
217
+ line-height: 1;
218
+
219
+ @include media-query($on-laptop) {
220
+ @include relative-font-size(2.25);
221
+ }
222
+ }
223
+
224
+ .post-content {
225
+ margin-bottom: $spacing-unit;
226
+
227
+ h2 {
228
+ @include relative-font-size(2);
229
+
230
+ @include media-query($on-laptop) {
231
+ @include relative-font-size(1.75);
232
+ }
233
+ }
234
+
235
+ h3 {
236
+ @include relative-font-size(1.625);
237
+
238
+ @include media-query($on-laptop) {
239
+ @include relative-font-size(1.375);
240
+ }
241
+ }
242
+
243
+ h4 {
244
+ @include relative-font-size(1.25);
245
+
246
+ @include media-query($on-laptop) {
247
+ @include relative-font-size(1.125);
248
+ }
249
+ }
250
+ }
@@ -0,0 +1,560 @@
1
+ article,
2
+ aside,
3
+ details,
4
+ footer,
5
+ header,
6
+ hgroup,
7
+ main,
8
+ nav,
9
+ section,
10
+ summary {
11
+ display: block;
12
+ }
13
+
14
+ html {
15
+ font-size: 100%;
16
+ -ms-text-size-adjust: 100%;
17
+ -webkit-text-size-adjust: 100%;
18
+ font-size: 1em;
19
+ line-height: 1.4;
20
+ text-rendering: optimizelegibility;
21
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
22
+ -webkit-backface-visibility: hidden;
23
+ }
24
+
25
+ body {
26
+ color: rgba(0, 0, 0, 0.85);
27
+ background: aliceblue;
28
+ margin: 0;
29
+ font-family: 'EB Garamond', serif;
30
+ font-smooth: always;
31
+ -webkit-font-smoothing: subpixel-antialiased;
32
+ text-rendering: optimizelegibility;
33
+ font-display: swap;
34
+ font-display: optional;
35
+ -moz-osx-font-smoothing: grayscale;
36
+ -webkit-osx-font-smoothing: antialiased;
37
+ }
38
+
39
+
40
+ /* Anchors */
41
+
42
+ a {
43
+ color: #1177FF;
44
+ text-decoration: none;
45
+ text-rendering: optimizelegibility;
46
+ outline: 0;
47
+ &:focus,
48
+ &:active,
49
+ &:hover {
50
+ outline: 0;
51
+ }
52
+ }
53
+
54
+
55
+ /* Typography */
56
+
57
+ h1,
58
+ h2,
59
+ h3,
60
+ h4,
61
+ h5,
62
+ h6 {
63
+ margin: 0;
64
+ font-family: 'proxima-nova', Arial, sans-serif;
65
+ }
66
+
67
+ h1 {
68
+ font-size: 280%;
69
+ font-weight: normal;
70
+ }
71
+
72
+ h2 {
73
+ font-size: 200%;
74
+ font-weight: normal;
75
+ }
76
+
77
+ h3 {
78
+ font-size: 150%;
79
+ }
80
+
81
+ h4 {
82
+ font-size: 125%;
83
+ }
84
+
85
+ h5 {
86
+ font-size: 110%;
87
+ }
88
+
89
+ h6 {
90
+ font-size: 100%;
91
+ }
92
+
93
+ b,
94
+ strong {
95
+ font-weight: bold;
96
+ }
97
+
98
+ hr {
99
+ -moz-box-sizing: content-box;
100
+ box-sizing: content-box;
101
+ display: block;
102
+ height: 1px;
103
+ border: 0;
104
+ border-top: 2px solid #1177FF;
105
+ margin: 1em 0;
106
+ padding: 0;
107
+ }
108
+
109
+ p {
110
+ margin: .8em 0;
111
+ }
112
+
113
+ menu,
114
+ ul,
115
+ ol {
116
+ margin: 0;
117
+ padding: 0;
118
+ }
119
+
120
+ menu,
121
+ ul {
122
+ list-style-image: none;
123
+ list-style: none;
124
+ }
125
+
126
+ nav ul {
127
+ list-style: none;
128
+ list-style-image: none;
129
+ }
130
+
131
+ img {
132
+ border: 0;
133
+ -ms-interpolation-mode: bicubic;
134
+ }
135
+
136
+
137
+ /* Code formatting */
138
+
139
+ pre,
140
+ code {
141
+ border: 1px solid #e8e8e8;
142
+ border-radius: 3px;
143
+ background-color: #eff;
144
+ }
145
+
146
+ code {
147
+ padding: 1px 5px;
148
+ }
149
+
150
+ pre {
151
+ padding: 8px 12px;
152
+ overflow-x: auto;
153
+ >code {
154
+ border: 0;
155
+ padding-right: 0;
156
+ padding-left: 0;
157
+ }
158
+ }
159
+
160
+ blockquote {
161
+ color: #333;
162
+ border-left: 10px solid #1177FF;
163
+ letter-spacing: -1px;
164
+ padding: 1em;
165
+ margin: 2em auto;
166
+ font-style: italic;
167
+ background: #fffafa;
168
+ > :last-child {
169
+ margin-bottom: 0;
170
+ }
171
+ }
172
+
173
+
174
+ /*-- Coloring pseudos text selection/inactive state. Sooth! :D --*/
175
+
176
+ * {
177
+ box-sizing: border-box;
178
+ &:after {
179
+ box-sizing: border-box;
180
+ }
181
+ &:before {
182
+ box-sizing: border-box;
183
+ }
184
+ }
185
+
186
+ ::-moz-selection {
187
+ background: #a7d7ff;
188
+ color: #000;
189
+ text-shadow: none;
190
+ }
191
+
192
+ ::selection {
193
+ background: #a7d7ff;
194
+ color: #000;
195
+ text-shadow: none;
196
+ &:window-inactive {
197
+ background: #eaeaea;
198
+ color: #000;
199
+ }
200
+ }
201
+
202
+ input:-webkit-autofill {
203
+ -webkit-box-shadow: 0 0 1000px #FBFBFB inset;
204
+ }
205
+
206
+ ::-webkit-input-placeholder {
207
+ color: #555;
208
+ font-size: 15px;
209
+ }
210
+
211
+ :-moz-placeholder {
212
+ color: #555;
213
+ font-size: 15px;
214
+ }
215
+
216
+ ::-moz-placeholder {
217
+ color: #555;
218
+ font-size: 14px;
219
+ }
220
+
221
+ :-ms-input-placeholder {
222
+ color: #555;
223
+ font-size: 14px;
224
+ }
225
+
226
+ table {
227
+ border-collapse: collapse;
228
+ border-spacing: 0;
229
+ }
230
+
231
+ td,
232
+ th {
233
+ padding: 1vw;
234
+ vertical-align: top;
235
+ }
236
+
237
+
238
+ /* Element Positioning */
239
+
240
+ .container {
241
+ margin: 44px 0 0 0;
242
+ width: calc(100vw - 208px);
243
+ background: white;
244
+ margin-left: 208px;
245
+ }
246
+
247
+ .left {
248
+ float: left;
249
+ left: 0;
250
+ }
251
+
252
+ .right {
253
+ float: right;
254
+ right: 0;
255
+ }
256
+
257
+ .center {
258
+ text-align: center;
259
+ margin: 0 auto;
260
+ }
261
+
262
+ .centerize {
263
+ margin: 0 auto;
264
+ }
265
+
266
+ .fixed {
267
+ position: fixed;
268
+ will-change: transform;
269
+ transform: translateZ(0);
270
+ }
271
+
272
+ .top {
273
+ top: 0;
274
+ }
275
+
276
+ .bottom {
277
+ bottom: 0px;
278
+ }
279
+
280
+ .absolute-center {
281
+ margin: auto;
282
+ position: absolute;
283
+ top: 0;
284
+ left: 0;
285
+ bottom: 0;
286
+ right: 0;
287
+ }
288
+
289
+ .flex {
290
+ display: flex;
291
+ flex-wrap: wrap;
292
+ align-items: center;
293
+ justify-content: center;
294
+ }
295
+
296
+ .fold {
297
+ min-height: calc(90vh - 45px);
298
+ max-width: 100vw;
299
+ overflow-x: hidden;
300
+ -webkit-overflow-scrolling: touch;
301
+ }
302
+
303
+
304
+ /* -- Push aside, out & away ---*/
305
+
306
+ .side-gap {
307
+ margin-right: .5em;
308
+ margin-left: .5em;
309
+ }
310
+
311
+ .top-gap {
312
+ margin-top: .5em;
313
+ }
314
+
315
+ .double-top-gap {
316
+ margin-top: 1em;
317
+ }
318
+
319
+ .bottom-gap {
320
+ margin-bottom: 1em;
321
+ }
322
+
323
+ .double-bottom-gap {
324
+ margin-bottom: 2em;
325
+ }
326
+
327
+ .pad {
328
+ padding: 0.5em 1em;
329
+ }
330
+
331
+ .pad-vertically {
332
+ padding: 1em 0;
333
+ }
334
+
335
+ .pad-horizontally {
336
+ padding: 0 1em;
337
+ }
338
+
339
+
340
+ /* -- Text --*/
341
+
342
+ .justify {
343
+ text-align: justify;
344
+ }
345
+
346
+ .uppercase {
347
+ text-transform: uppercase;
348
+ }
349
+
350
+ .lowercase {
351
+ text-transform: lowercase;
352
+ }
353
+
354
+ .camelcase {
355
+ text-transform: capitalize;
356
+ }
357
+
358
+ .italics {
359
+ font-style: italic;
360
+ }
361
+
362
+ menu.horizontal-list li,
363
+ ul.horizontal-list li {
364
+ float: left;
365
+ }
366
+
367
+ .will-change {
368
+ will-change: transform;
369
+ transform: translate3d(0, 0, 0);
370
+ }
371
+
372
+ .unpointable {
373
+ pointer-events: none;
374
+ }
375
+
376
+ .pointable {
377
+ pointer-events: auto;
378
+ }
379
+
380
+ .ir {
381
+ background-color: transparent;
382
+ border: 0;
383
+ overflow: hidden;
384
+ *text-indent: -9999px;
385
+ &:before {
386
+ content: "";
387
+ display: block;
388
+ width: 0;
389
+ height: 150%;
390
+ }
391
+ }
392
+
393
+ .hidden {
394
+ display: none !important;
395
+ visibility: hidden;
396
+ }
397
+
398
+ .visuallyhidden {
399
+ border: 0;
400
+ clip: rect(0 0 0 0);
401
+ height: 1px;
402
+ margin: -1px;
403
+ overflow: hidden;
404
+ padding: 0;
405
+ position: absolute;
406
+ width: 1px;
407
+ &.focusable {
408
+ &:active,
409
+ &:focus {
410
+ clip: auto;
411
+ height: auto;
412
+ margin: 0;
413
+ overflow: visible;
414
+ position: static;
415
+ width: auto;
416
+ }
417
+ }
418
+ }
419
+
420
+ .invisible {
421
+ visibility: hidden;
422
+ }
423
+
424
+ .clearfix {
425
+ &:before {
426
+ content: " ";
427
+ display: table;
428
+ }
429
+ &:after {
430
+ content: " ";
431
+ display: table;
432
+ clear: both;
433
+ }
434
+ *zoom: 1;
435
+ }
436
+
437
+ @media (orientation: portrait) {
438
+ body {
439
+ .hide-on-mobiles {
440
+ display: none;
441
+ }
442
+ .display-on-mobiles {
443
+ display: inline-block;
444
+ }
445
+ .divide-in-half {
446
+ width: 90vw;
447
+ }
448
+ .one-half {
449
+ width: 100%;
450
+ }
451
+ .one-third {
452
+ width: 100%;
453
+ }
454
+ .two-third {
455
+ width: 100%;
456
+ }
457
+ .shrink {
458
+ width: 95%;
459
+ }
460
+ .align {
461
+ margin: 0 auto;
462
+ text-align: center;
463
+ }
464
+
465
+ }
466
+ }
467
+
468
+ @media (orientation: landscape) {
469
+ body {
470
+ .hide-on-mobiles {
471
+ display: marker;
472
+ }
473
+ .display-on-mobiles {
474
+ display: none;
475
+ }
476
+ .divide-in-half {
477
+ width: 50vw;
478
+ }
479
+ .one-half {
480
+ width: 50%;
481
+ }
482
+ .one-third {
483
+ width: 33.33333%;
484
+ }
485
+ .two-third {
486
+ width: 66.66666%;
487
+ }
488
+ .shrink {
489
+ width: 90%;
490
+ }
491
+ .align {
492
+ margin: 0 0;
493
+ }
494
+ }
495
+ }
496
+
497
+ @media print,
498
+ (-o-min-device-pixel-ratio: 5 / 4),
499
+ (-webkit-min-device-pixel-ratio: 1.25),
500
+ (min-resolution: 120dpi) {
501
+ /* Style adjustments for high resolution devices */
502
+ }
503
+
504
+ @media print {
505
+ * {
506
+ background: transparent !important;
507
+ color: #000 !important;
508
+ box-shadow: none !important;
509
+ text-shadow: none !important;
510
+ }
511
+ a {
512
+ text-decoration: underline;
513
+ &:visited {
514
+ text-decoration: underline;
515
+ }
516
+ &[href]:after {
517
+ content: " (" attr(href) ")";
518
+ }
519
+ }
520
+ abbr[title]:after {
521
+ content: " (" attr(title) ")";
522
+ }
523
+ .ir a:after {
524
+ content: "";
525
+ }
526
+ a {
527
+ &[href^="javascript:"]:after,
528
+ &[href^="#"]:after {
529
+ content: "";
530
+ }
531
+ }
532
+ pre,
533
+ blockquote {
534
+ border: 1px solid #999;
535
+ page-break-inside: avoid;
536
+ }
537
+ thead {
538
+ display: table-header-group;
539
+ }
540
+ tr {
541
+ page-break-inside: avoid;
542
+ }
543
+ img {
544
+ page-break-inside: avoid;
545
+ max-width: 100% !important;
546
+ }
547
+ @page {
548
+ margin: 0.5cm;
549
+ }
550
+ p,
551
+ h2,
552
+ h3 {
553
+ orphans: 3;
554
+ widows: 3;
555
+ }
556
+ h2,
557
+ h3 {
558
+ page-break-after: avoid;
559
+ }
560
+ }