jekyll-thenerdlife 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +153 -0
  4. data/_includes/card.html +31 -0
  5. data/_includes/critical.css +1 -0
  6. data/_includes/disqus.html +18 -0
  7. data/_includes/footer.html +24 -0
  8. data/_includes/form.html +21 -0
  9. data/_includes/gtm.html +9 -0
  10. data/_includes/head.html +36 -0
  11. data/_includes/header.html +25 -0
  12. data/_includes/loadCss.js +9 -0
  13. data/_includes/logo.svg +5 -0
  14. data/_includes/mathjax.html +22 -0
  15. data/_includes/modal.html +12 -0
  16. data/_includes/pagination.html +3 -0
  17. data/_includes/sw.js +8 -0
  18. data/_includes/youtube.html +3 -0
  19. data/_layouts/compress.html +10 -0
  20. data/_layouts/default.html +47 -0
  21. data/_layouts/page.html +42 -0
  22. data/_layouts/post.html +106 -0
  23. data/_sass/abstracts/_mixins.scss +18 -0
  24. data/_sass/abstracts/_variables.scss +34 -0
  25. data/_sass/base/_base.scss +40 -0
  26. data/_sass/base/_helpers.scss +21 -0
  27. data/_sass/base/_typography.scss +104 -0
  28. data/_sass/components/_btn.scss +55 -0
  29. data/_sass/components/_card.scss +80 -0
  30. data/_sass/components/_form.scss +92 -0
  31. data/_sass/components/_modal.scss +73 -0
  32. data/_sass/components/_pagination.scss +5 -0
  33. data/_sass/components/_syntax.scss +209 -0
  34. data/_sass/components/_table.scss +21 -0
  35. data/_sass/layout/_footer.scss +35 -0
  36. data/_sass/layout/_grid.scss +23 -0
  37. data/_sass/layout/_nav.scss +196 -0
  38. data/_sass/main.scss +38 -0
  39. data/_sass/pages/_page.scss +101 -0
  40. data/_sass/pages/_post.scss +62 -0
  41. data/_sass/vendor/_breakpoint.scss +1 -0
  42. data/_sass/vendor/_normalize.scss +1 -0
  43. data/assets/css/main.css +3 -0
  44. data/assets/img/favicon.jpg +0 -0
  45. data/assets/img/icons/android-chrome-192x192.png +0 -0
  46. data/assets/img/icons/android-chrome-256x256.png +0 -0
  47. data/assets/img/icons/apple-touch-icon.png +0 -0
  48. data/assets/img/icons/browserconfig.xml +9 -0
  49. data/assets/img/icons/favicon-16x16.png +0 -0
  50. data/assets/img/icons/favicon-32x32.png +0 -0
  51. data/assets/img/icons/favicon.ico +0 -0
  52. data/assets/img/icons/icon-github.svg +1 -0
  53. data/assets/img/icons/icon-instagram.svg +1 -0
  54. data/assets/img/icons/icon-twitter.svg +1 -0
  55. data/assets/img/icons/manifest.json +18 -0
  56. data/assets/img/icons/mstile-150x150.png +0 -0
  57. data/assets/img/icons/safari-pinned-tab.svg +19 -0
  58. data/assets/img/posts/emile-perron-190221.jpg +0 -0
  59. data/assets/img/posts/emile-perron-190221_lg.jpg +0 -0
  60. data/assets/img/posts/emile-perron-190221_md.jpg +0 -0
  61. data/assets/img/posts/emile-perron-190221_placehold.jpg +0 -0
  62. data/assets/img/posts/emile-perron-190221_sm.jpg +0 -0
  63. data/assets/img/posts/emile-perron-190221_thumb.jpg +0 -0
  64. data/assets/img/posts/emile-perron-190221_thumb@2x.jpg +0 -0
  65. data/assets/img/posts/emile-perron-190221_xs.jpg +0 -0
  66. data/assets/img/posts/shane-rounce-205187.jpg +0 -0
  67. data/assets/img/posts/shane-rounce-205187_lg.jpg +0 -0
  68. data/assets/img/posts/shane-rounce-205187_md.jpg +0 -0
  69. data/assets/img/posts/shane-rounce-205187_placehold.jpg +0 -0
  70. data/assets/img/posts/shane-rounce-205187_sm.jpg +0 -0
  71. data/assets/img/posts/shane-rounce-205187_thumb.jpg +0 -0
  72. data/assets/img/posts/shane-rounce-205187_thumb@2x.jpg +0 -0
  73. data/assets/img/posts/shane-rounce-205187_xs.jpg +0 -0
  74. data/assets/img/posts/sleek.jpg +0 -0
  75. data/assets/img/posts/sleek_lg.jpg +0 -0
  76. data/assets/img/posts/sleek_md.jpg +0 -0
  77. data/assets/img/posts/sleek_placehold.jpg +0 -0
  78. data/assets/img/posts/sleek_sm.jpg +0 -0
  79. data/assets/img/posts/sleek_thumb.jpg +0 -0
  80. data/assets/img/posts/sleek_thumb@2x.jpg +0 -0
  81. data/assets/img/posts/sleek_xs.jpg +0 -0
  82. data/assets/js/bundle.js +2 -0
  83. metadata +196 -0
