jekyll-indieweb 2.0.0.pre.beta

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.markdown +93 -0
  4. data/_includes/author.html +11 -0
  5. data/_includes/hcard.html +16 -0
  6. data/_includes/head.html +19 -0
  7. data/_includes/header.html +17 -0
  8. data/_includes/icons.html +70 -0
  9. data/_includes/icons_base.html +70 -0
  10. data/_includes/pagination.html +35 -0
  11. data/_includes/post-content.html +83 -0
  12. data/_includes/post-hcard.html +32 -0
  13. data/_includes/post-like.html +11 -0
  14. data/_includes/post.html +47 -0
  15. data/_includes/webmentions.html +10 -0
  16. data/_layouts/default.html +30 -0
  17. data/_layouts/header.html +17 -0
  18. data/_layouts/micropubpost.html +4 -0
  19. data/_layouts/page.html +14 -0
  20. data/_layouts/post.html +38 -0
  21. data/assets/css/_inc/article.css +142 -0
  22. data/assets/css/_inc/darkmode.css +39 -0
  23. data/assets/css/_inc/footer.css +12 -0
  24. data/assets/css/_inc/grid.css +63 -0
  25. data/assets/css/_inc/hcard.css +231 -0
  26. data/assets/css/_inc/header.css +50 -0
  27. data/assets/css/_inc/links.css +41 -0
  28. data/assets/css/_inc/main.css +27 -0
  29. data/assets/css/_inc/remedy.css +89 -0
  30. data/assets/css/_inc/variables.css +45 -0
  31. data/assets/css/main.css +729 -0
  32. data/assets/css/main.css.map +1 -0
  33. data/assets/images/favicon.png +0 -0
  34. data/assets/images/icons/facebook.svg +1 -0
  35. data/assets/images/icons/flickr.svg +1 -0
  36. data/assets/images/icons/foursquare.svg +1 -0
  37. data/assets/images/icons/github.svg +1 -0
  38. data/assets/images/icons/instagram.svg +1 -0
  39. data/assets/images/icons/linkedin.svg +1 -0
  40. data/assets/images/icons/mail.svg +1 -0
  41. data/assets/images/icons/rss.svg +1 -0
  42. data/assets/images/icons/tumblr.svg +1 -0
  43. data/assets/images/icons/twitter.svg +1 -0
  44. data/assets/images/profile.png +0 -0
  45. data/assets/images/social_preview.png +0 -0
  46. metadata +227 -0
