kacademic 0.5.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +338 -0
  4. data/_data/academic_i18n.yml +61 -0
  5. data/_includes/_i18n/date.html +11 -0
  6. data/_includes/_i18n/i18n.html +17 -0
  7. data/_includes/_i18n/lang_selector.html +42 -0
  8. data/_includes/_i18n/last_modified_at.html +29 -0
  9. data/_includes/_i18n/link.html +10 -0
  10. data/_includes/_i18n/sitetitle.html +19 -0
  11. data/_includes/_icons/Spotify-Icon-Black-Logo.wine.svg +1 -0
  12. data/_includes/_icons/email.html +1 -0
  13. data/_includes/_icons/email.svg +1 -0
  14. data/_includes/_icons/file.html +11 -0
  15. data/_includes/_icons/file.svg +1 -0
  16. data/_includes/_icons/github.html +1 -0
  17. data/_includes/_icons/github.svg +1 -0
  18. data/_includes/_icons/keybase.html +1 -0
  19. data/_includes/_icons/keybase.svg +1 -0
  20. data/_includes/_icons/linkedin.html +1 -0
  21. data/_includes/_icons/linkedin.svg +1 -0
  22. data/_includes/_icons/rss.html +7 -0
  23. data/_includes/_icons/rss.svg +5 -0
  24. data/_includes/_icons/spotify.html +1 -0
  25. data/_includes/_icons/spotify.svg +2 -0
  26. data/_includes/_icons/website.html +2 -0
  27. data/_includes/_icons/website.svg +6 -0
  28. data/_includes/calltoaction.html +19 -0
  29. data/_includes/contactlist.html +34 -0
  30. data/_includes/footer.html +80 -0
  31. data/_includes/head.html +77 -0
  32. data/_includes/header.html +35 -0
  33. data/_includes/image.html +9 -0
  34. data/_includes/nav_menu.html +26 -0
  35. data/_includes/piwik.html +15 -0
  36. data/_includes/post-li.html +19 -0
  37. data/_includes/post-ul.html +19 -0
  38. data/_includes/sitemap-url.html +30 -0
  39. data/_layouts/about.html +46 -0
  40. data/_layouts/archive.html +17 -0
  41. data/_layouts/default.html +24 -0
  42. data/_layouts/home.html +31 -0
  43. data/_layouts/page.html +7 -0
  44. data/_layouts/pagenotfound.html +11 -0
  45. data/_layouts/post.html +51 -0
  46. data/_layouts/sitemap.html +5 -0
  47. data/_sass/.DS_Store +0 -0
  48. data/_sass/academic/_base.scss +347 -0
  49. data/_sass/academic/_layout.scss +797 -0
  50. data/_sass/academic/_syntax-highlighting.scss +61 -0
  51. data/_sass/academic.scss +124 -0
  52. data/assets/main.scss +46 -0
  53. data/assets/opensans/OpenSans-Bold.ttf +0 -0
  54. data/assets/opensans/OpenSans-Italic.ttf +0 -0
  55. data/assets/opensans/OpenSans-Regular.ttf +0 -0
  56. metadata +153 -0