@@ -0,0 +1,21 @@
1
+ table {
2
+ display: table;
3
+ width: 100%;
4
+ overflow-x: scroll;
5
+ margin-bottom: 1.25rem;
6
+ border-collapse: collapse;
7
+ border-spacing: 0;
8
+ border: 1px solid $border;
9
+ border-radius: 4px;
10
+ font-size: 14.5px;
11
+
12
+ th {
13
+ background-color: $light-bg-color;
14
+ }
15
+
16
+ th,
17
+ td {
18
+ padding: 6px 13px;
19
+ border: 1px solid $border;
20
+ }
21
+ }
@@ -0,0 +1,35 @@
1
+ footer {
2
+ padding: 2.8125rem 0;
3
+ border-top: 1px solid #f0f0f0;
4
+ text-align: center;
5
+ font-size: 0.875rem;
6
+ color: rgba(33,33,33,0.6);
7
+
8
+ a {
9
+ color: rgba(33,33,33,0.6);
10
+ border-bottom: 0;
11
+
12
+ &:hover {
13
+ color: $primary;
14
+ border-bottom: 0;
15
+ }
16
+ }
17
+ }
18
+
19
+ .social {
20
+ display: flex;
21
+ justify-content: space-around;
22
+ align-items: center;
23
+ max-width: 200px;
24
+ margin: 0 auto 25px;
25
+ }
26
+
27
+ .social__link:not(:last-child) {
28
+ margin-right: 1.125rem;
29
+ }
30
+
31
+ .social__icon {
32
+ fill: currentColor;
33
+ height: 1.5rem;
34
+ width: 1.5rem;
35
+ }
@@ -0,0 +1,23 @@
1
+ .container {
2
+ padding: 0 20px;
3
+
4
+ @include breakpoint($xs) {
5
+ @include container(auto);
6
+ }
7
+
8
+ @include breakpoint($sm) {
9
+ @include container(540px);
10
+ }
11
+
12
+ @include breakpoint($md) {
13
+ @include container(720px);
14
+ }
15
+
16
+ @include breakpoint($lg) {
17
+ @include container(960px);
18
+ }
19
+
20
+ @include breakpoint($xl) {
21
+ @include container(1170px);
22
+ }
23
+ }
@@ -0,0 +1,196 @@
1
+ .header {
2
+ background-color: $bg-color;
3
+ color: $text-color;
4
+ position: absolute;
5
+ z-index: 4;
6
+ width: 100%;
7
+ top: 0;
8
+ left: 0;
9
+ will-change: transform;
10
+ transition: transform .3s, background-color 0.5s ease;
11
+ transform: translateY(0%);
12
+
13
+ a {
14
+ display: flex;
15
+ align-items: center;
16
+ border-bottom: 0;
17
+
18
+ }
19
+
20
+ &.fix-nav {
21
+ position: fixed;
22
+ background-color: $bg-color;
23
+ transition: transform .3s, background-color 0.5s ease;
24
+ z-index: 5;
25
+ }
26
+
27
+ &.hide-nav {
28
+ transform: translateY(-120%);
29
+ transition: transform .3s;
30
+ }
31
+ }
32
+
33
+ .header__logo {
34
+ display: flex;
35
+ height: 100%;
36
+ overflow: hidden;
37
+ padding: 19px 0;
38
+ margin-right: 1.25rem;
39
+ outline: 0;
40
+ border-bottom: 0;
41
+ color: $heading-color;
42
+
43
+ &:hover {
44
+ color: $heading-color;
45
+ border-bottom: 0;
46
+ }
47
+
48
+ .header__logo--container {
49
+ width: 58px;
50
+
51
+ .logo {
52
+ fill: currentColor;
53
+ }
54
+ }
55
+ }
56
+
57
+ .header__inner {
58
+ display: flex;
59
+ align-items: center;
60
+ height: 3.75em;
61
+ justify-content: space-between;
62
+ }
63
+
64
+ .header__links {
65
+ padding-bottom: .5rem;
66
+ display: none;
67
+ position: absolute;
68
+ top: 3.75em;
69
+ left: 0;
70
+ width: 100%;
71
+ height: auto;
72
+ background: $bg-color;
73
+ }
74
+
75
+ .header__link {
76
+ color: $text-color;
77
+ padding: .938rem 0;
78
+ border-top: 1px solid $border;
79
+ }
80
+
81
+
82
+ .header__toggle {
83
+ display: flex;
84
+ flex-direction: column;
85
+ justify-content: center;
86
+ width: 44px;
87
+ height: 100%;
88
+ background-color: transparent;
89
+ padding-left: 1.25rem;
90
+ cursor: pointer;
91
+
92
+ span {
93
+ display: block;
94
+ position: relative;
95
+ margin-top: 4px;
96
+ background-color: $text-color;
97
+ width: 100%;
98
+ height: 2px;
99
+ border-radius: 1px;
100
+ transition: all 0.2s cubic-bezier(1, 0.13, 0.35, 1.09);
101
+
102
+ &:first-child {
103
+ margin-top: 0;
104
+ }
105
+ }
106
+
107
+ &.--open {
108
+ span {
109
+
110
+ &:first-child {
111
+ transform: rotate(45deg) translate(4px, 4px);
112
+ }
113
+
114
+ &:nth-child(2n) {
115
+ opacity: 0;
116
+ }
117
+
118
+ &:last-child {
119
+ transform: rotate(-45deg) translate(4px, -4px);
120
+ }
121
+ }
122
+ }
123
+ }
124
+
125
+ .header__overlay {
126
+ position: fixed;
127
+ top: 0;
128
+ left: 0;
129
+ width: 0;
130
+ height: 0;
131
+ opacity: 0;
132
+ background-color: rgba(0, 0 , 0, .75);
133
+ z-index: 2;
134
+ transition: opacity 1s ease 0.1s;
135
+
136
+ &.--open {
137
+ width: 100%;
138
+ height: 120%;
139
+ opacity: 1;
140
+ }
141
+ }
142
+
143
+ @media (min-width: $lg) {
144
+ .header__toggle {
145
+ display: none;
146
+ visibility: hidden;
147
+ }
148
+
149
+ .header__links {
150
+ position: static;
151
+ padding: 0;
152
+ display: flex;
153
+ flex-direction: column;
154
+ visibility: visible;
155
+ width: auto;
156
+ height: 100%;
157
+ }
158
+
159
+ .header__links-wrapper {
160
+ display: flex;
161
+ height: 100%;
162
+ padding: 0;
163
+ }
164
+
165
+ .header__link {
166
+ position: relative;
167
+ padding: .938rem 1rem;
168
+ border: 0;
169
+ height: 100%;
170
+
171
+ &::after {
172
+ content: "";
173
+ display: block;
174
+ position: absolute;
175
+ left: 0;
176
+ bottom: 0;
177
+ height: 3px;
178
+ width: 100%;
179
+ transform: scaleX(0);
180
+ background: $link-color;
181
+ transition: color 0.2s ease-in-out, transform .2s ease-in-out;
182
+ }
183
+
184
+ &:hover {
185
+ color: darken($link-color, 20%);
186
+ }
187
+
188
+ &:hover::after,
189
+ :active::after,
190
+ :focus::after {
191
+ transform: scaleX(1);
192
+ color: darken($link-color, 20%);
193
+ transition: transform .2s ease-in-out;
194
+ }
195
+ }
196
+ }
@@ -0,0 +1,38 @@
1
+ @charset "UTF-8";
2
+
3
+ // 1. Configuration and helpers
4
+ @import
5
+ "abstracts/variables",
6
+ "abstracts/mixins";
7
+
8
+ // 2. Vendors
9
+ @import
10
+ "vendor/normalize",
11
+ "vendor/breakpoint";
12
+
13
+ // 3. Base
14
+ @import
15
+ "base/base",
16
+ "base/typography",
17
+ "base/helpers";
18
+
19
+ // 4. Layout
20
+ @import
21
+ "layout/grid",
22
+ "layout/nav",
23
+ "layout/footer";
24
+
25
+ // 5. Components
26
+ @import
27
+ "components/btn",
28
+ "components/card",
29
+ "components/pagination",
30
+ "components/form",
31
+ "components/modal",
32
+ "components/table",
33
+ "components/syntax";
34
+
35
+ // 6. Page-specific styles
36
+ @import
37
+ "pages/page",
38
+ "pages/post";
@@ -0,0 +1,101 @@
1
+ .hero {
2
+ margin: 3.75rem auto 0;
3
+ min-height: 16.25rem;
4
+ width: 100%;
5
+ position: relative;
6
+ background-color: #dde5ea;
7
+ background-repeat: no-repeat;
8
+ background-position: 50%;
9
+ background-size: cover;
10
+
11
+ @include breakpoint($lg) {
12
+ margin: 0 auto;
13
+ height: 36em;
14
+ }
15
+
16
+ &::before {
17
+ position: absolute;
18
+ display: block;
19
+ content: "";
20
+ top: 0;
21
+ left: 0;
22
+ width: 100%;
23
+ height: 100%;
24
+ background: rgba(52, 56, 81, .8);
25
+ }
26
+ }
27
+
28
+ .hero--small {
29
+ margin: 3.75rem auto 0;
30
+ min-height: 8.75rem;
31
+ width: 100%;
32
+ position: relative;
33
+ background-color: $dark-light;
34
+
35
+ @include breakpoint($lg) {
36
+ height: 12.5em;
37
+ }
38
+
39
+ &::before {
40
+ position: absolute;
41
+ display: block;
42
+ content: "";
43
+ top: 0;
44
+ left: 0;
45
+ width: 100%;
46
+ height: 100%;
47
+ background: rgba(52, 56, 81, .8);
48
+ }
49
+ }
50
+
51
+ .hero__wrap {
52
+ position: absolute;
53
+ top: 50%;
54
+ left: 50%;
55
+ transform: translate(-50%, -50%);
56
+ text-align: center;
57
+ color: rgba(255, 255, 255, 0.8);
58
+ width: 100%;
59
+ max-width: 90%;
60
+ z-index: 1;
61
+
62
+ @include breakpoint($md) {
63
+ max-width: 40em;
64
+ }
65
+
66
+ .hero__title {
67
+ font-size: 1.8em;
68
+ color: $bg-color;
69
+
70
+
71
+ @include breakpoint($md) {
72
+ font-size: 2.625em;
73
+ line-height: 3.125rem;
74
+ }
75
+ }
76
+ }
77
+
78
+ .page-content {
79
+ max-width: 52.5rem;
80
+ margin: 0 auto;
81
+ padding: 2.5em 0;
82
+
83
+ @include breakpoint($md) {
84
+ padding: 3.75rem 0;
85
+ }
86
+ }
87
+
88
+ .blog {
89
+ background-color: #f9f9f9;
90
+ }
91
+
92
+ .post-list {
93
+ padding-top: 2.5em;
94
+ display: flex;
95
+ flex-wrap: wrap;
96
+ flex: 1 0 auto;
97
+
98
+ @include breakpoint($md) {
99
+ padding-top: 5em;
100
+ }
101
+ }
@@ -0,0 +1,62 @@
1
+ .post-content {
2
+ max-width: 52.5rem;
3
+ margin: 0 auto;
4
+ padding-top: 2.5em;
5
+
6
+ @include breakpoint($md) {
7
+ padding-top: 5em;
8
+ }
9
+ }
10
+
11
+ .comments {
12
+ padding: 50px 0;
13
+ background-color: #fafafa;
14
+ }
15
+
16
+ .controls__inner {
17
+ display: flex;
18
+ align-items: center;
19
+ justify-content: space-between;
20
+ padding: 1.375rem 0 1.25rem;
21
+ border-top: 1px solid $border;
22
+
23
+ .prev {
24
+ align-items: flex-start;
25
+ text-align: left;
26
+ }
27
+
28
+ .next {
29
+ align-items: flex-end;
30
+ text-align: right;
31
+ }
32
+ }
33
+
34
+ .controls__item {
35
+ display: flex;
36
+ flex-direction: column;
37
+ align-items: flex-start;
38
+
39
+ span {
40
+ font-size: 0.875rem;
41
+ color: $grey;
42
+ }
43
+
44
+ a {
45
+ color: $heading-color;
46
+ font-weight: bold;
47
+ border-bottom: 0;
48
+
49
+ svg {
50
+ transition: all .2s linear;
51
+ }
52
+
53
+ &:hover {
54
+ color: $primary;
55
+ border-bottom: 0;
56
+
57
+ svg {
58
+ fill: $primary;
59
+ }
60
+ }
61
+ }
62
+ }