@@ -0,0 +1,729 @@
1
+ :root {
2
+ /* CityLights http://citylights.xyz */
3
+ --very-light-gray: #B7C5D3;
4
+ --light-gray: #718CA1;
5
+ --gray: #41505E;
6
+ --dark-gray: #333F4A;
7
+ --very-dark-gray: #1D252C;
8
+
9
+ --color1light: #70E1E8;
10
+ --color1medium: #33CED8;
11
+ --color1dark: #008B94;
12
+
13
+ --color2light: #5EC4FF;
14
+ --color2medium: #68A1F0;
15
+ --color2dark: #539AFC;
16
+
17
+ --color3light:#E27E8D;
18
+ --color3medium:#D95468;
19
+ --color3dark:#B62D65;
20
+
21
+ --color4light: #EBBF83;
22
+ --color4dark: #D98E48;
23
+
24
+ --color5light: #8BD49C;
25
+
26
+ --color6dark: #718CA1;
27
+
28
+ --color7light: #8BD49C;
29
+
30
+
31
+ --cyan: var(--color1light);
32
+ --blue: var(--color2light);
33
+ --purple: var(--color3dar)k;
34
+ --pink: var(--color3ligh)t;
35
+ --yellow: var(--color4light);
36
+ --green: var(--color5light);
37
+ --red: var(--color3medium);
38
+ --orange: var(--color4dark);
39
+ --light-orange: var(--color4light);
40
+
41
+ --bg: var(--very-light-gray);
42
+ --text: var(--dark-gray);
43
+ --highlight: #ecf285;
44
+ }
45
+ /* Level the playing field some */
46
+ * { box-sizing: border-box; }
47
+ /* Switch to border-box for box-sizing. */
48
+ /* Immediately jump any animation to the end point if the user has set their device to "prefers reduced motion". */
49
+ /* This could create bad unintended consequences. Remove as needed, and write your own appropriate code for prefers-reduced-motion. */
50
+ @​media (prefers-reduced-motion: reduce) {
51
+ * {
52
+ -webkit-animation-duration: 0.001s !important;
53
+ animation-duration: 0.001s !important;
54
+ transition-duration: 0.001s !important;
55
+ }
56
+ }
57
+ body {
58
+ margin: 0; /* Remove the tiny space around the edge of the page */
59
+ }
60
+ /* Switch to using rem units for typography. Fix line-height on headlines. */
61
+ h1 {
62
+ margin: 0.67em 0;
63
+ font-size: 2rem; /* Make all H1 large, remove nested-shrinking sizes. */
64
+ }
65
+ h2 {
66
+ font-size: 1.5rem;
67
+ }
68
+ h3 {
69
+ font-size: 1.17rem;
70
+ }
71
+ h4 {
72
+ font-size: 1.00rem;
73
+ }
74
+ h5 {
75
+ font-size: 0.83rem;
76
+ }
77
+ h6 {
78
+ font-size: 0.67rem;
79
+ }
80
+ h2, h3, h4, h5, h6{
81
+ line-height: 1;
82
+ }
83
+ /* Improve readibility */
84
+ p {
85
+ line-height: 1.5;
86
+ }
87
+ pre {
88
+ white-space: pre-wrap; /* Overflow by default is bad. */
89
+ }
90
+ /* are browsers now consistent with margin & padding on lists?
91
+ See: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Lists_and_Counters/Consistent_list_indentation */
92
+ nav ul {
93
+ list-style: none;
94
+ }
95
+ img {
96
+ display: block; /* Switch display mode to block, since that's what we usually want for images. */
97
+ vertical-align: bottom; /* Fix problem with images having a tiny gap for a decender under them. */
98
+ border-style: none; /* Remove the border on images inside links in IE 10 and earlier. */
99
+ max-width: 100%; /* Make images flexible by default. */
100
+ height: auto; /* ensure images maintain their aspect ratio when max-width comes into play. */
101
+ }
102
+ /* In English, when styling the <q> element, use curly quotes instead of straight quotes. */
103
+ /* Code for this is now in the quotes.css file */
104
+ /* Support upcoming properties that haven't been broadly implemented yet,
105
+ but for which the initial value and legacy behavior is not be the best behavior.
106
+ */
107
+ /* Consistent line spacing, which does not unecessarily grow to accomodate things that would fit anyway */
108
+ :root {
109
+ line-sizing: normal;
110
+ }
111
+ /* Improve spacing of punctuation marks and at script changes in CJK languages */
112
+ :root {
113
+ -ms-text-spacing: trim-start allow-end trim-adjacent ideograph-alpha ideograph-numeric;
114
+ text-spacing: trim-start allow-end trim-adjacent ideograph-alpha ideograph-numeric;
115
+ }
116
+ .wrapper {
117
+ grid-row-gap: 10px;
118
+ grid-template-areas:
119
+ "header"
120
+ "content"
121
+ "sidebar"
122
+ "footer";
123
+ margin: 0 auto;
124
+ }
125
+ .mainheader {
126
+ grid-area: header;
127
+ }
128
+ .content {
129
+ grid-area: content;
130
+ padding: 20px;
131
+ }
132
+ .sidebar {
133
+ grid-area: sidebar;
134
+ }
135
+ /*
136
+ Main footer
137
+ */
138
+ .colophon {
139
+ grid-area: footer;
140
+ }
141
+ /*
142
+ Grid
143
+ */
144
+ @media (min-width: 550px) {
145
+
146
+ .home .site {
147
+ grid-column-gap: 2rem;
148
+ grid-row-gap: 20rem;
149
+ grid-template-areas:
150
+ "header header"
151
+ "content content"
152
+ "footer footer";
153
+ grid-template-columns: 2fr 4fr
154
+ }
155
+
156
+ .site {
157
+ grid-column-gap: 2rem;
158
+ grid-row-gap: 2rem;
159
+ grid-template-areas:
160
+ "header header"
161
+ "sidebar content"
162
+ "footer footer";
163
+ grid-template-columns: 2fr 4fr
164
+ }
165
+
166
+
167
+
168
+
169
+ }
170
+ /*
171
+ Header
172
+ */
173
+ .mainheader {
174
+ display: flex;
175
+ flex-direction: column;
176
+ align-items: center;
177
+ background-color: #1D252C;
178
+ background-color: var(--very-dark-gray);
179
+ color: #fff;
180
+ }
181
+ .mainheader h1 {
182
+ font-size: 1.3rem;
183
+ }
184
+ .site-branding {
185
+ display: flex;
186
+ justify-content: space-around;
187
+ }
188
+ .site-branding img {
189
+ margin-right: 1em;
190
+ width: 3em;
191
+ height: 3em;
192
+ }
193
+ .mainnav {
194
+ display: flex;
195
+ flex-direction: row;
196
+ align-items: center;
197
+ width: auto;
198
+ font-size: 24px;
199
+ }
200
+ .mainnav a {
201
+ padding: .5em;
202
+ }
203
+ @media (min-width: 900px) {
204
+ .mainheader {
205
+ flex-direction: row;
206
+ justify-content: space-around;
207
+ }
208
+
209
+ .mainnav a {
210
+ padding: .5em .8em;
211
+ }
212
+ }
213
+ /* Inspiration https://responsivemart.com/ui_design/css-user-profile-card/ */
214
+ .usercard-wrapper {
215
+ margin: 5em auto;
216
+ max-width: 1100px;
217
+ }
218
+ .usercard-wrapper .row {
219
+ display: flex;
220
+ flex-direction: column;
221
+ }
222
+ .usercard-wrapper .row .col {
223
+ flex-grow: 1;
224
+ }
225
+ .usercard {
226
+ display: flex;
227
+ flex-basis: 0;
228
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
229
+ border-radius: 4px;
230
+ background: #41505E;
231
+ background: var(--gray);
232
+ overflow: hidden;
233
+ }
234
+ .profiles {
235
+ display: flex;
236
+ flex-flow: row wrap;
237
+ justify-content: center;
238
+ margin: 1.5em 0;
239
+ list-style-type: none;
240
+ }
241
+ .profile svg {
242
+ opacity: .9;
243
+ cursor: pointer;
244
+ outline: none;
245
+ border: none;
246
+ border-radius: 50%;
247
+ width: 1em;
248
+ height: 1em;
249
+ font-size: 3em;
250
+ }
251
+ .profile .icon {
252
+ fill: var(--light);
253
+ }
254
+ .usercard-avatar {
255
+ position: relative;
256
+ z-index: 49;
257
+ width: 50%;
258
+ overflow: hidden;
259
+ }
260
+ .usercard-img {
261
+ -o-object-fit: cover;
262
+ transition: .3s;
263
+ width: 100%;
264
+ height: 100%;
265
+ object-fit: cover;
266
+ }
267
+ .usercard-body {
268
+ position: relative;
269
+ background-color: #333F4A;
270
+ background-color: var(--dark-gray);
271
+ padding: 3em 3em 2em;
272
+ width: 60%;
273
+ color: var(--light);
274
+ text-align: center;
275
+ }
276
+ .usercard .title {
277
+ margin-bottom: .4em;
278
+ color: #B7C5D3;
279
+ color: var(--very-light-gray);
280
+ font-size: 2.5rem;
281
+
282
+ }
283
+ .usercard:hover .usercard-img {
284
+ transform: scale(1.1) rotate(3deg);
285
+ }
286
+ @media (max-width: 550px) {
287
+ .usercard {
288
+ flex-direction: column;
289
+ }
290
+
291
+
292
+ .usercard-avatar {
293
+ width: 100%;
294
+ }
295
+
296
+ .usercard-body {
297
+ width: 100%;
298
+ };
299
+ }
300
+ @media (min-width: 550px) {
301
+ .usercard .usercard-avatar:after {
302
+ position: absolute;
303
+ top: 0;
304
+ right: -16%;
305
+ transform: skewx(-10deg);
306
+ background: #333F4A;
307
+ background: var(--dark-gray);
308
+ width: 20%;
309
+ min-width: 90px;
310
+ height: 100%;
311
+ content: '';
312
+ }
313
+ }
314
+ /* ripped from Rachel Andrews https://gridbyexample.com/patterns/media-object/ */
315
+ .media {
316
+ margin-bottom: 2em;
317
+ padding: 10px;
318
+ }
319
+ .media > .media-title { grid-area: media-title; }
320
+ .media > .img { grid-area: img; }
321
+ .media > .media-content { grid-area: bd; }
322
+ .media > .media-footer { grid-area: ft; }
323
+ .media {
324
+ grid-column-gap: 20px;
325
+ display: grid;
326
+ grid-template-areas:
327
+ "media-title"
328
+ "img"
329
+ "bd"
330
+ "ft";
331
+ background: #41505E;
332
+ background: var(--gray);
333
+ }
334
+ @media (min-width: 600px) {
335
+
336
+ /* clearfix*/
337
+ .media:after {
338
+ display: block;
339
+ clear: both;
340
+ content: "";
341
+ }
342
+
343
+ .media > .media {
344
+ clear: both;
345
+ margin-left: 160px;
346
+ }
347
+
348
+ .media .img {
349
+ float: left;
350
+ margin: 0 10px 0 0;
351
+ width: 150px;
352
+ }
353
+
354
+ .media .media-footer {
355
+ background-color: #41505E;
356
+ background-color: var(--gray);
357
+ padding: 10px;
358
+ }
359
+
360
+ .media-footer .profiles {
361
+ margin: 0;
362
+ padding: 0;
363
+ }
364
+
365
+ .media.media-flip .img {
366
+ float: right;
367
+ margin: 0 0 0 10px;
368
+ }
369
+
370
+ .media > * {
371
+ margin: 0 0 0 160px;
372
+ }
373
+
374
+ .media.media-flip > * {
375
+ margin: 0 160px 0 0;
376
+ }
377
+
378
+ @supports(display: grid ) {
379
+ /* override */
380
+ .media > *,
381
+ .media.media-flip > * {
382
+ margin: 0;
383
+ }
384
+ .media .img,
385
+ .media.media-flip .img {
386
+ margin: 0;
387
+ width: auto;
388
+ }
389
+ .media:after {
390
+ content: none;
391
+ }
392
+
393
+ .media {
394
+ grid-column-gap: 20px;
395
+ display: grid;
396
+ grid-template-areas:
397
+ "img media-title"
398
+ "img bd"
399
+ "ft ft";
400
+ grid-template-columns: 150px 3fr;
401
+ grid-template-rows: auto 1fr auto;
402
+ }
403
+
404
+ .media.media-flip {
405
+ grid-template-areas:
406
+ "media-title img"
407
+ "bd img"
408
+ "ft ft";
409
+ grid-template-columns: 3fr 150px ;
410
+ }
411
+
412
+ .media.img-flexie {
413
+ grid-template-columns: minmax(150px, 1fr) 3fr;
414
+ }
415
+
416
+ .media.media-flip.img-flexie {
417
+ grid-template-columns: 3fr minmax(150px, 1fr);
418
+ }
419
+
420
+ /* nested */
421
+ .media > .media {
422
+ grid-column: 2 / -1 ;
423
+ margin: 0; /* override */
424
+ margin-top: 1em;
425
+ }
426
+ }
427
+
428
+
429
+ }
430
+ a {
431
+ outline : none;
432
+ padding : 2px 1px 0;
433
+ text-decoration: none;
434
+ }
435
+ a:link {
436
+ color: #E27E8D;
437
+ color: var(--color3light);
438
+ }
439
+ a:visited {
440
+ color: #D95468;
441
+ color: var(--red);
442
+ }
443
+ a:focus {
444
+ border-bottom: 1px solid #D95468;
445
+ border-bottom: 1px solid var(--red);
446
+ background: #EBBF83;
447
+ background: var(--yellow);
448
+ }
449
+ a:hover {
450
+ border-bottom: 1px solid;
451
+ background: #EBBF83;
452
+ background: var(--yellow);
453
+ }
454
+ .profiles a:hover {
455
+ border: none;
456
+ background: none;
457
+ }
458
+ .tags a, .tags a:visited {
459
+ color: #B7C5D3;
460
+ color: var(--very-light-gray)
461
+ }
462
+ .tags a:hover {
463
+ border: none;
464
+ }
465
+ a:active {
466
+ color: #ecf285;
467
+ color: var(--highlight);
468
+ }
469
+ main article {
470
+ display: flex;
471
+ margin: 0 3em;
472
+ }
473
+ .post-content article {
474
+ flex-wrap: wrap;
475
+ }
476
+ .entry-header {
477
+ flex-grow: 2;
478
+ padding-right: 2em;
479
+ min-width: 20vw;
480
+ }
481
+ .title {
482
+ color: #1D252C;
483
+ color: var(--very-dark-gray);
484
+ }
485
+ .subtitle {
486
+ color: #D98E48;
487
+ color: var(--orange);
488
+ font-size: 1.5rem;
489
+ }
490
+ .post-date {
491
+ color: #41505E;
492
+ color: var(--gray);
493
+ }
494
+ .entry-content {
495
+ margin-top: 0;
496
+ font-size: 1.4em;
497
+ }
498
+ .entry-content p:first-of-type {
499
+ margin-top: 0;
500
+ padding-top: 0;
501
+ font-size: 140%;
502
+ }
503
+ /* Ripped from https://css-tricks.com/snippets/css/drop-caps/ */
504
+ .entry-content p:first-child:first-letter {
505
+ float: left;
506
+ padding-top: 4px;
507
+ padding-right: 8px;
508
+ padding-left: 3px;
509
+ color: #D95468;
510
+ color: var(--red);
511
+ font-family: Georgia;
512
+ font-size: 75px;
513
+ line-height: 60px;
514
+ }
515
+ /* Inspired by https://codepen.io/wbeeftink/pen/dIaDH */
516
+ .tag {
517
+ -webkit-transition: color 0.2s;
518
+ display: inline-block;
519
+ position: relative;
520
+ margin: 0 10px 10px 0;
521
+ border-radius: 3px 0 0 3px;
522
+ background: #718CA1;
523
+ background: var(--light-gray);
524
+ padding: 0 20px 0 23px;
525
+ height: 26px;
526
+ color: #999;
527
+ font-size: 18px;
528
+ line-height: 26px;
529
+ text-decoration: none;
530
+ }
531
+ .tag::before {
532
+ position: absolute;
533
+ top: 10px;
534
+ left: 10px;
535
+ box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
536
+ border-radius: 10px;
537
+ background: #B7C5D3;
538
+ background: var(--bg);
539
+ width: 6px;
540
+ height: 6px;
541
+ content: '';
542
+ }
543
+ .tag::after {
544
+ position: absolute;
545
+ top: 0;
546
+ right: 0;
547
+ border-top: 13px solid transparent;
548
+ border-bottom: 13px solid transparent;
549
+ border-left: 10px solid #718CA1;
550
+ border-left: 10px solid var(--light-gray);
551
+ background: #B7C5D3;
552
+ background: var(--bg);
553
+ content: '';
554
+ }
555
+ .tag:hover {
556
+ background-color: #D95468;
557
+ background-color: var(--red);
558
+ color: white;
559
+ }
560
+ .tag:hover::after {
561
+ border-left-color: #D95468;
562
+ border-left-color: var(--red);
563
+ }
564
+ .entry-footer {
565
+
566
+ width: 49vw;
567
+ }
568
+ @media (max-width: 550px) {
569
+ .content {
570
+ padding: 2em 0;
571
+ }
572
+ main article {
573
+ flex-direction: column;
574
+ margin: 0 1em;
575
+ }
576
+
577
+ .entry-footer {
578
+ width: 100%;
579
+ }
580
+ }
581
+ /* Pagination */
582
+ .content nav {
583
+ display: flex;
584
+ justify-content: center;
585
+ }
586
+ .pagination {
587
+ display: flex;
588
+ margin: 0;
589
+ padding: 0;
590
+ list-style: none;
591
+ }
592
+ .pagination li {
593
+ margin: 0 1px;
594
+ }
595
+ .pagination a {
596
+ display: block;
597
+ border: 1px solid #999;
598
+ border-radius: .2em;
599
+ padding: .5em 1em;
600
+ text-decoration: none;
601
+ }
602
+ .colophon {
603
+ background: #333F4A;
604
+ background: var(--dark-gray);
605
+ min-height: 5em;
606
+ color: #B7C5D3;
607
+ color: var(--very-light-gray);
608
+ font-size: 1.3em;
609
+ text-align: center;
610
+ }
611
+ .colophon p:first-of-type {
612
+ padding-top: 1em;
613
+ }
614
+ @media (color-index: 48) {
615
+ body {
616
+ background-color:#1D252C;
617
+ background-color:var(--very-dark-gray);
618
+ color: #EBBF83;
619
+ color: var(--yellow);
620
+ }
621
+
622
+ a:visited {
623
+ color: #D95468;
624
+ color: var(--red);
625
+ }
626
+
627
+ .navbar-item a {
628
+ color: var(--light);
629
+ }
630
+
631
+ .subtitle {
632
+ color: #539AFC;
633
+ color: var(--color2dark);
634
+ }
635
+
636
+ .post-date {
637
+ color: #5EC4FF;
638
+ color: var(--blue);
639
+ }
640
+
641
+
642
+ .tag {
643
+ background: #41505E;
644
+ background: var(--gray);
645
+ }
646
+
647
+ .media-content .tag {
648
+ background: #1D252C;
649
+ background: var(--very-dark-gray)
650
+ }
651
+
652
+ .tag::before, .tag::after {
653
+ background: #1D252C;
654
+ background: var(--very-dark-gray);
655
+ }
656
+
657
+ .tag::after {
658
+ border-left: 10px solid #41505E;
659
+ border-left: 10px solid var(--gray);
660
+ }
661
+ }
662
+ @media (prefers-color-scheme: dark) {
663
+ body {
664
+ background-color:#1D252C;
665
+ background-color:var(--very-dark-gray);
666
+ color: #EBBF83;
667
+ color: var(--yellow);
668
+ }
669
+
670
+ a:visited {
671
+ color: #D95468;
672
+ color: var(--red);
673
+ }
674
+
675
+ .navbar-item a {
676
+ color: var(--light);
677
+ }
678
+
679
+ .subtitle {
680
+ color: #539AFC;
681
+ color: var(--color2dark);
682
+ }
683
+
684
+ .post-date {
685
+ color: #5EC4FF;
686
+ color: var(--blue);
687
+ }
688
+
689
+
690
+ .tag {
691
+ background: #41505E;
692
+ background: var(--gray);
693
+ }
694
+
695
+ .media-content .tag {
696
+ background: #1D252C;
697
+ background: var(--very-dark-gray)
698
+ }
699
+
700
+ .tag::before, .tag::after {
701
+ background: #1D252C;
702
+ background: var(--very-dark-gray);
703
+ }
704
+
705
+ .tag::after {
706
+ border-left: 10px solid #41505E;
707
+ border-left: 10px solid var(--gray);
708
+ }
709
+ }
710
+ html {
711
+ background: #B7C5D3;
712
+ background: var(--bg);
713
+ color: #333F4A;
714
+ color: var(--text);
715
+ }
716
+ .visuallyhidden {
717
+ clip: rect(0 0 0 0);
718
+ position: absolute;
719
+ margin: 0;
720
+ border: 0;
721
+ padding: 0;
722
+ width: 1px;
723
+ height: auto;
724
+ overflow: hidden;
725
+ white-space: nowrap;
726
+ }
727
+
728
+
729
+ /*# sourceMappingURL=main.css.map */