jekyll-thenerdlife 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +153 -0
- data/_includes/card.html +31 -0
- data/_includes/critical.css +1 -0
- data/_includes/disqus.html +18 -0
- data/_includes/footer.html +24 -0
- data/_includes/form.html +21 -0
- data/_includes/gtm.html +9 -0
- data/_includes/head.html +36 -0
- data/_includes/header.html +25 -0
- data/_includes/loadCss.js +9 -0
- data/_includes/logo.svg +5 -0
- data/_includes/mathjax.html +22 -0
- data/_includes/modal.html +12 -0
- data/_includes/pagination.html +3 -0
- data/_includes/sw.js +8 -0
- data/_includes/youtube.html +3 -0
- data/_layouts/compress.html +10 -0
- data/_layouts/default.html +47 -0
- data/_layouts/page.html +42 -0
- data/_layouts/post.html +106 -0
- data/_sass/abstracts/_mixins.scss +18 -0
- data/_sass/abstracts/_variables.scss +34 -0
- data/_sass/base/_base.scss +40 -0
- data/_sass/base/_helpers.scss +21 -0
- data/_sass/base/_typography.scss +104 -0
- data/_sass/components/_btn.scss +55 -0
- data/_sass/components/_card.scss +80 -0
- data/_sass/components/_form.scss +92 -0
- data/_sass/components/_modal.scss +73 -0
- data/_sass/components/_pagination.scss +5 -0
- data/_sass/components/_syntax.scss +209 -0
- data/_sass/components/_table.scss +21 -0
- data/_sass/layout/_footer.scss +35 -0
- data/_sass/layout/_grid.scss +23 -0
- data/_sass/layout/_nav.scss +196 -0
- data/_sass/main.scss +38 -0
- data/_sass/pages/_page.scss +101 -0
- data/_sass/pages/_post.scss +62 -0
- data/_sass/vendor/_breakpoint.scss +1 -0
- data/_sass/vendor/_normalize.scss +1 -0
- data/assets/css/main.css +3 -0
- data/assets/img/favicon.jpg +0 -0
- data/assets/img/icons/android-chrome-192x192.png +0 -0
- data/assets/img/icons/android-chrome-256x256.png +0 -0
- data/assets/img/icons/apple-touch-icon.png +0 -0
- data/assets/img/icons/browserconfig.xml +9 -0
- data/assets/img/icons/favicon-16x16.png +0 -0
- data/assets/img/icons/favicon-32x32.png +0 -0
- data/assets/img/icons/favicon.ico +0 -0
- data/assets/img/icons/icon-github.svg +1 -0
- data/assets/img/icons/icon-instagram.svg +1 -0
- data/assets/img/icons/icon-twitter.svg +1 -0
- data/assets/img/icons/manifest.json +18 -0
- data/assets/img/icons/mstile-150x150.png +0 -0
- data/assets/img/icons/safari-pinned-tab.svg +19 -0
- data/assets/img/posts/emile-perron-190221.jpg +0 -0
- data/assets/img/posts/emile-perron-190221_lg.jpg +0 -0
- data/assets/img/posts/emile-perron-190221_md.jpg +0 -0
- data/assets/img/posts/emile-perron-190221_placehold.jpg +0 -0
- data/assets/img/posts/emile-perron-190221_sm.jpg +0 -0
- data/assets/img/posts/emile-perron-190221_thumb.jpg +0 -0
- data/assets/img/posts/emile-perron-190221_thumb@2x.jpg +0 -0
- data/assets/img/posts/emile-perron-190221_xs.jpg +0 -0
- data/assets/img/posts/shane-rounce-205187.jpg +0 -0
- data/assets/img/posts/shane-rounce-205187_lg.jpg +0 -0
- data/assets/img/posts/shane-rounce-205187_md.jpg +0 -0
- data/assets/img/posts/shane-rounce-205187_placehold.jpg +0 -0
- data/assets/img/posts/shane-rounce-205187_sm.jpg +0 -0
- data/assets/img/posts/shane-rounce-205187_thumb.jpg +0 -0
- data/assets/img/posts/shane-rounce-205187_thumb@2x.jpg +0 -0
- data/assets/img/posts/shane-rounce-205187_xs.jpg +0 -0
- data/assets/img/posts/sleek.jpg +0 -0
- data/assets/img/posts/sleek_lg.jpg +0 -0
- data/assets/img/posts/sleek_md.jpg +0 -0
- data/assets/img/posts/sleek_placehold.jpg +0 -0
- data/assets/img/posts/sleek_sm.jpg +0 -0
- data/assets/img/posts/sleek_thumb.jpg +0 -0
- data/assets/img/posts/sleek_thumb@2x.jpg +0 -0
- data/assets/img/posts/sleek_xs.jpg +0 -0
- data/assets/js/bundle.js +2 -0
- metadata +196 -0
@@ -0,0 +1,80 @@
|
|
1
|
+
.post-card {
|
2
|
+
display: block;
|
3
|
+
width: 100%;
|
4
|
+
min-height: 250px;
|
5
|
+
border-radius: 4px;
|
6
|
+
overflow: hidden;
|
7
|
+
background-color: $bg-color;
|
8
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
|
9
|
+
margin-bottom: 5.26316%;
|
10
|
+
border-bottom: 0;
|
11
|
+
transition: box-shadow .25s ease;
|
12
|
+
|
13
|
+
&:hover,
|
14
|
+
&:focus {
|
15
|
+
border-bottom: 0;
|
16
|
+
box-shadow: 0 2px 40px 0 hsla(232, 8%, 63%, .3);
|
17
|
+
}
|
18
|
+
|
19
|
+
@include breakpoint($md) {
|
20
|
+
width: 48.4375%;
|
21
|
+
margin-right: 3.125%;
|
22
|
+
|
23
|
+
&:last-of-type,
|
24
|
+
&:nth-child(2n+2) {
|
25
|
+
margin-right: 0;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
@include breakpoint($xl) {
|
30
|
+
width: 31.25%;
|
31
|
+
margin-right: 3.125%;
|
32
|
+
|
33
|
+
&:nth-child(2n+2) {
|
34
|
+
margin-right: 3.125%;
|
35
|
+
}
|
36
|
+
|
37
|
+
&:last-of-type,
|
38
|
+
&:nth-child(3n+3) {
|
39
|
+
margin-right: 0;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
.post-card__thumb {
|
45
|
+
margin: 0;
|
46
|
+
background: $bg-color;
|
47
|
+
position: relative;
|
48
|
+
overflow: hidden;
|
49
|
+
|
50
|
+
&::after {
|
51
|
+
content: "";
|
52
|
+
display: block;
|
53
|
+
height: 0;
|
54
|
+
width: 100%;
|
55
|
+
// 16:9 = 56.25% = calc(9 / 16 * 100%)
|
56
|
+
padding-bottom: 56.25%;
|
57
|
+
}
|
58
|
+
|
59
|
+
> * {
|
60
|
+
position: absolute;
|
61
|
+
top: 0;
|
62
|
+
left: 0;
|
63
|
+
width: 100%;
|
64
|
+
height: 100%;
|
65
|
+
display: block;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
.post-card__inner {
|
70
|
+
padding: 1.875rem 1.25rem 0.625rem;
|
71
|
+
color: $grey;
|
72
|
+
}
|
73
|
+
|
74
|
+
.post-card__header {
|
75
|
+
margin-bottom: 0.75rem;
|
76
|
+
|
77
|
+
.post-card__meta {
|
78
|
+
font-size: 0.875rem;
|
79
|
+
}
|
80
|
+
}
|
@@ -0,0 +1,92 @@
|
|
1
|
+
input,
|
2
|
+
textarea {
|
3
|
+
display: inline-block;
|
4
|
+
padding: 5px 0;
|
5
|
+
width: 100%;
|
6
|
+
border: 0;
|
7
|
+
border-bottom: 2px solid $border;
|
8
|
+
outline: none;
|
9
|
+
font-family: $font-stack;
|
10
|
+
background: transparent;
|
11
|
+
|
12
|
+
&:focus {
|
13
|
+
border-color: $primary;
|
14
|
+
transition: border-color .25s;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
.form__input {
|
19
|
+
position: relative;
|
20
|
+
display: inline-block;
|
21
|
+
width: 100%;
|
22
|
+
margin-bottom: 35px;
|
23
|
+
|
24
|
+
&::before {
|
25
|
+
content: "";
|
26
|
+
position: absolute;
|
27
|
+
bottom: 0;
|
28
|
+
left: 0;
|
29
|
+
width: 0;
|
30
|
+
height: 2px;
|
31
|
+
background: $primary;
|
32
|
+
z-index: 5;
|
33
|
+
transition: width .45s cubic-bezier(.694, .048, .335, 1);
|
34
|
+
transition-delay: .1s;
|
35
|
+
}
|
36
|
+
|
37
|
+
&::after {
|
38
|
+
content: "";
|
39
|
+
position: absolute;
|
40
|
+
bottom: 0;
|
41
|
+
left: 0;
|
42
|
+
width: 0;
|
43
|
+
height: 2px;
|
44
|
+
background: $secondary;
|
45
|
+
z-index: 4;
|
46
|
+
transition: width .45s cubic-bezier(.694, .048, .335, 1);
|
47
|
+
}
|
48
|
+
|
49
|
+
&:hover::after,
|
50
|
+
:focus::after,
|
51
|
+
:active::after {
|
52
|
+
width: 100%;
|
53
|
+
}
|
54
|
+
|
55
|
+
&:hover::before,
|
56
|
+
:focus::before,
|
57
|
+
:active::after {
|
58
|
+
width: 100%;
|
59
|
+
}
|
60
|
+
|
61
|
+
&.error {
|
62
|
+
&:hover::after,
|
63
|
+
:focus::after,
|
64
|
+
:active::after {
|
65
|
+
width: 0%;
|
66
|
+
}
|
67
|
+
|
68
|
+
&:hover::before,
|
69
|
+
:focus::before,
|
70
|
+
:active::after {
|
71
|
+
width: 0%;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
.error {
|
77
|
+
input {
|
78
|
+
border-bottom-color: $error;
|
79
|
+
}
|
80
|
+
|
81
|
+
textarea {
|
82
|
+
border-bottom-color: $error;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
.error-data {
|
87
|
+
color: $error;
|
88
|
+
font-size: 14px;
|
89
|
+
position: absolute;
|
90
|
+
left: 0;
|
91
|
+
bottom: -21px;
|
92
|
+
}
|
@@ -0,0 +1,73 @@
|
|
1
|
+
.modal {
|
2
|
+
position: fixed;
|
3
|
+
display: none;
|
4
|
+
align-items: center;
|
5
|
+
justify-content: center;
|
6
|
+
top: 0;
|
7
|
+
left: 0;
|
8
|
+
width: 100%;
|
9
|
+
height: 100%;
|
10
|
+
outline: 0;
|
11
|
+
overflow-y: auto;
|
12
|
+
z-index: 999;
|
13
|
+
}
|
14
|
+
|
15
|
+
.modal__inner {
|
16
|
+
flex: 0 1 auto;
|
17
|
+
position: relative;
|
18
|
+
margin: 1.875em;
|
19
|
+
width: auto;
|
20
|
+
max-width: 768px;
|
21
|
+
outline: 0;
|
22
|
+
opacity: 0;
|
23
|
+
transform: translateY(200px);
|
24
|
+
transition: transform .5s cubic-bezier(0.4, 0, 0.2, 1);
|
25
|
+
z-index: 1050;
|
26
|
+
}
|
27
|
+
|
28
|
+
.modal__content {
|
29
|
+
position: relative;
|
30
|
+
padding: 2rem 2.5rem;
|
31
|
+
display: flex;
|
32
|
+
flex-direction: column;
|
33
|
+
background-color: $bg-color;
|
34
|
+
border-radius: 4px;
|
35
|
+
|
36
|
+
h1 {
|
37
|
+
text-align: center;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
.modal__close-button {
|
42
|
+
position: absolute;
|
43
|
+
top: 16px;
|
44
|
+
right: 16px;
|
45
|
+
background-color: transparent;
|
46
|
+
border: 0;
|
47
|
+
outline: 0;
|
48
|
+
color: $heading-color;
|
49
|
+
cursor: pointer;
|
50
|
+
|
51
|
+
&:hover {
|
52
|
+
background-color: transparent;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
.modal__overlay {
|
57
|
+
position: fixed;
|
58
|
+
display: none;
|
59
|
+
top: 0;
|
60
|
+
right: 0;
|
61
|
+
bottom: 0;
|
62
|
+
left: 0;
|
63
|
+
height: 100%;
|
64
|
+
width: 100%;
|
65
|
+
z-index: 1040;
|
66
|
+
opacity: 0;
|
67
|
+
background-color: rgba(0, 0 , 0, .75);
|
68
|
+
transition: opacity 1s ease 0.1s;
|
69
|
+
}
|
70
|
+
|
71
|
+
body.modal--open {
|
72
|
+
overflow: hidden;
|
73
|
+
}
|
@@ -0,0 +1,209 @@
|
|
1
|
+
.highlight table td { padding: 5px; }
|
2
|
+
.highlight table pre { margin: 0; }
|
3
|
+
.highlight .cm {
|
4
|
+
color: #999988;
|
5
|
+
font-style: italic;
|
6
|
+
}
|
7
|
+
.highlight .cp {
|
8
|
+
color: #999999;
|
9
|
+
font-weight: bold;
|
10
|
+
}
|
11
|
+
.highlight .c1 {
|
12
|
+
color: #999988;
|
13
|
+
font-style: italic;
|
14
|
+
}
|
15
|
+
.highlight .cs {
|
16
|
+
color: #999999;
|
17
|
+
font-weight: bold;
|
18
|
+
font-style: italic;
|
19
|
+
}
|
20
|
+
.highlight .c, .highlight .cd {
|
21
|
+
color: #999988;
|
22
|
+
font-style: italic;
|
23
|
+
}
|
24
|
+
.highlight .err {
|
25
|
+
color: #a61717;
|
26
|
+
background-color: #e3d2d2;
|
27
|
+
}
|
28
|
+
.highlight .gd {
|
29
|
+
color: #000000;
|
30
|
+
background-color: #ffdddd;
|
31
|
+
}
|
32
|
+
.highlight .ge {
|
33
|
+
color: #000000;
|
34
|
+
font-style: italic;
|
35
|
+
}
|
36
|
+
.highlight .gr {
|
37
|
+
color: #aa0000;
|
38
|
+
}
|
39
|
+
.highlight .gh {
|
40
|
+
color: #999999;
|
41
|
+
}
|
42
|
+
.highlight .gi {
|
43
|
+
color: #000000;
|
44
|
+
background-color: #ddffdd;
|
45
|
+
}
|
46
|
+
.highlight .go {
|
47
|
+
color: #888888;
|
48
|
+
}
|
49
|
+
.highlight .gp {
|
50
|
+
color: #555555;
|
51
|
+
}
|
52
|
+
.highlight .gs {
|
53
|
+
font-weight: bold;
|
54
|
+
}
|
55
|
+
.highlight .gu {
|
56
|
+
color: #aaaaaa;
|
57
|
+
}
|
58
|
+
.highlight .gt {
|
59
|
+
color: #aa0000;
|
60
|
+
}
|
61
|
+
.highlight .kc {
|
62
|
+
color: #000000;
|
63
|
+
font-weight: bold;
|
64
|
+
}
|
65
|
+
.highlight .kd {
|
66
|
+
color: #000000;
|
67
|
+
font-weight: bold;
|
68
|
+
}
|
69
|
+
.highlight .kn {
|
70
|
+
color: #000000;
|
71
|
+
font-weight: bold;
|
72
|
+
}
|
73
|
+
.highlight .kp {
|
74
|
+
color: #000000;
|
75
|
+
font-weight: bold;
|
76
|
+
}
|
77
|
+
.highlight .kr {
|
78
|
+
color: #000000;
|
79
|
+
font-weight: bold;
|
80
|
+
}
|
81
|
+
.highlight .kt {
|
82
|
+
color: #445588;
|
83
|
+
font-weight: bold;
|
84
|
+
}
|
85
|
+
.highlight .k, .highlight .kv {
|
86
|
+
color: #000000;
|
87
|
+
font-weight: bold;
|
88
|
+
}
|
89
|
+
.highlight .mf {
|
90
|
+
color: #009999;
|
91
|
+
}
|
92
|
+
.highlight .mh {
|
93
|
+
color: #009999;
|
94
|
+
}
|
95
|
+
.highlight .il {
|
96
|
+
color: #009999;
|
97
|
+
}
|
98
|
+
.highlight .mi {
|
99
|
+
color: #009999;
|
100
|
+
}
|
101
|
+
.highlight .mo {
|
102
|
+
color: #009999;
|
103
|
+
}
|
104
|
+
.highlight .m, .highlight .mb, .highlight .mx {
|
105
|
+
color: #009999;
|
106
|
+
}
|
107
|
+
.highlight .sb {
|
108
|
+
color: #d14;
|
109
|
+
}
|
110
|
+
.highlight .sc {
|
111
|
+
color: #d14;
|
112
|
+
}
|
113
|
+
.highlight .sd {
|
114
|
+
color: #d14;
|
115
|
+
}
|
116
|
+
.highlight .s2 {
|
117
|
+
color: #d14;
|
118
|
+
}
|
119
|
+
.highlight .se {
|
120
|
+
color: #d14;
|
121
|
+
}
|
122
|
+
.highlight .sh {
|
123
|
+
color: #d14;
|
124
|
+
}
|
125
|
+
.highlight .si {
|
126
|
+
color: #d14;
|
127
|
+
}
|
128
|
+
.highlight .sx {
|
129
|
+
color: #d14;
|
130
|
+
}
|
131
|
+
.highlight .sr {
|
132
|
+
color: #009926;
|
133
|
+
}
|
134
|
+
.highlight .s1 {
|
135
|
+
color: #d14;
|
136
|
+
}
|
137
|
+
.highlight .ss {
|
138
|
+
color: #990073;
|
139
|
+
}
|
140
|
+
.highlight .s {
|
141
|
+
color: #d14;
|
142
|
+
}
|
143
|
+
.highlight .na {
|
144
|
+
color: #008080;
|
145
|
+
}
|
146
|
+
.highlight .bp {
|
147
|
+
color: #999999;
|
148
|
+
}
|
149
|
+
.highlight .nb {
|
150
|
+
color: #0086B3;
|
151
|
+
}
|
152
|
+
.highlight .nc {
|
153
|
+
color: #445588;
|
154
|
+
font-weight: bold;
|
155
|
+
}
|
156
|
+
.highlight .no {
|
157
|
+
color: #008080;
|
158
|
+
}
|
159
|
+
.highlight .nd {
|
160
|
+
color: #3c5d5d;
|
161
|
+
font-weight: bold;
|
162
|
+
}
|
163
|
+
.highlight .ni {
|
164
|
+
color: #800080;
|
165
|
+
}
|
166
|
+
.highlight .ne {
|
167
|
+
color: #990000;
|
168
|
+
font-weight: bold;
|
169
|
+
}
|
170
|
+
.highlight .nf {
|
171
|
+
color: #990000;
|
172
|
+
font-weight: bold;
|
173
|
+
}
|
174
|
+
.highlight .nl {
|
175
|
+
color: #990000;
|
176
|
+
font-weight: bold;
|
177
|
+
}
|
178
|
+
.highlight .nn {
|
179
|
+
color: #555555;
|
180
|
+
}
|
181
|
+
.highlight .nt {
|
182
|
+
color: #000080;
|
183
|
+
}
|
184
|
+
.highlight .vc {
|
185
|
+
color: #008080;
|
186
|
+
}
|
187
|
+
.highlight .vg {
|
188
|
+
color: #008080;
|
189
|
+
}
|
190
|
+
.highlight .vi {
|
191
|
+
color: #008080;
|
192
|
+
}
|
193
|
+
.highlight .nv {
|
194
|
+
color: #008080;
|
195
|
+
}
|
196
|
+
.highlight .ow {
|
197
|
+
color: #000000;
|
198
|
+
font-weight: bold;
|
199
|
+
}
|
200
|
+
.highlight .o {
|
201
|
+
color: #000000;
|
202
|
+
font-weight: bold;
|
203
|
+
}
|
204
|
+
.highlight .w {
|
205
|
+
color: #bbbbbb;
|
206
|
+
}
|
207
|
+
.highlight {
|
208
|
+
background-color: #f8f8f8;
|
209
|
+
}
|