@@ -0,0 +1,797 @@
1
+ /**
2
+ * Site header
3
+ */
4
+ .site-header {
5
+ border-top: 5px solid $grey-color;
6
+ border-bottom: 1px solid $grey-color-light;
7
+
8
+ @include media-query($on-laptop) {
9
+ min-height: 100px;
10
+ }
11
+
12
+ // Positioning context for the mobile navigation icon
13
+ position: relative;
14
+
15
+ .site-header-float {
16
+ min-height: 60px;
17
+ }
18
+
19
+ .lang-selector {
20
+ position: absolute;
21
+ z-index: 900;
22
+ top: 0px;
23
+ right: 0px;
24
+ width: 30px;
25
+ text-align: center;
26
+ margin-right: 10px;
27
+ padding: 10px;
28
+
29
+ .lang-intro {
30
+ display: none;
31
+ }
32
+
33
+ .lang {
34
+ font-variant: small-caps;
35
+ text-transform: capitalize;
36
+ list-style: none;
37
+ line-height: 40px;
38
+
39
+ &:nth-child(n+3) {
40
+ display: none;
41
+ padding: 10px 0 10px 0;
42
+ }
43
+
44
+ &:nth-child(2) {
45
+ padding-bottom: 10px;
46
+ }
47
+
48
+ a {
49
+ color: $grey-color-light;
50
+ }
51
+
52
+ }
53
+
54
+ &:hover {
55
+ padding-bottom: 0px;
56
+ background: $grey-color;
57
+
58
+ .lang:first-child {
59
+ padding-bottom: 10px;
60
+ }
61
+
62
+ .lang a {
63
+ color: $brand-color;
64
+
65
+ &:hover {
66
+ text-decoration: none;
67
+ color: $grey-color-light;
68
+ }
69
+ }
70
+
71
+ .lang:nth-child(n+3) {
72
+ border-top: 1px solid $grey-color-light;
73
+ display: block;
74
+ }
75
+ }
76
+
77
+ @include media-query($on-laptop) {
78
+ position: relative;
79
+ left: 0;
80
+ width: auto;
81
+ clear: both;
82
+ margin: 0 -$spacing-unit/2 0 -$spacing-unit/2;
83
+ padding: 5px 5px 5px $spacing-unit/2;
84
+ background: $grey-color-lighter;
85
+ text-align: left;
86
+ @include size(small);
87
+
88
+ .lang-intro {
89
+ display: inline-block;
90
+ }
91
+
92
+ .lang:nth-child(n+1) {
93
+ padding: 5px 5px 5px 0;
94
+ line-height: normal;
95
+ display: inline-block;
96
+
97
+ a {
98
+ color: $grey-color-dark;
99
+
100
+ &:hover {
101
+ text-decoration: underline
102
+ }
103
+ }
104
+ }
105
+
106
+ .lang:nth-child(n+3):before {
107
+ content: "| ";
108
+ }
109
+
110
+ &:hover {
111
+ background: $grey-color-lighter;
112
+ padding: 5px 5px 5px $spacing-unit/2;
113
+
114
+ .lang:nth-child(n+1) {
115
+ padding: 5px 5px 5px 0;
116
+ display: inline-block;
117
+ border: none;
118
+
119
+ a { color: $grey-color-dark; }
120
+ }
121
+ }
122
+
123
+ @include media-query($on-palm) {
124
+ margin-top: 0px;
125
+ }
126
+ }
127
+ }
128
+ }
129
+
130
+ .site-title {
131
+ display: inline-block;
132
+ font-size: 26px;
133
+ font-weight: 300;
134
+ line-height: 55px;
135
+ letter-spacing: -1px;
136
+ margin-bottom: -5px;
137
+
138
+ &,
139
+ &:visited {
140
+ color: $grey-color-dark;
141
+ }
142
+ &:hover {
143
+ text-decoration: none;
144
+ border-bottom: 5px $brand-color solid;
145
+ }
146
+
147
+ b {
148
+ font-weight: 600;
149
+ }
150
+ }
151
+
152
+ .with-pitch {
153
+ &:hover {
154
+ border-bottom: none;
155
+ color: $brand-color;
156
+ }
157
+ }
158
+
159
+ .site-pitch {
160
+ display: inline-block;
161
+ clear: both;
162
+ line-height: 60px;
163
+ padding-left: 10px;
164
+ color: $grey-color;
165
+
166
+ &:before {
167
+ content: " | "
168
+ }
169
+
170
+ @include media-query($on-palm) {
171
+ display: block;
172
+ padding-left: 0;
173
+ padding-bottom: 15px;
174
+ line-height: initial;
175
+ color: $grey-color-light;
176
+
177
+ &:before {
178
+ content: ""
179
+ }
180
+ }
181
+ }
182
+
183
+
184
+ .site-nav {
185
+ float: right;
186
+ line-height: 60px;
187
+ z-index: 1000;
188
+
189
+ .menu-icon {
190
+ display: none;
191
+ }
192
+
193
+ .nav-list-title {
194
+ display: none;
195
+ }
196
+
197
+
198
+ .nav-list {
199
+ list-style: none;
200
+ margin: 0;
201
+
202
+ li {
203
+ display: inline-block;
204
+ height: 55px;
205
+
206
+ .page-link {
207
+ color: $text-color;
208
+
209
+ &:hover {
210
+ text-decoration: none;
211
+ }
212
+ }
213
+
214
+ // Gaps between nav items, but not on the last one
215
+ &:not(:last-child) {
216
+ margin-right: 15px;
217
+ }
218
+
219
+ &:hover {
220
+ border-bottom: 5px $grey-color solid;
221
+ }
222
+
223
+ @include media-query($on-palm) {
224
+ height: auto;
225
+ line-height: normal;
226
+
227
+ &:nth-child(n+0) {
228
+ margin: 0;
229
+ height: auto;
230
+ padding: 0 10px 0px;
231
+ }
232
+
233
+ a {
234
+ margin: 0px;
235
+ padding: 0px;
236
+ }
237
+
238
+ }
239
+
240
+ }
241
+ }
242
+
243
+ @include media-query($on-palm) {
244
+ position: absolute;
245
+ top: 9px;
246
+ right: $spacing-unit / 2;
247
+ background-color: $background-color;
248
+ border: 1px solid $grey-color-light;
249
+ border-radius: 5px;
250
+ text-align: right;
251
+ margin-left: 20px;
252
+
253
+ .menu-icon {
254
+ display: block;
255
+ float: right;
256
+ width: 36px;
257
+ height: 26px;
258
+ line-height: 0;
259
+ padding-top: 10px;
260
+ text-align: center;
261
+
262
+ > svg path {
263
+ fill: $grey-color-dark;
264
+ }
265
+ }
266
+
267
+ .trigger {
268
+ clear: both;
269
+ display: none;
270
+ }
271
+
272
+ &:hover .trigger {
273
+ display: block;
274
+ padding-bottom: 5px;
275
+ }
276
+
277
+ .nav-list {
278
+ .page-link:hover {
279
+ color: $brand-color;
280
+ }
281
+
282
+ li:hover {
283
+ border: none;
284
+ }
285
+ }
286
+
287
+ .page-link {
288
+ display: block;
289
+ padding: 5px 10px;
290
+
291
+ &:not(:last-child) {
292
+ margin-right: 0;
293
+ }
294
+ margin-left: 20px;
295
+ }
296
+ }
297
+ }
298
+
299
+ /**
300
+ * Site footer
301
+ */
302
+
303
+ .site-footer {
304
+ @include size(vsmall);
305
+ border-top: 1px solid $grey-color-light;
306
+ color: $grey-color;
307
+
308
+ a {
309
+ color: $grey-color;
310
+ }
311
+
312
+ .footer-col {
313
+ list-style: none;
314
+ margin-left: 0;
315
+ margin-top: $spacing-unit/2;
316
+ margin-bottom: $spacing-unit;
317
+
318
+ .author, .author a {
319
+ color: $grey-color-light;
320
+ }
321
+ }
322
+
323
+ .footer-col-1 {
324
+ width: -webkit-calc(65% - (#{$spacing-unit} / 2));
325
+ width: calc(65% - (#{$spacing-unit} / 2));
326
+ float: left;
327
+ }
328
+
329
+ .footer-col-2 {
330
+ width: -webkit-calc(35% - (#{$spacing-unit} / 2));
331
+ width: calc(35% - (#{$spacing-unit} / 2));
332
+ float: right;
333
+ }
334
+
335
+ .single-col {
336
+ clear: both;
337
+ list-style: none;
338
+ margin: 0;
339
+ text-align: center;
340
+
341
+ li {
342
+ display: inline-block;
343
+ margin-left: 5px;
344
+ margin-right: 5px;
345
+ }
346
+
347
+ .username {
348
+ display: none;
349
+ }
350
+
351
+ svg {
352
+ width: 20px;
353
+ height: 20px;
354
+ }
355
+
356
+ .icon {
357
+ &:hover {
358
+ circle,
359
+ path:last-of-type {
360
+ fill: $text-color;
361
+ }
362
+ }
363
+ }
364
+ }
365
+
366
+ .nav-list-title,
367
+ .contact-list-title {
368
+ display: none;
369
+ }
370
+
371
+ .contact-list {
372
+ a .username:hover {
373
+ text-decoration: underline;
374
+ }
375
+
376
+ @include media-query($on-palm) {
377
+ margin-bottom: $spacing-unit / 2;
378
+ }
379
+ }
380
+
381
+ .bottom {
382
+ color: $grey-color-light;
383
+ width: 100%;
384
+ clear: both;
385
+ float: none;
386
+ text-align: center;
387
+ margin-top: $spacing-unit;
388
+ margin-bottom: $spacing-unit;
389
+
390
+ @include media-query($on-palm) {
391
+ margin-top: 0px;
392
+ }
393
+
394
+ a {
395
+ color: $grey-color-light;
396
+ }
397
+
398
+ .cc-licence {
399
+ text-transform: uppercase;
400
+ }
401
+
402
+ .lang-selector {
403
+ display: inline-block;
404
+ list-style: none;
405
+ color: $grey-color;
406
+ margin: $spacing-unit / 4 0 0 0;
407
+ padding: 10px;
408
+
409
+ @include media-query($on-palm) {
410
+ text-align: left;
411
+ padding-left: 0px;
412
+ margin: 0px 0px $spacing-unit/2 0px;
413
+
414
+ .lang-intro {
415
+ font-weight: bold;
416
+ }
417
+ }
418
+
419
+ .lang {
420
+ display: inline-block;
421
+ text-transform: lowercase;
422
+
423
+ a {
424
+ color: $grey-color;
425
+ }
426
+
427
+ &:nth-child(n+3) {
428
+ &:before {
429
+ content:"|"
430
+ }
431
+ }
432
+ }
433
+ }
434
+ }
435
+
436
+ }
437
+
438
+ @include media-query($on-laptop) {
439
+ .site-footer {
440
+ @include size(small);
441
+ }
442
+ }
443
+
444
+ @include media-query($on-palm) {
445
+ .site-footer {
446
+ .footer-col-1,
447
+ .footer-col-2 {
448
+ width:100%;
449
+ float: none;
450
+ }
451
+
452
+ .nav-list-title,
453
+ .contact-list-title {
454
+ display: inline;
455
+ font-weight: bold;
456
+ }
457
+
458
+ .nav-list {
459
+ margin-top: 0;
460
+ }
461
+
462
+ .contact-list {
463
+ text-align: left;
464
+ margin-top: 0;
465
+
466
+ li {
467
+ display: block;
468
+ }
469
+
470
+ .username {
471
+ display: inline;
472
+ }
473
+ }
474
+
475
+ .bottom {
476
+ text-align: left;
477
+ }
478
+ }
479
+
480
+ }
481
+
482
+ /**
483
+ * Page content
484
+ */
485
+ .page-content {
486
+ padding: $spacing-unit 0 $spacing-unit / 2 0;
487
+ }
488
+
489
+ .post-content {
490
+ padding-bottom: $spacing-unit;
491
+ }
492
+
493
+ .page-heading {
494
+ margin-top: 0;
495
+ }
496
+
497
+ .pitch {
498
+ h2:first-of-type {
499
+ margin-top: 0;
500
+ }
501
+ }
502
+
503
+ .archive {
504
+ margin-top: $spacing-unit;
505
+ }
506
+
507
+ .post-list {
508
+ margin-left: 0;
509
+ list-style: none;
510
+
511
+ .last-update {
512
+ display: none;
513
+ color: $grey-color-light;
514
+ a {
515
+ color: $grey-color-light;
516
+ }
517
+ }
518
+
519
+ > li {
520
+ margin-bottom: $spacing-unit;
521
+
522
+ &:hover .last-update {
523
+ display: inline-block;
524
+ }
525
+ }
526
+
527
+ .post-link {
528
+ &:hover {
529
+ text-decoration: none;
530
+ }
531
+ }
532
+
533
+ .post-meta {
534
+ font-size: $small-font-size;
535
+ font-family: $alt-font-family;
536
+ font-weight: 200;
537
+ color: $grey-color;
538
+ }
539
+
540
+ .post-thumbnail-wrapper {
541
+ width: 100%;
542
+ max-height: 200px;
543
+ overflow-y: hidden;
544
+ margin-top: $spacing-unit / 4;
545
+ margin-bottom: $spacing-unit / 4;
546
+ }
547
+
548
+ .post-thumbnail {
549
+ margin-top: -20%;
550
+ }
551
+ }
552
+
553
+ /**
554
+ * Posts
555
+ */
556
+
557
+ .post-header {
558
+ position: relative;
559
+ width: 100vw;
560
+ left: calc(-50vw + 50%);
561
+ margin-bottom: $spacing-unit;
562
+ overflow-y: hidden;
563
+
564
+ @include media-query($on-laptop) {
565
+ .post-meta {
566
+ margin-bottom: $spacing-unit / 6;
567
+ }
568
+ }
569
+
570
+ .last-update {
571
+ color: $grey-color;
572
+ a { color: inherit }
573
+ }
574
+
575
+ .post-thumbnail {
576
+ position: absolute;
577
+ z-index: -1;
578
+ min-height: 100%;
579
+
580
+ @include media-query($on-palm) {
581
+ position: relative;
582
+ width: 100%;
583
+ }
584
+ }
585
+
586
+ .wrapper {
587
+ background: rgba(255, 255, 255, 0.9);
588
+ margin-top: $spacing-unit;
589
+ padding-bottom: 0;
590
+ padding-top: 0;
591
+
592
+ @include media-query($on-laptop) {
593
+ margin-top: $spacing-unit / 1.5;
594
+ }
595
+
596
+ }
597
+ }
598
+
599
+ .with-thumbnail {
600
+ @include media-query($on-laptop) {
601
+ margin-bottom: $spacing-unit / 2;
602
+ }
603
+
604
+ @include media-query($on-palm) {
605
+ margin-bottom: 0;
606
+ }
607
+
608
+ .wrapper {
609
+ padding-bottom: $spacing-unit / 2;
610
+ padding-top: $spacing-unit / 2;
611
+ margin-bottom: $spacing-unit;
612
+
613
+ @include media-query($on-palm) {
614
+ margin: 0px;
615
+ }
616
+ }
617
+ }
618
+
619
+ .post-title {
620
+ margin-top: 0;
621
+ color: $brand-color;
622
+ }
623
+
624
+ .post-summary {
625
+ margin-top: 0;
626
+ }
627
+
628
+ .post-content {
629
+ padding-bottom: $spacing-unit / 2;
630
+
631
+ .footnotes {
632
+ @include size(small);
633
+ margin-top: $spacing-unit / 6;
634
+ padding-top: $spacing-unit / 2;
635
+
636
+ @include media-query($on-laptop) {
637
+ p {
638
+ margin-bottom: $spacing-unit / 4;
639
+ }
640
+ }
641
+
642
+ @include media-query($on-palm) {
643
+ margin-top: 0;
644
+ }
645
+
646
+ hr {
647
+ margin-top: 0;
648
+ }
649
+ }
650
+ }
651
+
652
+ .post-author {
653
+ @include size(vsmall);
654
+ padding: 5%;
655
+ margin-top: $spacing-unit / 2;
656
+
657
+ .user-picture {
658
+ float: left;
659
+ width: 20%;
660
+ margin-right: 5%;
661
+ }
662
+
663
+ .user-info {
664
+ width: 75%;
665
+ list-style: none;
666
+ }
667
+
668
+ .user-shortbio {
669
+ color: grey;
670
+ }
671
+ }
672
+
673
+ .colored-block {
674
+ @include size(small);
675
+ background: $grey-color-lighter;
676
+ padding: 5%;
677
+ }
678
+
679
+ /**
680
+ * About
681
+ */
682
+
683
+ .about-col-wrapper {
684
+ @extend %clearfix;
685
+ }
686
+
687
+ .about-col {
688
+ float: left;
689
+
690
+ @include media-query($on-palm) {
691
+ float: none;
692
+
693
+ .contact-list {
694
+ text-align: center;
695
+
696
+ &:last-of-type {
697
+ margin-bottom: $spacing-unit / 2;
698
+ }
699
+ }
700
+ }
701
+
702
+ }
703
+
704
+ .contact-list-title {
705
+ display: none;
706
+ }
707
+
708
+ .contact-list {
709
+ list-style: none;
710
+ margin-left: 0;
711
+ margin-top: $spacing-unit / 2;
712
+ text-transform: lowercase;
713
+
714
+ a:hover {
715
+ text-decoration: none;
716
+ }
717
+ }
718
+
719
+ .user-picture {
720
+ border-radius: 50%;
721
+ max-width: calc(85%);
722
+ }
723
+
724
+ .about-col-1 {
725
+ @include size(vsmall);
726
+ padding-right: $spacing-unit / 2;
727
+ width: -webkit-calc(35% - (#{$spacing-unit} / 4));
728
+ width: calc(35% - (#{$spacing-unit} / 4));
729
+
730
+
731
+ .user-picture {
732
+ margin-bottom: $spacing-unit / 2;
733
+ }
734
+
735
+ }
736
+
737
+ .about-col-2 {
738
+ @include size(small);
739
+ width: -webkit-calc(65% - (#{$spacing-unit} / 4));
740
+ width: calc(65% - (#{$spacing-unit} / 4));
741
+
742
+ h1 {
743
+ margin-top: 0;
744
+ }
745
+ }
746
+
747
+ @include media-query($on-laptop) {
748
+ .about-col {
749
+ @include size(p);
750
+ }
751
+ }
752
+
753
+ @include media-query($on-palm) {
754
+ .about-col {
755
+ @include size(p);
756
+ padding: 0;
757
+ float: none;
758
+ width: auto;
759
+ }
760
+
761
+ .about-col-1 {
762
+ padding: 5%;
763
+ max-width: 200px;
764
+ margin: auto;
765
+ }
766
+
767
+ .contact-list {
768
+ margin: 0;
769
+ }
770
+
771
+ .user-picture {
772
+ max-width: 200px;
773
+ }
774
+ }
775
+
776
+ .msg-404 {
777
+ margin-bottom: $spacing-unit;
778
+
779
+ .title {
780
+ @include size(h1);
781
+ font-family: $alt-font-family;
782
+ color: $brand-color;
783
+ }
784
+
785
+ .description {
786
+ @include size(h2);
787
+ font-family: $base-font-family;
788
+ }
789
+ }
790
+
791
+ .no-version {
792
+ cursor: default;
793
+ }
794
+
795
+ .invisible {
796
+ display: none;
797
+ }