Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
44760c989e | ||
|
|
dce8f9c10a | ||
|
|
3f1f7da5c8 | ||
|
|
d06e437ced | ||
|
|
9164fda18a | ||
|
|
df8a030a42 | ||
|
|
9baef1bda2 | ||
|
|
e4c0689cda | ||
|
|
29acb2a0bf | ||
|
|
60b5bacca8 | ||
|
|
2413ea7204 | ||
|
|
d09bf47087 | ||
|
|
ac2975a8dd | ||
|
|
146186ab82 | ||
|
|
c7184ba2a2 | ||
|
|
63f3240366 | ||
|
|
01150a8dac | ||
|
|
737c011d46 | ||
|
|
b93ec8ca34 | ||
|
|
baec5d00b5 | ||
|
|
54e141aa0b | ||
|
|
346c8a9257 | ||
|
|
7fa5ac49db | ||
|
|
2e9e2ab312 | ||
|
|
a66cf1d700 | ||
|
|
a1ff46cc59 | ||
|
|
5ed1f79557 | ||
|
|
a44dc2f914 | ||
|
|
94e8280950 | ||
|
|
8625e0708a | ||
|
|
097c01eff1 | ||
|
|
960d6af1a2 | ||
|
|
bd5f157833 | ||
|
|
d5dae86319 | ||
|
|
102924ff94 | ||
|
|
59111d1e01 | ||
|
|
4a38b5fae0 | ||
|
|
3dbe89d3f0 | ||
|
|
fb74bde6f6 | ||
|
|
10f62bb9ac | ||
|
|
c1094cad44 | ||
|
|
78817f9c66 | ||
|
|
7f414f4968 | ||
|
|
4501e4f4b0 | ||
|
|
397c13f087 | ||
|
|
1e78b160ca | ||
|
|
8eb880aaa0 | ||
|
|
67c08a05fd | ||
|
|
65c401b319 | ||
|
|
9be0551c69 | ||
|
|
aefe633770 | ||
|
|
adfdf4b1d9 | ||
|
|
1d4cad2fd7 | ||
|
|
f59711945e | ||
|
|
8efaa7e46a | ||
|
|
246c678028 | ||
|
|
81f7851347 | ||
|
|
ea2b6de555 | ||
|
|
622005cb44 | ||
|
|
cc4471e4dd | ||
|
|
bcb7343b17 | ||
|
|
c510b51a43 | ||
|
|
d41a284bd2 | ||
|
|
f405d24ce2 | ||
|
|
d0d267697e | ||
|
|
8f5140ab42 | ||
|
|
afd8cfd99e | ||
|
|
c44e65cdec | ||
|
|
282806ae07 | ||
|
|
86e95b4f6f | ||
|
|
1b7e8335fe | ||
|
|
a974e45712 | ||
|
|
cac73fb87d | ||
|
|
89c4169191 | ||
|
|
77059e3710 | ||
|
|
2274abb67d | ||
|
|
4c2557d670 | ||
|
|
04e1614184 | ||
|
|
6990f8fcc9 | ||
|
|
f2f580101e | ||
|
|
d361c00f8a | ||
|
|
33551c8cdb | ||
|
|
2784b3ad43 | ||
|
|
9232a38f2a | ||
|
|
53a45a240e | ||
|
|
c848d1ed61 | ||
|
|
b45c66f1f8 | ||
|
|
a81ed706da | ||
|
|
1cd1e7112a | ||
|
|
47450e8d08 | ||
|
|
f27bd39a41 | ||
|
|
70c937392d | ||
|
|
9fb484940f | ||
|
|
8ec8def1b8 | ||
|
|
f98445ef96 | ||
|
|
599847bf2d | ||
|
|
f3f73fdedc | ||
|
|
7de372cea9 | ||
|
|
e647af55dd | ||
|
|
c1412e3958 | ||
|
|
f4d890f282 | ||
|
|
4c6dd4fb41 | ||
|
|
7178b37b08 | ||
|
|
5b8a9de8eb | ||
|
|
f83fce9a02 | ||
|
|
f6d41f8fc8 | ||
|
|
aeb09ff7e1 | ||
|
|
63109a8316 | ||
|
|
5a8f737732 | ||
|
|
9de7eab353 | ||
|
|
be82750f82 | ||
|
|
f4f6e32cc3 | ||
|
|
6a93cea9bd | ||
|
|
f36a8a0bb0 | ||
|
|
19862018e5 | ||
|
|
82e9aee6a8 | ||
|
|
4e745d2f14 | ||
|
|
763d1c1bb5 | ||
|
|
b689af7eea | ||
|
|
83aa6ecb98 | ||
|
|
ed09740b42 | ||
|
|
5a68b46e5a | ||
|
|
edaf61b3ef | ||
|
|
e954039b13 | ||
|
|
2a64d8f514 | ||
|
|
573ce183c8 | ||
|
|
319a74621b | ||
|
|
851426dba2 | ||
|
|
1a88b6a24a | ||
|
|
e2ea799424 | ||
|
|
99ca41c4fe | ||
|
|
8a03ffb439 | ||
|
|
31828d3174 | ||
|
|
22a9c523d6 | ||
|
|
2729b692f3 | ||
|
|
cbcc53de31 | ||
|
|
3cd24c4b69 | ||
|
|
a59dd4a84c | ||
|
|
e4af8a4036 | ||
|
|
e24e259650 | ||
|
|
b2b66378ac | ||
|
|
a2620d34f6 | ||
|
|
d89c9a35fe | ||
|
|
ed24ab50be | ||
|
|
bede124d3f | ||
|
|
8fd8a0ff3d | ||
|
|
dbec2b9975 | ||
|
|
c00e5cf84c | ||
|
|
4b8de03b82 | ||
|
|
309b664cdb | ||
|
|
7d257e4e8b | ||
|
|
2cd757e601 | ||
|
|
5c7fe6b603 | ||
|
|
d786c190c7 | ||
|
|
85237fda1e | ||
|
|
d0ee15eb5c | ||
|
|
9aedf9a694 | ||
|
|
6fcd16154a | ||
|
|
85dca86d0a | ||
|
|
f4cfc87b0a | ||
|
|
0db8fc3ffb | ||
|
|
50e1ed8900 | ||
|
|
6bb8ff0c24 | ||
|
|
6690630917 | ||
|
|
edae4eaa00 | ||
|
|
39a0aa91de | ||
|
|
bf2c543c6c | ||
|
|
45d2ad86ed | ||
|
|
28e918e47d | ||
|
|
98d518817f | ||
|
|
c8f4820d31 | ||
|
|
de15fb80c4 | ||
|
|
4f21d99d56 | ||
|
|
c3693656dd | ||
|
|
91e71e3de5 | ||
|
|
e665944f26 | ||
|
|
f932eeae3e | ||
|
|
05d296c247 | ||
|
|
86d64f412c | ||
|
|
9e8899569a | ||
|
|
2a323940b7 | ||
|
|
e704cd40d4 | ||
|
|
c801107754 | ||
|
|
71df5e0112 | ||
|
|
dcdbba835c | ||
|
|
a7258d4fe4 | ||
|
|
4bd6efc323 | ||
|
|
6d6d738e23 | ||
|
|
2f1b8f3321 | ||
|
|
0a7cab0180 | ||
|
|
a5e96659a0 | ||
|
|
adfbe8622b | ||
|
|
7869947455 | ||
|
|
fe67efdee8 | ||
|
|
396e2ae402 | ||
|
|
2167884cae | ||
|
|
07f203bd1d | ||
|
|
a95fae0155 | ||
|
|
90f5a98406 | ||
|
|
2f40bb6403 | ||
|
|
98682985d7 | ||
|
|
5b2a699a11 | ||
|
|
f4bb3971e7 | ||
|
|
2ef2f27ab9 | ||
|
|
1504379168 | ||
|
|
42de7a56fc | ||
|
|
68df0b6b63 | ||
|
|
833ab3933d | ||
|
|
d082dc2a39 | ||
|
|
d23a569eff | ||
|
|
0fe7a7af2e | ||
|
|
192c22a637 | ||
|
|
174dfd1ba0 | ||
|
|
b0ff6ef4c6 | ||
|
|
1bebba692c | ||
|
|
a50c84e5d7 | ||
|
|
ea2573fdc9 | ||
|
|
c0725e9653 | ||
|
|
0d9978fe65 | ||
|
|
8dc845e4fb | ||
|
|
7ffc103437 | ||
|
|
3ada7c1483 | ||
|
|
4a072e50dc | ||
|
|
b40018d280 | ||
|
|
07411719a0 | ||
|
|
961d0b4db8 | ||
|
|
2d808b783d | ||
|
|
3b77428c49 | ||
|
|
cd14423918 | ||
|
|
0c1157977d | ||
|
|
61fee28543 | ||
|
|
f5c33989c8 | ||
|
|
67f94f0588 | ||
|
|
74def8eb65 | ||
|
|
f008388e39 | ||
|
|
623ac4a650 | ||
|
|
f9c418c740 | ||
|
|
73f47af242 | ||
|
|
1fbbe993c6 | ||
|
|
ca9d1ccb58 | ||
|
|
b3d7ea1fc6 | ||
|
|
c259535e44 | ||
|
|
ec0f75b9c0 | ||
|
|
9c65724955 | ||
|
|
e707057fa8 | ||
|
|
676b9cc0e3 | ||
|
|
26e3864478 | ||
|
|
0adebd240f | ||
|
|
7760108601 | ||
|
|
ac618ec2b5 | ||
|
|
4cfbede6e4 | ||
|
|
ecd1748247 | ||
|
|
858b5cc2a4 | ||
|
|
2be90f8f4a | ||
|
|
c427b9bd39 | ||
|
|
120ba7a0b0 | ||
|
|
3c48a2ed02 | ||
|
|
9cfa4865fd | ||
|
|
89d3cb3d02 | ||
|
|
99f727138f | ||
|
|
a3fe9487ce | ||
|
|
f1231ce243 | ||
|
|
8d2625bdf2 | ||
|
|
fc3e7a6176 | ||
|
|
8de5331a81 | ||
|
|
8dcb71e312 | ||
|
|
ae99717eb6 | ||
|
|
3e367ed881 | ||
|
|
9a94fb0f96 | ||
|
|
39522e876f | ||
|
|
4c06fe7003 | ||
|
|
53d1063c17 | ||
|
|
2ba69591bf | ||
|
|
9dd3a3a49a | ||
|
|
b0689a928d | ||
|
|
70bff53a41 | ||
|
|
206f89ed6b | ||
|
|
738254cd9f | ||
|
|
4f934bf9ff | ||
|
|
195105c3df | ||
|
|
2e1ff9eeb1 | ||
|
|
e366a9a72b | ||
|
|
2bf2c83fea | ||
|
|
7cbd61130b | ||
|
|
4fbc846414 | ||
|
|
f0f5dded48 | ||
|
|
789f4a5aeb | ||
|
|
d497e787e9 | ||
|
|
e5797284a8 | ||
|
|
aeb4742858 | ||
|
|
c5c964742a | ||
|
|
d475c9ac49 | ||
|
|
50dca72f4b | ||
|
|
648254b2b5 | ||
|
|
bcde2d76ea | ||
|
|
5adcb277b8 | ||
|
|
497b3bb741 | ||
|
|
9b17ac9856 | ||
|
|
3a817c2bdb | ||
|
|
f031c08c84 | ||
|
|
f744cea6a1 | ||
|
|
28ef6b07d7 | ||
|
|
1b61c1dd44 | ||
|
|
0101aac2ca | ||
|
|
c5562f53c1 | ||
|
|
8f900dd3f2 | ||
|
|
ea37611d60 | ||
|
|
08a0a6d5e3 | ||
|
|
c6d726408e | ||
|
|
042bd5a361 | ||
|
|
37e5fd11d4 | ||
|
|
fa0acf455f | ||
|
|
cc2793fddc | ||
|
|
ddd5b7a9c5 | ||
|
|
89a6f9bf4b | ||
|
|
1c57e7cd43 | ||
|
|
ef96114ece | ||
|
|
74d7e838ee | ||
|
|
f4ffaa2aeb | ||
|
|
7092d4301e | ||
|
|
3ffe095474 | ||
|
|
0b7a26687d | ||
|
|
68c8c75419 | ||
|
|
2cfe3c4440 | ||
|
|
61859342c3 | ||
|
|
e14c7e45ca | ||
|
|
3405703cda | ||
|
|
fc80042a9e | ||
|
|
6768e45eae | ||
|
|
1553af9a61 | ||
|
|
0f1816e88f | ||
|
|
0bd3cf599c | ||
|
|
0723a9de3e | ||
|
|
13b2969bb8 | ||
|
|
ac2b8db6b3 | ||
|
|
d4b4c890db | ||
|
|
6600162870 | ||
|
|
847d96df52 | ||
|
|
2248a4b1ba | ||
|
|
c0ee81ea7c | ||
|
|
69fc984e9e | ||
|
|
b04f420b9f | ||
|
|
2c03e688f8 | ||
|
|
7d25db8f01 | ||
|
|
ae23e1839f | ||
|
|
1ab092bcd4 | ||
|
|
9bc97aee23 | ||
|
|
d9bf5025f3 | ||
|
|
4d4531d19f | ||
|
|
a76c16ee23 | ||
|
|
19a943eec1 | ||
|
|
483184d566 | ||
|
|
cc81736778 | ||
|
|
4cfbd7a5aa | ||
|
|
a8d3b4b613 | ||
|
|
31b20a6ad0 | ||
|
|
ba5d25c419 | ||
|
|
ffef5a93de | ||
|
|
467a748815 | ||
|
|
d6605146ac | ||
|
|
2463b55c4c | ||
|
|
5e60d2d3c5 | ||
|
|
c8226a32a6 | ||
|
|
fbb7356d74 | ||
|
|
25c4bb37ec | ||
|
|
bac26e96b2 | ||
|
|
b274ada35c | ||
|
|
7239604922 | ||
|
|
6997319c47 | ||
|
|
e7095c49d9 | ||
|
|
79d0b75683 | ||
|
|
eebf6f4b3c | ||
|
|
39bf00055a | ||
|
|
04716862b0 | ||
|
|
df1e07e3fc | ||
|
|
1db41bc1f6 | ||
|
|
bf8b42be17 | ||
|
|
f52d91a6aa | ||
|
|
0be9facfad | ||
|
|
4a7b7a67dd | ||
|
|
fa50bbbe39 | ||
|
|
279cd603c3 | ||
|
|
973f1fcf98 | ||
|
|
416364471f | ||
|
|
d0473d202a | ||
|
|
4a03354667 | ||
|
|
588a044986 | ||
|
|
279770bb5e | ||
|
|
b99592bad0 | ||
|
|
a362e3b309 | ||
|
|
4a466b1465 | ||
|
|
95226ac727 | ||
|
|
c3ab58f99c | ||
|
|
7692a98fce | ||
|
|
923019e7de | ||
|
|
abfefd920d | ||
|
|
1493db8fdf | ||
|
|
f878aa943b | ||
|
|
73d82964a2 | ||
|
|
356c1eb093 | ||
|
|
d720398c24 | ||
|
|
f4b72fef3e | ||
|
|
ba9079041b | ||
|
|
1ec7954277 | ||
|
|
b0ee45b4de | ||
|
|
acdd3443de | ||
|
|
8f483ae906 | ||
|
|
c415ed0bed | ||
|
|
a2cde2c7f9 | ||
|
|
19ace79114 | ||
|
|
af7c8a136a | ||
|
|
e2d0b00902 | ||
|
|
4462d77420 | ||
|
|
2598fbd6d4 | ||
|
|
9d994f621b | ||
|
|
b9d9dc11bf | ||
|
|
b600046247 | ||
|
|
b59d53e34b | ||
|
|
ba4a07d771 | ||
|
|
ecf22d2d38 | ||
|
|
be68ed4259 | ||
|
|
ed533591d0 | ||
|
|
264bc75963 | ||
|
|
d98808385f | ||
|
|
f711708abe | ||
|
|
3598e8ebf2 | ||
|
|
1c0f19158d | ||
|
|
63e2226054 | ||
|
|
fd2cc8ea53 | ||
|
|
46ad2cf4d4 | ||
|
|
344d52f4c6 | ||
|
|
6efa23ebd9 | ||
|
|
61bad6d0aa | ||
|
|
4f54154ee5 | ||
|
|
cd8fd82587 | ||
|
|
6fee80f754 | ||
|
|
176f972418 | ||
|
|
d90a3d521a | ||
|
|
ed840e9809 | ||
|
|
a86af6d6dc | ||
|
|
97387fa59a | ||
|
|
0ec52b57ce | ||
|
|
637d113179 | ||
|
|
fb9f13c624 | ||
|
|
3b65f1de8d | ||
|
|
474ed73228 | ||
|
|
cf9ac441bb | ||
|
|
b6ff1e5ce0 | ||
|
|
aa960cc57c | ||
|
|
a56161cc78 | ||
|
|
952a099313 | ||
|
|
f64b5f14d3 | ||
|
|
6993b9aac8 | ||
|
|
ba7e8e16c3 | ||
|
|
b75b33ed1a | ||
|
|
5de9991999 | ||
|
|
1be03e6335 | ||
|
|
527d187e82 | ||
|
|
8d5429bcc0 | ||
|
|
ca779e74cb | ||
|
|
046d93d05b | ||
|
|
f349dff2ee | ||
|
|
e305cc79f1 | ||
|
|
6b66bbe914 | ||
|
|
d200fb509d | ||
|
|
7d48f1cae1 | ||
|
|
c24aae3fad | ||
|
|
3c3634fe2c | ||
|
|
20e1c5953a | ||
|
|
51544d5c62 | ||
|
|
8fc3692e21 | ||
|
|
7de9152d0f | ||
|
|
614b6bdf92 | ||
|
|
a8d7bf2237 | ||
|
|
2691067e17 | ||
|
|
58b0f45c59 | ||
|
|
49d09c6c5b | ||
|
|
bbf3cbc5fd | ||
|
|
e8d9b18d17 | ||
|
|
1976b564e8 | ||
|
|
9634bb84fb | ||
|
|
6e0ef33ec7 | ||
|
|
cab1e50f50 | ||
|
|
7bc9e5a47b | ||
|
|
8a8235f8d7 | ||
|
|
b865158151 | ||
|
|
32a2e9d104 | ||
|
|
eaf50acea6 | ||
|
|
267d2c96a0 | ||
|
|
1c0f31d563 | ||
|
|
3f469f268f | ||
|
|
94d753378a | ||
|
|
569181c267 | ||
|
|
7a0f4dc87c | ||
|
|
8604294de8 | ||
|
|
e10501aaa4 | ||
|
|
3fb63f302d | ||
|
|
76b02a8c15 | ||
|
|
3e922ddf58 | ||
|
|
e3858f80e4 | ||
|
|
20ec5789f5 | ||
|
|
70ad1c2d8c | ||
|
|
13ca7629b0 | ||
|
|
27d6774b25 | ||
|
|
e2b50a355f | ||
|
|
0db0f31953 | ||
|
|
bd3e078ab8 | ||
|
|
6fe3b9cd1c | ||
|
|
14d3ed2f7b | ||
|
|
61e2a1aa47 | ||
|
|
f9f97d72e6 | ||
|
|
a9e0482077 | ||
|
|
3c5e913aaf | ||
|
|
eafdd4efc4 | ||
|
|
a736697d88 | ||
|
|
c40ce370fa | ||
|
|
fff5d1f60b | ||
|
|
b4f8096e37 | ||
|
|
b51661e098 | ||
|
|
c5ebfac0e6 | ||
|
|
d95cfbc58e | ||
|
|
c69bf6ca8f | ||
|
|
7bf2b58ede | ||
|
|
a94478da59 | ||
|
|
df61273db7 | ||
|
|
a7b4e964e7 | ||
|
|
7e6a46c447 | ||
|
|
6839069b9b | ||
|
|
457a96a07c | ||
|
|
186a98a4c5 | ||
|
|
6399e8c9ea | ||
|
|
dbdd741898 | ||
|
|
1607632c44 | ||
|
|
5edab731e5 | ||
|
|
e68f2c1601 | ||
|
|
2651c0c27d | ||
|
|
9002a8ff5d | ||
|
|
eb3efc28d5 | ||
|
|
d83e922b96 | ||
|
|
d7c365efa8 | ||
|
|
1ad02b9022 | ||
|
|
979ef26ac6 | ||
|
|
9ca57649c1 | ||
|
|
3d7ea760a2 | ||
|
|
5490b6f46a | ||
|
|
11d67b6fa1 | ||
|
|
4668761456 | ||
|
|
c2a4381d61 | ||
|
|
af74703d2e | ||
|
|
8667ed6916 | ||
|
|
b834035abb | ||
|
|
881337707c | ||
|
|
c2d9791a9b | ||
|
|
0609e16b19 | ||
|
|
1ba85c51b0 | ||
|
|
77c40093a4 | ||
|
|
c30b2fc60b | ||
|
|
b100809c1e | ||
|
|
ba37d523d3 | ||
|
|
7eb00bbd61 | ||
|
|
973520759c | ||
|
|
6101e81d55 | ||
|
|
8d918dadc4 | ||
|
|
33ad934f17 | ||
|
|
87731836ee | ||
|
|
634d2884a2 | ||
|
|
cd896b15d8 | ||
|
|
e9137e591b | ||
|
|
79a8beb61b | ||
|
|
7b3ddfefdf | ||
|
|
1fcda6f988 | ||
|
|
5d022e03d0 | ||
|
|
599712ed58 | ||
|
|
a9cad4f066 | ||
|
|
a612808f2a | ||
|
|
ed7c12b20b | ||
|
|
75b2d514c2 | ||
|
|
01c5700acd | ||
|
|
409d9691b0 | ||
|
|
cb5d8d4ee0 | ||
|
|
1b3cc608bb | ||
|
|
7c2273f23d | ||
|
|
02c109d24f | ||
|
|
da72581be3 | ||
|
|
187c3c38a2 | ||
|
|
28e2885a68 | ||
|
|
281c1288c2 | ||
|
|
c4d14f68f6 | ||
|
|
7f6efbb744 | ||
|
|
696d589fdd | ||
|
|
cb75bc8aed | ||
|
|
f94bc7fbe8 | ||
|
|
0841d49653 | ||
|
|
21a4da0e47 | ||
|
|
fa3647172d | ||
|
|
df2e2c23b3 | ||
|
|
931eedaefa | ||
|
|
f39b15a362 | ||
|
|
19f6d32745 | ||
|
|
7e8700df75 | ||
|
|
2a5cda62b1 | ||
|
|
cc3b21bc86 | ||
|
|
7978376df0 | ||
|
|
1ca7a00d37 | ||
|
|
a4fceb8ac1 | ||
|
|
b291021c2a | ||
|
|
423ba0a18f | ||
|
|
079b3718cb | ||
|
|
f8bb3422ba | ||
|
|
ea5d8fc0b2 | ||
|
|
4196f59c8e | ||
|
|
c4e1cd2e75 | ||
|
|
b6fd84ede1 | ||
|
|
5eefba1bf0 | ||
|
|
95a8c96ce0 | ||
|
|
4a24be73b8 | ||
|
|
6ca184b453 | ||
|
|
a96df5197d | ||
|
|
6d9db31ef0 | ||
|
|
4172237709 | ||
|
|
c36d305fa9 | ||
|
|
41250e7f35 | ||
|
|
cba9e9fbfd | ||
|
|
e09753fa0a | ||
|
|
b4a38ce912 | ||
|
|
3bc95b0343 | ||
|
|
257cc4a7c4 | ||
|
|
47f537b40d | ||
|
|
d535c5d5f6 | ||
|
|
c050f1322d | ||
|
|
d4d716efa3 | ||
|
|
50166ce705 | ||
|
|
d6be62720d | ||
|
|
cf9a908697 | ||
|
|
b111ec17a9 | ||
|
|
9e1a8ec45b | ||
|
|
fc852d3d47 | ||
|
|
7ab03b7192 | ||
|
|
d980884d59 | ||
|
|
061103112e | ||
|
|
e05159c290 | ||
|
|
9529319d78 | ||
|
|
5f3f142c45 | ||
|
|
d9a5efc666 | ||
|
|
61a6ac509a | ||
|
|
869a0e5b73 | ||
|
|
8cc4e0bf48 | ||
|
|
7afdd57c8a | ||
|
|
866fb17d9e | ||
|
|
4b2487722c | ||
|
|
d464128e65 | ||
|
|
f306f11b3f | ||
|
|
181b90e1fb | ||
|
|
fc8ca433c5 | ||
|
|
52f245152d | ||
|
|
9af1e8d548 | ||
|
|
838c9b4788 | ||
|
|
8974732330 | ||
|
|
66db4b92b9 | ||
|
|
fce0c55f2b | ||
|
|
ab09e1bb43 | ||
|
|
cfbec6b90f | ||
|
|
ac929052dd | ||
|
|
6030450ac1 | ||
|
|
7fed4e8eb7 | ||
|
|
5ed73b3f16 | ||
|
|
bf2ac18bcd | ||
|
|
93119a084a | ||
|
|
705c93a08c | ||
|
|
0761cac562 | ||
|
|
05dafce68f | ||
|
|
aeebfaa87c | ||
|
|
3282387b42 | ||
|
|
8d637e0ae3 | ||
|
|
e122e155cc | ||
|
|
ea985a06ec | ||
|
|
3b15297045 | ||
|
|
ab6c416e7e | ||
|
|
9d9e5b7a97 | ||
|
|
2996f08852 | ||
|
|
902f26edb8 | ||
|
|
2ae600eb19 | ||
|
|
370c422a4d | ||
|
|
1f5a89fb9d | ||
|
|
f3fbe28e75 | ||
|
|
4736eb1da0 | ||
|
|
cf604ec33b | ||
|
|
cc2d8ea71d | ||
|
|
a5ca35337b | ||
|
|
3dde1cc729 | ||
|
|
ea6740a5da | ||
|
|
33316e3d25 | ||
|
|
6112dba29e | ||
|
|
fbfc2f9eef | ||
|
|
a3c6a6191f | ||
|
|
d81af1f103 | ||
|
|
e194bc0c7e | ||
|
|
c0cd6d0058 | ||
|
|
2b366ab4e1 | ||
|
|
37aad5d476 | ||
|
|
b8afafb3a2 | ||
|
|
6beaf7099c | ||
|
|
8dcd353e90 | ||
|
|
d5505d2b6f | ||
|
|
84b21b06b7 | ||
|
|
c19db78c5c | ||
|
|
58b8cf8416 | ||
|
|
1570e85fb1 | ||
|
|
7845654225 | ||
|
|
38c2bdbfd8 | ||
|
|
8fc9bccda8 | ||
|
|
93c4fbc4b9 | ||
|
|
d67aa113c8 | ||
|
|
1a2a953dfb | ||
|
|
338df4eb50 | ||
|
|
e0e0fdee4c | ||
|
|
a369b0dc75 | ||
|
|
0883904f95 | ||
|
|
1cc8461f27 | ||
|
|
46c172e041 | ||
|
|
611cecc51a | ||
|
|
b5e1eeb007 | ||
|
|
dc47f82af2 | ||
|
|
f94cbe0296 | ||
|
|
f9132d8998 | ||
|
|
2080469952 | ||
|
|
5d2f34a2d2 | ||
|
|
5e7e15bad9 | ||
|
|
c863ba6e54 | ||
|
|
b814f306d8 | ||
|
|
c4ca06f4b9 | ||
|
|
e8d83de8b7 | ||
|
|
f19e74bc8f | ||
|
|
37da7829cd | ||
|
|
0a9ad5d243 | ||
|
|
d28cb4dea5 | ||
|
|
6c21194c44 | ||
|
|
7bf33e85b9 | ||
|
|
866765b324 | ||
|
|
dddf8656f3 | ||
|
|
4a95a539cb | ||
|
|
9b52f9c61d | ||
|
|
5d5b05d2a2 | ||
|
|
f6ed6f6225 | ||
|
|
c21fa07753 | ||
|
|
3f3145a350 | ||
|
|
12f713677d | ||
|
|
eb1f445050 | ||
|
|
6885a127d7 | ||
|
|
1b311f428f | ||
|
|
78d0b946f7 | ||
|
|
0d87190f36 | ||
|
|
7c863f0094 | ||
|
|
4709e96383 | ||
|
|
0ff9619416 | ||
|
|
38f9861ff2 | ||
|
|
43d05a5718 | ||
|
|
fc193d0b54 | ||
|
|
71f0a2356a | ||
|
|
4a4a2fdbfc | ||
|
|
0e9ebc48cb | ||
|
|
6ed7eab9f8 | ||
|
|
20821e67b0 | ||
|
|
1f4f71636d | ||
|
|
bb39afa125 | ||
|
|
2939d45ecc | ||
|
|
ded8afcc32 | ||
|
|
102cbc8b10 | ||
|
|
46d8cb5efd | ||
|
|
1629f0e4a7 | ||
|
|
0cad75fbb3 | ||
|
|
1509ef7911 | ||
|
|
45c491bec7 | ||
|
|
1cb4f9ebb8 | ||
|
|
d277353c54 | ||
|
|
87c4bbe8be | ||
|
|
ef510063df | ||
|
|
38272fc6b8 | ||
|
|
874326cc41 | ||
|
|
3a632a62e8 | ||
|
|
247bcde42e | ||
|
|
10bc756932 | ||
|
|
3e781220a1 | ||
|
|
0720e42251 | ||
|
|
f1afdf0397 | ||
|
|
1610ed853c | ||
|
|
173f184047 | ||
|
|
91f38f4450 | ||
|
|
192549ef25 | ||
|
|
d59818981b | ||
|
|
46a294b568 | ||
|
|
8e598766f7 | ||
|
|
f372191de5 | ||
|
|
1f5e6609b3 | ||
|
|
bb402eaa46 | ||
|
|
fb0164b0ca | ||
|
|
bc53150b28 | ||
|
|
f9de95a8ad | ||
|
|
3b3905c44f | ||
|
|
edba2c3a88 | ||
|
|
e242554e55 | ||
|
|
709a1e8583 | ||
|
|
1205a8c46c | ||
|
|
67ec264d08 | ||
|
|
13e299a8f3 | ||
|
|
d8be6fd2b5 | ||
|
|
65a3d68dec | ||
|
|
f7a1b1a160 | ||
|
|
cb8cb6f41e | ||
|
|
47a05f3f00 | ||
|
|
6b9afaa8b7 | ||
|
|
15c3abe48b | ||
|
|
4ba7cccdc4 | ||
|
|
e2559db182 | ||
|
|
5a5921474c | ||
|
|
9c318fc3f1 | ||
|
|
b7cc337a77 | ||
|
|
057d3190ea | ||
|
|
f0b979d375 | ||
|
|
3395149c4d | ||
|
|
a7475d3334 | ||
|
|
7a72be67ec | ||
|
|
8b2850c9f9 | ||
|
|
48e2006622 | ||
|
|
100da8b5b2 | ||
|
|
5b4baee3b5 | ||
|
|
822fa4d1f8 | ||
|
|
bf9387c71f | ||
|
|
8eabf8920e | ||
|
|
bb871377bd | ||
|
|
387f8149d6 | ||
|
|
52a791f40b | ||
|
|
97b37ba863 | ||
|
|
5843de91c2 | ||
|
|
c337c7964a | ||
|
|
1d4daaa545 | ||
|
|
1f760c8d1b | ||
|
|
88b80c4f76 | ||
|
|
fe9f90f000 | ||
|
|
031c2aa77e | ||
|
|
3e347970c7 | ||
|
|
984f0dfda7 | ||
|
|
0f2d564837 | ||
|
|
e912ed5b98 | ||
|
|
6d018c1891 | ||
|
|
50b80e95d1 | ||
|
|
8b2837a1bf | ||
|
|
261fb159dd | ||
|
|
2feb3d2ab4 | ||
|
|
160be1dd0b | ||
|
|
8c3fdb2382 | ||
|
|
951b2c7002 | ||
|
|
23447d98ee | ||
|
|
fae4398544 | ||
|
|
71966b688b | ||
|
|
1ef63b55e5 | ||
|
|
b1a5a14173 | ||
|
|
ca6e7e3426 | ||
|
|
bf6bd617e2 | ||
|
|
537d0b28d4 | ||
|
|
cae210c4b9 | ||
|
|
c142f94918 | ||
|
|
d92c75a6b6 | ||
|
|
fc5db3f5d5 | ||
|
|
ab0919cd5c | ||
|
|
4ed938c0ce | ||
|
|
9affa1c82f | ||
|
|
f5f3f2e9d9 | ||
|
|
99ce8ed421 | ||
|
|
0319732b8e | ||
|
|
94dcda2d89 | ||
|
|
8e51d4b8f1 | ||
|
|
7a7428c2f0 | ||
|
|
ede0654d4f | ||
|
|
610e64bb7d | ||
|
|
399cd19472 | ||
|
|
262b6f3c4a | ||
|
|
7b26077a11 | ||
|
|
23349e14f8 | ||
|
|
631db9940c | ||
|
|
cd61120374 | ||
|
|
9de3cade3b | ||
|
|
8ed48c1cd5 | ||
|
|
de3954ac99 | ||
|
|
ec5b255bfb | ||
|
|
63d8d74697 | ||
|
|
0c43a33a3d | ||
|
|
b3410ed8b2 | ||
|
|
69b747474d | ||
|
|
bb01fc8c32 | ||
|
|
55c4f91b8e | ||
|
|
53d4e34ab0 | ||
|
|
47bf229364 | ||
|
|
128977691a | ||
|
|
8494157e64 | ||
|
|
9361c53c43 | ||
|
|
e0099ffa5a | ||
|
|
24999441fc | ||
|
|
a6c6ae1e1c | ||
|
|
e539ccbfbd | ||
|
|
23094d629f | ||
|
|
19372f6470 | ||
|
|
ef361fa174 | ||
|
|
706531b60d | ||
|
|
d4b1eeb6bf | ||
|
|
19568e95ae | ||
|
|
3fc1bfde26 | ||
|
|
eaf366e405 | ||
|
|
7a4d221ccf | ||
|
|
b5a4496561 | ||
|
|
0b78bef679 | ||
|
|
f9f197bcd6 | ||
|
|
cf4f8277c1 | ||
|
|
805dad0077 | ||
|
|
657f7ac9f8 | ||
|
|
eefafcacba | ||
|
|
ac93744d9f | ||
|
|
3e379043bc | ||
|
|
ff0f63aaed | ||
|
|
8d42316e70 | ||
|
|
d5d7c437b9 | ||
|
|
8c44927773 | ||
|
|
f8ef82f42c | ||
|
|
6ef4296bbd | ||
|
|
00810d9085 | ||
|
|
d90baeaaa5 | ||
|
|
76a51e7079 | ||
|
|
9634feb0c8 | ||
|
|
b6e14cbf18 | ||
|
|
365ff8d2db | ||
|
|
958b399741 | ||
|
|
7719679fea | ||
|
|
6b8d3148b6 | ||
|
|
7316be4280 | ||
|
|
2f2f901827 | ||
|
|
b9d86f3989 | ||
|
|
dbdf5c2f25 | ||
|
|
2aa473dd82 | ||
|
|
4454e391cf | ||
|
|
fbe35e6c60 | ||
|
|
943bf19fc5 |
+5
-4
@@ -1,5 +1,6 @@
|
|||||||
_assets/css/vendor/* linguist-vendored
|
|
||||||
_assets/js/plugins/* linguist-vendored
|
|
||||||
_assets/js/vendor/* linguist-vendored
|
|
||||||
assets/fonts/* linguist-vendored
|
assets/fonts/* linguist-vendored
|
||||||
assets/js/vendor/* linguist-vendored
|
assets/js/main.min.js linguist-vendored
|
||||||
|
assets/js/lunr/* linguist-vendored
|
||||||
|
assets/js/plugins/* linguist-vendored
|
||||||
|
assets/js/vendor/* linguist-vendored
|
||||||
|
_sass/minimal-mistakes/vendor/* linguist-vendored
|
||||||
|
|||||||
+19
-4
@@ -1,11 +1,26 @@
|
|||||||
# Contributing
|
# Contributing
|
||||||
|
|
||||||
Having trouble working with the theme? Found a typo in the documentation? Interested in adding a feature or [fixing a bug](https://github.com/mmistakes/minimal-mistakes/issues)? Then by all means [submit an issue](https://github.com/mmistakes/minimal-mistakes/issues/new) or [pull request](https://help.github.com/articles/using-pull-requests/). If this is your first pull request, it may be helpful to read up on the [GitHub Flow](https://guides.github.com/introduction/flow/) first.
|
Having trouble working with the theme? Found a typo in the documentation?
|
||||||
|
Interested in adding a feature or [fixing a bug](https://github.com/mmistakes/minimal-mistakes/issues)?
|
||||||
|
Then by all means [submit an issue](https://github.com/mmistakes/minimal-mistakes/issues/new)
|
||||||
|
or [pull request](https://help.github.com/articles/using-pull-requests/).
|
||||||
|
If this is your first pull request, it may be helpful to read up on the
|
||||||
|
[GitHub Flow](https://guides.github.com/introduction/flow/) first.
|
||||||
|
|
||||||
Minimal Mistakes has been designed as a base for you to customize and fit your site's unique needs. Please keep this in mind when requesting features and/or submitting pull requests. If it's not something that most people will use, I probably won't consider it. When in doubt ask.
|
Minimal Mistakes has been designed as a base for you to customize and fit your
|
||||||
|
site's unique needs. Please keep this in mind when requesting features and/or
|
||||||
|
submitting pull requests. If it's not something that most people will use, I
|
||||||
|
probably won't consider it. When in doubt ask.
|
||||||
|
|
||||||
This goes for author sidebar links and "share button" additions -- I have no intention of merging in every possibly option, the essentials are there to get you started :smile:.
|
This goes for author sidebar links and "share button" additions -- I have no
|
||||||
|
intention of merging in every possibly option, the essentials are there to get
|
||||||
|
you started :smile:.
|
||||||
|
|
||||||
## Pull Requests
|
## Pull Requests
|
||||||
|
|
||||||
To help me out try to avoid creating pull requests on `master` and instead branch off of `develop`. It's much easier for me to test, merge, and roll them into new releases this way.
|
When submitting a pull request:
|
||||||
|
|
||||||
|
1. Clone the repo.
|
||||||
|
2. Create a branch off of `master` and give it a meaningful name (e.g.
|
||||||
|
`my-awesome-new-feature`) and describe the feature or fix.
|
||||||
|
3. Open a pull request on GitHub.
|
||||||
|
|||||||
@@ -1,45 +0,0 @@
|
|||||||
<!--
|
|
||||||
Before submitting please search open and closed issues at
|
|
||||||
https://github.com/mmistakes/minimal-mistakes/issues to avoid duplication.
|
|
||||||
|
|
||||||
Feel free to use the following as a template and remove or add fields as you see fit. You can convert `[ ]` into `[x]` to check boxes.
|
|
||||||
-->
|
|
||||||
|
|
||||||
- [ ] This is a question about using the theme.
|
|
||||||
- [ ] I believe this to be a bug with the theme --- not Jekyll, GitHub Pages or one of the bundled plugins.
|
|
||||||
- [ ] This is a feature request.
|
|
||||||
- [ ] I have updated all gems with `bundle update`.
|
|
||||||
- [ ] I have tested locally with `bundle exec jekyll build`.
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Environment informations
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Please include theme version, `github-pages --version`, and the operating system you are on or tested with.
|
|
||||||
-->
|
|
||||||
|
|
||||||
- **Minimal Mistakes version:**
|
|
||||||
- **`github-pages` or `jekyll` gem version:**
|
|
||||||
- **Operating system:**
|
|
||||||
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Expected behavior
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Describe the intended output or what you expected to see.
|
|
||||||
-->
|
|
||||||
|
|
||||||
## Steps to reproduce the behavior
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Include a link to a public repository or ZIP file so that they can more easily be reproduced. Being able to see your actual files helps troubleshooting as most issues stem from missing YAML Front Matter, a mis-configured `_config.sys` file, or `_posts` content.
|
|
||||||
|
|
||||||
Describe the steps you took for this problem to exist. Such as you cloned the theme, customized `_config.yml`, added your own posts, and started up a Jekyll server locally.
|
|
||||||
|
|
||||||
If an error occurred on GitHub Pages when pushing, please build locally and provide a complete log by running `bundle exec jekyll --trace --verbose` and including this output in the filed issue.
|
|
||||||
|
|
||||||
Screenshots can also be included if they help illustrate a behavior.
|
|
||||||
-->
|
|
||||||
@@ -0,0 +1,68 @@
|
|||||||
|
---
|
||||||
|
name: "Bug Report"
|
||||||
|
about: "Is something not working as expected?"
|
||||||
|
---
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Before opening a new issue please:
|
||||||
|
|
||||||
|
- Verify you have the latest versions of Jekyll and Minimal Mistakes
|
||||||
|
installed by running `bundle update`.
|
||||||
|
- Thoroughly read the theme's documentation at
|
||||||
|
https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
|
||||||
|
- Search all issues at https://github.com/mmistakes/minimal-mistakes/issues
|
||||||
|
for solutions and to avoid duplication.
|
||||||
|
- Ask for help at http://talk.jekyllrb.com/
|
||||||
|
|
||||||
|
After exhausting these suggestions use the format below.
|
||||||
|
-->
|
||||||
|
|
||||||
|
## Environment
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Please include theme version, Jekyll version, public git repository, whether
|
||||||
|
you are hosting with GitHub Pages, and the operating system you tested with.
|
||||||
|
|
||||||
|
Issues without a link to a public repository or ZIP file will likely go ignored.
|
||||||
|
Being able to see your actual files is necessary to troubleshoot, as most
|
||||||
|
issues stem from invalid/missing YAML Front Matter, a mis-configured _config.sys
|
||||||
|
file, or problematic site content.
|
||||||
|
-->
|
||||||
|
|
||||||
|
- Minimal Mistakes version:
|
||||||
|
- Ruby gem or remote theme version:
|
||||||
|
- Jekyll version:
|
||||||
|
- Git repository URL:
|
||||||
|
- GitHub Pages hosted (if yes provide URL to site):
|
||||||
|
- Operating system:
|
||||||
|
|
||||||
|
## Expected behavior
|
||||||
|
|
||||||
|
<!--
|
||||||
|
What is it you expected to happen? This should be a description of how the
|
||||||
|
functionality you tried to use is supposed to work.
|
||||||
|
-->
|
||||||
|
|
||||||
|
## Steps to reproduce the behavior
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Describe the steps you took for this problem to exist. Such as: you installed
|
||||||
|
the theme, customized _config.yml, added your own posts, and started up a
|
||||||
|
Jekyll server locally.
|
||||||
|
|
||||||
|
If an error occurred on GitHub Pages when pushing, please test a local version
|
||||||
|
following these setup instructions:
|
||||||
|
https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/
|
||||||
|
|
||||||
|
Then provide a complete log by running `bundle exec jekyll build --trace --verbose`
|
||||||
|
and include this output in the filed issue.
|
||||||
|
|
||||||
|
Screenshots can also be included if they help illustrate a behavior.
|
||||||
|
-->
|
||||||
|
|
||||||
|
## Other
|
||||||
|
|
||||||
|
<!--
|
||||||
|
NOTE: Please provide a code repository, gist, code snippet, sample files,
|
||||||
|
screenshots, or anything else you think will aid in reproducing the issue.
|
||||||
|
-->
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
name: "Documentation"
|
||||||
|
about: "Found a typo or something that needs clarification?"
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- Thanks for taking the time to open an issue and help make the docs better -->
|
||||||
|
|
||||||
|
## Motivation
|
||||||
|
|
||||||
|
<!-- Why should we update our docs? -->
|
||||||
|
|
||||||
|
<!-- What should we do instead? -->
|
||||||
|
|
||||||
|
## Suggestion
|
||||||
|
|
||||||
|
<!-- What should we do instead? -->
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
---
|
||||||
|
name: "Enhancement / Feature Request"
|
||||||
|
about: "What would make this theme better?"
|
||||||
|
---
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Before opening a new issue please search all issues at
|
||||||
|
https://github.com/mmistakes/minimal-mistakes/issues to avoid duplication.
|
||||||
|
-->
|
||||||
|
|
||||||
|
## Summary
|
||||||
|
|
||||||
|
<!--
|
||||||
|
A short explanation of the enhancement or feature.
|
||||||
|
-->
|
||||||
|
|
||||||
|
## Motivation
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Why do you want to see this feature in the theme?
|
||||||
|
What use cases does it support?
|
||||||
|
|
||||||
|
NOTE: This theme has been designed as a base for you to customize and fit
|
||||||
|
your site's unique needs. If a feature is not something most people will use,
|
||||||
|
it likely won't be considered. When in doubt ask.
|
||||||
|
-->
|
||||||
|
|
||||||
|
## Drawbacks
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Why should this enhancement or feature **not** be considered?
|
||||||
|
-->
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
---
|
||||||
|
name: "Question"
|
||||||
|
about: "Having trouble working with the theme?"
|
||||||
|
---
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Before opening a new issue please:
|
||||||
|
|
||||||
|
- Verify you have the latest versions of Jekyll and Minimal Mistakes
|
||||||
|
installed by running `bundle update`.
|
||||||
|
- Thoroughly read the theme's documentation at
|
||||||
|
https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
|
||||||
|
- Search all issues at https://github.com/mmistakes/minimal-mistakes/issues
|
||||||
|
for solutions and to avoid duplication.
|
||||||
|
- Ask for help at http://talk.jekyllrb.com/
|
||||||
|
|
||||||
|
After exhausting these suggestions ask your question below.
|
||||||
|
|
||||||
|
NOTE: Please provide a code repository, gist, code snippet, sample files, or
|
||||||
|
screenshots to triage your issue.
|
||||||
|
-->
|
||||||
|
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
<!--
|
||||||
|
Thanks for creating a Pull Request! Before you submit, please make sure
|
||||||
|
you've done the following:
|
||||||
|
|
||||||
|
- Read the contributing document at https://github.com/mmistakes/minimal-mistakes#contributing
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Choose one of the following by uncommenting it:
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is a bug fix. -->
|
||||||
|
<!-- This is an enhancement or feature. -->
|
||||||
|
<!-- This is a documentation change. -->
|
||||||
|
|
||||||
|
## Summary
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Provide a description of what your pull request changes.
|
||||||
|
-->
|
||||||
|
|
||||||
|
## Context
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Is this related to any GitHub issue(s)?
|
||||||
|
-->
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
# Number of days of inactivity before an issue becomes stale
|
||||||
|
daysUntilStale: 30
|
||||||
|
# Number of days of inactivity before a stale issue is closed
|
||||||
|
daysUntilClose: 7
|
||||||
|
# Issues with these labels will never be considered stale
|
||||||
|
exemptLabels:
|
||||||
|
- "Status: Accepted"
|
||||||
|
- "Status: Under Consideration"
|
||||||
|
# Label to use when marking an issue as stale
|
||||||
|
staleLabel: "Status: Stale"
|
||||||
|
# Comment to post when marking an issue as stale. Set to `false` to disable
|
||||||
|
markComment: |
|
||||||
|
This issue has been automatically marked as stale because it has not had recent activity.
|
||||||
|
|
||||||
|
If this is a **bug** and you can still reproduce this error on the `master` branch, please reply with any additional information you have about it in order to keep the issue open.
|
||||||
|
|
||||||
|
If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.
|
||||||
|
|
||||||
|
This issue will automatically be closed in 7 days if no further activity occurs. Thank you for all your contributions.
|
||||||
|
# Comment to post when closing a stale issue. Set to `false` to disable
|
||||||
|
closeComment: false
|
||||||
+11
@@ -0,0 +1,11 @@
|
|||||||
|
language: ruby
|
||||||
|
cache: bundler
|
||||||
|
gemfile: docs/Gemfile
|
||||||
|
script:
|
||||||
|
- bundle exec jekyll algolia --source docs --destination docs/_site --config docs/_config.yml
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
# Change this to gh-pages if you're deploying using the gh-pages branch
|
||||||
|
- master
|
||||||
|
rvm:
|
||||||
|
- 2.4
|
||||||
+583
-70
@@ -1,217 +1,729 @@
|
|||||||
|
## [4.16.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.16.0)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Improve search `input` semantics for Lunr and Google search providers. [#2123](https://github.com/mmistakes/minimal-mistakes/pull/2123)
|
||||||
|
- Allow adding JavaScript files after those bundled in the theme. [#2110](https://github.com/mmistakes/minimal-mistakes/issues/2110) [#2116](https://github.com/mmistakes/minimal-mistakes/pull/2116)
|
||||||
|
- Add `$max-width` Sass variable for adjusting page content's maximum width. [#2093](https://github.com/mmistakes/minimal-mistakes/pull/2093)
|
||||||
|
- Add Thai localized UI text strings. [#2111](https://github.com/mmistakes/minimal-mistakes/pull/2111)
|
||||||
|
- Update Font Awesome to [v5.8.1](https://github.com/FortAwesome/Font-Awesome/releases/tag/5.8.1). [#2102](https://github.com/mmistakes/minimal-mistakes/pull/2102)
|
||||||
|
- Add missing Vietnamese localized UI text strings. [#2097](https://github.com/mmistakes/minimal-mistakes/pull/2097)
|
||||||
|
- Replace jQuery Smooth Scroll with Smooth Scroll + Gumshoe. [#2082](https://github.com/mmistakes/minimal-mistakes/pull/2082)
|
||||||
|
- Add styling for [GFM task lists](https://help.github.com/en/articles/about-task-lists#creating-task-lists). [#2092](https://github.com/mmistakes/minimal-mistakes/issues/2092)
|
||||||
|
- Update Google Universal Analytics to load async. [#2079](https://github.com/mmistakes/minimal-mistakes/pull/2079)
|
||||||
|
- Remove Google+ social sharing button, comment provider, and author link configs from theme.
|
||||||
|
- Add missing Chinese text strings. [#2072](https://github.com/mmistakes/minimal-mistakes/pull/2072)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix table of contents active link styling.
|
||||||
|
- Add missing Hindi localized UI text strings. [#2105](https://github.com/mmistakes/minimal-mistakes/pull/2105) [#2106](https://github.com/mmistakes/minimal-mistakes/pull/2106)
|
||||||
|
- Fix Brazilian Portuguese text strings. [#2098](https://github.com/mmistakes/minimal-mistakes/pull/2098)
|
||||||
|
- Fix typo in French `results_found` text string. [#2096](https://github.com/mmistakes/minimal-mistakes/pull/2096)
|
||||||
|
- Fix figures inside of list elements. [#2094](https://github.com/mmistakes/minimal-mistakes/pull/2094)
|
||||||
|
- Remove Font Awesome `data-search-pseudo-elements` attribute as it degrades smooth scroll performance. [#2075](https://github.com/mmistakes/minimal-mistakes/issues/2075#issuecomment-472437014)
|
||||||
|
- Fix footnote links incompatibility with smooth scroll plugin. [#2075](https://github.com/mmistakes/minimal-mistakes/issues/2075)
|
||||||
|
- Loosen Bundler dependency in ruby gem.
|
||||||
|
|
||||||
|
## [4.15.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.15.2)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Close search overlay with <kbd>Esc</kbd>. [#2055](https://github.com/mmistakes/minimal-mistakes/pull/2055)
|
||||||
|
- Update Swedish localized UI text strings. [#2056](https://github.com/mmistakes/minimal-mistakes/pull/2056)
|
||||||
|
- Update Font Awesome to 5.7.1 and add `data-search-pseudo-elements` attribute. [#2053](https://github.com/mmistakes/minimal-mistakes/pull/2053)
|
||||||
|
- Add Malayalam localized UI text strings. [#2037](https://github.com/mmistakes/minimal-mistakes/pull/2037)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix table of contents errors with non-English chracters in the headings. [#2042](https://github.com/mmistakes/minimal-mistakes/pull/2042)
|
||||||
|
- Fix `site.logo` false positives. [#2026](https://github.com/mmistakes/minimal-mistakes/pull/2026#issuecomment-455770730)
|
||||||
|
- Add empty `alt` attribute to `site.logo` image. [#2035](https://github.com/mmistakes/minimal-mistakes/pull/2035)
|
||||||
|
|
||||||
|
## [4.15.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.15.1)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix empty `<img>` when `site_logo` is not assigned. [#2026](https://github.com/mmistakes/minimal-mistakes/pull/2026#issuecomment-454809876)
|
||||||
|
|
||||||
|
## [4.15.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.15.0)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add logo and title customization to the masthead. [#2026](https://github.com/mmistakes/minimal-mistakes/pull/2026)
|
||||||
|
- Add support to customize `issue-term` for utterances comment provider. [#2022](https://github.com/mmistakes/minimal-mistakes/pull/2022)
|
||||||
|
- Allow custom canonical url on a page-by-page basis. [#2021](https://github.com/mmistakes/minimal-mistakes/pull/2021)
|
||||||
|
- Update table of contents navigation based on scroll position to indicate which link is currently active in the viewport. [#2020](https://github.com/mmistakes/minimal-mistakes/pull/2020)
|
||||||
|
- Clicking table of contents links changes URL has fragment. [#2019](https://github.com/mmistakes/minimal-mistakes/pull/2019) [#2023](https://github.com/mmistakes/minimal-mistakes/pull/2023)
|
||||||
|
|
||||||
|
## [4.14.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.14.2)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Improve accessibility by adding label text to search button toggle. [#2014](https://github.com/mmistakes/minimal-mistakes/pull/2014)
|
||||||
|
- Update Lunr to 2.3.5. [#2010](https://github.com/mmistakes/minimal-mistakes/pull/2010)
|
||||||
|
- Shorten Internet Explorer conditional statement in `_includes/head.html`. [#2006](https://github.com/mmistakes/minimal-mistakes/pull/2006)
|
||||||
|
- Add Persian localized UI text strings. [#2004](https://github.com/mmistakes/minimal-mistakes/pull/2004)
|
||||||
|
- Remove unused JavaScript variables from Staticman comment script. [#1996](https://github.com/mmistakes/minimal-mistakes/pull/1996)
|
||||||
|
- Update Font Awesome to 5.6.0. [#1995](https://github.com/mmistakes/minimal-mistakes/pull/1995)
|
||||||
|
- Change remaining schema.org markup to `https`. [#1978](https://github.com/mmistakes/minimal-mistakes/pull/1978)
|
||||||
|
- Update NPM dependencies.
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix wide tables that overflow parent container. [#2008](https://github.com/mmistakes/minimal-mistakes/issues/2008)
|
||||||
|
- Fix Spanish `comments_label` and `comments_title` UI text strings. [#1997](https://github.com/mmistakes/minimal-mistakes/pull/1997)
|
||||||
|
- Allow sidebar navigation with custom sidebar content. [#1986](https://github.com/mmistakes/minimal-mistakes/issues/1986)
|
||||||
|
- Fix Google Custom Search JavaScript error when not using Instant Search. [#1983](https://github.com/mmistakes/minimal-mistakes/pull/1983)
|
||||||
|
|
||||||
|
## [4.14.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.14.1)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix closed navicon on hover.
|
||||||
|
|
||||||
|
## [4.14.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.14.0)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Change schema.org markup to `https`. [#1969](https://github.com/mmistakes/minimal-mistakes/pull/1969)
|
||||||
|
- Add Google Drive as video provider. [#1967](https://github.com/mmistakes/minimal-mistakes/pull/1967)
|
||||||
|
- Match `:focus` color to skin.
|
||||||
|
- Add support for [utterances](https://utteranc.es/) comments. [#1909](https://github.com/mmistakes/minimal-mistakes/issues/1909)
|
||||||
|
- Use privacy aware embed options for YouTube and Vimeo in [responsive video helper](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#responsive-video-embed). [#1964](https://github.com/mmistakes/minimal-mistakes/pull/1964)
|
||||||
|
- Add `rel="nofollow noopener noreferrer"` to author profile links. [#1924](https://github.com/mmistakes/minimal-mistakes/pull/1924)
|
||||||
|
- Improve color contrast of primary buttons and links.
|
||||||
|
- Add Punjabi localized UI text strings. [#1962](https://github.com/mmistakes/minimal-mistakes/pull/1962)
|
||||||
|
- Add Hindi localized UI text strings. [#1888](https://github.com/mmistakes/minimal-mistakes/pull/1888)
|
||||||
|
- Update Lunr to `2.3.3`. [#1885](https://github.com/mmistakes/minimal-mistakes/pull/1885)
|
||||||
|
- Cache "static" includes to improve build performance. **Note:** The theme uses the [jekyll-include-cache](https://github.com/benbalter/jekyll-include-cache) plugin which will need to be installed in your `Gemfile` and added to the `plugins` array of `_config.yml`. Otherwise you'll throw `Unknown tag 'include_cached'` errors at build. [#1874](https://github.com/mmistakes/minimal-mistakes/pull/1874)
|
||||||
|
- Make entire feature and archive items "clickable". [#1864](https://github.com/mmistakes/minimal-mistakes/pull/1864)
|
||||||
|
- Allow custom Staticman endpoints. [#1842](https://github.com/mmistakes/minimal-mistakes/issues/1842)
|
||||||
|
- Remove `type="text/css"` from Algolia script includes. [#1836](https://github.com/mmistakes/minimal-mistakes/pull/1836)
|
||||||
|
- Remove unneeded `HandheldFriendly` and `MobileOptimized` meta tags. [#1837](https://github.com/mmistakes/minimal-mistakes/pull/1837)
|
||||||
|
- Update Font Awesome to version `5.5.0` and add `integrity` hash. [#1922](https://github.com/mmistakes/minimal-mistakes/pull/1922)
|
||||||
|
- Always load Google 404 Linkhelp script over HTTPS. [#1829](https://github.com/mmistakes/minimal-mistakes/pull/1829)
|
||||||
|
- Remove deprecated `base_path` include helper.
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Prevent current post from showing in the related posts section. [#1976](https://github.com/mmistakes/minimal-mistakes/pull/1976)
|
||||||
|
- Fix dark skins syntax highlighting colors. [#1973](https://github.com/mmistakes/minimal-mistakes/issues/1973)
|
||||||
|
- Remove unnecessary closing bracket in analytics documentation. [#1915](https://github.com/mmistakes/minimal-mistakes/pull/1915)
|
||||||
|
- Fix breadcrumb navigation alignment. [#1917](https://github.com/mmistakes/minimal-mistakes/issues/1917)
|
||||||
|
- Fix Algolia search link positioning. [#1904](https://github.com/mmistakes/minimal-mistakes/pull/1904)
|
||||||
|
- Fix Lunr search index merging words. [#1883](https://github.com/mmistakes/minimal-mistakes/issues/1883)
|
||||||
|
- Properly apply `relative_url` filter to internal links in header overlay `actions` array.
|
||||||
|
- Revert cached includes (`include_cached`) for comment and analytics providers. [#1905](https://github.com/mmistakes/minimal-mistakes/issues/1905)
|
||||||
|
|
||||||
|
## [4.13.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.13.0)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add Romanian localized UI text strings. [#1814](https://github.com/mmistakes/minimal-mistakes/pull/1814)
|
||||||
|
- Improve author link flexibility. [#1581](https://github.com/mmistakes/minimal-mistakes/issues/1581)
|
||||||
|
- Improve footer link flexibility.
|
||||||
|
- Deprecate `cta_label` and `cta_url` in header overlay in favor of new `actions` array that allows for multiple "call to action" button links. [#1461](https://github.com/mmistakes/minimal-mistakes/issues/1461)
|
||||||
|
- Add support to [gallery helper](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery) for defining column layout (`half`, `third`, or single `''`). [#1821](https://github.com/mmistakes/minimal-mistakes/issues/1821)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Fix sidebar navigation list toggle. [#1819](https://github.com/mmistakes/minimal-mistakes/issues/1819)
|
||||||
|
- Fix hover animation for links with `:visited` state. [#1820](https://github.com/mmistakes/minimal-mistakes/issues/1820)
|
||||||
|
|
||||||
|
## [4.12.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.12.2)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add missing Italian localized UI text strings. [#1793](https://github.com/mmistakes/minimal-mistakes/pull/1793)
|
||||||
|
- Update [jekyll-toc](https://github.com/allejo/jekyll-toc) to `v1.0.5`.
|
||||||
|
- Support heading levels 1-6 in table of contents with proper indentation styling. [#1782](https://github.com/mmistakes/minimal-mistakes/issues/1782)
|
||||||
|
- Use relative links for masthead navigation menu items when possible. [#1784](https://github.com/mmistakes/minimal-mistakes/pull/1784)
|
||||||
|
- Add `.emoji` class to author sidebar to normalize image sizes. [#1780](https://github.com/mmistakes/minimal-mistakes/pull/1780)
|
||||||
|
- Update Staticman commit message to include commentor's name.
|
||||||
|
- Improve side navigation spacing in relation to masthead.
|
||||||
|
- Style archive links with appropriate link color.
|
||||||
|
- Adjust feature row spacing and font-sizes.
|
||||||
|
- Use sentence case and increase font-sizes for improved readability in table of contents.
|
||||||
|
- Add `{{ content }}` to `home` layout. [#1775](https://github.com/mmistakes/minimal-mistakes/pull/1775)
|
||||||
|
|
||||||
|
## [4.12.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.12.1)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add missing French localized UI text strings. [#1769](https://github.com/mmistakes/minimal-mistakes/pull/1769) [#1741](https://github.com/mmistakes/minimal-mistakes/pull/1741)
|
||||||
|
- Update Font Awesome to version [`5.2.0`](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md). [#1754](https://github.com/mmistakes/minimal-mistakes/pull/1754)
|
||||||
|
- Add documentation note to update root `Gemfile` when forking theme.
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Remove slash at the beginning of `path` in staticman.yml example. [#1772](https://github.com/mmistakes/minimal-mistakes/pull/1772)
|
||||||
|
- Fix `read_time` logic in header image overlay. [#1756](https://github.com/mmistakes/minimal-mistakes/pull/1756)
|
||||||
|
|
||||||
|
## [4.12.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.12.0)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add Hungarian localized UI text strings. [#1682](https://github.com/mmistakes/minimal-mistakes/pull/1682)
|
||||||
|
- DRY `tags_max` calculation in tags.html layout. [#1696](https://github.com/mmistakes/minimal-mistakes/pull/1696)
|
||||||
|
- DRY `categories_max` calculation in categories.html layout.
|
||||||
|
- Add support for ["sticking" table of contents](https://mmistakes.github.io/minimal-mistakes/layout-table-of-contents-sticky/) to top of page via `toc_sticky: true` YAML Front Matter.
|
||||||
|
- Add support for captioning images in feature row helper via `image_caption` YAML Front Matter. [#1440](https://github.com/mmistakes/minimal-mistakes/issues/1440)
|
||||||
|
- Add [Google Custom Search Engine](https://cse.google.com/cse) support. [#1652](https://github.com/mmistakes/minimal-mistakes/issues/1652)
|
||||||
|
- Update Font Awesome to version [`5.1.13`](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md)
|
||||||
|
- Add "Pets" sample archive page to documentation site. [#1664](https://github.com/mmistakes/minimal-mistakes/pull/1664)
|
||||||
|
- Add GitLab social icon brand color. [#1653](https://github.com/mmistakes/minimal-mistakes/issues/1653)
|
||||||
|
- Prevent line breaks between FontAwesome icon and text in footer social links. [#1659](https://github.com/mmistakes/minimal-mistakes/issues/1659)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Set default `title_separator`. [#1701](https://github.com/mmistakes/minimal-mistakes/pull/1701)
|
||||||
|
- Fix `naver_site_verification` typo in /_includes/seo.html. [#1687](https://github.com/mmistakes/minimal-mistakes/pull/1687)
|
||||||
|
- Fix table of contents missing borders. [#1675](https://github.com/mmistakes/minimal-mistakes/issues/1675)
|
||||||
|
- Fix link to "Recipes" sample archive on documentation site. [#1664](https://github.com/mmistakes/minimal-mistakes/pull/1664)
|
||||||
|
- Update example Reddit social share interpolation syntax in documentation. [#1656](https://github.com/mmistakes/minimal-mistakes/issues/1656)
|
||||||
|
- Fix "Back to Top" links on pages that use [header overlays](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#header-overlay).
|
||||||
|
|
||||||
|
## [4.11.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.11.2)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
* Update Font Awesome to version [`5.0.12`](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md).
|
||||||
|
* Add Slovak localized UI text strings. [#1613](https://github.com/mmistakes/minimal-mistakes/pull/1613)
|
||||||
|
* Add option to anonymize IP addresses of hits sent to Google Analytics. [#1636](https://github.com/mmistakes/minimal-mistakes/pull/1636)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Use correct text string for "Back to Top" link. [#1595](https://github.com/mmistakes/minimal-mistakes/issues/1595)
|
||||||
|
* Add conditionals for showing `reCaptcha.siteKey` and `reCaptcha.secret` in Staticman comments form.
|
||||||
|
|
||||||
|
## [4.11.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.11.1)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
* Add default `theme` and `remote_theme` values to `_config.yml`.
|
||||||
|
* Add new layouts (`posts`, `categories`, `tags`, `collection`, `category`, and `tag`) for easier archive page creation.
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Replace `absolute_url` filter with `relative_url` where it makes sense (asset/navigation related paths). [#1588](https://github.com/mmistakes/minimal-mistakes/issues/1588)
|
||||||
|
* Fix search excerpts that run together because of implied spaces.
|
||||||
|
|
||||||
|
## [4.10.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.10.1)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
* Update jQuery to version `3.3.1`. [#1491](https://github.com/mmistakes/minimal-mistakes/issues/1491)
|
||||||
|
* Add link to jekyll-algolia's `files_to_exclude` documentation.
|
||||||
|
* Update Font Awesome to version [`5.0.8`](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md). [#1561](https://github.com/mmistakes/minimal-mistakes/pull/1561)
|
||||||
|
* Activate Algolia search for documentation site. [#1570](https://github.com/mmistakes/minimal-mistakes/issues/1570)
|
||||||
|
* Add missing German translations. [#1577](https://github.com/mmistakes/minimal-mistakes/pull/1577)
|
||||||
|
* Add support for Google Analytics with global site tag (gtag.js) [#1563](https://github.com/mmistakes/minimal-mistakes/pull/1563)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Focus Algolia search input after clicking on search toggle.
|
||||||
|
|
||||||
|
## [4.10.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.10.0)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
* Add support for [Algolia](https://www.algolia.com/) search provider ([see demo](https://mmistakes.github.io/minimal-mistakes-algolia-search/)). [#1416](https://github.com/mmistakes/minimal-mistakes/issues/1416)
|
||||||
|
|
||||||
|
## [4.9.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.9.1)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
* Simplify year archive Liquid.
|
||||||
|
* Add documentation on how to downgrade theme.
|
||||||
|
* Improve greedy navigation's layout when JavaScript is disabled.
|
||||||
|
* Improve SEO include by grouping similar tags, reducing white-space, and adding `article:modified_time`. [#1456](https://github.com/mmistakes/minimal-mistakes/pull/1456)
|
||||||
|
* Minify `assets/js/lunr/lunr.js`.
|
||||||
|
* Improve calculation of Greedy navigation's `availableSpace`.
|
||||||
|
* Add Danish and Russian translations for new search strings. [#1472](https://github.com/mmistakes/minimal-mistakes/pull/1472) [#1477](https://github.com/mmistakes/minimal-mistakes/pull/1477)
|
||||||
|
* Indicate that archive titles are links with an underline.
|
||||||
|
* Remove `base_path` include from `/test` pages.
|
||||||
|
* Reduce font-size of page meta in list/grid items.
|
||||||
|
* Improve feature row styling when used with `archive` layout. [#1484](https://github.com/mmistakes/minimal-mistakes/issues/1484)
|
||||||
|
* Improve German translations. [#1511](https://github.com/mmistakes/minimal-mistakes/pull/1511)
|
||||||
|
* Update Font Awesome to `5.0.6`. [#1513](https://github.com/mmistakes/minimal-mistakes/pull/1513)
|
||||||
|
* Add `wide` variant to single layout. [#1516](https://github.com/mmistakes/minimal-mistakes/pull/1516)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Allow `author` to accept an object or string. [#289](https://github.com/mmistakes/minimal-mistakes/issues/289)
|
||||||
|
* Fix syntax highlighting line number styling inconsistency. [#1467](https://github.com/mmistakes/minimal-mistakes/issues/1467)
|
||||||
|
* Fix author sidebar icon colors for dark skins. [#1482](https://github.com/mmistakes/minimal-mistakes/issues/1482)
|
||||||
|
* Remove misleading underline hover state on feature row items.
|
||||||
|
* Properly escape quotes in `site.social.name` and `site.name`. [#1485](https://github.com/mmistakes/minimal-mistakes/pull/1485)
|
||||||
|
* Fix typo in upgrading documentation. [#1487](https://github.com/mmistakes/minimal-mistakes/pull/1487)
|
||||||
|
* Fix `border-bottom` for Gist line numbers.
|
||||||
|
* Replace `|` with HTML entity when used as title separator. [#760](https://github.com/mmistakes/minimal-mistakes/issues/760)
|
||||||
|
|
||||||
|
## [4.9.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.9.0)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
* Add `show_overlay_excerpt` for disabling overlay image excerpt text. [#1436](https://github.com/mmistakes/minimal-mistakes/pull/1436)
|
||||||
|
* Update remote theme installation instructions in Quick Start Guide. [#1439](https://github.com/mmistakes/minimal-mistakes/pull/1439)
|
||||||
|
* Reduce visual weight of code blocks.
|
||||||
|
* Add Lunr.js Greek stemmer. [#1445](https://github.com/mmistakes/minimal-mistakes/pull/1445)
|
||||||
|
* Update Font Awesome 5 [SVG with JavaScript version](https://fontawesome.com/how-to-use/svg-with-js). [#1446](https://github.com/mmistakes/minimal-mistakes/pull/1446)
|
||||||
|
* Note: if Font Awesome icons were used in the content of posts/pages or custom table of contents, find and replace any icons that have different names between version 4 and 5. Make sure to read the [complete list](https://fontawesome.com/how-to-use/upgrading-from-4#icon-name-changes-full) on Font Awesome's site.
|
||||||
|
* Reduce size of Lunr.js search JSON data and introduce `site.search_full_content` flag for limiting size of JSON file. [#1449](https://github.com/mmistakes/minimal-mistakes/pull/1449)
|
||||||
|
* Improve syntax highlighting styles. [#1450](https://github.com/mmistakes/minimal-mistakes/pull/1450)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Fix code block extra white-space when using [Jekyll's highlight tag](https://jekyllrb.com/docs/templates/#code-snippet-highlighting) with `linenos`. [#1437](https://github.com/mmistakes/minimal-mistakes/issues/1437)
|
||||||
|
* Round top-right corner of code block icon.
|
||||||
|
* Remove Lunr.js trimmer and bring back colons. [#1445](https://github.com/mmistakes/minimal-mistakes/pull/1445)
|
||||||
|
* Fix sticky `.sidebar` that overlaps main content when resizing viewport. [#1447](https://github.com/mmistakes/minimal-mistakes/issues/1447)
|
||||||
|
|
||||||
|
## [4.8.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.8.1)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
* Add linkback functionality to author avatar and name in sidebar via `author.home`. [#1386](https://github.com/mmistakes/minimal-mistakes/pull/1386)
|
||||||
|
* Add Japanese localized UI text strings. [#1411](https://github.com/mmistakes/minimal-mistakes/pull/1411)
|
||||||
|
* Update Lunr.js to 2.1.5 [#1419](https://github.com/mmistakes/minimal-mistakes/pull/1419)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Fixed broken link to Staticman's page [#1422](https://github.com/mmistakes/minimal-mistakes/pull/1422)
|
||||||
|
* Fix Lunr search to work with number tags. [#1409](https://github.com/mmistakes/minimal-mistakes/issues/1409) [#1419](https://github.com/mmistakes/minimal-mistakes/pull/1419)
|
||||||
|
|
||||||
|
## [4.8.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.8.0)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
* Open social share links in a new window. [#1357](https://github.com/mmistakes/minimal-mistakes/pull/1357)
|
||||||
|
* Remove Alexa.com verification due to retiring of "[Claim Your Site](https://support.alexa.com/hc/en-us/articles/219135887)" feature. [#1350](https://github.com/mmistakes/minimal-mistakes/issues/1350)
|
||||||
|
* Disable analytics in `development` environment. [#1362](https://github.com/mmistakes/minimal-mistakes/pull/1362)
|
||||||
|
* Disable comments in `development` environment. [#1363](https://github.com/mmistakes/minimal-mistakes/pull/1363)
|
||||||
|
* Exclude specific pages/posts from search index by adding `search: false` to the YAML Front Matter. [#1369](https://github.com/mmistakes/minimal-mistakes/pull/1369)
|
||||||
|
* Add optional `description` key to masthead links for clarifying their purpose with the `title` attribute. [#1380](https://github.com/mmistakes/minimal-mistakes/pull/1380)
|
||||||
|
* Incorporate site search into masthead. [#1383](https://github.com/mmistakes/minimal-mistakes/pull/1383)
|
||||||
|
* Update gem dependencies. [#1388](https://github.com/mmistakes/minimal-mistakes/pull/1388)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Fix `post.content` typo in `assets/js/lunr-en.js`. [#1354](https://github.com/mmistakes/minimal-mistakes/pull/1354)
|
||||||
|
* Fix "lunr-en.js:1 Uncaught SyntaxError: Unexpected token <" in `assets/js/lunr-en.js`. [#1356](https://github.com/mmistakes/minimal-mistakes/pull/1356)
|
||||||
|
* Rename Naver verification `naver_site_verification` to be consistent with other site variables.
|
||||||
|
* Fix button class in "Post with Table Of Contents" demo content. [#1368](https://github.com/mmistakes/minimal-mistakes/pull/1368)
|
||||||
|
* Fix capitalization of WordPress in documentation. [#1381](https://github.com/mmistakes/minimal-mistakes/pull/1381)
|
||||||
|
* Fix zh-HK UI text to point to Traditional Chinese. [#1374](https://github.com/mmistakes/minimal-mistakes/issues/1374) [#1389](https://github.com/mmistakes/minimal-mistakes/pull/1389)
|
||||||
|
|
||||||
|
## [4.7.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.7.1)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
* Add search layout powered by [Lunr](https://lunrjs.com/). [#1353](https://github.com/mmistakes/minimal-mistakes/pull/1353)
|
||||||
|
* Use [jekyll-remote-theme](https://github.com/benbalter/jekyll-remote-theme) for demo site. [#1339](https://github.com/mmistakes/minimal-mistakes/issues/1339)
|
||||||
|
* Add note about WordPress to Staticman comment migration tool in documentation. [#1346](https://github.com/mmistakes/minimal-mistakes/issues/1346)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Change `http` to `https` for Jekyll and Browserhappy links. [#1342](https://github.com/mmistakes/minimal-mistakes/pull/1342) [#1343](https://github.com/mmistakes/minimal-mistakes/pull/1343)
|
||||||
|
* Change `http` author profile links to `https` when supported. [#1349](https://github.com/mmistakes/minimal-mistakes/pull/1349)
|
||||||
|
* Fix broken SCSS partial links in layouts documentation. [#1351](https://github.com/mmistakes/minimal-mistakes/issues/1351)
|
||||||
|
|
||||||
|
## [4.7.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.7.0)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
* Add `alt` description to avatar image. [#1226](https://github.com/mmistakes/minimal-mistakes/pull/1226)
|
||||||
|
* Clarify documentation about which `assets` folders and files to remove when migrating to the gem version of the theme. [#1268](https://github.com/mmistakes/minimal-mistakes/issues/1268)
|
||||||
|
* Add note about Staticman GitHub compatibility. [#1273](https://github.com/mmistakes/minimal-mistakes/issues/1273)
|
||||||
|
* Add missing Brazilian Portuguese translations to `ui-text.yml`. [#1278](https://github.com/mmistakes/minimal-mistakes/pull/1278)
|
||||||
|
* Update font stack documentation. [#1292](https://github.com/mmistakes/minimal-mistakes/pull/1292)
|
||||||
|
* Improve accessibility of navigation menu button. [#1099](https://github.com/mmistakes/minimal-mistakes/issues/1099)
|
||||||
|
* Add Naver Webmaster Tools verification. [#1286](https://github.com/mmistakes/minimal-mistakes/pull/1286)
|
||||||
|
* Add support for Staticman v2 endpoint and reCAPTCHA.
|
||||||
|
* Add Polish localized UI text strings. [#1304](https://github.com/mmistakes/minimal-mistakes/pull/1304)
|
||||||
|
* Add toggleable table of contents via YAML Front Matter. Note: `toc` helper include will be deprecated in next major version. [#1222](https://github.com/mmistakes/minimal-mistakes/issues/1222)
|
||||||
|
* Refactor seo.html include to DRY-up page image handling.
|
||||||
|
* Add support for setting what image is used by OpenGraph and Twitter via `page.header.og_image`. [#1316](https://github.com/mmistakes/minimal-mistakes/issues/1316)
|
||||||
|
* Fix the spelling of some product names in the author profile. [#1328](https://github.com/mmistakes/minimal-mistakes/pull/1328)
|
||||||
|
* Add `aqua`, `neon`, and `plum` skins. [#1336](https://github.com/mmistakes/minimal-mistakes/pull/1336)
|
||||||
|
* Update **jekyll-toc** with heading classes fix. [#1337](https://github.com/mmistakes/minimal-mistakes/pull/1337)
|
||||||
|
* Remove `+` from Google+ author link to allow non-vanity URLs. [#1319](https://github.com/mmistakes/minimal-mistakes/pull/1319)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Fix system font rendering in Chrome on macOS/OS X. [#1290](https://github.com/mmistakes/minimal-mistakes/pull/1290)
|
||||||
|
* Fix extra padding in syntax highlighted code blocks due to Rouge 2 adding `<div class="highlight"></div>` to markup.
|
||||||
|
|
||||||
|
## [4.6.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.6.0)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
* Test strict Front Matter in `/test` site. [#1236](https://github.com/mmistakes/minimal-mistakes/pull/1236)
|
||||||
|
* Rename `gems` key to `plugins`. [#1239](https://github.com/mmistakes/minimal-mistakes/pull/1239)
|
||||||
|
* Add [YIQ Color Contrast](https://github.com/easy-designs/yiq-color-contrast) mixin for determining lightness of a color.
|
||||||
|
* DRY up button CSS using Sass lists and YIQ Color Contrast mixin.
|
||||||
|
* Add `btn--primary` button class. **Note:** elements that were previously using only a `.btn` class will now also need `.btn--primary` (eg. `<a class="btn btn--primary" href="#">my link</a>`).
|
||||||
|
* Add `air`, `contrast`, `dark`, `dirt`, `mint`, and `sunrise` skin color options. [#1208](https://github.com/mmistakes/minimal-mistakes/issues/1208)
|
||||||
|
* Allow scripts in `<head>` and before `</body>` to be added/overridden with `head_scripts` and `footer_scripts` arrays in `_config.yml`. [#1241](https://github.com/mmistakes/minimal-mistakes/pull/1241)
|
||||||
|
* Update JavaScript dependencies: jQuery `v3.2.1`, jQuery Smooth Scroll `v2.2.0`, and Magnific Popup `v1.1.0`. [#328690652](https://github.com/mmistakes/minimal-mistakes/pull/1241#issuecomment-328690652)
|
||||||
|
|
||||||
|
## [4.5.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.5.2)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
* Add `.page__comments-form` to "non-printing" selectors in print styles. [#1195](https://github.com/mmistakes/minimal-mistakes/pull/1195)
|
||||||
|
* Add LinkedIn and Steam author sidebar examples to `_config.yml`. [#1203](https://github.com/mmistakes/minimal-mistakes/pull/1203) [#1204](https://github.com/mmistakes/minimal-mistakes/pull/1204)
|
||||||
|
* Remove the http-equiv="cleartype" meta tag. [#1087](https://github.com/mmistakes/minimal-mistakes/pull/1087)
|
||||||
|
* Clarify documentation for `jekyll-archives` plugin and how to install. [#1206](https://github.com/mmistakes/minimal-mistakes/pull/1206)
|
||||||
|
* Clarify documentation around taxonomy page and index generation. [#1207](https://github.com/mmistakes/minimal-mistakes/pull/1207)
|
||||||
|
* Fix "Posts by tag" grammar in documentation. [#1209](https://github.com/mmistakes/minimal-mistakes/pull/1209)
|
||||||
|
* Improve Chinese `date_label` and `minute_read` translations in `ui-text.yml`. [#1205](https://github.com/mmistakes/minimal-mistakes/pull/1205) [#1211](https://github.com/mmistakes/minimal-mistakes/pull/1211)
|
||||||
|
* Add note to Quick-Start Guide about GitHub Pages hosting alternatives that allow 3rd party gem themes and Jekyll plugins.
|
||||||
|
* Add note to configuration documentation about Cloudflare minification as an alternative to `layout: compress`. [#1217](https://github.com/mmistakes/minimal-mistakes/pull/1217)
|
||||||
|
* Show 4 latest posts in "You May Also Enjoy" module when `related: true` and no related posts are found due to `lsi` ([latent semantic indexing](https://en.wikipedia.org/wiki/Latent_semantic_analysis#Latent_semantic_indexing)) being disabled on GitHub Pages. [#554](https://github.com/mmistakes/minimal-mistakes/issues/554)
|
||||||
|
* Truncate archive item titles' that overflow with an ellipsis. [#1213](https://github.com/mmistakes/minimal-mistakes/issues/1213)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Fix license URL in README file. [#1189](https://github.com/mmistakes/minimal-mistakes/pull/1189)
|
||||||
|
* Reduce amount of blank pages when printing in Chrome. [#1196](https://github.com/mmistakes/minimal-mistakes/issues/1196)
|
||||||
|
* Remove `#disqus_thread` duplicate from `comments-providers/disqus.html` as it is already in `comments.html` include. [#1199](https://github.com/mmistakes/minimal-mistakes/issues/1199)
|
||||||
|
* Fix Liquid syntax errors in `tag-list.html` and `category-list.html` includes by removing parenthesis in `assign`s. [#1223](https://github.com/mmistakes/minimal-mistakes/issues/1223)
|
||||||
|
* Fix Liquid syntax error: "Expected id but found open_square in `"{{ page.[include.id] }}"`" in `gallery` and `feature_row` includes.
|
||||||
|
* Fix Liquid syntax error: "Expected end_of_string but found pipe in `"name in __names | sort"`" in `group-by-array` include.
|
||||||
|
|
||||||
|
## [4.5.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.5.1)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
* Add Greek and Danish localized UI text strings. [#1159](https://github.com/mmistakes/minimal-mistakes/pull/1159) [#1188](https://github.com/mmistakes/minimal-mistakes/pull/1188)
|
||||||
|
* Remove blank YAML Front Matter from JavaScript banner. [#1158](https://github.com/mmistakes/minimal-mistakes/issues/1158)
|
||||||
|
* Improve `page` and `archive` layouts to visually center main content and harmonize sidebar widths and placement. [#1166](https://github.com/mmistakes/minimal-mistakes/pull/1166)
|
||||||
|
* Increase font-size of code blocks.
|
||||||
|
* Reduce indent of nested "table of contents" links.
|
||||||
|
* Extend [archive grid view](https://mmistakes.github.io/minimal-mistakes/docs/layouts/) to the right to better fill the page.
|
||||||
|
* URL encode title and page URL in social share links. [#1177](https://github.com/mmistakes/minimal-mistakes/pull/1177)
|
||||||
|
* Replace old Disqus script with new Universal Embed Code. [#1179](https://github.com/mmistakes/minimal-mistakes/pull/1179)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Fix positioning of sidebar table of contents when using `layout: splash`. [#1169](https://github.com/mmistakes/minimal-mistakes/issues/1169)
|
||||||
|
* Fix "follow" links `z-index` order to avoid overlapping issues. [#1167](https://github.com/mmistakes/minimal-mistakes/issues/1167)
|
||||||
|
|
||||||
|
### Maintenance
|
||||||
|
|
||||||
|
* Fix typo `words_per_minute` typo in documentation. [#1164](https://github.com/mmistakes/minimal-mistakes/pull/1164)
|
||||||
|
* Remove outside and right borders in `table`s.
|
||||||
|
* Adjust width of `.sidebar` to match `.sidebar__right`.
|
||||||
|
* Add sample documents to ["portfolio" collection](https://mmistakes.github.io/minimal-mistakes/portfolio/) for testing grid view.
|
||||||
|
* Fix typo in stylesheets documentation. [#1170](https://github.com/mmistakes/minimal-mistakes/pull/1170)
|
||||||
|
* Add note about setting Discourse `server` as a scheme-less URL (eg. `meta.discourse.com` and not `http://meta.discourse.com`) in `_config.yml`. [#1182](https://github.com/mmistakes/minimal-mistakes/issues/1182)
|
||||||
|
|
||||||
|
## [4.5.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.5.0)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
* Add scrollbar to sidebars with overflowing content that extends outside the viewport's height. [#706](https://github.com/mmistakes/minimal-mistakes/issues/706)
|
||||||
|
* Add missing Spanish UI text strings. [#1118](https://github.com/mmistakes/minimal-mistakes/pull/1118)
|
||||||
|
* Update Susy to version 3 and rewrite grid CSS to be more readable.
|
||||||
|
* Refactor intro animations into a separate Sass variable `$intro-transition` to allow for customizing. [#1147](https://github.com/mmistakes/minimal-mistakes/pull/1147)
|
||||||
|
* Add [**jekyll-data**](https://github.com/ashmaroli/jekyll-data) as a dependency to read data files from theme-gem. [#1131](https://github.com/mmistakes/minimal-mistakes/pull/1131)
|
||||||
|
* Add support for customizing header image alternative text through YAML Front Matter. [#1138](https://github.com/mmistakes/minimal-mistakes/pull/1138)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Fix Sass `DEPRECATION WARNING: Passing a string to call()` by [upgrading Susy to version 3](https://github.com/mmistakes/minimal-mistakes/commit/387f8149d6270b876f224a57a07062ffb0647938). [#1114](https://github.com/mmistakes/minimal-mistakes/issues/1114)
|
||||||
|
* Fix disappearing author profile links due to tapping the "Follow" button and changing a browser's viewport width to > `$lg`. [#1136](https://github.com/mmistakes/minimal-mistakes/issues/1136)
|
||||||
|
|
||||||
|
### Maintenance
|
||||||
|
|
||||||
|
* Replace reference to "Basically Basic theme" with **Minimal Mistakes**. [#1149](https://github.com/mmistakes/minimal-mistakes/pull/1149)
|
||||||
|
* Add documentation for disabling CSS3 animations. [#1150](https://github.com/mmistakes/minimal-mistakes/pull/1150)
|
||||||
|
* Update quickstart, installation, and overriding defaults documentation. [#1151](https://github.com/mmistakes/minimal-mistakes/pull/1151)
|
||||||
|
|
||||||
|
## [4.4.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.4.2)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
* Add Swedish, Dutch, and Indonesian localized UI text strings. [#996](https://github.com/mmistakes/minimal-mistakes/pull/996) [#1081](https://github.com/mmistakes/minimal-mistakes/pull/1081) [#1101](https://github.com/mmistakes/minimal-mistakes/pull/1101)
|
||||||
|
* Add Bitbucket social icon color. [#1009](https://github.com/mmistakes/minimal-mistakes/pull/1009)
|
||||||
|
* Add GitLab to author sidebar. [#1050](https://github.com/mmistakes/minimal-mistakes/pull/1050)
|
||||||
|
* Add Sass variable for navicon link hover color. [#1089](https://github.com/mmistakes/minimal-mistakes/pull/1089) [#1088](https://github.com/mmistakes/minimal-mistakes/pull/1088)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Toggle close button on `mouseleave`. [#975](https://github.com/mmistakes/minimal-mistakes/issues/975)
|
||||||
|
* Remove extraneous `</a>` and `</li>` tags from `paginator.html` include. [#1038](https://github.com/mmistakes/minimal-mistakes/pull/1038)
|
||||||
|
* Fix Google+ comments provider includes. [#1092](https://github.com/mmistakes/minimal-mistakes/issues/1092)
|
||||||
|
* Replace category variable used in `_includes/breadcrumbs.html` to `site.category_archive` to avoid conflicts with `site.categories`. [#1063](https://github.com/mmistakes/minimal-mistakes/pull/1063) [#329](https://github.com/mmistakes/minimal-mistakes/issues/329)
|
||||||
|
|
||||||
|
### Maintenance
|
||||||
|
|
||||||
|
* Add mention of Greek localized UI text strings to theme documentation. [#972](https://github.com/mmistakes/minimal-mistakes/pull/972)
|
||||||
|
* Update Greek localized UI text strings. [#1054](https://github.com/mmistakes/minimal-mistakes/pull/1054)
|
||||||
|
* Add documentation for adding teaser images in grid view using `header.teaser`.
|
||||||
|
|
||||||
|
## [4.4.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.4.1)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
* Add Greek localized UI text strings. [#958](https://github.com/mmistakes/minimal-mistakes/pull/958)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Fix `video` helper to load Vimeo videos over https. [#945](https://github.com/mmistakes/minimal-mistakes/pull/945)
|
||||||
|
* Fix close menu button that was removed when updating Greedy navigation script. [#969](https://github.com/mmistakes/minimal-mistakes/issues/969)
|
||||||
|
|
||||||
|
## [4.4.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.4.0)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
* Move SCSS partials to `/_sass/minimal-mistakes` for easier CSS customization.
|
||||||
|
* Replace `modified` with `last_modified_at` to leverage various Jekyll plugins that utilize this variable. [#930](https://github.com/mmistakes/minimal-mistakes/pull/930)
|
||||||
|
* Add Lithuanian localized UI text. [#924](https://github.com/mmistakes/minimal-mistakes/pull/924)
|
||||||
|
* Improve print stylesheet by increasing text contrast, removing elements that don't need to be printed, expanding URLs, and reducing amount of blank pages. [#909](https://github.com/mmistakes/minimal-mistakes/issues/909)
|
||||||
|
|
||||||
|
### Maintenance
|
||||||
|
|
||||||
|
* Remove extra word in comment. [#911](https://github.com/mmistakes/minimal-mistakes/pull/911)
|
||||||
|
* Fix typo in Utility Class docs. [#915](https://github.com/mmistakes/minimal-mistakes/pull/915)
|
||||||
|
|
||||||
|
## [4.3.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.3.1)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Fix `.masthead` and `.page__footer` overlapping full screen video elements. [#933](https://github.com/mmistakes/minimal-mistakes/issues/933)
|
||||||
|
* Correctly show Related Posts heading when UI Text data file is omitted and `related: true` in YAML Front Matter. [#901](https://github.com/mmistakes/minimal-mistakes/pull/901)
|
||||||
|
|
||||||
|
## [4.3.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.3.0)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
* Add workaround to allow theme gem's `/assets/js/main.min.js` file to be overridden by a local version. Simply add the following YAML Front Matter to the file:
|
||||||
|
|
||||||
|
```
|
||||||
|
---
|
||||||
|
layout:
|
||||||
|
---
|
||||||
|
```
|
||||||
|
|
||||||
|
Any local customizations you make to `/assets/js/main.min.js` should now replace the theme gem's version.
|
||||||
|
|
||||||
## [4.2.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.2.2)
|
## [4.2.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.2.2)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
||||||
- Update [Greedy Navigation](https://github.com/lukejacksonn/GreedyNav) to flexbox version to make it more flexible when dealing with long site titles (`site.title`). [#836](https://github.com/mmistakes/minimal-mistakes/issues/836)
|
* Update [Greedy Navigation](https://github.com/lukejacksonn/GreedyNav) to flexbox version to make it more flexible when dealing with long site titles (`site.title`). [#836](https://github.com/mmistakes/minimal-mistakes/issues/836)
|
||||||
- Adjust `box-shadow` in navigation and author sidebar. [#576](https://github.com/mmistakes/minimal-mistakes/pull/576)
|
* Adjust `box-shadow` in navigation and author sidebar. [#576](https://github.com/mmistakes/minimal-mistakes/pull/576)
|
||||||
- Add Russian, Korean, and zh-TW localized UI text. [#815](https://github.com/mmistakes/minimal-mistakes/issues/815) [#834](https://github.com/mmistakes/minimal-mistakes/pull/834) [#838](https://github.com/mmistakes/minimal-mistakes/pull/838)
|
* Add Russian, Korean, and zh-TW localized UI text. [#815](https://github.com/mmistakes/minimal-mistakes/issues/815) [#834](https://github.com/mmistakes/minimal-mistakes/pull/834) [#838](https://github.com/mmistakes/minimal-mistakes/pull/838)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
- Fix Discourse embedded comments bug. [#823](https://github.com/mmistakes/minimal-mistakes/issues/823)
|
* Fix Discourse embedded comments bug. [#823](https://github.com/mmistakes/minimal-mistakes/issues/823)
|
||||||
- Fix `seo_author` default value in `seo.html` and add `author` meta. [#858](https://github.com/mmistakes/minimal-mistakes/pull/858)
|
* Fix `seo_author` default value in `seo.html` and add `author` meta. [#858](https://github.com/mmistakes/minimal-mistakes/pull/858)
|
||||||
|
|
||||||
### Maintenance
|
### Maintenance
|
||||||
|
|
||||||
- Add theme meta info to `_layouts/default.html` and `main.css`.
|
* Add theme meta info to `_layouts/default.html` and `main.css`.
|
||||||
- Update README.
|
* Update README.
|
||||||
- Improve the pagination and taxonomy archive documentation. [#826](https://github.com/mmistakes/minimal-mistakes/pull/826)
|
* Improve the pagination and taxonomy archive documentation. [#826](https://github.com/mmistakes/minimal-mistakes/pull/826)
|
||||||
- Add comments to `/docs/_config.yml` to clarify use of YAML references. [#847](https://github.com/mmistakes/minimal-mistakes/pull/847)
|
* Add comments to `/docs/_config.yml` to clarify use of YAML references. [#847](https://github.com/mmistakes/minimal-mistakes/pull/847)
|
||||||
|
|
||||||
## [4.2.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.2.1)
|
## [4.2.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.2.1)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
||||||
- Improve `paginator.html` to support paginated pages that live inside of a subfolder. See [documentation](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#home-page) for more details. [#764](https://github.com/mmistakes/minimal-mistakes/pull/764/)
|
* Improve `paginator.html` to support paginated pages that live inside of a subfolder. See [documentation](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#home-page) for more details. [#764](https://github.com/mmistakes/minimal-mistakes/pull/764/)
|
||||||
|
|
||||||
### Maintenance
|
### Maintenance
|
||||||
|
|
||||||
- Add `https` protocol to Google Universal Analytics embed. [#772](https://github.com/mmistakes/minimal-mistakes/pull/772)
|
* Add `https` protocol to Google Universal Analytics embed. [#772](https://github.com/mmistakes/minimal-mistakes/pull/772)
|
||||||
|
|
||||||
## [4.2.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.2.0)
|
## [4.2.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.2.0)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
||||||
- Add `video` helper (for YouTube/Vimeo) and video headers to `single`, `archive`, and `splash` layouts. [#788](https://github.com/mmistakes/minimal-mistakes/pull/788)
|
* Add `video` helper (for YouTube/Vimeo) and video headers to `single`, `archive`, and `splash` layouts. [#788](https://github.com/mmistakes/minimal-mistakes/pull/788)
|
||||||
- Add missing simplified Chinese localized UI text strings. [#747](https://github.com/mmistakes/minimal-mistakes/pull/747)
|
* Add missing simplified Chinese localized UI text strings. [#747](https://github.com/mmistakes/minimal-mistakes/pull/747)
|
||||||
- Add Nepali (Nepalese) localized UI text strings. [#785](https://github.com/mmistakes/minimal-mistakes/pull/785)
|
* Add Nepali (Nepalese) localized UI text strings. [#785](https://github.com/mmistakes/minimal-mistakes/pull/785)
|
||||||
- Remove borders from table elements found in Google Custom Search Engine widget. [#759](https://github.com/mmistakes/minimal-mistakes/issues/759)
|
* Remove borders from table elements found in Google Custom Search Engine widget. [#759](https://github.com/mmistakes/minimal-mistakes/issues/759)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
- Remove `position: sticky` JavaScript polyfill and fallback to default positioning for browsers that don't support it. [#752](https://github.com/mmistakes/minimal-mistakes/issues/752)
|
* Remove `position: sticky` JavaScript polyfill and fallback to default positioning for browsers that don't support it. [#752](https://github.com/mmistakes/minimal-mistakes/issues/752)
|
||||||
|
|
||||||
### Maintenance
|
### Maintenance
|
||||||
|
|
||||||
- Fix invalid Google Universal Analytics example in documentation. [#783](https://github.com/mmistakes/minimal-mistakes/pull/783)
|
* Fix invalid Google Universal Analytics example in documentation. [#783](https://github.com/mmistakes/minimal-mistakes/pull/783)
|
||||||
- Bump `jekyll-sitemap` gem dependency to (1.0).
|
* Bump `jekyll-sitemap` gem dependency to (1.0).
|
||||||
|
|
||||||
## [4.1.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.1.1)
|
## [4.1.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.1.1)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
||||||
- Remove hardcoded `words_per_minute` "less than" and "minute read" values and make dynamic. [#703](https://github.com/mmistakes/minimal-mistakes/issues/703)
|
* Remove hardcoded `words_per_minute` "less than" and "minute read" values and make dynamic. [#703](https://github.com/mmistakes/minimal-mistakes/issues/703)
|
||||||
- Update Font Awesome to `v4.7.0`. [#723](https://github.com/mmistakes/minimal-mistakes/issues/723), [#722](https://github.com/mmistakes/minimal-mistakes/issues/722)
|
* Update Font Awesome to `v4.7.0`. [#723](https://github.com/mmistakes/minimal-mistakes/issues/723), [#722](https://github.com/mmistakes/minimal-mistakes/issues/722)
|
||||||
- Add support for YouTube channel URLs in author profile. [#716](https://github.com/mmistakes/minimal-mistakes/issues/716)
|
* Add support for YouTube channel URLs in author profile. [#716](https://github.com/mmistakes/minimal-mistakes/issues/716)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
- Add Jekyll as `spec.add_runtime_dependency` in `.gemspec`.
|
* Add Jekyll as `spec.add_runtime_dependency` in `.gemspec`.
|
||||||
|
|
||||||
## [4.1.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.1.0)
|
## [4.1.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.1.0)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
||||||
- Add Jekyll include for adding [custom author profile links](https://github.com/mmistakes/minimal-mistakes/blob/master/_includes/author-profile-custom-links.html) to sidebar
|
* Add Jekyll include for adding [custom author profile links](https://github.com/mmistakes/minimal-mistakes/blob/master/_includes/author-profile-custom-links.html) to sidebar
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
- Fix link to Discourse.org homepage in `noscript` section [#699](https://github.com/mmistakes/minimal-mistakes/pull/699)
|
* Fix link to Discourse.org homepage in `noscript` section [#699](https://github.com/mmistakes/minimal-mistakes/pull/699)
|
||||||
- Fix padding issue with pagination buttons [#694](https://github.com/mmistakes/minimal-mistakes/issues/694)
|
* Fix padding issue with pagination buttons [#694](https://github.com/mmistakes/minimal-mistakes/issues/694)
|
||||||
|
|
||||||
## [4.0.10](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.10)
|
## [4.0.10](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.10)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
- Add Staticman default `path`. [#683](https://github.com/mmistakes/minimal-mistakes/issues/683)
|
* Add Staticman default `path`. [#683](https://github.com/mmistakes/minimal-mistakes/issues/683)
|
||||||
|
|
||||||
### Maintenance
|
### Maintenance
|
||||||
|
|
||||||
- Slight correction/improvements to French UI text. [#685](https://github.com/mmistakes/minimal-mistakes/pull/685)
|
* Slight correction/improvements to French UI text. [#685](https://github.com/mmistakes/minimal-mistakes/pull/685)
|
||||||
|
|
||||||
## [4.0.9](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.9)
|
## [4.0.9](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.9)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
- Fix overlapping sidebar navigation lists due to `max-height: 100vh`. [#668](https://github.com/mmistakes/minimal-mistakes/issues/668)
|
* Fix overlapping sidebar navigation lists due to `max-height: 100vh`. [#668](https://github.com/mmistakes/minimal-mistakes/issues/668)
|
||||||
|
|
||||||
## [4.0.8](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.8)
|
## [4.0.8](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.8)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
- Set default value for `words_per_minute`. [#657](https://github.com/mmistakes/minimal-mistakes/issues/657)
|
* Set default value for `words_per_minute`. [#657](https://github.com/mmistakes/minimal-mistakes/issues/657)
|
||||||
- Adjust sidebar navigation list CSS so it collapses at the correct width.
|
* Adjust sidebar navigation list CSS so it collapses at the correct width.
|
||||||
|
|
||||||
### Maintenance
|
### Maintenance
|
||||||
|
|
||||||
- Add Google AdSense banner to `/docs/_layouts/default.html` for demo site.
|
* Add Google AdSense banner to `/docs/_layouts/default.html` for demo site.
|
||||||
|
|
||||||
## [4.0.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.7)
|
## [4.0.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.7)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
||||||
- Add `!default` values to **_sass/_variables.scss**.
|
* Add `!default` values to **\_sass/\_variables.scss**.
|
||||||
- Collapse sidebar navigation lists on smaller screens. [#607](https://github.com/mmistakes/minimal-mistakes/issues/607)
|
* Collapse sidebar navigation lists on smaller screens. [#607](https://github.com/mmistakes/minimal-mistakes/issues/607)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
- Rename `#comments` to something more unique to avoid clashes with Kramdown generated headline IDs. [#582](https://github.com/mmistakes/minimal-mistakes/issues/582)
|
* Rename `#comments` to something more unique to avoid clashes with Kramdown generated headline IDs. [#582](https://github.com/mmistakes/minimal-mistakes/issues/582)
|
||||||
|
|
||||||
### Maintenance
|
### Maintenance
|
||||||
|
|
||||||
- Reorganize SCSS partials in **assets/css/main.scss**
|
* Reorganize SCSS partials in **assets/css/main.scss**
|
||||||
|
|
||||||
## [4.0.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.6)
|
## [4.0.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.6)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
||||||
- Add [`figure` helper](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#figure) to make generating a `<figure>` element with a single image and caption easier. [#572](https://github.com/mmistakes/minimal-mistakes/pull/572)
|
* Add [`figure` helper](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#figure) to make generating a `<figure>` element with a single image and caption easier. [#572](https://github.com/mmistakes/minimal-mistakes/pull/572)
|
||||||
- Add structured data markup for `itemprop="person"` in author profile sidebar. [#647](https://github.com/mmistakes/minimal-mistakes/pull/647)
|
* Add structured data markup for `itemprop="person"` in author profile sidebar. [#647](https://github.com/mmistakes/minimal-mistakes/pull/647)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
- Fix improper YAML formatting of some locales. [#651](https://github.com/mmistakes/minimal-mistakes/pull/651)
|
* Fix improper YAML formatting of some locales. [#651](https://github.com/mmistakes/minimal-mistakes/pull/651)
|
||||||
|
|
||||||
### Maintenance
|
### Maintenance
|
||||||
|
|
||||||
- Clarify "migrating to gem-theme" instructions in **Quick Start Guide**.
|
* Clarify "migrating to gem-theme" instructions in **Quick Start Guide**.
|
||||||
- Add `rake preview` task for testing `/test` during theme development.
|
* Add `rake preview` task for testing `/test` during theme development.
|
||||||
|
|
||||||
## [4.0.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.5)
|
## [4.0.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.5)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
||||||
- Update gems: `jekyll-sitemap` (0.12), `jekyll-feed` (0.8).
|
* Update gems: `jekyll-sitemap` (0.12), `jekyll-feed` (0.8).
|
||||||
- Improve next/previous pager links visibility by changing gray color to blue (`$link-color`).
|
* Improve next/previous pager links visibility by changing gray color to blue (`$link-color`).
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
- Fix `.sidebar` flicker/jump when hovered. [#583](https://github.com/mmistakes/minimal-mistakes/issues/583)
|
* Fix `.sidebar` flicker/jump when hovered. [#583](https://github.com/mmistakes/minimal-mistakes/issues/583)
|
||||||
|
|
||||||
### Maintenance
|
### Maintenance
|
||||||
|
|
||||||
- Move contents of `gh-pages` branch to `master` inside of the `/docs` folder.
|
* Move contents of `gh-pages` branch to `master` inside of the `/docs` folder.
|
||||||
|
|
||||||
## [4.0.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.4)
|
## [4.0.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.4)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
||||||
- "Gemify" theme ~> `gem "minimal-mistakes-jekyll"`
|
* "Gemify" theme ~> `gem "minimal-mistakes-jekyll"`
|
||||||
- Replace `base_path` include with `absolute_url` filter where possible.
|
* Replace `base_path` include with `absolute_url` filter where possible.
|
||||||
- Allow images to be placed in other folders. Remove `/images/` only restriction and encourage placement in `/assets/images/` instead. **Full paths are now required. If upgrading from MM 3.4 add `/images/` before filenames in Front Matter and `_config.yml` variables.**
|
* Allow images to be placed in other folders. Remove `/images/` only restriction and encourage placement in `/assets/images/` instead. **Full paths are now required. If upgrading from MM 3.4 add `/images/` before filenames in Front Matter and `_config.yml` variables.**
|
||||||
- Add [home `layout`](https://github.com/mmistakes/minimal-mistakes/blob/master/_layouts/home.html)
|
* Add [home `layout`](https://github.com/mmistakes/minimal-mistakes/blob/master/_layouts/home.html)
|
||||||
- Added missing Turkish translations for UI text. [#621](https://github.com/mmistakes/minimal-mistakes/pull/621)
|
* Added missing Turkish translations for UI text. [#621](https://github.com/mmistakes/minimal-mistakes/pull/621)
|
||||||
- Make author avatar optional in sidebar.
|
* Make author avatar optional in sidebar.
|
||||||
- Update **/_includes/seo.html** for meta description. [#558](https://github.com/mmistakes/minimal-mistakes/pull/558)
|
* Update **/\_includes/seo.html** for meta description. [#558](https://github.com/mmistakes/minimal-mistakes/pull/558)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
- Fix navigation bar animation "flicker" in Safari [#568](https://github.com/mmistakes/minimal-mistakes/issues/568)
|
* Fix navigation bar animation "flicker" in Safari [#568](https://github.com/mmistakes/minimal-mistakes/issues/568)
|
||||||
- Fix `author.avatar` paths for externally hosted images.
|
* Fix `author.avatar` paths for externally hosted images.
|
||||||
|
|
||||||
### Maintenance
|
### Maintenance
|
||||||
|
|
||||||
- Add documentation around `gem "minimal-mistakes-jekyll"` installation and use.
|
* Add documentation around `gem "minimal-mistakes-jekyll"` installation and use.
|
||||||
- Add note about using full image paths for eg. `assets/images/filename.jpg` (header images, overlays, galleries, feature rows, etc.) instead of assuming they will always be in `/images/`.
|
* Add note about using full image paths for eg. `assets/images/filename.jpg` (header images, overlays, galleries, feature rows, etc.) instead of assuming they will always be in `/images/`.
|
||||||
- Add "[Overriding Theme Defaults](https://mmistakes.github.io/minimal-mistakes/docs/overriding-theme-defaults/)" page to documentation.
|
* Add "[Overriding Theme Defaults](https://mmistakes.github.io/minimal-mistakes/docs/overriding-theme-defaults/)" page to documentation.
|
||||||
|
|
||||||
## [3.4.8](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.8)
|
## [3.4.8](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.8)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
||||||
- Improve type readability for larger viewports by bumping up base `font-size`. [#533](https://github.com/mmistakes/minimal-mistakes/issues/533)
|
* Improve type readability for larger viewports by bumping up base `font-size`. [#533](https://github.com/mmistakes/minimal-mistakes/issues/533)
|
||||||
- Update Portuguese localized UI text. [#541](https://github.com/mmistakes/minimal-mistakes/pull/541)
|
* Update Portuguese localized UI text. [#541](https://github.com/mmistakes/minimal-mistakes/pull/541)
|
||||||
- Add `page.title` and via parameter to Twitter share link. [#538](https://github.com/mmistakes/minimal-mistakes/pull/538)
|
* Add `page.title` and via parameter to Twitter share link. [#538](https://github.com/mmistakes/minimal-mistakes/pull/538)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
- Fix Last.fm author profile URL. [#540](https://github.com/mmistakes/minimal-mistakes/pull/540)
|
* Fix Last.fm author profile URL. [#540](https://github.com/mmistakes/minimal-mistakes/pull/540)
|
||||||
|
|
||||||
### Maintenance
|
### Maintenance
|
||||||
|
|
||||||
- Move Brazilian Portuguese localized text under `pt-BR` key.
|
* Move Brazilian Portuguese localized text under `pt-BR` key.
|
||||||
|
|
||||||
## [3.4.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.7)
|
## [3.4.7](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.7)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
||||||
- Add `layout` based and user-defined class names to `<body>` element for added CSS hooks. [#526](https://github.com/mmistakes/minimal-mistakes/pull/526)
|
* Add `layout` based and user-defined class names to `<body>` element for added CSS hooks. [#526](https://github.com/mmistakes/minimal-mistakes/pull/526)
|
||||||
- Add simplified Chinese localized UI text. [#532](https://github.com/mmistakes/minimal-mistakes/pull/532)
|
* Add simplified Chinese localized UI text. [#532](https://github.com/mmistakes/minimal-mistakes/pull/532)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
- Remove duplicate include of `base_path` in category-list.html [#522](https://github.com/mmistakes/minimal-mistakes/pull/522)
|
* Remove duplicate include of `base_path` in category-list.html [#522](https://github.com/mmistakes/minimal-mistakes/pull/522)
|
||||||
|
|
||||||
## [3.4.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.6)
|
## [3.4.6](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.6)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
||||||
- Add Italian "comments" related localized UI text. [#514](https://github.com/mmistakes/minimal-mistakes/pull/514)
|
* Add Italian "comments" related localized UI text. [#514](https://github.com/mmistakes/minimal-mistakes/pull/514)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
- Disable `compress` HTML layout by default. To enable add `layout: compress` to `_layouts/default.html`.
|
* Disable `compress` HTML layout by default. To enable add `layout: compress` to `_layouts/default.html`.
|
||||||
|
|
||||||
## [3.4.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.5)
|
## [3.4.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.5)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
||||||
- Improve line numbered code block styling when using `{% highlight linenos %}` tag. [#513](https://github.com/mmistakes/minimal-mistakes/issues/513)
|
* Improve line numbered code block styling when using `{% highlight linenos %}` tag. [#513](https://github.com/mmistakes/minimal-mistakes/issues/513)
|
||||||
- Add English fallback to "Follow" button label. [#496](https://github.com/mmistakes/minimal-mistakes/pull/496)
|
* Add English fallback to "Follow" button label. [#496](https://github.com/mmistakes/minimal-mistakes/pull/496)
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
- Fix Firefox alignment issues with code blocks generated with the `{% highlight %}` tag. [#512](https://github.com/mmistakes/minimal-mistakes/issues/512)
|
* Fix Firefox alignment issues with code blocks generated with the `{% highlight %}` tag. [#512](https://github.com/mmistakes/minimal-mistakes/issues/512)
|
||||||
|
|
||||||
### Maintenance
|
### Maintenance
|
||||||
|
|
||||||
@@ -487,7 +999,7 @@
|
|||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
- Fix `Liquid Exception: undefined method 'gsub' for nil:NilClass in _layouts/single.html` error when `page.title` is null. `<h1>` element is now conditional if `title: ` is not set for a `page` or collection item. [#312](https://github.com/mmistakes/minimal-mistakes/issues/312)
|
- Fix `Liquid Exception: undefined method 'gsub' for nil:NilClass in _layouts/single.html` error when `page.title` is null. `<h1>` element is now conditional if `title:` is not set for a `page` or collection item. [#312](https://github.com/mmistakes/minimal-mistakes/issues/312)
|
||||||
|
|
||||||
### Maintenance
|
### Maintenance
|
||||||
|
|
||||||
@@ -563,6 +1075,7 @@
|
|||||||
- Added optional GitHub and Bitbucket links to footer if set on `site.author` in `_config.yml`.
|
- Added optional GitHub and Bitbucket links to footer if set on `site.author` in `_config.yml`.
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
- Fixed Bitbucket URL typo in author sidebar.
|
- Fixed Bitbucket URL typo in author sidebar.
|
||||||
|
|
||||||
## [3.0.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.0.3)
|
## [3.0.3](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.0.3)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
|
||||||
Copyright (c) 2016 Michael Rose
|
Copyright (c) 2013-2019 Michael Rose and contributors
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
@@ -1,12 +1,19 @@
|
|||||||
# [Minimal Mistakes Jekyll Theme](https://mmistakes.github.io/minimal-mistakes/)
|
# [Minimal Mistakes Jekyll theme](https://mmistakes.github.io/minimal-mistakes/)
|
||||||
|
|
||||||
[](https://github.com/mmistakes/minimal-mistakes/releases) [](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE)
|
[](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE)
|
||||||
|
[](https://jekyllrb.com/)
|
||||||
|
[](https://rubygems.org/gems/minimal-mistakes-jekyll)
|
||||||
|
[](https://www.paypal.me/mmistakes)
|
||||||
|
|
||||||
Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your personal site, blog, or portfolio on GitHub or self-hosting on your own server. As the name implies --- styling is purposely minimalistic to be enhanced and customized by you :smile:.
|
Minimal Mistakes is a flexible two-column Jekyll theme, perfect for building personal sites, blogs, and portfolios. As the name implies, styling is purposely minimalistic to be enhanced and customized by you :smile:.
|
||||||
|
|
||||||
See what's new in the [CHANGELOG](CHANGELOG.md).
|
:sparkles: See what's new in the [CHANGELOG](CHANGELOG.md).
|
||||||
|
|
||||||
:sparkles: Minimal Mistakes is now available as a [Ruby gem](https://rubygems.org/gems/minimal-mistakes-jekyll). Consult the [Quick-Start Guide](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/) and [this blog post](https://mmistakes.github.io/minimal-mistakes/jekyll/gemified-theme-beta/) to learn how to upgrade.
|
**If you enjoy this theme, please consider [supporting me](https://www.paypal.me/mmistakes) to continue developing and maintaining it.**
|
||||||
|
|
||||||
|
[](https://www.paypal.me/mmistakes)
|
||||||
|
|
||||||
|
**Note:** The theme uses the [jekyll-include-cache](https://github.com/benbalter/jekyll-include-cache) plugin which will need to be installed in your `Gemfile` and added to the `plugins` array of `_config.yml`. Otherwise you'll throw `Unknown tag 'include_cached'` errors at build.
|
||||||
|
|
||||||
[![Minimal Mistakes live preview][2]][1]
|
[![Minimal Mistakes live preview][2]][1]
|
||||||
|
|
||||||
@@ -15,19 +22,36 @@ See what's new in the [CHANGELOG](CHANGELOG.md).
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Notable Features
|
## Notable features
|
||||||
|
|
||||||
- "Gemified" for easier install/upgrading
|
- Bundled as a "theme gem" for easier installation/upgrading.
|
||||||
- Compatible with Jekyll 3.x and GitHub Pages
|
- Compatible with GitHub Pages.
|
||||||
- Support for Jekyll's built-in Sass/SCSS preprocessor
|
- Support for Jekyll's built-in Sass/SCSS preprocessor.
|
||||||
- Several responsive layout options (single, archive index, splash, and paginated home page)
|
- Nine different skins (color variations).
|
||||||
- SEO optimized with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data
|
- Several responsive layout options (single, archive index, search, splash, and paginated home page).
|
||||||
|
- Optimized for search engines with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data.
|
||||||
- Optional [header images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more.
|
- Optional [header images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more.
|
||||||
- Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), static-based via [Staticman](https://staticman.net/), and custom).
|
- Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), static-based via [Staticman](https://staticman.net/), and [utterances](https://utteranc.es/)).
|
||||||
- [Google Analytics](https://www.google.com/analytics/) support.
|
- [Google Analytics](https://www.google.com/analytics/) support.
|
||||||
- UI localized text in English (default), Brazilian Portuguese, Chinese, French, German, Italian, Korean, Nepali (Nepalese), Russian, Spanish, and Turkish
|
- UI localized text in English (default), Brazilian Portuguese (Português brasileiro), Chinese, Danish, Dutch, French (Français), German (Deutsch), Greek, Hindi (हिंदी), Hungarian, Indonesian, Italian (Italiano), Japanese, Korean, Malayalam, Nepali (Nepalese), Persian (فارسی), Polish, Punjabi (ਪੰਜਾਬੀ), Romanian, Russian, Slovak, Spanish (Español), Swedish, Thai, Turkish (Türkçe), and Vietnamese.
|
||||||
|
|
||||||
## Demo Pages
|
## Skins (color variations)
|
||||||
|
|
||||||
|
This theme comes in nine different skins (including the default one).
|
||||||
|
|
||||||
|
| `air` | `contrast` | `dark` |
|
||||||
|
| --- | --- | --- |
|
||||||
|
|  |  |  |
|
||||||
|
|
||||||
|
| `dirt` | `mint` | `sunrise` |
|
||||||
|
| --- | --- | --- |
|
||||||
|
|  |  |  |
|
||||||
|
|
||||||
|
| `aqua` | `neon` | `plum` |
|
||||||
|
| --- | --- | --- |
|
||||||
|
|  |  |  |
|
||||||
|
|
||||||
|
## Demo pages
|
||||||
|
|
||||||
| Name | Description |
|
| Name | Description |
|
||||||
| ------------------------------------------- | ----------------------------------------------------- |
|
| ------------------------------------------- | ----------------------------------------------------- |
|
||||||
@@ -37,7 +61,7 @@ See what's new in the [CHANGELOG](CHANGELOG.md).
|
|||||||
| [Post with a Gallery][gallery-post] | A post showing several images wrapped in `<figure>` elements. |
|
| [Post with a Gallery][gallery-post] | A post showing several images wrapped in `<figure>` elements. |
|
||||||
| [Sample Collection Page][sample-collection] | Single page from a collection. |
|
| [Sample Collection Page][sample-collection] | Single page from a collection. |
|
||||||
| [Categories Archive][categories-archive] | Posts grouped by category. |
|
| [Categories Archive][categories-archive] | Posts grouped by category. |
|
||||||
| [Tags Archive][tags-archive] | Posts grouped by tags. |
|
| [Tags Archive][tags-archive] | Posts grouped by tag. |
|
||||||
|
|
||||||
Additional sample posts are available under [posts archive][year-archive] on the demo site. Source files for these (and the entire demo site) can be found in [`/docs`](docs).
|
Additional sample posts are available under [posts archive][year-archive] on the demo site. Source files for these (and the entire demo site) can be found in [`/docs`](docs).
|
||||||
|
|
||||||
@@ -50,34 +74,64 @@ Additional sample posts are available under [posts archive][year-archive] on the
|
|||||||
[tags-archive]: https://mmistakes.github.io/minimal-mistakes/tags/
|
[tags-archive]: https://mmistakes.github.io/minimal-mistakes/tags/
|
||||||
[year-archive]: https://mmistakes.github.io/minimal-mistakes/year-archive/
|
[year-archive]: https://mmistakes.github.io/minimal-mistakes/year-archive/
|
||||||
|
|
||||||
## Usage
|
## Installation
|
||||||
|
|
||||||
For detailed instructions on how to configure, customize, add content, and more read the [theme's documentation](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/).
|
There are three ways to install: as a [gem-based theme](https://jekyllrb.com/docs/themes/#understanding-gem-based-themes), as a [remote theme](https://blog.github.com/2017-11-29-use-any-theme-with-github-pages/) (GitHub Pages compatible), or forking/directly copying all of the theme files into your project.
|
||||||
|
|
||||||
**Note:** Gem version of the theme requires Jekyll v3.3+ and is not currently supported on [GitHub Pages](https://pages.github.com/). You can still use the theme with GitHub Pages, you'll just need to install using the old "[repo fork method](https://mmistakes.github.io/minimal-mistakes/docs/installation/)".
|
### Gem-based method
|
||||||
|
|
||||||
## Quick Start
|
With Gem-based themes, directories such as the `assets`, `_layouts`, `_includes`, and `_sass` are stored in the theme’s gem, hidden from your immediate view. Yet all of the necessary directories will be read and processed during Jekyll’s build process.
|
||||||
|
|
||||||
Add this line to your Jekyll site's `Gemfile`:
|
This allows for easier installation and updating as you don't have to manage any of the theme files. To install:
|
||||||
|
|
||||||
```ruby
|
1. Add the following to your `Gemfile`:
|
||||||
gem "minimal-mistakes-jekyll"
|
|
||||||
```
|
|
||||||
|
|
||||||
Add this line to your Jekyll site's `_config.yml` file:
|
```ruby
|
||||||
|
gem "minimal-mistakes-jekyll"
|
||||||
|
```
|
||||||
|
|
||||||
```yaml
|
2. Fetch and update bundled gems by running the following [Bundler](http://bundler.io/) command:
|
||||||
theme: minimal-mistakes-jekyll
|
|
||||||
```
|
|
||||||
|
|
||||||
Then run Bundler to install the theme gem and dependencies:
|
```bash
|
||||||
|
bundle
|
||||||
|
```
|
||||||
|
|
||||||
```bash
|
3. Set the `theme` in your project's Jekyll `_config.yml` file:
|
||||||
bundle install
|
|
||||||
```
|
```yaml
|
||||||
|
theme: minimal-mistakes-jekyll
|
||||||
|
```
|
||||||
|
|
||||||
To update the theme run `bundle update`.
|
To update the theme run `bundle update`.
|
||||||
|
|
||||||
|
### Remote theme method
|
||||||
|
|
||||||
|
Remote themes are similar to Gem-based themes, but do not require `Gemfile` changes or whitelisting making them ideal for sites hosted with GitHub Pages.
|
||||||
|
|
||||||
|
To install:
|
||||||
|
|
||||||
|
1. Create/replace the contents of your `Gemfile` with the following:
|
||||||
|
|
||||||
|
```ruby
|
||||||
|
source "https://rubygems.org"
|
||||||
|
|
||||||
|
gem "github-pages", group: :jekyll_plugins
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Add `jekyll-include-cache` to the `plugins` array of your `_config.yml`.
|
||||||
|
|
||||||
|
3. Fetch and update bundled gems by running the following [Bundler](http://bundler.io/) command:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
bundle
|
||||||
|
```
|
||||||
|
|
||||||
|
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.16.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
For detailed instructions on how to configure, customize, add/migrate content, and more read the [theme's documentation](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/).
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
@@ -90,7 +144,11 @@ This goes for author sidebar links and "share button" additions -- I have no int
|
|||||||
|
|
||||||
### Pull Requests
|
### Pull Requests
|
||||||
|
|
||||||
To help me out try to avoid creating pull requests on `master` and instead branch off of `develop`. It's much easier for me to test, merge, and roll them into new releases this way.
|
When submitting a pull request:
|
||||||
|
|
||||||
|
1. Clone the repo.
|
||||||
|
2. Create a branch off of `master` and give it a meaningful name (e.g. `my-awesome-new-feature`).
|
||||||
|
3. Open a pull request on GitHub and describe the feature or fix.
|
||||||
|
|
||||||
Theme documentation and demo pages can be found in the [`/docs`](docs) if submitting improvements, typo corrections, etc.
|
Theme documentation and demo pages can be found in the [`/docs`](docs) if submitting improvements, typo corrections, etc.
|
||||||
|
|
||||||
@@ -115,7 +173,7 @@ To test the theme, run `bundle exec rake preview` and open your browser at `http
|
|||||||
### Icons + Demo Images:
|
### Icons + Demo Images:
|
||||||
|
|
||||||
- [The Noun Project](https://thenounproject.com) -- Garrett Knoll, Arthur Shlain, and [tracy tam](https://thenounproject.com/tracytam)
|
- [The Noun Project](https://thenounproject.com) -- Garrett Knoll, Arthur Shlain, and [tracy tam](https://thenounproject.com/tracytam)
|
||||||
- [Font Awesome](http://fortawesome.github.io/Font-Awesome/)
|
- [Font Awesome](http://fontawesome.io/)
|
||||||
- [Unsplash](https://unsplash.com/)
|
- [Unsplash](https://unsplash.com/)
|
||||||
|
|
||||||
### Other:
|
### Other:
|
||||||
@@ -126,8 +184,10 @@ To test the theme, run `bundle exec rake preview` and open your browser at `http
|
|||||||
- [Breakpoint](http://breakpoint-sass.com/)
|
- [Breakpoint](http://breakpoint-sass.com/)
|
||||||
- [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/)
|
- [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/)
|
||||||
- [FitVids.JS](http://fitvidsjs.com/)
|
- [FitVids.JS](http://fitvidsjs.com/)
|
||||||
- Greedy Navigation - [lukejacksonn](http://codepen.io/lukejacksonn/pen/PwmwWV)
|
- [GreedyNav.js](https://github.com/lukejacksonn/GreedyNav)
|
||||||
- [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll)
|
- [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll)
|
||||||
|
- [jQuery throttle / debounce](http://benalman.com/projects/jquery-throttle-debounce-plugin/)
|
||||||
|
- [Lunr](http://lunrjs.com)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -135,7 +195,7 @@ To test the theme, run `bundle exec rake preview` and open your browser at `http
|
|||||||
|
|
||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
|
||||||
Copyright (c) 2016 Michael Rose
|
Copyright (c) 2013-2019 Michael Rose and contributors
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
@@ -154,3 +214,53 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
SOFTWARE.
|
SOFTWARE.
|
||||||
|
|
||||||
|
Minimal Mistakes incorporates icons from [The Noun Project](https://thenounproject.com/)
|
||||||
|
creators Garrett Knoll, Arthur Shlain, and tracy tam.
|
||||||
|
Icons are distributed under Creative Commons Attribution 3.0 United States (CC BY 3.0 US).
|
||||||
|
|
||||||
|
Minimal Mistakes incorporates [Font Awesome](http://fontawesome.io/),
|
||||||
|
Copyright (c) 2017 Dave Gandy.
|
||||||
|
Font Awesome is distributed under the terms of the [SIL OFL 1.1](http://scripts.sil.org/OFL)
|
||||||
|
and [MIT License](http://opensource.org/licenses/MIT).
|
||||||
|
|
||||||
|
Minimal Mistakes incorporates photographs from [Unsplash](https://unsplash.com).
|
||||||
|
|
||||||
|
Minimal Mistakes incorporates [Susy](http://susy.oddbird.net/),
|
||||||
|
Copyright (c) 2017, Miriam Eric Suzanne.
|
||||||
|
Susy is distributed under the terms of the [BSD 3-clause "New" or "Revised" License](https://opensource.org/licenses/BSD-3-Clause).
|
||||||
|
|
||||||
|
Minimal Mistakes incorporates [Breakpoint](http://breakpoint-sass.com/).
|
||||||
|
Breakpoint is distributed under the terms of the [MIT/GPL Licenses](http://opensource.org/licenses/MIT).
|
||||||
|
|
||||||
|
Minimal Mistakes incorporates [FitVids.js](https://github.com/davatron5000/FitVids.js/),
|
||||||
|
Copyright (c) 2013 Dave Rubert and Chris Coyier.
|
||||||
|
FitVids is distributed under the terms of the [WTFPL License](http://sam.zoy.org/wtfpl/).
|
||||||
|
|
||||||
|
Minimal Mistakes incorporates [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/),
|
||||||
|
Copyright (c) 2014-2016 Dmitry Semenov, http://dimsemenov.com.
|
||||||
|
Magnific Popup is distributed under the terms of the MIT License.
|
||||||
|
|
||||||
|
Minimal Mistakes incorporates [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll),
|
||||||
|
Copyright (c) 2017 Karl Swedberg.
|
||||||
|
jQuery Smooth Scroll is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
||||||
|
|
||||||
|
Minimal Mistakes incorporates [jQuery throttle / debounce](http://benalman.com/projects/jquery-throttle-debounce-plugin/),
|
||||||
|
Copyright (c) 2010 "Cowboy" Ben Alman.
|
||||||
|
jQuery throttle / debounce is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
||||||
|
|
||||||
|
Minimal Mistakes incorporates [GreedyNav.js](https://github.com/lukejacksonn/GreedyNav),
|
||||||
|
Copyright (c) 2015 Luke Jackson.
|
||||||
|
GreedyNav.js is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
||||||
|
|
||||||
|
Minimal Mistakes incorporates [Jekyll Group-By-Array](https://github.com/mushishi78/jekyll-group-by-array),
|
||||||
|
Copyright (c) 2015 Max White <mushishi78@gmail.com>.
|
||||||
|
Jekyll Group-By-Array is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
||||||
|
|
||||||
|
Minimal Mistakes incorporates [@allejo's Pure Liquid Jekyll Table of Contents](https://allejo.io/blog/a-jekyll-toc-in-liquid-only/),
|
||||||
|
Copyright (c) 2017 Vladimir Jimenez.
|
||||||
|
Pure Liquid Jekyll Table of Contents is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
||||||
|
|
||||||
|
Minimal Mistakes incorporates [Lunr](http://lunrjs.com),
|
||||||
|
Copyright (c) 2018 Oliver Nightingale.
|
||||||
|
Lunr is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
||||||
|
|||||||
@@ -44,6 +44,7 @@ task :preview do
|
|||||||
|
|
||||||
ENV["LISTEN_GEM_DEBUGGING"] = "1"
|
ENV["LISTEN_GEM_DEBUGGING"] = "1"
|
||||||
listener = Listen.to(
|
listener = Listen.to(
|
||||||
|
base.join("_data"),
|
||||||
base.join("_includes"),
|
base.join("_includes"),
|
||||||
base.join("_layouts"),
|
base.join("_layouts"),
|
||||||
base.join("_sass"),
|
base.join("_sass"),
|
||||||
|
|||||||
+91
-42
@@ -5,8 +5,17 @@
|
|||||||
# For technical reasons, this file is *NOT* reloaded automatically when you use
|
# For technical reasons, this file is *NOT* reloaded automatically when you use
|
||||||
# `jekyll serve`. If you change this file, please restart the server process.
|
# `jekyll serve`. If you change this file, please restart the server process.
|
||||||
|
|
||||||
|
# Theme Settings
|
||||||
|
#
|
||||||
|
# Review documentation to determine if you should use `theme` or `remote_theme`
|
||||||
|
# https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/#installing-the-theme
|
||||||
|
|
||||||
|
# theme : "minimal-mistakes-jekyll"
|
||||||
|
# remote_theme : "mmistakes/minimal-mistakes"
|
||||||
|
minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"
|
||||||
|
|
||||||
# Site Settings
|
# Site Settings
|
||||||
locale : "en"
|
locale : "en-US"
|
||||||
title : "Site Title"
|
title : "Site Title"
|
||||||
title_separator : "-"
|
title_separator : "-"
|
||||||
name : "Your Name"
|
name : "Your Name"
|
||||||
@@ -15,10 +24,12 @@ url : # the base hostname & protocol for your site e.g. "ht
|
|||||||
baseurl : # the subpath of your site, e.g. "/blog"
|
baseurl : # the subpath of your site, e.g. "/blog"
|
||||||
repository : # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes"
|
repository : # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes"
|
||||||
teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png"
|
teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png"
|
||||||
|
logo : # path of logo image to display in the masthead, e.g. "/assets/images/88x88.png"
|
||||||
|
masthead_title : # overrides the website title displayed in the masthead, use " " for no title
|
||||||
# breadcrumbs : false # true, false (default)
|
# breadcrumbs : false # true, false (default)
|
||||||
words_per_minute : 200
|
words_per_minute : 200
|
||||||
comments:
|
comments:
|
||||||
provider : # false (default), "disqus", "discourse", "facebook", "google-plus", "staticman", "custom"
|
provider : # false (default), "disqus", "discourse", "facebook", "staticman", "staticman_v2", "utterances", "custom"
|
||||||
disqus:
|
disqus:
|
||||||
shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
|
shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
|
||||||
discourse:
|
discourse:
|
||||||
@@ -28,30 +39,47 @@ comments:
|
|||||||
appid :
|
appid :
|
||||||
num_posts : # 5 (default)
|
num_posts : # 5 (default)
|
||||||
colorscheme : # "light" (default), "dark"
|
colorscheme : # "light" (default), "dark"
|
||||||
|
utterances:
|
||||||
|
theme : # "github-light" (default), "github-dark"
|
||||||
|
issue_term : # "pathname" (default)
|
||||||
staticman:
|
staticman:
|
||||||
allowedFields : ['name', 'email', 'url', 'message']
|
allowedFields : # ['name', 'email', 'url', 'message']
|
||||||
branch : "master"
|
branch : # "master"
|
||||||
commitMessage : "New comment."
|
commitMessage : # "New comment by {fields.name}"
|
||||||
filename : comment-{@timestamp}
|
filename : # comment-{@timestamp}
|
||||||
format : "yml"
|
format : # "yml"
|
||||||
moderation : true
|
moderation : # true
|
||||||
path : "docs/_data/comments/{options.slug}" # "/_data/comments/{options.slug}" (default)
|
path : # "/_data/comments/{options.slug}" (default)
|
||||||
requiredFields : ['name', 'email', 'message']
|
requiredFields : # ['name', 'email', 'message']
|
||||||
transforms:
|
transforms:
|
||||||
email : "md5"
|
email : # "md5"
|
||||||
generatedFields:
|
generatedFields:
|
||||||
date:
|
date:
|
||||||
type : "date"
|
type : # "date"
|
||||||
options:
|
options:
|
||||||
format : "iso8601" # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
|
format : # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
|
||||||
|
endpoint : # URL of your own deployment with trailing slash, will fallback to the public instance
|
||||||
|
reCaptcha:
|
||||||
|
siteKey :
|
||||||
|
secret :
|
||||||
atom_feed:
|
atom_feed:
|
||||||
path : # blank (default) uses feed.xml
|
path : # blank (default) uses feed.xml
|
||||||
|
search : # true, false (default)
|
||||||
|
search_full_content : # true, false (default)
|
||||||
|
search_provider : # lunr (default), algolia, google
|
||||||
|
algolia:
|
||||||
|
application_id : # YOUR_APPLICATION_ID
|
||||||
|
index_name : # YOUR_INDEX_NAME
|
||||||
|
search_only_api_key : # YOUR_SEARCH_ONLY_API_KEY
|
||||||
|
powered_by : # true (default), false
|
||||||
|
google:
|
||||||
|
search_engine_id : # YOUR_SEARCH_ENGINE_ID
|
||||||
|
instant_search : # false (default), true
|
||||||
# SEO Related
|
# SEO Related
|
||||||
google_site_verification :
|
google_site_verification :
|
||||||
bing_site_verification :
|
bing_site_verification :
|
||||||
alexa_site_verification :
|
|
||||||
yandex_site_verification :
|
yandex_site_verification :
|
||||||
|
naver_site_verification :
|
||||||
|
|
||||||
# Social Sharing
|
# Social Sharing
|
||||||
twitter:
|
twitter:
|
||||||
@@ -73,6 +101,7 @@ analytics:
|
|||||||
provider : false # false (default), "google", "google-universal", "custom"
|
provider : false # false (default), "google", "google-universal", "custom"
|
||||||
google:
|
google:
|
||||||
tracking_id :
|
tracking_id :
|
||||||
|
anonymize_ip : # true, false (default)
|
||||||
|
|
||||||
|
|
||||||
# Site Author
|
# Site Author
|
||||||
@@ -82,29 +111,47 @@ author:
|
|||||||
bio : "I am an amazing person."
|
bio : "I am an amazing person."
|
||||||
location : "Somewhere"
|
location : "Somewhere"
|
||||||
email :
|
email :
|
||||||
uri :
|
links:
|
||||||
bitbucket :
|
- label: "Email"
|
||||||
codepen :
|
icon: "fas fa-fw fa-envelope-square"
|
||||||
dribbble :
|
# url: mailto:your.name@email.com
|
||||||
flickr :
|
- label: "Website"
|
||||||
facebook :
|
icon: "fas fa-fw fa-link"
|
||||||
foursquare :
|
# url: "https://your-website.com"
|
||||||
github :
|
- label: "Twitter"
|
||||||
google_plus :
|
icon: "fab fa-fw fa-twitter-square"
|
||||||
keybase :
|
# url: "https://twitter.com/"
|
||||||
instagram :
|
- label: "Facebook"
|
||||||
lastfm :
|
icon: "fab fa-fw fa-facebook-square"
|
||||||
linkedin :
|
# url: "https://facebook.com/"
|
||||||
pinterest :
|
- label: "GitHub"
|
||||||
soundcloud :
|
icon: "fab fa-fw fa-github"
|
||||||
stackoverflow : # "123456/username" (the last part of your profile url, e.g. http://stackoverflow.com/users/123456/username)
|
# url: "https://github.com/"
|
||||||
steam :
|
- label: "Instagram"
|
||||||
tumblr :
|
icon: "fab fa-fw fa-instagram"
|
||||||
twitter :
|
# url: "https://instagram.com/"
|
||||||
vine :
|
|
||||||
weibo :
|
# Site Footer
|
||||||
xing :
|
footer:
|
||||||
youtube : # "https://youtube.com/c/MichaelRoseDesign"
|
links:
|
||||||
|
- label: "Twitter"
|
||||||
|
icon: "fab fa-fw fa-twitter-square"
|
||||||
|
# url:
|
||||||
|
- label: "Facebook"
|
||||||
|
icon: "fab fa-fw fa-facebook-square"
|
||||||
|
# url:
|
||||||
|
- label: "GitHub"
|
||||||
|
icon: "fab fa-fw fa-github"
|
||||||
|
# url:
|
||||||
|
- label: "GitLab"
|
||||||
|
icon: "fab fa-fw fa-gitlab"
|
||||||
|
# url:
|
||||||
|
- label: "Bitbucket"
|
||||||
|
icon: "fab fa-fw fa-bitbucket"
|
||||||
|
# url:
|
||||||
|
- label: "Instagram"
|
||||||
|
icon: "fab fa-fw fa-instagram"
|
||||||
|
# url:
|
||||||
|
|
||||||
|
|
||||||
# Reading Files
|
# Reading Files
|
||||||
@@ -174,16 +221,17 @@ sass:
|
|||||||
permalink: /:categories/:title/
|
permalink: /:categories/:title/
|
||||||
paginate: 5 # amount of posts to show
|
paginate: 5 # amount of posts to show
|
||||||
paginate_path: /page:num/
|
paginate_path: /page:num/
|
||||||
timezone: # http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
timezone: # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
||||||
|
|
||||||
|
|
||||||
# Plugins
|
# Plugins (previously gems:)
|
||||||
gems:
|
plugins:
|
||||||
- jekyll-paginate
|
- jekyll-paginate
|
||||||
- jekyll-sitemap
|
- jekyll-sitemap
|
||||||
- jekyll-gist
|
- jekyll-gist
|
||||||
- jekyll-feed
|
- jekyll-feed
|
||||||
- jemoji
|
- jemoji
|
||||||
|
- jekyll-include-cache
|
||||||
|
|
||||||
# mimic GitHub Pages with --safe
|
# mimic GitHub Pages with --safe
|
||||||
whitelist:
|
whitelist:
|
||||||
@@ -192,6 +240,7 @@ whitelist:
|
|||||||
- jekyll-gist
|
- jekyll-gist
|
||||||
- jekyll-feed
|
- jekyll-feed
|
||||||
- jemoji
|
- jemoji
|
||||||
|
- jekyll-include-cache
|
||||||
|
|
||||||
|
|
||||||
# Archives
|
# Archives
|
||||||
@@ -243,4 +292,4 @@ defaults:
|
|||||||
read_time: true
|
read_time: true
|
||||||
comments: # true
|
comments: # true
|
||||||
share: true
|
share: true
|
||||||
related: true
|
related: true
|
||||||
|
|||||||
+891
-72
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,9 @@
|
|||||||
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.analytics.google.tracking_id }}"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
|
||||||
|
gtag('config', '{{ site.analytics.google.tracking_id }}', { 'anonymize_ip': {{ site.analytics.google.anonymize_ip | default: false }}});
|
||||||
|
</script>
|
||||||
@@ -1,9 +1,7 @@
|
|||||||
<script>
|
<script>
|
||||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date;
|
||||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
ga('create','{{ site.analytics.google.tracking_id }}','auto');
|
||||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
ga('set', 'anonymizeIp', {{ site.analytics.google.anonymize_ip | default: false }});
|
||||||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
ga('send','pageview')
|
||||||
|
|
||||||
ga('create', '{{ site.analytics.google.tracking_id }}', 'auto');
|
|
||||||
ga('send', 'pageview');
|
|
||||||
</script>
|
</script>
|
||||||
|
<script src="https://www.google-analytics.com/analytics.js" async></script>
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var _gaq = _gaq || [];
|
var _gaq = _gaq || [];
|
||||||
_gaq.push(['_setAccount', '{{ site.analytics.google.tracking_id }}']);
|
_gaq.push(['_setAccount', '{{ site.analytics.google.tracking_id }}']);
|
||||||
|
{% if site.analytics.google.anonymize_ip == true %}
|
||||||
|
_gaq.push(['_gat._anonymizeIp']);
|
||||||
|
{% endif %}
|
||||||
_gaq.push(['_trackPageview']);
|
_gaq.push(['_trackPageview']);
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
{% if site.analytics.provider and page.analytics != false %}
|
{% if jekyll.environment == 'production' and site.analytics.provider and page.analytics != false %}
|
||||||
|
|
||||||
{% case site.analytics.provider %}
|
{% case site.analytics.provider %}
|
||||||
{% when "google" %}
|
{% when "google" %}
|
||||||
{% include /analytics-providers/google.html %}
|
{% include /analytics-providers/google.html %}
|
||||||
{% when "google-universal" %}
|
{% when "google-universal" %}
|
||||||
{% include /analytics-providers/google-universal.html %}
|
{% include /analytics-providers/google-universal.html %}
|
||||||
|
{% when "google-gtag" %}
|
||||||
|
{% include /analytics-providers/google-gtag.html %}
|
||||||
{% when "custom" %}
|
{% when "custom" %}
|
||||||
{% include /analytics-providers/custom.html %}
|
{% include /analytics-providers/custom.html %}
|
||||||
{% endcase %}
|
{% endcase %}
|
||||||
|
|||||||
@@ -11,28 +11,28 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="{{ include.type | default: "list" }}__item">
|
<div class="{{ include.type | default: "list" }}__item">
|
||||||
<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
|
<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">
|
||||||
{% if include.type == "grid" and teaser %}
|
{% if include.type == "grid" and teaser %}
|
||||||
<div class="archive__item-teaser">
|
<div class="archive__item-teaser">
|
||||||
<img src=
|
<img src=
|
||||||
{% if teaser contains "://" %}
|
{% if teaser contains "://" %}
|
||||||
"{{ teaser }}"
|
"{{ teaser }}"
|
||||||
{% else %}
|
{% else %}
|
||||||
"{{ teaser | absolute_url }}"
|
"{{ teaser | relative_url }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
alt="">
|
alt="">
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<h2 class="archive__item-title" itemprop="headline">
|
<h2 class="archive__item-title" itemprop="headline">
|
||||||
{% if post.link %}
|
{% if post.link %}
|
||||||
<a href="{{ post.link }}">{{ title }}</a> <a href="{{ post.url | absolute_url }}" rel="permalink"><i class="fa fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a>
|
<a href="{{ post.link }}">{{ title }}</a> <a href="{{ post.url | relative_url }}" rel="permalink"><i class="fas fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="{{ post.url | absolute_url }}" rel="permalink">{{ title }}</a>
|
<a href="{{ post.url | relative_url }}" rel="permalink">{{ title }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</h2>
|
</h2>
|
||||||
{% if post.read_time %}
|
{% if post.read_time %}
|
||||||
<p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p>
|
<p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
|
{% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<!--
|
<!--
|
||||||
<li>
|
<li>
|
||||||
<a href="http://link-to-whatever-social-network.com/user/" itemprop="sameAs">
|
<a href="http://link-to-whatever-social-network.com/user/" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fa fa-fw" aria-hidden="true"></i> Custom Social Profile Link
|
<i class="fas fa-fw" aria-hidden="true"></i> Custom Social Profile Link
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
-->
|
-->
|
||||||
@@ -1,23 +1,37 @@
|
|||||||
{% if page.author and site.data.authors[page.author] %}
|
{% assign author = page.author | default: page.authors[0] | default: site.author %}
|
||||||
{% assign author = site.data.authors[page.author] %}
|
{% assign author = site.data.authors[author] | default: author %}
|
||||||
{% else %}
|
|
||||||
{% assign author = site.author %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<div itemscope itemtype="http://schema.org/Person">
|
<div itemscope itemtype="https://schema.org/Person">
|
||||||
|
|
||||||
{% if author.avatar %}
|
{% if author.avatar %}
|
||||||
<div class="author__avatar">
|
<div class="author__avatar">
|
||||||
{% if author.avatar contains "://" %}
|
{% if author.avatar contains "://" %}
|
||||||
<img src="{{ author.avatar }}" alt="{{ author.name }}" itemprop="image">
|
{% assign author_src = author.avatar %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<img src="{{ author.avatar | absolute_url }}" class="author__avatar" alt="{{ author.name }}" itemprop="image">
|
{% assign author_src = author.avatar | relative_url %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if author.home %}
|
||||||
|
{% if author.home contains "://" %}
|
||||||
|
{% assign author_link = author.home %}
|
||||||
|
{% else %}
|
||||||
|
{% assign author_link = author.home | relative_url %}
|
||||||
|
{% endif %}
|
||||||
|
<a href="{{ author_link }}">
|
||||||
|
<img src="{{ author_src }}" alt="{{ author.name }}" itemprop="image">
|
||||||
|
</a>
|
||||||
|
{% else %}
|
||||||
|
<img src="{{ author_src }}" alt="{{ author.name }}" itemprop="image">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="author__content">
|
<div class="author__content">
|
||||||
<h3 class="author__name" itemprop="name">{{ author.name }}</h3>
|
{% if author.home %}
|
||||||
|
<a href="{{ author_link }}"><h3 class="author__name" itemprop="name">{{ author.name }}</h3></a>
|
||||||
|
{% else %}
|
||||||
|
<h3 class="author__name" itemprop="name">{{ author.name }}</h3>
|
||||||
|
{% endif %}
|
||||||
{% if author.bio %}
|
{% if author.bio %}
|
||||||
<p class="author__bio" itemprop="description">
|
<p class="author__bio" itemprop="description">
|
||||||
{{ author.bio }}
|
{{ author.bio }}
|
||||||
@@ -29,15 +43,23 @@
|
|||||||
<button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "Follow" }}</button>
|
<button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "Follow" }}</button>
|
||||||
<ul class="author__urls social-icons">
|
<ul class="author__urls social-icons">
|
||||||
{% if author.location %}
|
{% if author.location %}
|
||||||
<li itemprop="homeLocation" itemscope itemtype="http://schema.org/Place">
|
<li itemprop="homeLocation" itemscope itemtype="https://schema.org/Place">
|
||||||
<i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> <span itemprop="name">{{ author.location }}</span>
|
<i class="fas fa-fw fa-map-marker-alt" aria-hidden="true"></i> <span itemprop="name">{{ author.location }}</span>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if author.links %}
|
||||||
|
{% for link in author.links %}
|
||||||
|
{% if link.label and link.url %}
|
||||||
|
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if author.uri %}
|
{% if author.uri %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ author.uri }}" itemprop="url">
|
<a href="{{ author.uri }}" itemprop="url">
|
||||||
<i class="fa fa-fw fa-chain" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label | default: "Website" }}
|
<i class="fas fa-fw fa-link" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label | default: "Website" }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -46,135 +68,135 @@
|
|||||||
<li>
|
<li>
|
||||||
<a href="mailto:{{ author.email }}">
|
<a href="mailto:{{ author.email }}">
|
||||||
<meta itemprop="email" content="{{ author.email }}" />
|
<meta itemprop="email" content="{{ author.email }}" />
|
||||||
<i class="fa fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label | default: "Email" }}
|
<i class="fas fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label | default: "Email" }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.keybase %}
|
{% if author.keybase %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://keybase.io/{{ author.keybase }}" itemprop="sameAs">
|
<a href="https://keybase.io/{{ author.keybase }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fa fa-fw fa-key" aria-hidden="true"></i> Keybase
|
<i class="fas fa-fw fa-key" aria-hidden="true"></i> Keybase
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.twitter %}
|
{% if author.twitter %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs">
|
<a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter
|
<i class="fab fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.facebook %}
|
{% if author.facebook %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs">
|
<a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fa fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook
|
<i class="fab fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if author.google_plus %}
|
|
||||||
<li>
|
|
||||||
<a href="https://plus.google.com/+{{ author.google_plus }}" itemprop="sameAs">
|
|
||||||
<i class="fa fa-fw fa-google-plus-square" aria-hidden="true"></i> Google+
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.linkedin %}
|
{% if author.linkedin %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs">
|
<a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fa fa-fw fa-linkedin-square" aria-hidden="true"></i> LinkedIn
|
<i class="fab fa-fw fa-linkedin" aria-hidden="true"></i> LinkedIn
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.xing %}
|
{% if author.xing %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs">
|
<a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fa fa-fw fa-xing-square" aria-hidden="true"></i> XING
|
<i class="fab fa-fw fa-xing-square" aria-hidden="true"></i> XING
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.instagram %}
|
{% if author.instagram %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs">
|
<a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fa fa-fw fa-instagram" aria-hidden="true"></i> Instagram
|
<i class="fab fa-fw fa-instagram" aria-hidden="true"></i> Instagram
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.tumblr %}
|
{% if author.tumblr %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs">
|
<a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fa fa-fw fa-tumblr-square" aria-hidden="true"></i> Tumblr
|
<i class="fab fa-fw fa-tumblr-square" aria-hidden="true"></i> Tumblr
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.bitbucket %}
|
{% if author.bitbucket %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs">
|
<a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket
|
<i class="fab fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.github %}
|
{% if author.github %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/{{ author.github }}" itemprop="sameAs">
|
<a href="https://github.com/{{ author.github }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fa fa-fw fa-github" aria-hidden="true"></i> GitHub
|
<i class="fab fa-fw fa-github" aria-hidden="true"></i> GitHub
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if author.gitlab %}
|
||||||
|
<li>
|
||||||
|
<a href="https://gitlab.com/{{ author.gitlab }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
|
<i class="fab fa-fw fa-gitlab" aria-hidden="true"></i> GitLab
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.stackoverflow %}
|
{% if author.stackoverflow %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs">
|
<a href="https://stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fa fa-fw fa-stack-overflow" aria-hidden="true"></i> Stackoverflow
|
<i class="fab fa-fw fa-stack-overflow" aria-hidden="true"></i> Stack Overflow
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.lastfm %}
|
{% if author.lastfm %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs">
|
<a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fa fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm
|
<i class="fab fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.dribbble %}
|
{% if author.dribbble %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs">
|
<a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fa fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble
|
<i class="fab fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.pinterest %}
|
{% if author.pinterest %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs">
|
<a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fa fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest
|
<i class="fab fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.foursquare %}
|
{% if author.foursquare %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs">
|
<a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fa fa-fw fa-foursquare" aria-hidden="true"></i> Foursquare
|
<i class="fab fa-fw fa-foursquare" aria-hidden="true"></i> Foursquare
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.steam %}
|
{% if author.steam %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs">
|
<a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fa fa-fw fa-steam-square" aria-hidden="true"></i> Steam
|
<i class="fab fa-fw fa-steam" aria-hidden="true"></i> Steam
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -182,14 +204,14 @@
|
|||||||
{% if author.youtube %}
|
{% if author.youtube %}
|
||||||
{% if author.youtube contains "://" %}
|
{% if author.youtube contains "://" %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ author.youtube }}" itemprop="sameAs">
|
<a href="{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> YouTube
|
<i class="fab fa-fw fa-youtube" aria-hidden="true"></i> YouTube
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% else author.youtube %}
|
{% else author.youtube %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs">
|
<a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fa fa-fw fa-youtube-square" aria-hidden="true"></i> YouTube
|
<i class="fab fa-fw fa-youtube" aria-hidden="true"></i> YouTube
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -197,40 +219,40 @@
|
|||||||
|
|
||||||
{% if author.soundcloud %}
|
{% if author.soundcloud %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs">
|
<a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fa fa-fw fa-soundcloud" aria-hidden="true"></i> Soundcloud
|
<i class="fab fa-fw fa-soundcloud" aria-hidden="true"></i> SoundCloud
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.weibo %}
|
{% if author.weibo %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs">
|
<a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fa fa-fw fa-weibo" aria-hidden="true"></i> Weibo
|
<i class="fab fa-fw fa-weibo" aria-hidden="true"></i> Weibo
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.flickr %}
|
{% if author.flickr %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs">
|
<a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fa fa-fw fa-flickr" aria-hidden="true"></i> Flickr
|
<i class="fab fa-fw fa-flickr" aria-hidden="true"></i> Flickr
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.codepen %}
|
{% if author.codepen %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs">
|
<a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fa fa-fw fa-codepen" aria-hidden="true"></i> CodePen
|
<i class="fab fa-fw fa-codepen" aria-hidden="true"></i> CodePen
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.vine %}
|
{% if author.vine %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs">
|
<a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fa fa-fw fa-vine" aria-hidden="true"></i> Vine
|
<i class="fab fa-fw fa-vine" aria-hidden="true"></i> Vine
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
{% if site.url %}
|
|
||||||
{% assign base_path = site.url | append: site.baseurl %}
|
|
||||||
{% else %}
|
|
||||||
{% assign base_path = site.github.url %}
|
|
||||||
{% endif %}
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
{% case site.categories.type %}
|
{% case site.category_archive.type %}
|
||||||
{% when "liquid" %}
|
{% when "liquid" %}
|
||||||
{% assign path_type = "#" %}
|
{% assign path_type = "#" %}
|
||||||
{% when "jekyll-archives" %}
|
{% when "jekyll-archives" %}
|
||||||
@@ -9,16 +9,16 @@
|
|||||||
{% assign path_type = nil %}
|
{% assign path_type = nil %}
|
||||||
{% assign crumb_path = '/' %}
|
{% assign crumb_path = '/' %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% assign crumb_path = site.categories.path %}
|
{% assign crumb_path = site.category_archive.path %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<nav class="breadcrumbs">
|
<nav class="breadcrumbs">
|
||||||
<ol itemscope itemtype="http://schema.org/BreadcrumbList">
|
<ol itemscope itemtype="https://schema.org/BreadcrumbList">
|
||||||
{% assign crumbs = page.url | split: '/' %}
|
{% assign crumbs = page.url | split: '/' %}
|
||||||
{% assign i = 1 %}
|
{% assign i = 1 %}
|
||||||
{% for crumb in crumbs offset: 1 %}
|
{% for crumb in crumbs offset: 1 %}
|
||||||
{% if forloop.first %}
|
{% if forloop.first %}
|
||||||
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||||
<a href="{{ site.url }}{{ site.baseurl }}/" itemprop="item"><span itemprop="name">{{ site.data.ui-text[site.locale].breadcrumb_home_label | default: "Home" }}</span></a>
|
<a href="{{ site.url }}{{ site.baseurl }}/" itemprop="item"><span itemprop="name">{{ site.data.ui-text[site.locale].breadcrumb_home_label | default: "Home" }}</span></a>
|
||||||
<meta itemprop="position" content="{{ i }}" />
|
<meta itemprop="position" content="{{ i }}" />
|
||||||
</li>
|
</li>
|
||||||
@@ -28,12 +28,12 @@
|
|||||||
<li class="current">{{ page.title }}</li>
|
<li class="current">{{ page.title }}</li>
|
||||||
{% else %}
|
{% else %}
|
||||||
{% assign i = i | plus: 1 %}
|
{% assign i = i | plus: 1 %}
|
||||||
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||||
<a href="{{ crumb | downcase | replace: '%20', '-' | prepend: path_type | prepend: crumb_path | absolute_url }}" itemprop="item"><span itemprop="name">{{ crumb | replace: '-', ' ' | replace: '%20', ' ' | capitalize }}</span></a>
|
<a href="{{ crumb | downcase | replace: '%20', '-' | prepend: path_type | prepend: crumb_path | relative_url }}" itemprop="item"><span itemprop="name">{{ crumb | replace: '-', ' ' | replace: '%20', ' ' | capitalize }}</span></a>
|
||||||
<meta itemprop="position" content="{{ i }}" />
|
<meta itemprop="position" content="{{ i }}" />
|
||||||
</li>
|
</li>
|
||||||
<span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
|
<span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ol>
|
</ol>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<div class="notice--danger align-center" style="margin: 0;">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</div>
|
<div class="notice--danger align-center" style="margin: 0;">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience.</div>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
|
|||||||
@@ -11,15 +11,15 @@
|
|||||||
<!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
|
<!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
|
||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
{% capture page_categories %}{% for category in page.categories %}{{ category | downcase }}#{{ category }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
|
{% capture page_categories %}{% for category in page.categories %}{{ category | downcase }}#{{ category }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
|
||||||
{% assign category_hashes = (page_categories | split: ',' | sort:0) %}
|
{% assign category_hashes = page_categories | split: ',' | sort %}
|
||||||
|
|
||||||
<p class="page__taxonomy">
|
<p class="page__taxonomy">
|
||||||
<strong><i class="fa fa-fw fa-folder-open" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].categories_label | default: "Categories:" }} </strong>
|
<strong><i class="fas fa-fw fa-folder-open" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].categories_label | default: "Categories:" }} </strong>
|
||||||
<span itemprop="keywords">
|
<span itemprop="keywords">
|
||||||
{% for hash in category_hashes %}
|
{% for hash in category_hashes %}
|
||||||
{% assign keyValue = hash | split: '#' %}
|
{% assign keyValue = hash | split: '#' %}
|
||||||
{% capture category_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
|
{% capture category_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
|
||||||
<a href="{{ category_word | slugify | prepend: path_type | prepend: site.category_archive.path | absolute_url }}" class="page__taxonomy-item" rel="tag">{{ category_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
|
<a href="{{ category_word | slugify | prepend: path_type | prepend: site.category_archive.path | relative_url }}" class="page__taxonomy-item" rel="tag">{{ category_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<article id="comment{{ include.index }}" class="js-comment comment" itemprop="comment" itemscope itemtype="http://schema.org/Comment">
|
<article id="comment{{ include.index }}" class="js-comment comment" itemprop="comment" itemscope itemtype="https://schema.org/Comment">
|
||||||
<div class="comment__avatar-wrapper">
|
<div class="comment__avatar-wrapper">
|
||||||
<img class="comment__avatar" src="https://www.gravatar.com/avatar/{{ include.email }}?d=mm&s=80">
|
<img class="comment__avatar" src="https://www.gravatar.com/avatar/{{ include.email }}?d=mm&s=80" alt="{{ include.name }}">
|
||||||
</div>
|
</div>
|
||||||
<div class="comment__content-wrapper">
|
<div class="comment__content-wrapper">
|
||||||
<h3 class="comment__author" itemprop="author" itemscope itemtype="http://schema.org/Person">
|
<h3 class="comment__author" itemprop="author" itemscope itemtype="https://schema.org/Person">
|
||||||
{% unless include.url == blank %}
|
{% unless include.url == blank %}
|
||||||
<span itemprop="name"><a rel="external nofollow" itemprop="url" href="{{ include.url }}">{{ include.name }}</a></span>
|
<span itemprop="name"><a rel="external nofollow" itemprop="url" href="{{ include.url }}">{{ include.name }}</a></span>
|
||||||
{% else %}
|
{% else %}
|
||||||
@@ -19,4 +19,4 @@
|
|||||||
</p>
|
</p>
|
||||||
<div itemprop="text">{{ include.message | markdownify }}</div>
|
<div itemprop="text">{{ include.message | markdownify }}</div>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|||||||
@@ -1,22 +1,15 @@
|
|||||||
{% if site.comments.disqus.shortname %}
|
{% if site.comments.disqus.shortname %}
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
|
var disqus_config = function () {
|
||||||
var disqus_shortname = '{{ site.comments.disqus.shortname }}';
|
this.page.url = "{{ page.url | absolute_url }}"; // Replace PAGE_URL with your page's canonical URL variable
|
||||||
|
this.page.identifier = "{{ page.id }}"; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
|
||||||
/* * * DON'T EDIT BELOW THIS LINE * * */
|
};
|
||||||
(function() {
|
(function() { // DON'T EDIT BELOW THIS LINE
|
||||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
var d = document, s = d.createElement('script');
|
||||||
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
s.src = 'https://{{ site.comments.disqus.shortname }}.disqus.com/embed.js';
|
||||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
s.setAttribute('data-timestamp', +new Date());
|
||||||
})();
|
(d.head || d.body).appendChild(s);
|
||||||
|
})();
|
||||||
/* * * DON'T EDIT BELOW THIS LINE * * */
|
|
||||||
(function () {
|
|
||||||
var s = document.createElement('script'); s.async = true;
|
|
||||||
s.type = 'text/javascript';
|
|
||||||
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
|
||||||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
|
||||||
}());
|
|
||||||
</script>
|
</script>
|
||||||
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
<script async type="text/javascript" src="//apis.google.com/js/plusone.js?callback=gpcb"></script>
|
|
||||||
<noscript>Please enable JavaScript to view the <a href="https://plus.google.com/">comments powered by Google+.</a></noscript>
|
|
||||||
@@ -1,18 +1,18 @@
|
|||||||
{% if site.comments.provider and page.comments %}
|
{% if site.comments.provider and page.comments %}
|
||||||
|
|
||||||
{% case site.comments.provider %}
|
{% case site.comments.provider %}
|
||||||
{% when "disqus" %}
|
{% when "disqus" %}
|
||||||
{% include /comments-providers/disqus.html %}
|
{% include /comments-providers/disqus.html %}
|
||||||
{% when "discourse" %}
|
{% when "discourse" %}
|
||||||
{% include /comments-providers/discourse.html %}
|
{% include /comments-providers/discourse.html %}
|
||||||
{% when "facebook" %}
|
{% when "facebook" %}
|
||||||
{% include /comments-providers/facebook.html %}
|
{% include /comments-providers/facebook.html %}
|
||||||
{% when "google-plus" %}
|
{% when "staticman" %}
|
||||||
{% include /comments-providers/google-plus.html %}
|
{% include /comments-providers/staticman.html %}
|
||||||
{% when "staticman" %}
|
{% when "staticman_v2" %}
|
||||||
{% include /comments-providers/staticman.html %}
|
{% include /comments-providers/staticman_v2.html %}
|
||||||
{% when "custom" %}
|
{% when "utterances" %}
|
||||||
{% include /comments-providers/custom.html %}
|
{% include /comments-providers/utterances.html %}
|
||||||
|
{% when "custom" %}
|
||||||
|
{% include /comments-providers/custom.html %}
|
||||||
{% endcase %}
|
{% endcase %}
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -1,13 +1,11 @@
|
|||||||
{% if site.repository and site.staticman.branch %}
|
{% if site.repository and site.staticman.branch %}
|
||||||
<script>
|
<script>
|
||||||
(function ($) {
|
(function ($) {
|
||||||
var $comments = $('.js-comments');
|
|
||||||
|
|
||||||
$('#new_comment').submit(function () {
|
$('#new_comment').submit(function () {
|
||||||
var form = this;
|
var form = this;
|
||||||
|
|
||||||
$(form).addClass('disabled');
|
$(form).addClass('disabled');
|
||||||
$('#comment-form-submit').html('<i class="fa fa-spinner fa-spin fa-fw"></i> {{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}');
|
$('#comment-form-submit').html('<i class="fas fa-spinner fa-spin fa-fw"></i> {{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}');
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: $(this).attr('method'),
|
type: $(this).attr('method'),
|
||||||
@@ -39,4 +37,4 @@
|
|||||||
}
|
}
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
+2
-4
@@ -1,13 +1,11 @@
|
|||||||
{% if site.repository and site.staticman.branch %}
|
{% if site.repository and site.staticman.branch %}
|
||||||
<script>
|
<script>
|
||||||
(function ($) {
|
(function ($) {
|
||||||
var $comments = $('.js-comments');
|
|
||||||
|
|
||||||
$('#new_comment').submit(function () {
|
$('#new_comment').submit(function () {
|
||||||
var form = this;
|
var form = this;
|
||||||
|
|
||||||
$(form).addClass('disabled');
|
$(form).addClass('disabled');
|
||||||
$('#comment-form-submit').html('<i class="fa fa-spinner fa-spin fa-fw"></i> {{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}');
|
$('#comment-form-submit').html('<i class="fas fa-spinner fa-spin fa-fw"></i> {{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}');
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: $(this).attr('method'),
|
type: $(this).attr('method'),
|
||||||
@@ -39,4 +37,4 @@
|
|||||||
}
|
}
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
<script>
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
(function() {
|
||||||
|
var commentContainer = document.querySelector('#utterances-comments');
|
||||||
|
|
||||||
|
if (!commentContainer) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var script = document.createElement('script');
|
||||||
|
script.setAttribute('src', 'https://utteranc.es/client.js');
|
||||||
|
script.setAttribute('repo', '{{ site.repository }}');
|
||||||
|
script.setAttribute('issue-term', '{{ site.comments.utterances.issue_term | default: "pathname" }}');
|
||||||
|
script.setAttribute('theme', '{{ site.comments.utterances.theme | default: "github-light" }}');
|
||||||
|
script.setAttribute('crossorigin', 'anonymous');
|
||||||
|
|
||||||
|
commentContainer.appendChild(script);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
+151
-75
@@ -1,83 +1,159 @@
|
|||||||
<div class="page__comments">
|
<div class="page__comments">
|
||||||
{% capture comments_label %}{{ site.data.ui-text[site.locale].comments_label | default: "Comments" }}{% endcapture %}
|
{% capture comments_label %}{{ site.data.ui-text[site.locale].comments_label | default: "Comments" }}{% endcapture %}
|
||||||
{% case site.comments.provider %}
|
{% case site.comments.provider %}
|
||||||
{% when "discourse" %}
|
{% when "discourse" %}
|
||||||
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
||||||
<section id="discourse-comments"></section>
|
<section id="discourse-comments"></section>
|
||||||
{% when "disqus" %}
|
{% when "disqus" %}
|
||||||
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
||||||
<section id="disqus_thread"></section>
|
<section id="disqus_thread"></section>
|
||||||
{% when "facebook" %}
|
{% when "facebook" %}
|
||||||
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
||||||
<section class="fb-comments" data-href="{{ page.url | absolute_url }}" data-mobile="true" data-num-posts="{{ site.comments.facebook.num_posts | default: 5 }}" data-width="100%" data-colorscheme="{{ site.comments.facebook.colorscheme | default: 'light' }}"></section>
|
<section class="fb-comments" data-href="{{ page.url | absolute_url }}" data-mobile="true" data-num-posts="{{ site.comments.facebook.num_posts | default: 5 }}" data-width="100%" data-colorscheme="{{ site.comments.facebook.colorscheme | default: 'light' }}"></section>
|
||||||
{% when "google-plus" %}
|
{% when "staticman_v2" %}
|
||||||
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
<section id="static-comments">
|
||||||
<section class="g-comments" data-href="{{ page.url | absolute_url }}" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ Comments ...</section>
|
{% if site.repository and site.staticman.branch %}
|
||||||
{% when "staticman" %}
|
<!-- Start static comments -->
|
||||||
<section id="static-comments">
|
<div class="js-comments">
|
||||||
{% if site.repository and site.staticman.branch %}
|
{% if site.data.comments[page.slug] %}
|
||||||
<!-- Start static comments -->
|
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_title | default: "Comments" }}</h4>
|
||||||
<div class="js-comments">
|
{% assign comments = site.data.comments[page.slug] | sort %}
|
||||||
{% if site.data.comments[page.slug] %}
|
|
||||||
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_title | default: "Comments" }}</h4>
|
|
||||||
{% assign comments = site.data.comments[page.slug] | sort %}
|
|
||||||
|
|
||||||
{% for comment in comments %}
|
{% for comment in comments %}
|
||||||
{% assign email = comment[1].email %}
|
{% assign email = comment[1].email %}
|
||||||
{% assign name = comment[1].name %}
|
{% assign name = comment[1].name %}
|
||||||
{% assign url = comment[1].url %}
|
{% assign url = comment[1].url %}
|
||||||
{% assign date = comment[1].date %}
|
{% assign date = comment[1].date %}
|
||||||
{% assign message = comment[1].message %}
|
{% assign message = comment[1].message %}
|
||||||
{% include comment.html index=forloop.index email=email name=name url=url date=date message=message %}
|
{% include comment.html index=forloop.index email=email name=name url=url date=date message=message %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
|
||||||
<!-- End static comments -->
|
|
||||||
|
|
||||||
<!-- Start new comment form -->
|
|
||||||
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}</h4>
|
|
||||||
<p class="small">{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} <span class="required">*</span></p>
|
|
||||||
<form id="new_comment" class="page__comments-form js-form form" method="post" action="https://api.staticman.net/v1/entry/{{ site.repository }}/{{ site.staticman.branch }}">
|
|
||||||
<div class="form__spinner">
|
|
||||||
<i class="fa fa-spinner fa-spin fa-3x fa-fw"></i>
|
|
||||||
<span class="sr-only">{{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
<!-- End static comments -->
|
||||||
|
|
||||||
<fieldset>
|
<!-- Start new comment form -->
|
||||||
<label for="comment-form-message">{{ site.data.ui-text[site.locale].comment_form_comment_label | default: "Comment" }} <small class="required">*</small></label>
|
<div class="page__comments-form">
|
||||||
<textarea type="text" rows="3" id="comment-form-message" name="fields[message]" tabindex="1"></textarea>
|
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}</h4>
|
||||||
<div class="small help-block"><a href="https://daringfireball.net/projects/markdown/">{{ site.data.ui-text[site.locale].comment_form_md_info | default: "Markdown is supported." }}</a></div>
|
<p class="small">{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} <span class="required">*</span></p>
|
||||||
</fieldset>
|
<form id="new_comment" class="page__comments-form js-form form" method="post" action="{{ site.staticman.endpoint | default: 'https://api.staticman.net/v2/entry/' }}{{ site.repository }}/{{ site.staticman.branch }}/comments">
|
||||||
<fieldset>
|
<div class="form__spinner">
|
||||||
<label for="comment-form-name">{{ site.data.ui-text[site.locale].comment_form_name_label | default: "Name" }} <small class="required">*</small></label>
|
<i class="fas fa-spinner fa-spin fa-3x fa-fw"></i>
|
||||||
<input type="text" id="comment-form-name" name="fields[name]" tabindex="2" />
|
<span class="sr-only">{{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}</span>
|
||||||
</fieldset>
|
</div>
|
||||||
<fieldset>
|
|
||||||
<label for="comment-form-email">{{ site.data.ui-text[site.locale].comment_form_email_label | default: "Email address" }} <small class="required">*</small></label>
|
<div class="form-group">
|
||||||
<input type="email" id="comment-form-email" name="fields[email]" tabindex="3" />
|
<label for="comment-form-message">{{ site.data.ui-text[site.locale].comment_form_comment_label | default: "Comment" }} <small class="required">*</small></label>
|
||||||
</fieldset>
|
<textarea type="text" rows="3" id="comment-form-message" name="fields[message]" tabindex="1"></textarea>
|
||||||
<fieldset>
|
<div class="small help-block"><a href="https://daringfireball.net/projects/markdown/">{{ site.data.ui-text[site.locale].comment_form_md_info | default: "Markdown is supported." }}</a></div>
|
||||||
<label for="comment-form-url">{{ site.data.ui-text[site.locale].comment_form_website_label | default: "Website (optional)" }}</label>
|
</div>
|
||||||
<input type="url" id="comment-form-url" name="fields[url]" tabindex="4"/>
|
<div class="form-group">
|
||||||
</fieldset>
|
<label for="comment-form-name">{{ site.data.ui-text[site.locale].comment_form_name_label | default: "Name" }} <small class="required">*</small></label>
|
||||||
<fieldset class="hidden" style="display: none;">
|
<input type="text" id="comment-form-name" name="fields[name]" tabindex="2" />
|
||||||
<input type="hidden" name="options[slug]" value="{{ page.slug }}">
|
</div>
|
||||||
<label for="comment-form-location">Not used. Leave blank if you are a human.</label>
|
<div class="form-group">
|
||||||
<input type="text" id="comment-form-location" name="fields[hidden]" autocomplete="off"/>
|
<label for="comment-form-email">{{ site.data.ui-text[site.locale].comment_form_email_label | default: "Email address" }} <small class="required">*</small></label>
|
||||||
</fieldset>
|
<input type="email" id="comment-form-email" name="fields[email]" tabindex="3" />
|
||||||
<!-- Start comment form alert messaging -->
|
</div>
|
||||||
<p class="hidden js-notice">
|
<div class="form-group">
|
||||||
<strong class="js-notice-text"></strong>
|
<label for="comment-form-url">{{ site.data.ui-text[site.locale].comment_form_website_label | default: "Website (optional)" }}</label>
|
||||||
</p>
|
<input type="url" id="comment-form-url" name="fields[url]" tabindex="4"/>
|
||||||
<!-- End comment form alert messaging -->
|
</div>
|
||||||
<fieldset>
|
<div class="form-group hidden" style="display: none;">
|
||||||
<button type="submit" id="comment-form-submit" tabindex="5" class="btn btn--large">{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}</button>
|
<input type="hidden" name="options[slug]" value="{{ page.slug }}">
|
||||||
</fieldset>
|
<label for="comment-form-location">Not used. Leave blank if you are a human.</label>
|
||||||
</form>
|
<input type="text" id="comment-form-location" name="fields[hidden]" autocomplete="off"/>
|
||||||
<!-- End new comment form -->
|
{% if site.reCaptcha.siteKey %}<input type="hidden" name="options[reCaptcha][siteKey]" value="{{ site.reCaptcha.siteKey }}">{% endif %}
|
||||||
{% endif %}
|
{% if site.reCaptcha.secret %}<input type="hidden" name="options[reCaptcha][secret]" value="{{ site.reCaptcha.secret }}">{% endif %}
|
||||||
</section>
|
</div>
|
||||||
{% when "custom" %}
|
<!-- Start comment form alert messaging -->
|
||||||
<section id="custom-comments"></section>
|
<p class="hidden js-notice">
|
||||||
|
<strong class="js-notice-text"></strong>
|
||||||
|
</p>
|
||||||
|
<!-- End comment form alert messaging -->
|
||||||
|
{% if site.reCaptcha.siteKey %}
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="g-recaptcha" data-sitekey="{{ site.reCaptcha.siteKey }}"></div>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
<div class="form-group">
|
||||||
|
<button type="submit" id="comment-form-submit" tabindex="5" class="btn btn--primary btn--large">{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<!-- End new comment form -->
|
||||||
|
{% if site.reCaptcha.siteKey %}<script async src="https://www.google.com/recaptcha/api.js"></script>{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
</section>
|
||||||
|
{% when "staticman" %}
|
||||||
|
<section id="static-comments">
|
||||||
|
{% if site.repository and site.staticman.branch %}
|
||||||
|
<!-- Start static comments -->
|
||||||
|
<div class="js-comments">
|
||||||
|
{% if site.data.comments[page.slug] %}
|
||||||
|
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_title | default: "Comments" }}</h4>
|
||||||
|
{% assign comments = site.data.comments[page.slug] | sort %}
|
||||||
|
|
||||||
|
{% for comment in comments %}
|
||||||
|
{% assign email = comment[1].email %}
|
||||||
|
{% assign name = comment[1].name %}
|
||||||
|
{% assign url = comment[1].url %}
|
||||||
|
{% assign date = comment[1].date %}
|
||||||
|
{% assign message = comment[1].message %}
|
||||||
|
{% include comment.html index=forloop.index email=email name=name url=url date=date message=message %}
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
<!-- End static comments -->
|
||||||
|
|
||||||
|
<!-- Start new comment form -->
|
||||||
|
<div class="page__comments-form">
|
||||||
|
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}</h4>
|
||||||
|
<p class="small">{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} <span class="required">*</span></p>
|
||||||
|
<form id="new_comment" class="page__comments-form js-form form" method="post" action="https://api.staticman.net/v1/entry/{{ site.repository }}/{{ site.staticman.branch }}">
|
||||||
|
<div class="form__spinner">
|
||||||
|
<i class="fas fa-spinner fa-spin fa-3x fa-fw"></i>
|
||||||
|
<span class="sr-only">{{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="comment-form-message">{{ site.data.ui-text[site.locale].comment_form_comment_label | default: "Comment" }} <small class="required">*</small></label>
|
||||||
|
<textarea type="text" rows="3" id="comment-form-message" name="fields[message]" tabindex="1"></textarea>
|
||||||
|
<div class="small help-block"><a href="https://daringfireball.net/projects/markdown/">{{ site.data.ui-text[site.locale].comment_form_md_info | default: "Markdown is supported." }}</a></div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="comment-form-name">{{ site.data.ui-text[site.locale].comment_form_name_label | default: "Name" }} <small class="required">*</small></label>
|
||||||
|
<input type="text" id="comment-form-name" name="fields[name]" tabindex="2" />
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="comment-form-email">{{ site.data.ui-text[site.locale].comment_form_email_label | default: "Email address" }} <small class="required">*</small></label>
|
||||||
|
<input type="email" id="comment-form-email" name="fields[email]" tabindex="3" />
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="comment-form-url">{{ site.data.ui-text[site.locale].comment_form_website_label | default: "Website (optional)" }}</label>
|
||||||
|
<input type="url" id="comment-form-url" name="fields[url]" tabindex="4"/>
|
||||||
|
</div>
|
||||||
|
<div class="form-group hidden" style="display: none;">
|
||||||
|
<input type="hidden" name="options[slug]" value="{{ page.slug }}">
|
||||||
|
<label for="comment-form-location">Not used. Leave blank if you are a human.</label>
|
||||||
|
<input type="text" id="comment-form-location" name="fields[hidden]" autocomplete="off"/>
|
||||||
|
</div>
|
||||||
|
<!-- Start comment form alert messaging -->
|
||||||
|
<p class="hidden js-notice">
|
||||||
|
<strong class="js-notice-text"></strong>
|
||||||
|
</p>
|
||||||
|
<!-- End comment form alert messaging -->
|
||||||
|
<div class="form-group">
|
||||||
|
<button type="submit" id="comment-form-submit" tabindex="5" class="btn btn--primary btn--large">{{ site.data.ui-text[site.locale].comment_btn_submit | default: "Submit Comment" }}</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<!-- End new comment form -->
|
||||||
|
{% endif %}
|
||||||
|
</section>
|
||||||
|
{% when "utterances" %}
|
||||||
|
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
||||||
|
<section id="utterances-comments"></section>
|
||||||
|
{% when "custom" %}
|
||||||
|
<section id="custom-comments"></section>
|
||||||
{% endcase %}
|
{% endcase %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
{% assign entries = site[include.collection] %}
|
||||||
|
|
||||||
|
{% if include.sort_by == 'title' %}
|
||||||
|
{% if include.sort_order == 'reverse' %}
|
||||||
|
{% assign entries = entries | sort: 'title' | reverse %}
|
||||||
|
{% else %}
|
||||||
|
{% assign entries = entries | sort: 'title' %}
|
||||||
|
{% endif %}
|
||||||
|
{% elsif include.sort_by == 'date' %}
|
||||||
|
{% if include.sort_order == 'reverse' %}
|
||||||
|
{% assign entries = entries | sort: 'date' | reverse %}
|
||||||
|
{% else %}
|
||||||
|
{% assign entries = entries | sort: 'date' %}
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{%- for post in entries -%}
|
||||||
|
{% include archive-single.html %}
|
||||||
|
{%- endfor -%}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{% if include.id %}
|
{% if include.id %}
|
||||||
{% assign feature_row = page.[include.id] %}
|
{% assign feature_row = page[include.id] %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% assign feature_row = page.feature_row %}
|
{% assign feature_row = page.feature_row %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
{% if f.url contains "://" %}
|
{% if f.url contains "://" %}
|
||||||
{% capture f_url %}{{ f.url }}{% endcapture %}
|
{% capture f_url %}{{ f.url }}{% endcapture %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% capture f_url %}{{ f.url | absolute_url }}{% endcapture %}
|
{% capture f_url %}{{ f.url | relative_url }}{% endcapture %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="feature__item{% if include.type %}--{{ include.type }}{% endif %}">
|
<div class="feature__item{% if include.type %}--{{ include.type }}{% endif %}">
|
||||||
@@ -22,9 +22,12 @@
|
|||||||
{% if f.image_path contains "://" %}
|
{% if f.image_path contains "://" %}
|
||||||
"{{ f.image_path }}"
|
"{{ f.image_path }}"
|
||||||
{% else %}
|
{% else %}
|
||||||
"{{ f.image_path | absolute_url }}"
|
"{{ f.image_path | relative_url }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
alt="{% if f.alt %}{{ f.alt }}{% endif %}">
|
alt="{% if f.alt %}{{ f.alt }}{% endif %}">
|
||||||
|
{% if f.image_caption %}
|
||||||
|
<span class="archive__item-caption">{{ f.image_caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
+4
-4
@@ -3,10 +3,10 @@
|
|||||||
{% if include.image_path contains "://" %}
|
{% if include.image_path contains "://" %}
|
||||||
"{{ include.image_path }}"
|
"{{ include.image_path }}"
|
||||||
{% else %}
|
{% else %}
|
||||||
"{{ include.image_path | absolute_url }}"
|
"{{ include.image_path | relative_url }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
|
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
|
||||||
{% if include.caption %}
|
{% if include.caption %}
|
||||||
<figcaption>{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}</figcaption>
|
<figcaption>
|
||||||
{% endif %}
|
{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}
|
||||||
</figure>
|
</figcaption>{% endif %}</figure>
|
||||||
|
|||||||
+10
-13
@@ -3,20 +3,17 @@
|
|||||||
{% if site.data.ui-text[site.locale].follow_label %}
|
{% if site.data.ui-text[site.locale].follow_label %}
|
||||||
<li><strong>{{ site.data.ui-text[site.locale].follow_label }}</strong></li>
|
<li><strong>{{ site.data.ui-text[site.locale].follow_label }}</strong></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if site.twitter.username %}
|
|
||||||
<li><a href="https://twitter.com/{{ site.twitter.username }}"><i class="fa fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter</a></li>
|
{% if site.footer.links %}
|
||||||
|
{% for link in site.footer.links %}
|
||||||
|
{% if link.label and link.url %}
|
||||||
|
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if site.facebook.username %}
|
|
||||||
<li><a href="https://facebook.com/{{ site.facebook.username }}"><i class="fa fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook</a></li>
|
<li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}"><i class="fas fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label | default: "Feed" }}</a></li>
|
||||||
{% endif %}
|
|
||||||
{% if site.author.github %}
|
|
||||||
<li><a href="http://github.com/{{ site.author.github }}"><i class="fa fa-fw fa-github" aria-hidden="true"></i> GitHub</a></li>
|
|
||||||
{% endif %}
|
|
||||||
{% if site.author.bitbucket %}
|
|
||||||
<li><a href="http://bitbucket.org/{{ site.author.bitbucket }}"><i class="fa fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li>
|
|
||||||
{% endif %}
|
|
||||||
<li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | absolute_url }}{% endif %}"><i class="fa fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label | default: "Feed" }}</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="page__footer-copyright">© {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="http://jekyllrb.com" rel="nofollow">Jekyll</a> & <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div>
|
<div class="page__footer-copyright">© {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> & <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div>
|
||||||
|
|||||||
+13
-9
@@ -1,15 +1,19 @@
|
|||||||
{% if include.id %}
|
{% if include.id %}
|
||||||
{% assign gallery = page.[include.id] %}
|
{% assign gallery = page[include.id] %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% assign gallery = page.gallery %}
|
{% assign gallery = page.gallery %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if gallery.size == 2 %}
|
{% if include.layout %}
|
||||||
{% assign gallery_layout = 'half' %}
|
{% assign gallery_layout = include.layout %}
|
||||||
{% elsif gallery.size >= 3 %}
|
|
||||||
{% assign gallery_layout = 'third' %}
|
|
||||||
{% else %}
|
{% else %}
|
||||||
{% assign gallery_layout = '' %}
|
{% if gallery.size == 2 %}
|
||||||
|
{% assign gallery_layout = 'half' %}
|
||||||
|
{% elsif gallery.size >= 3 %}
|
||||||
|
{% assign gallery_layout = 'third' %}
|
||||||
|
{% else %}
|
||||||
|
{% assign gallery_layout = '' %}
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<figure class="{{ gallery_layout }} {{ include.class }}">
|
<figure class="{{ gallery_layout }} {{ include.class }}">
|
||||||
@@ -19,7 +23,7 @@
|
|||||||
{% if img.url contains "://" %}
|
{% if img.url contains "://" %}
|
||||||
"{{ img.url }}"
|
"{{ img.url }}"
|
||||||
{% else %}
|
{% else %}
|
||||||
"{{ img.url | absolute_url }}"
|
"{{ img.url | relative_url }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if img.title %}title="{{ img.title }}"{% endif %}
|
{% if img.title %}title="{{ img.title }}"{% endif %}
|
||||||
>
|
>
|
||||||
@@ -27,7 +31,7 @@
|
|||||||
{% if img.image_path contains "://" %}
|
{% if img.image_path contains "://" %}
|
||||||
"{{ img.image_path }}"
|
"{{ img.image_path }}"
|
||||||
{% else %}
|
{% else %}
|
||||||
"{{ img.image_path | absolute_url }}"
|
"{{ img.image_path | relative_url }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
|
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
|
||||||
</a>
|
</a>
|
||||||
@@ -36,7 +40,7 @@
|
|||||||
{% if img.image_path contains "://" %}
|
{% if img.image_path contains "://" %}
|
||||||
"{{ img.image_path }}"
|
"{{ img.image_path }}"
|
||||||
{% else %}
|
{% else %}
|
||||||
"{{ img.image_path | absolute_url }}"
|
"{{ img.image_path | relative_url }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
|
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
<!-- Uniq -->
|
<!-- Uniq -->
|
||||||
{% assign __names = __names | sort %}
|
{% assign __names = __names | sort %}
|
||||||
{% for name in __names | sort %}
|
{% for name in __names %}
|
||||||
|
|
||||||
<!-- If not equal to previous then it must be unique as sorted -->
|
<!-- If not equal to previous then it must be unique as sorted -->
|
||||||
{% unless name == previous %}
|
{% unless name == previous %}
|
||||||
|
|||||||
+14
-7
@@ -2,11 +2,9 @@
|
|||||||
|
|
||||||
{% include seo.html %}
|
{% include seo.html %}
|
||||||
|
|
||||||
<link href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | absolute_url }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
|
<link href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
|
||||||
|
|
||||||
<!-- http://t.co/dKP3o1e -->
|
<!-- https://t.co/dKP3o1e -->
|
||||||
<meta name="HandheldFriendly" content="True">
|
|
||||||
<meta name="MobileOptimized" content="320">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -14,9 +12,9 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- For all browsers -->
|
<!-- For all browsers -->
|
||||||
<link rel="stylesheet" href="{{ '/assets/css/main.css' | absolute_url }}">
|
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
|
||||||
|
|
||||||
<!--[if lte IE 9]>
|
<!--[if IE ]>
|
||||||
<style>
|
<style>
|
||||||
/* old IE unsupported flexbox fixes */
|
/* old IE unsupported flexbox fixes */
|
||||||
.greedy-nav .site-title {
|
.greedy-nav .site-title {
|
||||||
@@ -31,4 +29,13 @@
|
|||||||
</style>
|
</style>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
|
|
||||||
<meta http-equiv="cleartype" content="on">
|
{% if site.head_scripts %}
|
||||||
|
{% for script in site.head_scripts %}
|
||||||
|
{% if script contains "://" %}
|
||||||
|
{% capture script_path %}{{ script }}{% endcapture %}
|
||||||
|
{% else %}
|
||||||
|
{% capture script_path %}{{ script | relative_url }}{% endcapture %}
|
||||||
|
{% endif %}
|
||||||
|
<script src="{{ script_path }}"></script>
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<!-- start custom head snippets -->
|
<!-- start custom head snippets -->
|
||||||
|
|
||||||
<!-- insert favicons. use http://realfavicongenerator.net/ -->
|
<!-- insert favicons. use https://realfavicongenerator.net/ -->
|
||||||
|
|
||||||
<!-- end custom head snippets -->
|
<!-- end custom head snippets -->
|
||||||
|
|||||||
+33
-11
@@ -1,21 +1,43 @@
|
|||||||
|
{% if site.logo contains "://" %}
|
||||||
|
{% capture logo_path %}{{ site.logo }}{% endcapture %}
|
||||||
|
{% else %}
|
||||||
|
{% capture logo_path %}{{ site.logo }}{% endcapture %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<div class="masthead">
|
<div class="masthead">
|
||||||
<div class="masthead__inner-wrap">
|
<div class="masthead__inner-wrap">
|
||||||
<div class="masthead__menu">
|
<div class="masthead__menu">
|
||||||
<nav id="site-nav" class="greedy-nav">
|
<nav id="site-nav" class="greedy-nav">
|
||||||
<a class="site-title" href="{{ '/' | absolute_url }}">{{ site.title }}</a>
|
{% unless logo_path == empty %}
|
||||||
|
<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path | relative_url }}" alt=""></a>
|
||||||
|
{% endunless %}
|
||||||
|
<a class="site-title" href="{{ '/' | relative_url }}">{{ site.masthead_title | default: site.title }}</a>
|
||||||
<ul class="visible-links">
|
<ul class="visible-links">
|
||||||
{% for link in site.data.navigation.main %}
|
{%- for link in site.data.navigation.main -%}
|
||||||
{% if link.url contains 'http' %}
|
{%- if link.url contains '://' -%}
|
||||||
{% assign domain = '' %}
|
{%- assign url = link.url -%}
|
||||||
{% else %}
|
{%- else -%}
|
||||||
{% assign domain = site.url | append: site.baseurl %}
|
{%- assign url = link.url | relative_url -%}
|
||||||
{% endif %}
|
{%- endif -%}
|
||||||
<li class="masthead__menu-item"><a href="{{ domain }}{{ link.url }}">{{ link.title }}</a></li>
|
<li class="masthead__menu-item">
|
||||||
{% endfor %}
|
<a href="{{ url }}" {% if link.description %}title="{{ link.description }}"{% endif %}>{{ link.title }}</a>
|
||||||
|
</li>
|
||||||
|
{%- endfor -%}
|
||||||
</ul>
|
</ul>
|
||||||
<button><div class="navicon"></div></button>
|
{% if site.search == true %}
|
||||||
|
<button class="search__toggle" type="button">
|
||||||
|
<span class="visually-hidden">{{ site.data.ui-text[site.locale].search_label | default: "Toggle search" }}</span>
|
||||||
|
<svg class="icon" width="16" height="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.99 16">
|
||||||
|
<path d="M15.5,13.12L13.19,10.8a1.69,1.69,0,0,0-1.28-.55l-0.06-.06A6.5,6.5,0,0,0,5.77,0,6.5,6.5,0,0,0,2.46,11.59a6.47,6.47,0,0,0,7.74.26l0.05,0.05a1.65,1.65,0,0,0,.5,1.24l2.38,2.38A1.68,1.68,0,0,0,15.5,13.12ZM6.4,2A4.41,4.41,0,1,1,2,6.4,4.43,4.43,0,0,1,6.4,2Z" transform="translate(-.01)"></path>
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
|
{% endif %}
|
||||||
|
<button class="greedy-nav__toggle hidden" type="button">
|
||||||
|
<span class="visually-hidden">{{ site.data.ui-text[site.locale].menu_label | default: "Toggle menu" }}</span>
|
||||||
|
<div class="navicon"></div>
|
||||||
|
</button>
|
||||||
<ul class="hidden-links hidden"></ul>
|
<ul class="hidden-links hidden"></ul>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+6
-6
@@ -10,12 +10,12 @@
|
|||||||
{% if nav.url %}
|
{% if nav.url %}
|
||||||
{% comment %} internal/external URL check {% endcomment %}
|
{% comment %} internal/external URL check {% endcomment %}
|
||||||
{% if nav.url contains "://" %}
|
{% if nav.url contains "://" %}
|
||||||
{% assign domain = "" %}
|
{% assign nav_url = nav.url %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% assign domain = site.url | append: site.baseurl %}
|
{% assign nav_url = nav.url | relative_url %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<a href="{{ domain }}{{ nav.url }}"><span class="nav__sub-title">{{ nav.title }}</span></a>
|
<a href="{{ nav_url }}"><span class="nav__sub-title">{{ nav.title }}</span></a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="nav__sub-title">{{ nav.title }}</span>
|
<span class="nav__sub-title">{{ nav.title }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -25,9 +25,9 @@
|
|||||||
{% for child in nav.children %}
|
{% for child in nav.children %}
|
||||||
{% comment %} internal/external URL check {% endcomment %}
|
{% comment %} internal/external URL check {% endcomment %}
|
||||||
{% if child.url contains "://" %}
|
{% if child.url contains "://" %}
|
||||||
{% assign domain = "" %}
|
{% assign child_url = child.url %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% assign domain = site.url | append: site.baseurl %}
|
{% assign child_url = child.url | relative_url %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% comment %} set "active" class on current page {% endcomment %}
|
{% comment %} set "active" class on current page {% endcomment %}
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
{% assign active = "" %}
|
{% assign active = "" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<li><a href="{{ domain }}{{ child.url }}" class="{{ active }}">{{ child.title }}</a></li>
|
<li><a href="{{ child_url }}" class="{{ active }}">{{ child.title }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
{% if page.header.image contains "://" %}
|
{% if page.header.image contains "://" %}
|
||||||
{% capture img_path %}{{ page.header.image }}{% endcapture %}
|
{% capture img_path %}{{ page.header.image }}{% endcapture %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% capture img_path %}{{ page.header.image | absolute_url }}{% endcapture %}
|
{% capture img_path %}{{ page.header.image | relative_url }}{% endcapture %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.header.cta_url contains "://" %}
|
{% if page.header.cta_url contains "://" %}
|
||||||
{% capture cta_path %}{{ page.header.cta_url }}{% endcapture %}
|
{% capture cta_path %}{{ page.header.cta_url }}{% endcapture %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% capture cta_path %}{{ page.header.cta_url | absolute_url }}{% endcapture %}
|
{% capture cta_path %}{{ page.header.cta_url | relative_url }}{% endcapture %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.header.overlay_image contains "://" %}
|
{% if page.header.overlay_image contains "://" %}
|
||||||
{% capture overlay_img_path %}{{ page.header.overlay_image }}{% endcapture %}
|
{% capture overlay_img_path %}{{ page.header.overlay_image }}{% endcapture %}
|
||||||
{% elsif page.header.overlay_image %}
|
{% elsif page.header.overlay_image %}
|
||||||
{% capture overlay_img_path %}{{ page.header.overlay_image | absolute_url }}{% endcapture %}
|
{% capture overlay_img_path %}{{ page.header.overlay_image | relative_url }}{% endcapture %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.header.overlay_filter contains "rgba" %}
|
{% if page.header.overlay_filter contains "rgba" %}
|
||||||
@@ -22,30 +22,49 @@
|
|||||||
{% capture overlay_filter %}rgba(0, 0, 0, {{ page.header.overlay_filter }}){% endcapture %}
|
{% capture overlay_filter %}rgba(0, 0, 0, {{ page.header.overlay_filter }}){% endcapture %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if page.header.image_description %}
|
||||||
|
{% assign image_description = page.header.image_description %}
|
||||||
|
{% else %}
|
||||||
|
{% assign image_description = page.title %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% assign image_description = image_description | markdownify | strip_html | strip_newlines | escape_once %}
|
||||||
|
|
||||||
<div class="page__hero{% if page.header.overlay_color or page.header.overlay_image %}--overlay{% endif %}"
|
<div class="page__hero{% if page.header.overlay_color or page.header.overlay_image %}--overlay{% endif %}"
|
||||||
style="{% if page.header.overlay_color %}background-color: {{ page.header.overlay_color | default: 'transparent' }};{% endif %} {% if overlay_img_path %}background-image: {% if overlay_filter %}linear-gradient({{ overlay_filter }}, {{ overlay_filter }}), {% endif %}url('{{ overlay_img_path }}');{% endif %}"
|
style="{% if page.header.overlay_color %}background-color: {{ page.header.overlay_color | default: 'transparent' }};{% endif %} {% if overlay_img_path %}background-image: {% if overlay_filter %}linear-gradient({{ overlay_filter }}, {{ overlay_filter }}), {% endif %}url('{{ overlay_img_path }}');{% endif %}"
|
||||||
>
|
>
|
||||||
{% if page.header.overlay_color or page.header.overlay_image %}
|
{% if page.header.overlay_color or page.header.overlay_image %}
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<h1 class="page__title" itemprop="headline">
|
<h1 id="page-title" class="page__title" itemprop="headline">
|
||||||
{% if paginator and site.paginate_show_page_num %}
|
{% if paginator and site.paginate_show_page_num %}
|
||||||
{{ site.title }}{% unless paginator.page == 1 %} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}
|
{{ site.title }}{% unless paginator.page == 1 %} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ page.title | default: site.title | markdownify | remove: "<p>" | remove: "</p>" }}
|
{{ page.title | default: site.title | markdownify | remove: "<p>" | remove: "</p>" }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</h1>
|
</h1>
|
||||||
{% if page.excerpt %}
|
{% if page.header.show_overlay_excerpt != false and page.excerpt %}
|
||||||
<p class="page__lead">{{ page.excerpt | markdownify | remove: "<p>" | remove: "</p>" }}</p>
|
<p class="page__lead">{{ page.excerpt | markdownify | remove: "<p>" | remove: "</p>" }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if site.read_time and page.read_time %}
|
{% if page.read_time %}
|
||||||
<p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p>
|
<p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if page.header.cta_url %}
|
{% if page.header.cta_url %}
|
||||||
<p><a href="{{ cta_path }}" class="btn btn--light-outline btn--large">{{ page.header.cta_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a></p>
|
<p><a href="{{ cta_path }}" class="btn btn--light-outline btn--large">{{ page.header.cta_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a></p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if page.header.actions %}
|
||||||
|
<p>
|
||||||
|
{% for action in page.header.actions %}
|
||||||
|
{% if action.url contains "://" %}
|
||||||
|
{% assign url = action.url %}
|
||||||
|
{% else %}
|
||||||
|
{% assign url = action.url | relative_url %}
|
||||||
|
{% endif %}
|
||||||
|
<a href="{{ url }}" class="btn btn--light-outline btn--large">{{ action.label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a>
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<img src="{{ img_path }}" alt="{{ page.title }}" class="page__hero-image">
|
<img src="{{ img_path }}" alt="{{ image_description }}" class="page__hero-image">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if page.header.caption %}
|
{% if page.header.caption %}
|
||||||
<span class="page__hero-caption">{{ page.header.caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
|
<span class="page__hero-caption">{{ page.header.caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
{% if paginator.total_pages > 1 %}
|
{% if paginator.total_pages > 1 %}
|
||||||
<nav class="pagination">
|
<nav class="pagination">
|
||||||
{% assign first_page_path = site.paginate_path | replace: 'page:num', '' | replace: '//', '/' | absolute_url %}
|
{% assign first_page_path = site.paginate_path | replace: 'page:num', '' | replace: '//', '/' | relative_url %}
|
||||||
<ul>
|
<ul>
|
||||||
{% comment %} Link for previous page {% endcomment %}
|
{% comment %} Link for previous page {% endcomment %}
|
||||||
{% if paginator.previous_page %}
|
{% if paginator.previous_page %}
|
||||||
{% if paginator.previous_page == 1 %}
|
{% if paginator.previous_page == 1 %}
|
||||||
<li><a href="{{ first_page_path }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a></li>
|
<li><a href="{{ first_page_path }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a></li>
|
||||||
{% else %}
|
{% else %}
|
||||||
<li><a href="{{ site.paginate_path | replace: ':num', paginator.previous_page | replace: '//', '/' | absolute_url }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a></li>
|
<li><a href="{{ site.paginate_path | replace: ':num', paginator.previous_page | replace: '//', '/' | relative_url }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</span></a></li>
|
<li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</span></a></li>
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
{% for index in (page_start..page_end) %}
|
{% for index in (page_start..page_end) %}
|
||||||
{% if index == paginator.page %}
|
{% if index == paginator.page %}
|
||||||
<li><a href="{{ site.paginate_path | replace: ':num', index | replace: '//', '/' | absolute_url }}" class="disabled current">{{ index }}</a></li>
|
<li><a href="{{ site.paginate_path | replace: ':num', index | replace: '//', '/' | relative_url }}" class="disabled current">{{ index }}</a></li>
|
||||||
{% else %}
|
{% else %}
|
||||||
{% comment %} Distance from current page and this link {% endcomment %}
|
{% comment %} Distance from current page and this link {% endcomment %}
|
||||||
{% assign dist = paginator.page | minus: index %}
|
{% assign dist = paginator.page | minus: index %}
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
{% comment %} Distance must be a positive value {% endcomment %}
|
{% comment %} Distance must be a positive value {% endcomment %}
|
||||||
{% assign dist = 0 | minus: dist %}
|
{% assign dist = 0 | minus: dist %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li><a href="{{ site.paginate_path | replace: ':num', index | absolute_url }}">{{ index }}</a></li>
|
<li><a href="{{ site.paginate_path | replace: ':num', index | relative_url }}">{{ index }}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
@@ -55,12 +55,12 @@
|
|||||||
{% if paginator.page == paginator.total_pages %}
|
{% if paginator.page == paginator.total_pages %}
|
||||||
<li><a href="#" class="disabled current">{{ paginator.page }}</a></li>
|
<li><a href="#" class="disabled current">{{ paginator.page }}</a></li>
|
||||||
{% else %}
|
{% else %}
|
||||||
<li><a href="{{ site.paginate_path | replace: ':num', paginator.total_pages | replace: '//', '/' | absolute_url }}">{{ paginator.total_pages }}</a></li>
|
<li><a href="{{ site.paginate_path | replace: ':num', paginator.total_pages | replace: '//', '/' | relative_url }}">{{ paginator.total_pages }}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% comment %} Link next page {% endcomment %}
|
{% comment %} Link next page {% endcomment %}
|
||||||
{% if paginator.next_page %}
|
{% if paginator.next_page %}
|
||||||
<li><a href="{{ site.paginate_path | replace: ':num', paginator.next_page | replace: '//', '/' | absolute_url }}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a></li></a></li>
|
<li><a href="{{ site.paginate_path | replace: ':num', paginator.next_page | replace: '//', '/' | relative_url }}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a></li>
|
||||||
{% else %}
|
{% else %}
|
||||||
<li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</span></a></li>
|
<li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</span></a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{% if page.previous or page.next %}
|
{% if page.previous or page.next %}
|
||||||
<nav class="pagination">
|
<nav class="pagination">
|
||||||
{% if page.previous %}
|
{% if page.previous %}
|
||||||
<a href="{{ page.previous.url | absolute_url }}" class="pagination--pager" title="{{ page.previous.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
|
<a href="{{ page.previous.url | relative_url }}" class="pagination--pager" title="{{ page.previous.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
|
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if page.next %}
|
{% if page.next %}
|
||||||
<a href="{{ page.next.url | absolute_url }}" class="pagination--pager" title="{{ page.next.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
|
<a href="{{ page.next.url | relative_url }}" class="pagination--pager" title="{{ page.next.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
|
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{%- for post in site.categories[include.taxonomy] -%}
|
||||||
|
{% include archive-single.html %}
|
||||||
|
{%- endfor -%}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{%- for post in site.tags[include.taxonomy] -%}
|
||||||
|
{% include archive-single.html %}
|
||||||
|
{%- endfor -%}
|
||||||
+36
-1
@@ -1,4 +1,39 @@
|
|||||||
<script src="{{ '/assets/js/main.min.js' | absolute_url }}"></script>
|
{% if site.footer_scripts %}
|
||||||
|
{% for script in site.footer_scripts %}
|
||||||
|
{% if script contains "://" %}
|
||||||
|
{% capture script_path %}{{ script }}{% endcapture %}
|
||||||
|
{% else %}
|
||||||
|
{% capture script_path %}{{ script | relative_url }}{% endcapture %}
|
||||||
|
{% endif %}
|
||||||
|
<script src="{{ script_path }}"></script>
|
||||||
|
{% endfor %}
|
||||||
|
{% else %}
|
||||||
|
<script src="{{ '/assets/js/main.min.js' | relative_url }}"></script>
|
||||||
|
<script defer src="https://use.fontawesome.com/releases/v5.8.1/js/all.js" integrity="sha384-g5uSoOSBd7KkhAMlnQILrecXvzst9TdC09/VM+pjDTCM+1il8RHz5fKANTFFb+gQ" crossorigin="anonymous"></script>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if site.search == true or page.layout == "search" %}
|
||||||
|
{%- assign search_provider = site.search_provider | default: "lunr" -%}
|
||||||
|
{%- case search_provider -%}
|
||||||
|
{%- when "lunr" -%}
|
||||||
|
{% include_cached search/lunr-search-scripts.html %}
|
||||||
|
{%- when "google" -%}
|
||||||
|
{% include_cached search/google-search-scripts.html %}
|
||||||
|
{%- when "algolia" -%}
|
||||||
|
{% include_cached search/algolia-search-scripts.html %}
|
||||||
|
{%- endcase -%}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% include analytics.html %}
|
{% include analytics.html %}
|
||||||
{% include /comments-providers/scripts.html %}
|
{% include /comments-providers/scripts.html %}
|
||||||
|
|
||||||
|
{% if site.after_footer_scripts %}
|
||||||
|
{% for script in site.after_footer_scripts %}
|
||||||
|
{% if script contains "://" %}
|
||||||
|
{% capture script_path %}{{ script }}{% endcapture %}
|
||||||
|
{% else %}
|
||||||
|
{% capture script_path %}{{ script | relative_url }}{% endcapture %}
|
||||||
|
{% endif %}
|
||||||
|
<script src="{{ script_path }}"></script>
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|||||||
@@ -0,0 +1,54 @@
|
|||||||
|
<!-- Including InstantSearch.js library and styling -->
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch.min.js"></script>
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch.min.css">
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch-theme-algolia.min.css">
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Instanciating InstantSearch.js with Algolia credentials
|
||||||
|
const search = instantsearch({
|
||||||
|
appId: '{{ site.algolia.application_id }}',
|
||||||
|
apiKey: '{{ site.algolia.search_only_api_key }}',
|
||||||
|
indexName: '{{ site.algolia.index_name }}',
|
||||||
|
searchParameters: {
|
||||||
|
restrictSearchableAttributes: [
|
||||||
|
'title',
|
||||||
|
'content'
|
||||||
|
]
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
const hitTemplate = function(hit) {
|
||||||
|
const url = hit.url;
|
||||||
|
const title = hit._highlightResult.title.value;
|
||||||
|
const content = hit._highlightResult.html.value;
|
||||||
|
|
||||||
|
return `
|
||||||
|
<div class="list__item">
|
||||||
|
<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">
|
||||||
|
<h2 class="archive__item-title" itemprop="headline"><a href="{{ site.baseurl }}${url}">${title}</a></h2>
|
||||||
|
<div class="archive__item-excerpt" itemprop="description">${content}</div>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
`;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Adding searchbar and results widgets
|
||||||
|
search.addWidget(
|
||||||
|
instantsearch.widgets.searchBox({
|
||||||
|
container: '.search-searchbar',
|
||||||
|
{% unless site.algolia.powered_by == false %}poweredBy: true,{% endunless %}
|
||||||
|
placeholder: '{{ site.data.ui-text[site.locale].search_placeholder_text | default: "Enter your search term..." }}'
|
||||||
|
})
|
||||||
|
);
|
||||||
|
search.addWidget(
|
||||||
|
instantsearch.widgets.hits({
|
||||||
|
container: '.search-hits',
|
||||||
|
templates: {
|
||||||
|
item: hitTemplate
|
||||||
|
}
|
||||||
|
})
|
||||||
|
);
|
||||||
|
|
||||||
|
// Starting the search
|
||||||
|
search.start();
|
||||||
|
</script>
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
<script>
|
||||||
|
(function () {
|
||||||
|
var cx = '{{ site.google.search_engine_id }}';
|
||||||
|
var gcse = document.createElement('script');
|
||||||
|
gcse.type = 'text/javascript';
|
||||||
|
gcse.async = true;
|
||||||
|
gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
|
||||||
|
var s = document.getElementsByTagName('script')[0];
|
||||||
|
s.parentNode.insertBefore(gcse, s);
|
||||||
|
})();
|
||||||
|
|
||||||
|
function googleCustomSearchExecute() {
|
||||||
|
var input = document.getElementById('cse-search-input-box-id');
|
||||||
|
var element = google.search.cse.element.getElement('searchresults-only0');
|
||||||
|
if (input.value == '') {
|
||||||
|
element.clearAllResults();
|
||||||
|
} else {
|
||||||
|
element.execute(input.value);
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
{% if site.google.instant_search %}
|
||||||
|
$(document).ready(function () {
|
||||||
|
$('input#cse-search-input-box-id').on('keyup', function () {
|
||||||
|
googleCustomSearchExecute();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
{% endif %}
|
||||||
|
</script>
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{% assign lang = site.locale | slice: 0,2 | default: "en" %}
|
||||||
|
{% case lang %}
|
||||||
|
{% when "gr" %}
|
||||||
|
{% assign lang = "gr" %}
|
||||||
|
{% else %}
|
||||||
|
{% assign lang = "en" %}
|
||||||
|
{% endcase %}
|
||||||
|
<script src="{{ '/assets/js/lunr/lunr.min.js' | relative_url }}"></script>
|
||||||
|
<script src="{{ '/assets/js/lunr/lunr-store.js' | relative_url }}"></script>
|
||||||
|
<script src="{{ '/assets/js/lunr/lunr-' | append: lang | append: '.js' | relative_url }}"></script>
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
<div class="search-content__inner-wrap">
|
||||||
|
{%- assign search_provider = site.search_provider | default: "lunr" -%}
|
||||||
|
{%- case search_provider -%}
|
||||||
|
{%- when "lunr" -%}
|
||||||
|
<input type="search" id="search" aria-placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
||||||
|
<div id="results" class="results"></div>
|
||||||
|
{%- when "google" -%}
|
||||||
|
<form onsubmit="return googleCustomSearchExecute();" id="cse-search-box-form-id">
|
||||||
|
<input type="search" id="cse-search-input-box-id" aria-placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
||||||
|
</form>
|
||||||
|
<div id="results" class="results">
|
||||||
|
<gcse:searchresults-only></gcse:searchresults-only>
|
||||||
|
</div>
|
||||||
|
{%- when "algolia" -%}
|
||||||
|
<div class="search-searchbar"></div>
|
||||||
|
<div class="search-hits"></div>
|
||||||
|
{%- endcase -%}
|
||||||
|
</div>
|
||||||
+91
-70
@@ -1,82 +1,113 @@
|
|||||||
<!-- begin SEO -->
|
<!-- begin _includes/seo.html -->
|
||||||
{% if site.url %}
|
{%- if site.url -%}
|
||||||
{% assign seo_url = site.url | append: site.baseurl %}
|
{%- assign seo_url = site.url | append: site.baseurl -%}
|
||||||
{% endif %}
|
{%- endif -%}
|
||||||
{% assign seo_url = seo_url | default: site.github.url %}
|
{%- assign seo_url = seo_url | default: site.github.url -%}
|
||||||
|
|
||||||
{% if page.title %}
|
{% assign title_separator = site.title_separator | default: '-' | replace: '|', '|' %}
|
||||||
{% assign seo_title = page.title | append: " " | append: site.title_separator | append: " " | append: site.title %}
|
|
||||||
|
{%- if page.title -%}
|
||||||
|
{%- assign seo_title = page.title | append: " " | append: title_separator | append: " " | append: site.title -%}
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if seo_title -%}
|
||||||
|
{%- assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once -%}
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
{% if page.canonical_url %}
|
||||||
|
{%- assign canonical_url = page.canonical_url %}
|
||||||
|
{% else %}
|
||||||
|
{%- assign canonical_url = page.url | replace: "index.html", "" | absolute_url %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if seo_title %}
|
{%- assign seo_description = page.description | default: page.excerpt | default: site.description -%}
|
||||||
{% assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once %}
|
{%- if seo_description -%}
|
||||||
{% endif %}
|
{%- assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once -%}
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
{% if site.url %}
|
{%- assign author = page.author | default: page.authors[0] | default: site:author -%}
|
||||||
{% assign canonical_url = page.url | replace: "index.html", "" | prepend: site.url %}
|
{%- assign author = site.data.authors[author] | default: author -%}
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<title>{{ seo_title | default: site.title }}{% if paginator %}{% unless paginator.page == 1 %} {{ site.title_separator }} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}{% endif %}</title>
|
{%- if author.twitter -%}
|
||||||
|
{%- assign author_twitter = author.twitter | replace: "@", "" -%}
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
{% assign seo_description = page.description | default: page.excerpt | default: site.description %}
|
{%- assign page_large_image = page.header.og_image | default: page.header.overlay_image | default: page.header.image -%}
|
||||||
{% if seo_description %}
|
{%- unless page_large_image contains '://' -%}
|
||||||
{% assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once %}
|
{%- assign page_large_image = page_large_image | absolute_url -%}
|
||||||
{% endif %}
|
{%- endunless -%}
|
||||||
|
{%- assign page_large_image = page_large_image | escape -%}
|
||||||
|
|
||||||
|
{%- assign page_teaser_image = page.header.teaser | default: site.og_image -%}
|
||||||
|
{%- unless page_teaser_image contains '://' -%}
|
||||||
|
{%- assign page_teaser_image = page_teaser_image | absolute_url -%}
|
||||||
|
{%- endunless -%}
|
||||||
|
{%- assign page_teaser_image = page_teaser_image | escape -%}
|
||||||
|
|
||||||
|
{%- assign site_og_image = site.og_image -%}
|
||||||
|
{%- unless site_og_image contains '://' -%}
|
||||||
|
{%- assign site_og_image = site_og_image | absolute_url -%}
|
||||||
|
{%- endunless -%}
|
||||||
|
{%- assign site_og_image = site_og_image | escape -%}
|
||||||
|
|
||||||
|
{%- if page.date -%}
|
||||||
|
{%- assign og_type = "article" -%}
|
||||||
|
{%- else -%}
|
||||||
|
{%- assign og_type = "website" -%}
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
|
<title>{{ seo_title | default: site.title }}{% if paginator %}{% unless paginator.page == 1 %} {{ title_separator }} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}{% endif %}</title>
|
||||||
<meta name="description" content="{{ seo_description }}">
|
<meta name="description" content="{{ seo_description }}">
|
||||||
|
|
||||||
{% assign seo_author = page.author | default: page.author[0] | default: site.author.name %}
|
{% if author.name %}
|
||||||
{% if seo_author %}
|
<meta name="author" content="{{ author.name | default: author }}">
|
||||||
{% if seo_author.twitter %}
|
|
||||||
{% assign seo_author_twitter = seo_author.twitter %}
|
|
||||||
{% else %}
|
|
||||||
{% if site.data.authors and site.data.authors[seo_author] %}
|
|
||||||
{% assign seo_author_twitter = site.data.authors[seo_author].twitter %}
|
|
||||||
{% else %}
|
|
||||||
{% assign seo_author_twitter = seo_author %}
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
|
||||||
{% assign seo_author_twitter = seo_author_twitter | replace: "@", "" %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<meta name="author" content="{{ seo_author }}">
|
<meta property="og:type" content="{{ og_type }}">
|
||||||
|
<meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en_US" }}">
|
||||||
<meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en" }}">
|
|
||||||
<meta property="og:site_name" content="{{ site.title }}">
|
<meta property="og:site_name" content="{{ site.title }}">
|
||||||
<meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
|
<meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
|
||||||
|
<meta property="og:url" content="{{ canonical_url }}">
|
||||||
{% if seo_url %}
|
|
||||||
<link rel="canonical" href="{{ page.url | prepend: seo_url | replace: "/index.html", "/" }}">
|
|
||||||
<meta property="og:url" content="{{ page.url | prepend: seo_url | replace: "/index.html", "/" }}">
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if page.excerpt %}
|
{% if page.excerpt %}
|
||||||
<meta property="og:description" content="{{ seo_description }}">
|
<meta property="og:description" content="{{ seo_description }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if page_large_image %}
|
||||||
|
<meta property="og:image" content="{{ page_large_image }}">
|
||||||
|
{% elsif page_teaser_image %}
|
||||||
|
<meta property="og:image" content="{{ page_teaser_image }}">
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if site.twitter.username %}
|
{% if site.twitter.username %}
|
||||||
<meta name="twitter:site" content="@{{ site.twitter.username | replace: "@", "" }}">
|
<meta name="twitter:site" content="@{{ site.twitter.username | replace: "@", "" }}">
|
||||||
<meta name="twitter:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
|
<meta name="twitter:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
|
||||||
<meta name="twitter:description" content="{{ seo_description }}">
|
<meta name="twitter:description" content="{{ seo_description }}">
|
||||||
<meta name="twitter:url" content="{{ canonical_url }}">
|
<meta name="twitter:url" content="{{ canonical_url }}">
|
||||||
|
|
||||||
{% if page.header.image %}
|
{% if page_large_image %}
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
<meta name="twitter:image" content="{% if page.header.image contains "://" %}{{ page.header.image }}{% else %}{{ page.header.image | absolute_url }}{% endif %}">
|
<meta name="twitter:image" content="{{ page_large_image }}">
|
||||||
{% else %}
|
{% else %}
|
||||||
<meta name="twitter:card" content="summary">
|
<meta name="twitter:card" content="summary">
|
||||||
{% if page.header.teaser %}
|
{% if page_teaser_image %}
|
||||||
<meta name="twitter:image" content="{% if page.header.teaser contains "://" %}{{ page.header.teaser }}{% else %}{{ page.header.teaser | absolute_url }}{% endif %}">
|
<meta name="twitter:image" content="{{ page_teaser_image }}">
|
||||||
{% elsif site.og_image %}
|
|
||||||
<meta name="twitter:image" content="{{ site.og_image | absolute_url }}">
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if seo_author_twitter %}
|
{% if author_twitter %}
|
||||||
<meta name="twitter:creator" content="@{{ seo_author_twitter }}">
|
<meta name="twitter:creator" content="@{{ author_twitter }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if page.date %}
|
||||||
|
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}">
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if og_type == "article" and page.last_modified_at %}
|
||||||
|
<meta property="article:modified_time" content="{{ page.last_modified_at | date_to_xmlschema }}">
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if site.facebook %}
|
{% if site.facebook %}
|
||||||
{% if site.facebook.publisher %}
|
{% if site.facebook.publisher %}
|
||||||
<meta property="article:publisher" content="{{ site.facebook.publisher }}">
|
<meta property="article:publisher" content="{{ site.facebook.publisher }}">
|
||||||
@@ -87,35 +118,22 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.header.image %}
|
<link rel="canonical" href="{{ canonical_url }}">
|
||||||
<meta property="og:image" content="{% if page.header.image contains "://" %}{{ page.header.image }}{% else %}{{ page.header.image | absolute_url }}{% endif %}">
|
|
||||||
{% elsif page.header.overlay_image %}
|
|
||||||
<meta property="og:image" content="{% if page.header.overlay_image contains "://" %}{{ page.header.overlay_image }}{% else %}{{ page.header.overlay_image | absolute_url }}{% endif %}">
|
|
||||||
{% elsif page.header.teaser %}
|
|
||||||
<meta property="og:image" content="{% if page.header.teaser contains "://" %}{{ page.header.teaser }}{% else %}{{ page.header.teaser | absolute_url }}{% endif %}">
|
|
||||||
{% elsif site.og_image %}
|
|
||||||
<meta property="og:image" content="{% if site.og_image contains "://" %}{{ site.og_image }}{% else %}{{ site.og_image | absolute_url }}{% endif %}">
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if page.date %}
|
|
||||||
<meta property="og:type" content="article">
|
|
||||||
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}">
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if paginator.previous_page %}
|
{% if paginator.previous_page %}
|
||||||
<link rel="prev" href="{{ paginator.previous_page_path | prepend: seo_url }}">
|
<link rel="prev" href="{{ paginator.previous_page_path | absolute_url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if paginator.next_page %}
|
{% if paginator.next_page %}
|
||||||
<link rel="next" href="{{ paginator.next_page_path | prepend: seo_url }}">
|
<link rel="next" href="{{ paginator.next_page_path | absolute_url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if site.og_image %}
|
{% if site.og_image %}
|
||||||
<script type="application/ld+json">
|
<script type="application/ld+json">
|
||||||
{
|
{
|
||||||
"@context": "http://schema.org",
|
"@context": "https://schema.org",
|
||||||
"@type": "Organization",
|
"@type": "Organization",
|
||||||
"url": {{ seo_url | jsonify }},
|
"url": {{ seo_url | jsonify }},
|
||||||
"logo": {{ site.og_image | absolute_url | jsonify }}
|
"logo": {{ site_og_image | jsonify }}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -123,11 +141,11 @@
|
|||||||
{% if site.social %}
|
{% if site.social %}
|
||||||
<script type="application/ld+json">
|
<script type="application/ld+json">
|
||||||
{
|
{
|
||||||
"@context" : "http://schema.org",
|
"@context": "https://schema.org",
|
||||||
"@type" : "{% if site.social.type %}{{ site.social.type }}{% else %}Person{% endif %}",
|
"@type": "{% if site.social.type %}{{ site.social.type }}{% else %}Person{% endif %}",
|
||||||
"name" : "{{ site.social.name | default: site.name }}",
|
"name": {{ site.social.name | default: site.name | jsonify }},
|
||||||
"url" : {{ seo_url | jsonify }},
|
"url": {{ seo_url | jsonify }},
|
||||||
"sameAs" : {{ site.social.links | jsonify }}
|
"sameAs": {{ site.social.links | jsonify }}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -144,4 +162,7 @@
|
|||||||
{% if site.yandex_site_verification %}
|
{% if site.yandex_site_verification %}
|
||||||
<meta name="yandex-verification" content="{{ site.yandex_site_verification }}">
|
<meta name="yandex-verification" content="{{ site.yandex_site_verification }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<!-- end SEO -->
|
{% if site.naver_site_verification %}
|
||||||
|
<meta name="naver-site-verification" content="{{ site.naver_site_verification }}">
|
||||||
|
{% endif %}
|
||||||
|
<!-- end _includes/seo.html -->
|
||||||
|
|||||||
@@ -8,12 +8,13 @@
|
|||||||
{% if s.image contains "://" %}
|
{% if s.image contains "://" %}
|
||||||
"{{ s.image }}"
|
"{{ s.image }}"
|
||||||
{% else %}
|
{% else %}
|
||||||
"{{ s.image | absolute_url }}"
|
"{{ s.image | relative_url }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
alt="{% if s.image_alt %}{{ s.image_alt }}{% endif %}">
|
alt="{% if s.image_alt %}{{ s.image_alt }}{% endif %}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if s.title %}<h3>{{ s.title }}</h3>{% endif %}
|
{% if s.title %}<h3>{{ s.title }}</h3>{% endif %}
|
||||||
{% if s.text %}{{ s.text | markdownify }}{% endif %}
|
{% if s.text %}{{ s.text | markdownify }}{% endif %}
|
||||||
|
{% if s.nav %}{% include nav_list nav=s.nav %}{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if page.sidebar.nav %}
|
{% if page.sidebar.nav %}
|
||||||
{% include nav_list nav=page.sidebar.nav %}
|
{% include nav_list nav=page.sidebar.nav %}
|
||||||
|
|||||||
@@ -3,11 +3,9 @@
|
|||||||
<h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4>
|
<h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<a href="https://twitter.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username }}&{% endif %}text={{ page.title }} {{ page.url | absolute_url }}" class="btn btn--twitter" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Twitter"><i class="fa fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>
|
<a href="https://twitter.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username | url_encode }}&{% endif %}text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" class="btn btn--twitter" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Twitter"><i class="fab fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>
|
||||||
|
|
||||||
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url }}" class="btn btn--facebook" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fa fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
|
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}" class="btn btn--facebook" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fab fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
|
||||||
|
|
||||||
<a href="https://plus.google.com/share?url={{ page.url | absolute_url }}" class="btn btn--google-plus" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Google Plus"><i class="fa fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>
|
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url | url_encode }}" class="btn btn--linkedin" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
|
||||||
|
|
||||||
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url }}" class="btn btn--linkedin" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fa fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
|
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -11,15 +11,15 @@
|
|||||||
<!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
|
<!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
|
||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
{% capture page_tags %}{% for tag in page.tags %}{{ tag | downcase }}#{{ tag }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
|
{% capture page_tags %}{% for tag in page.tags %}{{ tag | downcase }}#{{ tag }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
|
||||||
{% assign tag_hashes = (page_tags | split: ',' | sort:0) %}
|
{% assign tag_hashes = page_tags | split: ',' | sort %}
|
||||||
|
|
||||||
<p class="page__taxonomy">
|
<p class="page__taxonomy">
|
||||||
<strong><i class="fa fa-fw fa-tags" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].tags_label | default: "Tags:" }} </strong>
|
<strong><i class="fas fa-fw fa-tags" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].tags_label | default: "Tags:" }} </strong>
|
||||||
<span itemprop="keywords">
|
<span itemprop="keywords">
|
||||||
{% for hash in tag_hashes %}
|
{% for hash in tag_hashes %}
|
||||||
{% assign keyValue = hash | split: '#' %}
|
{% assign keyValue = hash | split: '#' %}
|
||||||
{% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
|
{% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
|
||||||
<a href="{{ tag_word | slugify | prepend: path_type | prepend: site.tag_archive.path | absolute_url }}" class="page__taxonomy-item" rel="tag">{{ tag_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
|
<a href="{{ tag_word | slugify | prepend: path_type | prepend: site.tag_archive.path | relative_url }}" class="page__taxonomy-item" rel="tag">{{ tag_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
<aside class="sidebar__right">
|
<aside class="sidebar__right">
|
||||||
<nav class="toc" markdown="1">
|
<nav class="toc" markdown="1">
|
||||||
<header><h4 class="nav__title"><i class="fa fa-{{ include.icon | default: 'file-text' }}"></i> {{ include.title | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
|
<header><h4 class="nav__title"><i class="fas fa-{{ include.icon | default: 'file-alt' }}"></i> {{ include.title | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
|
||||||
* Auto generated table of contents
|
* Auto generated table of contents
|
||||||
{:toc .toc__menu}
|
{:toc .toc__menu}
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
@@ -0,0 +1,85 @@
|
|||||||
|
{% capture tocWorkspace %}
|
||||||
|
{% comment %}
|
||||||
|
Version 1.0.5
|
||||||
|
https://github.com/allejo/jekyll-toc
|
||||||
|
|
||||||
|
"...like all things liquid - where there's a will, and ~36 hours to spare, there's usually a/some way" ~jaybe
|
||||||
|
|
||||||
|
Usage:
|
||||||
|
{% include toc.html html=content sanitize=true class="inline_toc" id="my_toc" h_min=2 h_max=3 %}
|
||||||
|
|
||||||
|
Parameters:
|
||||||
|
* html (string) - the HTML of compiled markdown generated by kramdown in Jekyll
|
||||||
|
|
||||||
|
Optional Parameters:
|
||||||
|
* sanitize (bool) : false - when set to true, the headers will be stripped of any HTML in the TOC
|
||||||
|
* class (string) : '' - a CSS class assigned to the TOC
|
||||||
|
* id (string) : '' - an ID to assigned to the TOC
|
||||||
|
* h_min (int) : 1 - the minimum TOC header level to use; any header lower than this value will be ignored
|
||||||
|
* h_max (int) : 6 - the maximum TOC header level to use; any header greater than this value will be ignored
|
||||||
|
* ordered (bool) : false - when set to true, an ordered list will be outputted instead of an unordered list
|
||||||
|
* item_class (string) : '' - add custom class for each list item; has support for '%level%' placeholder, which is the current heading level
|
||||||
|
* baseurl (string) : '' - add a base url to the TOC links for when your TOC is on another page than the actual content
|
||||||
|
|
||||||
|
Output:
|
||||||
|
An ordered or unordered list representing the table of contents of a markdown block. This snippet will only generate the table of contents and will NOT output the markdown given to it
|
||||||
|
{% endcomment %}
|
||||||
|
|
||||||
|
{% capture my_toc %}{% endcapture %}
|
||||||
|
{% assign orderedList = include.ordered | default: false %}
|
||||||
|
{% assign minHeader = include.h_min | default: 1 %}
|
||||||
|
{% assign maxHeader = include.h_max | default: 6 %}
|
||||||
|
{% assign nodes = include.html | split: '<h' %}
|
||||||
|
{% assign firstHeader = true %}
|
||||||
|
|
||||||
|
{% capture listModifier %}{% if orderedList %}1.{% else %}-{% endif %}{% endcapture %}
|
||||||
|
|
||||||
|
{% for node in nodes %}
|
||||||
|
{% if node == "" %}
|
||||||
|
{% continue %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% assign headerLevel = node | replace: '"', '' | slice: 0, 1 | times: 1 %}
|
||||||
|
|
||||||
|
{% if headerLevel < minHeader or headerLevel > maxHeader %}
|
||||||
|
{% continue %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if firstHeader %}
|
||||||
|
{% assign firstHeader = false %}
|
||||||
|
{% assign minHeader = headerLevel %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% assign indentAmount = headerLevel | minus: minHeader | add: 1 %}
|
||||||
|
{% assign _workspace = node | split: '</h' %}
|
||||||
|
|
||||||
|
{% assign _idWorkspace = _workspace[0] | split: 'id="' %}
|
||||||
|
{% assign _idWorkspace = _idWorkspace[1] | split: '"' %}
|
||||||
|
{% assign html_id = _idWorkspace[0] %}
|
||||||
|
|
||||||
|
{% capture _hAttrToStrip %}{{ _workspace[0] | split: '>' | first }}>{% endcapture %}
|
||||||
|
{% assign header = _workspace[0] | replace: _hAttrToStrip, '' %}
|
||||||
|
|
||||||
|
{% assign space = '' %}
|
||||||
|
{% for i in (1..indentAmount) %}
|
||||||
|
{% assign space = space | prepend: ' ' %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
{% unless include.item_class == blank %}
|
||||||
|
{% capture listItemClass %}{:.{{ include.item_class | replace: '%level%', headerLevel }}}{% endcapture %}
|
||||||
|
{% endunless %}
|
||||||
|
|
||||||
|
{% capture my_toc %}{{ my_toc }}
|
||||||
|
{{ space }}{{ listModifier }} {{ listItemClass }} [{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}]({% if include.baseurl %}{{ include.baseurl }}{% endif %}#{{ html_id }}){% endcapture %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
{% if include.class %}
|
||||||
|
{% capture my_toc %}{:.{{ include.class }}}
|
||||||
|
{{ my_toc | lstrip }}{% endcapture %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if include.id %}
|
||||||
|
{% capture my_toc %}{: #{{ include.id }}}
|
||||||
|
{{ my_toc | lstrip }}{% endcapture %}
|
||||||
|
{% endif %}
|
||||||
|
{% endcapture %}{% assign tocWorkspace = '' %}{{ my_toc | markdownify | strip }}
|
||||||
+4
-2
@@ -4,8 +4,10 @@
|
|||||||
<!-- Courtesy of embedresponsively.com //-->
|
<!-- Courtesy of embedresponsively.com //-->
|
||||||
<div class="responsive-video-container">
|
<div class="responsive-video-container">
|
||||||
{% if video_provider == "vimeo" %}
|
{% if video_provider == "vimeo" %}
|
||||||
<iframe src="http://player.vimeo.com/video/{{ video_id }}" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
|
<iframe src="https://player.vimeo.com/video/{{ video_id }}?dnt=true" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
|
||||||
{% elsif video_provider == "youtube" %}
|
{% elsif video_provider == "youtube" %}
|
||||||
<iframe src="https://www.youtube.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
|
<iframe src="https://www.youtube-nocookie.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
|
||||||
|
{% elsif video_provider == "google-drive" %}
|
||||||
|
<iframe src="https://drive.google.com/file/d/{{ video_id }}/preview" frameborder="0" allowfullscreen></iframe>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ layout: default
|
|||||||
|
|
||||||
<div class="archive">
|
<div class="archive">
|
||||||
{% unless page.header.overlay_color or page.header.overlay_image %}
|
{% unless page.header.overlay_color or page.header.overlay_image %}
|
||||||
<h1 class="page__title">{{ page.title }}</h1>
|
<h1 id="page-title" class="page__title">{{ page.title }}</h1>
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -0,0 +1,42 @@
|
|||||||
|
---
|
||||||
|
layout: archive
|
||||||
|
---
|
||||||
|
|
||||||
|
{{ content }}
|
||||||
|
|
||||||
|
{% assign categories_max = 0 %}
|
||||||
|
{% for category in site.categories %}
|
||||||
|
{% if category[1].size > categories_max %}
|
||||||
|
{% assign categories_max = category[1].size %}
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
<ul class="taxonomy__index">
|
||||||
|
{% for i in (1..categories_max) reversed %}
|
||||||
|
{% for category in site.categories %}
|
||||||
|
{% if category[1].size == i %}
|
||||||
|
<li>
|
||||||
|
<a href="#{{ category[0] | slugify }}">
|
||||||
|
<strong>{{ category[0] }}</strong> <span class="taxonomy__count">{{ i }}</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
{% for i in (1..categories_max) reversed %}
|
||||||
|
{% for category in site.categories %}
|
||||||
|
{% if category[1].size == i %}
|
||||||
|
<section id="{{ category[0] | slugify | downcase }}" class="taxonomy__section">
|
||||||
|
<h2 class="archive__subtitle">{{ category[0] }}</h2>
|
||||||
|
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
||||||
|
{% for post in category.last %}
|
||||||
|
{% include archive-single.html type=page.entries_layout %}
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a>
|
||||||
|
</section>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
{% endfor %}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
layout: archive
|
||||||
|
---
|
||||||
|
|
||||||
|
{{ content }}
|
||||||
|
|
||||||
|
<div class="entries-{{ page.entries_layout }}">
|
||||||
|
{% include posts-category.html taxonomy=page.taxonomy type=page.entries_layout %}
|
||||||
|
</div>
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
layout: archive
|
||||||
|
---
|
||||||
|
|
||||||
|
{{ content }}
|
||||||
|
|
||||||
|
<div class="entries-{{ page.entries_layout }}">
|
||||||
|
{% include documents-collection.html collection=page.collection sort_by=page.sort_by sort_order=page.sort_order type=page.entries_layout %}
|
||||||
|
</div>
|
||||||
@@ -7,4 +7,4 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
{% capture _LINE_FEED %}
|
{% capture _LINE_FEED %}
|
||||||
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
|
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
|
||||||
+15
-7
@@ -3,10 +3,10 @@
|
|||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<!--
|
<!--
|
||||||
Minimal Mistakes Jekyll Theme 4.2.2 by Michael Rose
|
Minimal Mistakes Jekyll Theme 4.16.0 by Michael Rose
|
||||||
Copyright 2017 Michael Rose - mademistakes.com | @mmistakes
|
Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes
|
||||||
Free for personal and commercial use under the MIT license
|
Free for personal and commercial use under the MIT license
|
||||||
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt
|
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
|
||||||
-->
|
-->
|
||||||
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
|
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
|
||||||
<head>
|
<head>
|
||||||
@@ -16,15 +16,23 @@
|
|||||||
|
|
||||||
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
|
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
|
||||||
|
|
||||||
{% include browser-upgrade.html %}
|
{% include_cached browser-upgrade.html %}
|
||||||
{% include masthead.html %}
|
{% include_cached masthead.html %}
|
||||||
|
|
||||||
{{ content }}
|
<div class="initial-content">
|
||||||
|
{{ content }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% if site.search == true %}
|
||||||
|
<div class="search-content">
|
||||||
|
{% include_cached search/search_form.html %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<div class="page__footer">
|
<div class="page__footer">
|
||||||
<footer>
|
<footer>
|
||||||
{% include footer/custom.html %}
|
{% include footer/custom.html %}
|
||||||
{% include footer.html %}
|
{% include_cached footer.html %}
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
layout: archive
|
layout: archive
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{{ content }}
|
||||||
|
|
||||||
<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>
|
<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>
|
||||||
|
|
||||||
{% for post in paginator.posts %}
|
{% for post in paginator.posts %}
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
layout: archive
|
||||||
|
---
|
||||||
|
|
||||||
|
{{ content }}
|
||||||
|
|
||||||
|
<ul class="taxonomy__index">
|
||||||
|
{% assign postsInYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %}
|
||||||
|
{% for year in postsInYear %}
|
||||||
|
<li>
|
||||||
|
<a href="#{{ year.name }}">
|
||||||
|
<strong>{{ year.name }}</strong> <span class="taxonomy__count">{{ year.items | size }}</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
{% assign postsByYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %}
|
||||||
|
{% for year in postsByYear %}
|
||||||
|
<section id="{{ year.name }}" class="taxonomy__section">
|
||||||
|
<h2 class="archive__subtitle">{{ year.name }}</h2>
|
||||||
|
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
||||||
|
{% for post in year.items %}
|
||||||
|
{% include archive-single.html type=page.entries_layout %}
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a>
|
||||||
|
</section>
|
||||||
|
{% endfor %}
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
---
|
||||||
|
layout: default
|
||||||
|
---
|
||||||
|
|
||||||
|
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
|
||||||
|
{% include page__hero.html %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if page.url != "/" and site.breadcrumbs %}
|
||||||
|
{% unless paginator %}
|
||||||
|
{% include breadcrumbs.html %}
|
||||||
|
{% endunless %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
<div id="main" role="main">
|
||||||
|
{% include sidebar.html %}
|
||||||
|
|
||||||
|
<div class="archive">
|
||||||
|
{% unless page.header.overlay_color or page.header.overlay_image %}
|
||||||
|
<h1 id="page-title" class="page__title">{{ page.title }}</h1>
|
||||||
|
{% endunless %}
|
||||||
|
|
||||||
|
{{ content }}
|
||||||
|
|
||||||
|
{%- assign search_provider = site.search_provider | default: "lunr" -%}
|
||||||
|
{%- case search_provider -%}
|
||||||
|
{%- when "lunr" -%}
|
||||||
|
<input type="text" id="search" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
||||||
|
<div id="results" class="results"></div>
|
||||||
|
{%- when "google" -%}
|
||||||
|
<form onsubmit="return googleCustomSearchExecute();" id="cse-search-box-form-id">
|
||||||
|
<input type="text" id="cse-search-input-box-id" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
||||||
|
</form>
|
||||||
|
<div id="results" class="results">
|
||||||
|
<gcse:searchresults-only></gcse:searchresults-only>
|
||||||
|
</div>
|
||||||
|
{%- when "algolia" -%}
|
||||||
|
<div class="search-searchbar"></div>
|
||||||
|
<div class="search-hits"></div>
|
||||||
|
{%- endcase -%}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
+32
-13
@@ -17,25 +17,33 @@ layout: default
|
|||||||
<div id="main" role="main">
|
<div id="main" role="main">
|
||||||
{% include sidebar.html %}
|
{% include sidebar.html %}
|
||||||
|
|
||||||
<article class="page" itemscope itemtype="http://schema.org/CreativeWork">
|
<article class="page" itemscope itemtype="https://schema.org/CreativeWork">
|
||||||
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
||||||
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
||||||
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
|
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
|
||||||
{% if page.modified %}<meta itemprop="dateModified" content="{{ page.modified | date: "%B %d, %Y" }}">{% endif %}
|
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date: "%B %d, %Y" }}">{% endif %}
|
||||||
|
|
||||||
<div class="page__inner-wrap">
|
<div class="page__inner-wrap">
|
||||||
{% unless page.header.overlay_color or page.header.overlay_image %}
|
{% unless page.header.overlay_color or page.header.overlay_image %}
|
||||||
<header>
|
<header>
|
||||||
{% if page.title %}<h1 class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %}
|
{% if page.title %}<h1 id="page-title" class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %}
|
||||||
{% if page.read_time %}
|
{% if page.read_time %}
|
||||||
<p class="page__meta"><i class="fa fa-clock-o" aria-hidden="true"></i> {% include read-time.html %}</p>
|
<p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</header>
|
</header>
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
|
|
||||||
<section class="page__content" itemprop="text">
|
<section class="page__content" itemprop="text">
|
||||||
|
{% if page.toc %}
|
||||||
|
<aside class="sidebar__right {% if page.toc_sticky %}sticky{% endif %}">
|
||||||
|
<nav class="toc">
|
||||||
|
<header><h4 class="nav__title"><i class="fas fa-{{ page.toc_icon | default: 'file-alt' }}"></i> {{ page.toc_label | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
|
||||||
|
{% include toc.html sanitize=true html=content h_min=1 h_max=6 class="toc__menu" %}
|
||||||
|
</nav>
|
||||||
|
</aside>
|
||||||
|
{% endif %}
|
||||||
{{ content }}
|
{{ content }}
|
||||||
{% if page.link %}<div><a href="{{ page.link }}" class="btn">{{ site.data.ui-text[site.locale].ext_link_label | default: "Direct Link" }}</a></div>{% endif %}
|
{% if page.link %}<div><a href="{{ page.link }}" class="btn btn--primary">{{ site.data.ui-text[site.locale].ext_link_label | default: "Direct Link" }}</a></div>{% endif %}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<footer class="page__meta">
|
<footer class="page__meta">
|
||||||
@@ -43,10 +51,10 @@ layout: default
|
|||||||
<h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4>
|
<h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% include page__taxonomy.html %}
|
{% include page__taxonomy.html %}
|
||||||
{% if page.modified %}
|
{% if page.last_modified_at %}
|
||||||
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.modified | date: "%Y-%m-%d" }}">{{ page.modified | date: "%B %d, %Y" }}</time></p>
|
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.last_modified_at | date: "%Y-%m-%d" }}">{{ page.last_modified_at | date: "%B %d, %Y" }}</time></p>
|
||||||
{% elsif page.date %}
|
{% elsif page.date %}
|
||||||
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time></p>
|
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time></p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
@@ -55,22 +63,33 @@ layout: default
|
|||||||
{% include post_pagination.html %}
|
{% include post_pagination.html %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if site.comments.provider and page.comments %}
|
{% if jekyll.environment == 'production' and site.comments.provider and page.comments %}
|
||||||
{% include comments.html %}
|
{% include comments.html %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
{% comment %}<!-- only show related on a post page when not disabled -->{% endcomment %}
|
{% comment %}<!-- only show related on a post page when `related: true` -->{% endcomment %}
|
||||||
{% if page.id and page.related and site.related_posts.size > 0 %}
|
{% if page.id and page.related and site.related_posts.size > 0 %}
|
||||||
<div class="page__related">
|
<div class="page__related">
|
||||||
{% if site.data.ui-text[site.locale].related_label %}
|
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
|
||||||
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
|
|
||||||
{% endif %}
|
|
||||||
<div class="grid__wrapper">
|
<div class="grid__wrapper">
|
||||||
{% for post in site.related_posts limit:4 %}
|
{% for post in site.related_posts limit:4 %}
|
||||||
{% include archive-single.html type="grid" %}
|
{% include archive-single.html type="grid" %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% comment %}<!-- otherwise show recent posts if no related when `related: true` -->{% endcomment %}
|
||||||
|
{% elsif page.id and page.related %}
|
||||||
|
<div class="page__related">
|
||||||
|
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
|
||||||
|
<div class="grid__wrapper">
|
||||||
|
{% for post in site.posts limit:4 %}
|
||||||
|
{% if post.id == page.id %}
|
||||||
|
{% continue %}
|
||||||
|
{% endif %}
|
||||||
|
{% include archive-single.html type="grid" %}
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -9,14 +9,14 @@ layout: default
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div id="main" role="main">
|
<div id="main" role="main">
|
||||||
<article class="splash" itemscope itemtype="http://schema.org/CreativeWork">
|
<article class="splash" itemscope itemtype="https://schema.org/CreativeWork">
|
||||||
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
||||||
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
||||||
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
|
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
|
||||||
{% if page.modified %}<meta itemprop="dateModified" content="{{ page.modified | date: "%B %d, %Y" }}">{% endif %}
|
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date: "%B %d, %Y" }}">{% endif %}
|
||||||
|
|
||||||
<section class="page__content" itemprop="text">
|
<section class="page__content" itemprop="text">
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</section>
|
</section>
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
layout: archive
|
||||||
|
---
|
||||||
|
|
||||||
|
{{ content }}
|
||||||
|
|
||||||
|
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
||||||
|
{% include posts-tag.html taxonomy=page.taxonomy type=page.entries_layout %}
|
||||||
|
</div>
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
---
|
||||||
|
layout: archive
|
||||||
|
---
|
||||||
|
|
||||||
|
{{ content }}
|
||||||
|
|
||||||
|
{% assign tags_max = 0 %}
|
||||||
|
{% for tag in site.tags %}
|
||||||
|
{% if tag[1].size > tags_max %}
|
||||||
|
{% assign tags_max = tag[1].size %}
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
<ul class="taxonomy__index">
|
||||||
|
{% for i in (1..tags_max) reversed %}
|
||||||
|
{% for tag in site.tags %}
|
||||||
|
{% if tag[1].size == i %}
|
||||||
|
<li>
|
||||||
|
<a href="#{{ tag[0] | slugify }}">
|
||||||
|
<strong>{{ tag[0] }}</strong> <span class="taxonomy__count">{{ i }}</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
{% for i in (1..tags_max) reversed %}
|
||||||
|
{% for tag in site.tags %}
|
||||||
|
{% if tag[1].size == i %}
|
||||||
|
<section id="{{ tag[0] | slugify | downcase }}" class="taxonomy__section">
|
||||||
|
<h2 class="archive__subtitle">{{ tag[0] }}</h2>
|
||||||
|
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
||||||
|
{% for post in tag.last %}
|
||||||
|
{% include archive-single.html type=page.entries_layout %}
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a>
|
||||||
|
</section>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
{% endfor %}
|
||||||
@@ -1,238 +0,0 @@
|
|||||||
/* ==========================================================================
|
|
||||||
ARCHIVE
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
.archive {
|
|
||||||
margin-bottom: 2em;
|
|
||||||
|
|
||||||
@include breakpoint($medium) {
|
|
||||||
@include span(12 of 12);
|
|
||||||
}
|
|
||||||
|
|
||||||
@include breakpoint($large) {
|
|
||||||
@include span(10 of 12 last);
|
|
||||||
@include prefix(0.5 of 12);
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
color: inherit;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.archive__subtitle {
|
|
||||||
margin: 1.414em 0 0;
|
|
||||||
padding-bottom: 0.5em;
|
|
||||||
font-size: $type-size-5;
|
|
||||||
color: mix(#fff, $gray, 25%);
|
|
||||||
border-bottom: 1px solid $border-color;
|
|
||||||
|
|
||||||
+ .list__item .archive__item-title {
|
|
||||||
margin-top: 0.5em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.archive__item-title {
|
|
||||||
margin-bottom: 0.25em;
|
|
||||||
font-family: $sans-serif-narrow;
|
|
||||||
|
|
||||||
a + a {
|
|
||||||
opacity: 0.5;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* remove border*/
|
|
||||||
.page__content {
|
|
||||||
|
|
||||||
.archive__item-title {
|
|
||||||
margin-top: 1em;
|
|
||||||
border-bottom: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.archive__item-excerpt {
|
|
||||||
margin-top: 0;
|
|
||||||
font-size: $type-size-6;
|
|
||||||
|
|
||||||
& + p {
|
|
||||||
text-indent: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.archive__item-teaser {
|
|
||||||
border-radius: $border-radius;
|
|
||||||
overflow: hidden;
|
|
||||||
img {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.archive__item:hover {
|
|
||||||
.archive__item-teaser {
|
|
||||||
box-shadow: 0 0 10px rgba(#000, 0.25);
|
|
||||||
}
|
|
||||||
|
|
||||||
.archive__item-title {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
List view
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
.list__item {
|
|
||||||
@include breakpoint($medium) {
|
|
||||||
padding-right: $right-sidebar-width-narrow;
|
|
||||||
}
|
|
||||||
|
|
||||||
@include breakpoint($large) {
|
|
||||||
padding-right: $right-sidebar-width;
|
|
||||||
}
|
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
|
||||||
padding-right: $right-sidebar-width-wide;
|
|
||||||
}
|
|
||||||
|
|
||||||
.page__meta {
|
|
||||||
margin: 0 0 4px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
Grid view
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
.grid__item {
|
|
||||||
margin-bottom: 2em;
|
|
||||||
|
|
||||||
.page__meta {
|
|
||||||
margin: 0 0 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.archive__item-title {
|
|
||||||
margin-top: 0.5em;
|
|
||||||
font-size: $type-size-5;
|
|
||||||
}
|
|
||||||
|
|
||||||
.archive__item-excerpt {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
@include breakpoint($small) {
|
|
||||||
@include gallery(5 of 10);
|
|
||||||
.archive__item-teaser {
|
|
||||||
max-height: 200px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@include breakpoint($medium) {
|
|
||||||
margin-left: 0; /* reset before mixin does its thing*/
|
|
||||||
margin-right: 0; /* reset before mixin does its thing*/
|
|
||||||
@include gallery(2.5 of 10);
|
|
||||||
|
|
||||||
.archive__item-teaser {
|
|
||||||
max-height: 120px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.archive__item-excerpt {
|
|
||||||
display: block;
|
|
||||||
font-size: $type-size-6;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
Features
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
.feature__wrapper {
|
|
||||||
@include clearfix();
|
|
||||||
margin-bottom: 2em;
|
|
||||||
border-bottom: 1px solid $border-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.feature__item {
|
|
||||||
margin-bottom: 2em;
|
|
||||||
font-size: 1.25rem;
|
|
||||||
|
|
||||||
@include breakpoint($small) {
|
|
||||||
margin-bottom: 0;
|
|
||||||
@include gallery(4 of 12);
|
|
||||||
|
|
||||||
.feature__item-teaser {
|
|
||||||
max-height: 200px;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&--left {
|
|
||||||
@include full();
|
|
||||||
font-size: 1.25rem;
|
|
||||||
|
|
||||||
.archive__item-teaser {
|
|
||||||
margin-bottom: 2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
@include breakpoint($small) {
|
|
||||||
.archive__item-teaser {
|
|
||||||
@include span(5 of 12);
|
|
||||||
}
|
|
||||||
|
|
||||||
.archive__item-body {
|
|
||||||
@include span(7 of 12 last);
|
|
||||||
@include prefix(0.5 of 12);
|
|
||||||
@include suffix(1 of 12);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&--right {
|
|
||||||
@include full();
|
|
||||||
font-size: 1.25rem;
|
|
||||||
|
|
||||||
.archive__item-teaser {
|
|
||||||
margin-bottom: 2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
@include breakpoint($small) {
|
|
||||||
text-align: right;
|
|
||||||
|
|
||||||
.archive__item-teaser {
|
|
||||||
@include span(5 of 12 rtl);
|
|
||||||
}
|
|
||||||
|
|
||||||
.archive__item-body {
|
|
||||||
@include span(7 of 12 last rtl);
|
|
||||||
@include prefix(0.5 of 12);
|
|
||||||
@include suffix(1 of 12);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&--center {
|
|
||||||
@include full();
|
|
||||||
font-size: 1.25rem;
|
|
||||||
|
|
||||||
.archive__item-teaser {
|
|
||||||
margin-bottom: 2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
@include breakpoint($small) {
|
|
||||||
text-align: center;
|
|
||||||
|
|
||||||
.archive__item-teaser {
|
|
||||||
margin: 0 auto;
|
|
||||||
width: span(5 of 12);
|
|
||||||
}
|
|
||||||
|
|
||||||
.archive__item-body {
|
|
||||||
margin: 0 auto;
|
|
||||||
width: span(7 of 12);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,315 +0,0 @@
|
|||||||
/* ==========================================================================
|
|
||||||
BASE ELEMENTS
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
html {
|
|
||||||
/* sticky footer fix */
|
|
||||||
position: relative;
|
|
||||||
min-height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
color: $text-color;
|
|
||||||
font-family: $global-font-family;
|
|
||||||
line-height: 1.5;
|
|
||||||
|
|
||||||
&.overflow--hidden {
|
|
||||||
/* when primary navigation is visible, the content in the background won't scroll */
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
|
||||||
margin: 2em 0 0.5em;
|
|
||||||
line-height: 1.2;
|
|
||||||
font-family: $header-font-family;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
margin-top: 0;
|
|
||||||
font-size: $type-size-3;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
font-size: $type-size-4;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
|
||||||
font-size: $type-size-5;
|
|
||||||
}
|
|
||||||
|
|
||||||
h4 {
|
|
||||||
font-size: $type-size-6;
|
|
||||||
}
|
|
||||||
|
|
||||||
h5 {
|
|
||||||
font-size: $type-size-6;
|
|
||||||
}
|
|
||||||
|
|
||||||
h6 {
|
|
||||||
font-size: $type-size-6;
|
|
||||||
}
|
|
||||||
|
|
||||||
small, .small {
|
|
||||||
font-size: $type-size-6;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
margin-bottom: 1.3em;
|
|
||||||
}
|
|
||||||
|
|
||||||
u,
|
|
||||||
ins {
|
|
||||||
text-decoration: none;
|
|
||||||
border-bottom: 1px solid $text-color;
|
|
||||||
a {
|
|
||||||
color: inherit;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
del a {
|
|
||||||
color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* reduce orphans and widows when printing */
|
|
||||||
|
|
||||||
p, pre, blockquote, ul, ol, dl, figure, table, fieldset {
|
|
||||||
orphans: 3;
|
|
||||||
widows: 3;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* abbreviations */
|
|
||||||
|
|
||||||
abbr[title],
|
|
||||||
abbr[data-original-title] {
|
|
||||||
text-decoration: none;
|
|
||||||
cursor: help;
|
|
||||||
border-bottom: 1px dotted $text-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* blockquotes */
|
|
||||||
|
|
||||||
blockquote {
|
|
||||||
margin: 2em 1em 2em 0;
|
|
||||||
padding-left: 1em;
|
|
||||||
padding-right: 1em;
|
|
||||||
font-style: italic;
|
|
||||||
border-left: 0.25em solid $primary-color;
|
|
||||||
|
|
||||||
cite {
|
|
||||||
font-style: italic;
|
|
||||||
|
|
||||||
&:before {
|
|
||||||
content: "\2014";
|
|
||||||
padding-right: 5px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* links */
|
|
||||||
|
|
||||||
a {
|
|
||||||
&:focus {
|
|
||||||
@extend %tab-focus;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover,
|
|
||||||
&:active {
|
|
||||||
outline: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* code */
|
|
||||||
|
|
||||||
tt, code, kbd, samp, pre {
|
|
||||||
font-family: $monospace;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre {
|
|
||||||
overflow-x: auto; /* add scrollbars to wide code blocks*/
|
|
||||||
}
|
|
||||||
|
|
||||||
p > code,
|
|
||||||
a > code,
|
|
||||||
li > code,
|
|
||||||
figcaption > code,
|
|
||||||
td > code {
|
|
||||||
padding-top: 0.1rem;
|
|
||||||
padding-bottom: 0.1rem;
|
|
||||||
font-size: $type-size-6;
|
|
||||||
background: $code-background-color;
|
|
||||||
border: 1px solid $lighter-gray;
|
|
||||||
border-radius: $border-radius;
|
|
||||||
box-shadow: $box-shadow;
|
|
||||||
|
|
||||||
&:before, &:after {
|
|
||||||
letter-spacing: -0.2em;
|
|
||||||
content: "\00a0"; /* non-breaking space*/
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* horizontal rule */
|
|
||||||
|
|
||||||
hr {
|
|
||||||
display: block;
|
|
||||||
margin: 1em 0;
|
|
||||||
border: 0;
|
|
||||||
border-top: 1px solid $border-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* lists */
|
|
||||||
|
|
||||||
ul li,
|
|
||||||
ol li {
|
|
||||||
margin-bottom: 0.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
li ul,
|
|
||||||
li ol {
|
|
||||||
margin-top: 0.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
Media and embeds
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
/* Figures and images */
|
|
||||||
|
|
||||||
figure {
|
|
||||||
display: -webkit-box;
|
|
||||||
display: flex;
|
|
||||||
-webkit-box-pack: justify;
|
|
||||||
justify-content: space-between;
|
|
||||||
-webkit-box-align: start;
|
|
||||||
align-items: flex-start;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
margin: 2em 0;
|
|
||||||
|
|
||||||
img,
|
|
||||||
iframe,
|
|
||||||
.fluid-width-video-wrapper {
|
|
||||||
margin-bottom: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
width: 100%;
|
|
||||||
border-radius: $border-radius;
|
|
||||||
-webkit-transition: $global-transition;
|
|
||||||
transition: $global-transition;
|
|
||||||
}
|
|
||||||
|
|
||||||
> a {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.half {
|
|
||||||
> a,
|
|
||||||
> img {
|
|
||||||
@include breakpoint($small) {
|
|
||||||
width: calc(50% - 0.5em);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
figcaption {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&.third {
|
|
||||||
> a,
|
|
||||||
> img {
|
|
||||||
@include breakpoint($small) {
|
|
||||||
width: calc(33.3333% - 0.5em);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
figcaption {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Figure captions */
|
|
||||||
|
|
||||||
figcaption {
|
|
||||||
margin-bottom: 0.5em;
|
|
||||||
color: mix(#fff, $text-color, 25%);
|
|
||||||
font-family: $caption-font-family;
|
|
||||||
font-size: $type-size-6;
|
|
||||||
|
|
||||||
a {
|
|
||||||
color: inherit;
|
|
||||||
text-decoration: none;
|
|
||||||
border-bottom: 1px solid $light-gray;
|
|
||||||
-webkit-transition: $global-transition;
|
|
||||||
transition: $global-transition;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: #000;
|
|
||||||
border-bottom-color: #000;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Fix IE9 SVG bug */
|
|
||||||
|
|
||||||
svg:not(:root) {
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
Navigation lists
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Removes margins, padding, and bullet points from navigation lists
|
|
||||||
*
|
|
||||||
* Example usage:
|
|
||||||
* <nav>
|
|
||||||
* <ul>
|
|
||||||
* <li><a href="#link-1">Link 1</a></li>
|
|
||||||
* <li><a href="#link-2">Link 2</a></li>
|
|
||||||
* <li><a href="#link-3">Link 3</a></li>
|
|
||||||
* </ul>
|
|
||||||
* </nav>
|
|
||||||
*/
|
|
||||||
|
|
||||||
nav {
|
|
||||||
ul {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
li {
|
|
||||||
list-style: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* override white-space for nested lists */
|
|
||||||
ul li,
|
|
||||||
ol li {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
li ul,
|
|
||||||
li ol {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
Global animation transition
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
b, i, strong, em, blockquote, p, q, span, figure, img, h1, h2, header, input, a, tr, td, form button, input[type="submit"], .btn, .highlight, .archive__item-teaser {
|
|
||||||
-webkit-transition: $global-transition;
|
|
||||||
transition: $global-transition;
|
|
||||||
}
|
|
||||||
@@ -1,153 +0,0 @@
|
|||||||
/* ==========================================================================
|
|
||||||
BUTTONS
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
/*
|
|
||||||
Default button
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
.btn {
|
|
||||||
/* default button */
|
|
||||||
display: inline-block;
|
|
||||||
margin-bottom: 0.25em;
|
|
||||||
padding: 0.5em 1em;
|
|
||||||
color: #fff !important;
|
|
||||||
font-family: $sans-serif;
|
|
||||||
font-size: $type-size-6;
|
|
||||||
font-weight: bold;
|
|
||||||
text-align: center;
|
|
||||||
text-decoration: none;
|
|
||||||
background-color: $primary-color;
|
|
||||||
border: 0 !important;
|
|
||||||
border-radius: $border-radius;
|
|
||||||
cursor: pointer;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background-color: mix(white, #000, 20%);
|
|
||||||
}
|
|
||||||
|
|
||||||
.icon {
|
|
||||||
margin-right: 0.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.icon + .hidden {
|
|
||||||
margin-left: -0.5em; /* override for hidden text*/
|
|
||||||
}
|
|
||||||
|
|
||||||
/* fills width of parent container */
|
|
||||||
|
|
||||||
&--block {
|
|
||||||
display: block;
|
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
+ .btn--block {
|
|
||||||
margin-top: 0.25em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* for dark backgrounds */
|
|
||||||
|
|
||||||
&--inverse {
|
|
||||||
color: $gray !important;
|
|
||||||
border: 1px solid $light-gray !important; /* override*/
|
|
||||||
background-color: #fff;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: #fff !important;
|
|
||||||
border-color: $gray;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* light outline */
|
|
||||||
|
|
||||||
&--light-outline {
|
|
||||||
border: 1px solid #fff !important; /* override*/
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* information */
|
|
||||||
|
|
||||||
&--info {
|
|
||||||
background-color: $info-color;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background-color: mix(#000, $info-color, 20%);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* warning */
|
|
||||||
|
|
||||||
&--warning {
|
|
||||||
background-color: $warning-color;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background-color: mix(#000, $warning-color, 20%);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* success */
|
|
||||||
|
|
||||||
&--success {
|
|
||||||
background-color: $success-color;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background-color: mix(#000, $success-color, 20%);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* danger */
|
|
||||||
|
|
||||||
&--danger {
|
|
||||||
background-color: $danger-color;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background-color: mix(#000, $danger-color, 20%);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* disabled */
|
|
||||||
|
|
||||||
&--disabled {
|
|
||||||
pointer-events: none;
|
|
||||||
cursor: not-allowed;
|
|
||||||
filter: alpha(opacity=65);
|
|
||||||
box-shadow: none;
|
|
||||||
opacity: 0.65;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* social buttons */
|
|
||||||
|
|
||||||
$social:
|
|
||||||
(facebook, $facebook-color),
|
|
||||||
(twitter, $twitter-color),
|
|
||||||
(google-plus, $google-plus-color),
|
|
||||||
(linkedin, $linkedin-color);
|
|
||||||
|
|
||||||
@each $socialnetwork, $color in $social {
|
|
||||||
&--#{$socialnetwork} {
|
|
||||||
background-color: $color;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background-color: mix(#000, $color, 20%);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* extra large button */
|
|
||||||
|
|
||||||
&--x-large {
|
|
||||||
font-size: $type-size-4;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* large button */
|
|
||||||
|
|
||||||
&--large {
|
|
||||||
font-size: $type-size-5;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* small button */
|
|
||||||
|
|
||||||
&--small {
|
|
||||||
font-size: $type-size-7;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,80 +0,0 @@
|
|||||||
/* ==========================================================================
|
|
||||||
FOOTER
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
.page__footer {
|
|
||||||
@include full();
|
|
||||||
@include clearfix;
|
|
||||||
/* sticky footer fix start */
|
|
||||||
position: absolute;
|
|
||||||
bottom: 0;
|
|
||||||
width: 100%;
|
|
||||||
clear: both;
|
|
||||||
height: auto;
|
|
||||||
/* sticky footer fix end */
|
|
||||||
margin-top: 3em;
|
|
||||||
color: mix(#fff, $gray, 25%);
|
|
||||||
-webkit-animation: intro 0.3s both;
|
|
||||||
animation: intro 0.3s both;
|
|
||||||
-webkit-animation-delay: 0.45s;
|
|
||||||
animation-delay: 0.45s;
|
|
||||||
background-color: $lighter-gray;
|
|
||||||
border-top: 1px solid $light-gray;
|
|
||||||
|
|
||||||
footer {
|
|
||||||
@include container;
|
|
||||||
@include clearfix;
|
|
||||||
margin-top: 2em;
|
|
||||||
padding: 0 1em 2em;
|
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
|
||||||
max-width: $x-large;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
color: inherit;
|
|
||||||
text-decoration: none;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa {
|
|
||||||
color: mix(#fff, $gray, 25%);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.page__footer-copyright {
|
|
||||||
font-family: $global-font-family;
|
|
||||||
font-size: $type-size-7;
|
|
||||||
}
|
|
||||||
|
|
||||||
.page__footer-follow {
|
|
||||||
|
|
||||||
ul {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
list-style-type: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
li {
|
|
||||||
display: inline-block;
|
|
||||||
padding-top: 5px;
|
|
||||||
padding-bottom: 5px;
|
|
||||||
font-family: $sans-serif-narrow;
|
|
||||||
font-size: $type-size-6;
|
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
|
||||||
|
|
||||||
li + li:before {
|
|
||||||
content: "";
|
|
||||||
padding-right: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
padding-right: 10px;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,391 +0,0 @@
|
|||||||
/* ==========================================================================
|
|
||||||
Forms
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
form {
|
|
||||||
margin: 0 0 5px 0;
|
|
||||||
|
|
||||||
fieldset {
|
|
||||||
margin-bottom: 5px;
|
|
||||||
padding: 0;
|
|
||||||
border-width: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
legend {
|
|
||||||
display: block;
|
|
||||||
width: 100%;
|
|
||||||
margin-bottom: 5px * 2;
|
|
||||||
*margin-left: -7px;
|
|
||||||
padding: 0;
|
|
||||||
color: $text-color;
|
|
||||||
border: 0;
|
|
||||||
border-bottom: 1px solid mix(#fff, #000, 80%);
|
|
||||||
white-space: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
margin-bottom: 5px / 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul {
|
|
||||||
list-style-type: none;
|
|
||||||
margin: 0 0 5px 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
br {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
label,
|
|
||||||
input,
|
|
||||||
button,
|
|
||||||
select,
|
|
||||||
textarea {
|
|
||||||
vertical-align: baseline;
|
|
||||||
*vertical-align: middle;
|
|
||||||
}
|
|
||||||
|
|
||||||
input,
|
|
||||||
button,
|
|
||||||
select,
|
|
||||||
textarea {
|
|
||||||
box-sizing: border-box;
|
|
||||||
font-family: $sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
label {
|
|
||||||
display: block;
|
|
||||||
margin-bottom: 0.25em;
|
|
||||||
color: $text-color;
|
|
||||||
cursor: pointer;
|
|
||||||
|
|
||||||
small {
|
|
||||||
font-size: $type-size-6;
|
|
||||||
}
|
|
||||||
|
|
||||||
input,
|
|
||||||
textarea,
|
|
||||||
select {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
input,
|
|
||||||
textarea,
|
|
||||||
select {
|
|
||||||
display: inline-block;
|
|
||||||
width: 100%;
|
|
||||||
padding: 0.25em;
|
|
||||||
margin-bottom: 0.5em;
|
|
||||||
color: $text-color;
|
|
||||||
background-color: #fff;
|
|
||||||
border: 1px solid mix(#fff, #000, 80%);
|
|
||||||
border-radius: $border-radius;
|
|
||||||
box-shadow: $box-shadow;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
border-color: mix(#fff, $primary-color, 50%);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.input-mini {
|
|
||||||
width: 60px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.input-small {
|
|
||||||
width: 90px;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type="image"],
|
|
||||||
input[type="checkbox"],
|
|
||||||
input[type="radio"] {
|
|
||||||
width: auto;
|
|
||||||
height: auto;
|
|
||||||
padding: 0;
|
|
||||||
margin: 3px 0;
|
|
||||||
*margin-top: 0;
|
|
||||||
line-height: normal;
|
|
||||||
cursor: pointer;
|
|
||||||
border-radius: 0;
|
|
||||||
border: 0 \9;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type="checkbox"],
|
|
||||||
input[type="radio"] {
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding: 0;
|
|
||||||
*width: 13px;
|
|
||||||
*height: 13px;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type="image"] {
|
|
||||||
border: 0;
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type="file"] {
|
|
||||||
width: auto;
|
|
||||||
padding: initial;
|
|
||||||
line-height: initial;
|
|
||||||
border: initial;
|
|
||||||
background-color: transparent;
|
|
||||||
background-color: initial;
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type="button"],
|
|
||||||
input[type="reset"],
|
|
||||||
input[type="submit"] {
|
|
||||||
width: auto;
|
|
||||||
height: auto;
|
|
||||||
cursor: pointer;
|
|
||||||
*overflow: visible;
|
|
||||||
}
|
|
||||||
|
|
||||||
select,
|
|
||||||
input[type="file"] {
|
|
||||||
*margin-top: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
select {
|
|
||||||
width: auto;
|
|
||||||
background-color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
select[multiple],
|
|
||||||
select[size] {
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
textarea {
|
|
||||||
resize: vertical;
|
|
||||||
height: auto;
|
|
||||||
overflow: auto;
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type="hidden"] {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.form {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.radio,
|
|
||||||
.checkbox {
|
|
||||||
padding-left: 18px;
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
.radio input[type="radio"],
|
|
||||||
.checkbox input[type="checkbox"] {
|
|
||||||
float: left;
|
|
||||||
margin-left: -18px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.radio.inline,
|
|
||||||
.checkbox.inline {
|
|
||||||
display: inline-block;
|
|
||||||
padding-top: 5px;
|
|
||||||
margin-bottom: 0;
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
|
|
||||||
.radio.inline + .radio.inline,
|
|
||||||
.checkbox.inline + .checkbox.inline {
|
|
||||||
margin-left: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
Disabled state
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
input[disabled],
|
|
||||||
select[disabled],
|
|
||||||
textarea[disabled],
|
|
||||||
input[readonly],
|
|
||||||
select[readonly],
|
|
||||||
textarea[readonly] {
|
|
||||||
opacity: 0.5;
|
|
||||||
cursor: not-allowed;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
Focus & active state
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
input:focus,
|
|
||||||
textarea:focus {
|
|
||||||
border-color: $primary-color;
|
|
||||||
outline: 0;
|
|
||||||
outline: thin dotted \9;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type="file"]:focus,
|
|
||||||
input[type="radio"]:focus,
|
|
||||||
input[type="checkbox"]:focus,
|
|
||||||
select:focus {
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
Help text
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
.help-block,
|
|
||||||
.help-inline {
|
|
||||||
color: $info-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.help-block {
|
|
||||||
display: block;
|
|
||||||
margin-bottom: 1em;
|
|
||||||
line-height: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.help-inline {
|
|
||||||
display: inline-block;
|
|
||||||
vertical-align: middle;
|
|
||||||
padding-left: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
.form-inline
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
.form-inline input,
|
|
||||||
.form-inline textarea,
|
|
||||||
.form-inline select {
|
|
||||||
display: inline-block;
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.form-inline label {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.form-inline .radio,
|
|
||||||
.form-inline .checkbox,
|
|
||||||
.form-inline .radio {
|
|
||||||
padding-left: 0;
|
|
||||||
margin-bottom: 0;
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
|
|
||||||
.form-inline .radio input[type="radio"],
|
|
||||||
.form-inline .checkbox input[type="checkbox"] {
|
|
||||||
float: left;
|
|
||||||
margin-left: 0;
|
|
||||||
margin-right: 3px; }
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
.form-search
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
.form-search input,
|
|
||||||
.form-search textarea,
|
|
||||||
.form-search select {
|
|
||||||
display: inline-block;
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.form-search .search-query {
|
|
||||||
padding-left: 14px;
|
|
||||||
padding-right: 14px;
|
|
||||||
margin-bottom: 0;
|
|
||||||
border-radius: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.form-search label {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.form-search .radio,
|
|
||||||
.form-search .checkbox,
|
|
||||||
.form-inline .radio {
|
|
||||||
padding-left: 0;
|
|
||||||
margin-bottom: 0;
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
|
|
||||||
.form-search .radio input[type="radio"],
|
|
||||||
.form-search .checkbox input[type="checkbox"] {
|
|
||||||
float: left;
|
|
||||||
margin-left: 0;
|
|
||||||
margin-right: 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
.form--loading
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
.form--loading:before {
|
|
||||||
content: '';
|
|
||||||
}
|
|
||||||
|
|
||||||
.form--loading .form__spinner {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.form:before {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
background-color: rgba(255, 255, 255, 0.7);
|
|
||||||
z-index: 10;
|
|
||||||
}
|
|
||||||
|
|
||||||
.form__spinner {
|
|
||||||
display: none;
|
|
||||||
position: absolute;
|
|
||||||
top: 50%;
|
|
||||||
left: 50%;
|
|
||||||
z-index: 11;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
Google search form
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
#goog-fixurl {
|
|
||||||
ul {
|
|
||||||
list-style: none;
|
|
||||||
margin-left: 0;
|
|
||||||
padding-left: 0;
|
|
||||||
li {
|
|
||||||
list-style-type: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#goog-wm-qt {
|
|
||||||
width: auto;
|
|
||||||
margin-right: 10px;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
padding: 8px 20px;
|
|
||||||
display: inline-block;
|
|
||||||
font-size: $type-size-6;
|
|
||||||
background-color: #fff;
|
|
||||||
color: #000;
|
|
||||||
border-width: 2px !important;
|
|
||||||
border-style: solid !important;
|
|
||||||
border-color: lighten(#000,50);
|
|
||||||
border-radius: $border-radius;
|
|
||||||
}
|
|
||||||
|
|
||||||
#goog-wm-sb {
|
|
||||||
@extend .btn;
|
|
||||||
}
|
|
||||||
@@ -1,77 +0,0 @@
|
|||||||
/* ==========================================================================
|
|
||||||
MASTHEAD
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
.masthead {
|
|
||||||
position: relative;
|
|
||||||
border-bottom: 1px solid $border-color;
|
|
||||||
-webkit-animation: intro 0.3s both;
|
|
||||||
animation: intro 0.3s both;
|
|
||||||
-webkit-animation-delay: 0.15s;
|
|
||||||
animation-delay: 0.15s;
|
|
||||||
z-index: 20;
|
|
||||||
|
|
||||||
&__inner-wrap {
|
|
||||||
@include container;
|
|
||||||
@include clearfix;
|
|
||||||
display: -webkit-box;
|
|
||||||
display: flex;
|
|
||||||
-webkit-box-pack: justify;
|
|
||||||
justify-content: space-between;
|
|
||||||
padding: 1em 1em 1em;
|
|
||||||
font-family: $sans-serif-narrow;
|
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
|
||||||
max-width: $x-large;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav {
|
|
||||||
z-index: 10;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.site-title {
|
|
||||||
display: -webkit-box;
|
|
||||||
display: flex;
|
|
||||||
padding: 0.5rem 0;
|
|
||||||
align-self: stretch;
|
|
||||||
-webkit-box-align: center;
|
|
||||||
align-items: center;
|
|
||||||
font-weight: bold;
|
|
||||||
z-index: 20;
|
|
||||||
}
|
|
||||||
|
|
||||||
.masthead__menu {
|
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
.site-nav {
|
|
||||||
margin-left: 0;
|
|
||||||
|
|
||||||
@include breakpoint($small) {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
ul {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
clear: both;
|
|
||||||
list-style-type: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.masthead__menu-item {
|
|
||||||
display: block;
|
|
||||||
list-style-type: none;
|
|
||||||
white-space: nowrap;
|
|
||||||
|
|
||||||
&--lg {
|
|
||||||
padding-right: 2em;
|
|
||||||
font-weight: 700;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
/* ==========================================================================
|
|
||||||
MIXINS
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
%tab-focus {
|
|
||||||
/* Default*/
|
|
||||||
outline: thin dotted $warning-color;
|
|
||||||
/* Webkit*/
|
|
||||||
outline: 5px auto $warning-color;
|
|
||||||
outline-offset: -2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
em function
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
@function em($target, $context: $doc-font-size) {
|
|
||||||
@return ($target / $context) * 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
Bourbon clearfix
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Provides an easy way to include a clearfix for containing floats.
|
|
||||||
* link http://cssmojo.com/latest_new_clearfix_so_far/
|
|
||||||
*
|
|
||||||
* example scss - Usage
|
|
||||||
*
|
|
||||||
* .element {
|
|
||||||
* @include clearfix;
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* example css - CSS Output
|
|
||||||
*
|
|
||||||
* .element::after {
|
|
||||||
* clear: both;
|
|
||||||
* content: "";
|
|
||||||
* display: table;
|
|
||||||
* }
|
|
||||||
*/
|
|
||||||
|
|
||||||
@mixin clearfix {
|
|
||||||
clear: both;
|
|
||||||
|
|
||||||
&::after {
|
|
||||||
clear: both;
|
|
||||||
content: "";
|
|
||||||
display: table;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,558 +0,0 @@
|
|||||||
/* ==========================================================================
|
|
||||||
NAVIGATION
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
/*
|
|
||||||
Breadcrumb navigation links
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
.breadcrumbs {
|
|
||||||
@include container;
|
|
||||||
@include clearfix;
|
|
||||||
margin-top: 0;
|
|
||||||
margin-bottom: 0;
|
|
||||||
padding-left: 2em;
|
|
||||||
padding-right: 2em;
|
|
||||||
font-family: $sans-serif;
|
|
||||||
-webkit-animation: intro 0.3s both;
|
|
||||||
animation: intro 0.3s both;
|
|
||||||
-webkit-animation-delay: 0.30s;
|
|
||||||
animation-delay: 0.30s;
|
|
||||||
|
|
||||||
@include breakpoint($large) {
|
|
||||||
padding-left: 1em;
|
|
||||||
padding-right: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
|
||||||
max-width: $x-large;
|
|
||||||
}
|
|
||||||
|
|
||||||
ol {
|
|
||||||
padding: 0;
|
|
||||||
list-style: none;
|
|
||||||
font-size: $type-size-6;
|
|
||||||
|
|
||||||
@include breakpoint($large) {
|
|
||||||
@include span(10 of 12 last);
|
|
||||||
}
|
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
|
||||||
@include prefix(0.5 of 12);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
li {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
|
|
||||||
.current {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
Post pagination navigation links
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
.pagination {
|
|
||||||
@include full();
|
|
||||||
@include clearfix();
|
|
||||||
margin-top: 1em;
|
|
||||||
padding-top: 1em;
|
|
||||||
|
|
||||||
ul {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
list-style-type: none;
|
|
||||||
font-family: $sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
li {
|
|
||||||
display: block;
|
|
||||||
float: left;
|
|
||||||
margin-left: -1px;
|
|
||||||
|
|
||||||
a {
|
|
||||||
display: block;
|
|
||||||
margin-bottom: 0.25em;
|
|
||||||
padding: 0.5em 1em;
|
|
||||||
font-family: $sans-serif;
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: bold;
|
|
||||||
line-height: 1.5;
|
|
||||||
text-align: center;
|
|
||||||
text-decoration: none;
|
|
||||||
color: mix(#fff, $gray, 25%);
|
|
||||||
border: 1px solid $light-gray;
|
|
||||||
border-radius: 0;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: $link-color-hover;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.current {
|
|
||||||
color: #fff;
|
|
||||||
background: $primary-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.disabled {
|
|
||||||
color: mix(#fff, $gray, 75%);
|
|
||||||
pointer-events: none;
|
|
||||||
cursor: not-allowed;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&:first-child {
|
|
||||||
margin-left: 0;
|
|
||||||
|
|
||||||
a {
|
|
||||||
border-top-left-radius: $border-radius;
|
|
||||||
border-bottom-left-radius: $border-radius;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&:last-child {
|
|
||||||
a {
|
|
||||||
border-top-right-radius: $border-radius;
|
|
||||||
border-bottom-right-radius: $border-radius;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* next/previous buttons */
|
|
||||||
&--pager {
|
|
||||||
display: block;
|
|
||||||
padding: 1em 2em;
|
|
||||||
float: left;
|
|
||||||
width: 50%;
|
|
||||||
font-family: $sans-serif;
|
|
||||||
font-size: $type-size-5;
|
|
||||||
font-weight: bold;
|
|
||||||
text-align: center;
|
|
||||||
text-decoration: none;
|
|
||||||
color: $link-color;
|
|
||||||
border: 1px solid $light-gray;
|
|
||||||
border-radius: $border-radius;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: $link-color-hover;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:first-child {
|
|
||||||
border-top-right-radius: 0;
|
|
||||||
border-bottom-right-radius: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:last-child {
|
|
||||||
margin-left: -1px;
|
|
||||||
border-top-left-radius: 0;
|
|
||||||
border-bottom-left-radius: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.disabled {
|
|
||||||
color: mix(#fff, $gray, 75%);
|
|
||||||
pointer-events: none;
|
|
||||||
cursor: not-allowed;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.page__content + .pagination,
|
|
||||||
.page__meta + .pagination,
|
|
||||||
.page__share + .pagination,
|
|
||||||
.page__comments + .pagination {
|
|
||||||
margin-top: 2em;
|
|
||||||
padding-top: 2em;
|
|
||||||
border-top: 1px solid $border-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
Priority plus navigation
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
.greedy-nav {
|
|
||||||
position: relative;
|
|
||||||
display: -webkit-box;
|
|
||||||
display: flex;
|
|
||||||
-webkit-box-align: center;
|
|
||||||
align-items: center;
|
|
||||||
background: $background-color;
|
|
||||||
|
|
||||||
a {
|
|
||||||
display: block;
|
|
||||||
margin: 0 1rem;
|
|
||||||
padding: 0.5rem 0;
|
|
||||||
color: $masthead-link-color;
|
|
||||||
text-decoration: none;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: $masthead-link-color-hover;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.site-title {
|
|
||||||
margin-left: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
padding: 0 0.5rem;
|
|
||||||
align-self: stretch;
|
|
||||||
border: 0;
|
|
||||||
outline: none;
|
|
||||||
color: #fff;
|
|
||||||
background-color: $primary-color;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.visible-links {
|
|
||||||
display: -webkit-box;
|
|
||||||
display: flex;
|
|
||||||
-webkit-box-pack: end;
|
|
||||||
justify-content: flex-end;
|
|
||||||
-webkit-box-flex: 1;
|
|
||||||
flex: 1;
|
|
||||||
padding-right: 2rem;
|
|
||||||
overflow: hidden;
|
|
||||||
|
|
||||||
li {
|
|
||||||
-webkit-box-flex: 0;
|
|
||||||
flex: none;
|
|
||||||
|
|
||||||
&:last-child {
|
|
||||||
a {
|
|
||||||
margin-right: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
position: relative;
|
|
||||||
|
|
||||||
&:before {
|
|
||||||
content: "";
|
|
||||||
position: absolute;
|
|
||||||
left: 0;
|
|
||||||
bottom: 0;
|
|
||||||
height: 4px;
|
|
||||||
background: mix(#fff, $primary-color, 50%);
|
|
||||||
width: 100%;
|
|
||||||
-webkit-transition: $global-transition;
|
|
||||||
transition: $global-transition;
|
|
||||||
-webkit-transform: scaleX(0) translate3d(0, 0 , 0);
|
|
||||||
transform: scaleX(0) translate3d(0, 0 , 0); /* hide*/
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover:before {
|
|
||||||
-webkit-transform: scaleX(1);
|
|
||||||
-ms-transform: scaleX(1);
|
|
||||||
transform: scaleX(1); /* reveal*/
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.hidden-links {
|
|
||||||
position: absolute;
|
|
||||||
top: 100%;
|
|
||||||
right: 0;
|
|
||||||
margin-top: 15px;
|
|
||||||
padding: 5px;
|
|
||||||
border: 1px solid $border-color;
|
|
||||||
border-radius: $border-radius;
|
|
||||||
background: #fff;
|
|
||||||
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
|
|
||||||
|
|
||||||
&.hidden {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
margin: 0;
|
|
||||||
padding: 10px 20px;
|
|
||||||
font-size: $type-size-5;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: $masthead-link-color-hover;
|
|
||||||
background: mix(#fff, $primary-color, 75%);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&:before {
|
|
||||||
content: "";
|
|
||||||
position: absolute;
|
|
||||||
top: -11px;
|
|
||||||
right: 10px;
|
|
||||||
width: 0;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 0 10px 10px;
|
|
||||||
border-color: $border-color transparent;
|
|
||||||
display: block;
|
|
||||||
z-index: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:after {
|
|
||||||
content: "";
|
|
||||||
position: absolute;
|
|
||||||
top: -10px;
|
|
||||||
right: 10px;
|
|
||||||
width: 0;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 0 10px 10px;
|
|
||||||
border-color: #fff transparent;
|
|
||||||
display: block;
|
|
||||||
z-index: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
li {
|
|
||||||
display: block;
|
|
||||||
border-bottom: 1px solid $border-color;
|
|
||||||
|
|
||||||
&:last-child {
|
|
||||||
border-bottom: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
Navigation list
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
.nav__list {
|
|
||||||
margin-bottom: 1.5em;
|
|
||||||
|
|
||||||
input[type="checkbox"],
|
|
||||||
label {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
@include breakpoint(max-width ($large - 1px)) {
|
|
||||||
|
|
||||||
label {
|
|
||||||
position: relative;
|
|
||||||
display: inline-block;
|
|
||||||
padding: 0.5em 2.5em 0.5em 1em;
|
|
||||||
color: $gray;
|
|
||||||
font-size: $type-size-6;
|
|
||||||
font-weight: bold;
|
|
||||||
border: 1px solid $light-gray;
|
|
||||||
border-radius: $border-radius;
|
|
||||||
z-index: 20;
|
|
||||||
-webkit-transition: 0.2s ease-out;
|
|
||||||
transition: 0.2s ease-out;
|
|
||||||
cursor: pointer;
|
|
||||||
|
|
||||||
&:before,
|
|
||||||
&:after {
|
|
||||||
content: '';
|
|
||||||
position: absolute;
|
|
||||||
right: 1em;
|
|
||||||
top: 1.25em;
|
|
||||||
width: 0.75em;
|
|
||||||
height: 0.125em;
|
|
||||||
line-height: 1;
|
|
||||||
background-color: $gray;
|
|
||||||
-webkit-transition: 0.2s ease-out;
|
|
||||||
transition: 0.2s ease-out;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:after {
|
|
||||||
-webkit-transform: rotate(90deg);
|
|
||||||
-ms-transform: rotate(90deg);
|
|
||||||
transform: rotate(90deg);
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: #fff;
|
|
||||||
border-color: $gray;
|
|
||||||
background-color: mix(white, #000, 20%);
|
|
||||||
|
|
||||||
&:before,
|
|
||||||
&:after {
|
|
||||||
background-color: #fff;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* selected*/
|
|
||||||
input:checked + label {
|
|
||||||
color: white;
|
|
||||||
background-color: mix(white, #000, 20%);
|
|
||||||
|
|
||||||
&:before,
|
|
||||||
&:after {
|
|
||||||
background-color: #fff;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* on hover show expand*/
|
|
||||||
label:hover:after {
|
|
||||||
-webkit-transform: rotate(90deg);
|
|
||||||
-ms-transform: rotate(90deg);
|
|
||||||
transform: rotate(90deg);
|
|
||||||
}
|
|
||||||
|
|
||||||
input:checked + label:hover:after {
|
|
||||||
-webkit-transform: rotate(0);
|
|
||||||
-ms-transform: rotate(0);
|
|
||||||
transform: rotate(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
ul {
|
|
||||||
margin-bottom: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
display: block;
|
|
||||||
padding: 0.25em 0;
|
|
||||||
|
|
||||||
@include breakpoint($large) {
|
|
||||||
padding-top: 0.125em;
|
|
||||||
padding-bottom: 0.125em;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav__list .nav__items {
|
|
||||||
margin: 0;
|
|
||||||
font-size: 1.25rem;
|
|
||||||
|
|
||||||
a {
|
|
||||||
color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
.active {
|
|
||||||
margin-left: -0.5em;
|
|
||||||
padding-left: 0.5em;
|
|
||||||
padding-right: 0.5em;
|
|
||||||
color: #fff;
|
|
||||||
font-weight: bold;
|
|
||||||
background: $primary-color;
|
|
||||||
border-radius: $border-radius;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@include breakpoint(max-width ($large - 1px)) {
|
|
||||||
position: relative;
|
|
||||||
max-height: 0;
|
|
||||||
opacity: 0%;
|
|
||||||
overflow: hidden;
|
|
||||||
z-index: 10;
|
|
||||||
-webkit-transition: 0.3s ease-in-out;
|
|
||||||
transition: 0.3s ease-in-out;
|
|
||||||
-webkit-transform: translate(0, 10%);
|
|
||||||
-ms-transform: translate(0, 10%);
|
|
||||||
transform: translate(0, 10%);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@include breakpoint(max-width ($large - 1px)) {
|
|
||||||
.nav__list input:checked ~ .nav__items {
|
|
||||||
-webkit-transition: 0.5s ease-in-out;
|
|
||||||
transition: 0.5s ease-in-out;
|
|
||||||
max-height: 9999px; /* exaggerate max-height to accommodate tall lists*/
|
|
||||||
overflow: visible;
|
|
||||||
opacity: 1;
|
|
||||||
margin-top: 1em;
|
|
||||||
-webkit-transform: translate(0, 0);
|
|
||||||
-ms-transform: translate(0, 0);
|
|
||||||
transform: translate(0, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav__title {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0.5rem 1rem;
|
|
||||||
font-family: $sans-serif-narrow;
|
|
||||||
font-size: $type-size-5;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav__sub-title {
|
|
||||||
display: block;
|
|
||||||
margin: 0.5rem 0;
|
|
||||||
padding: 0.5rem 0;
|
|
||||||
font-family: $sans-serif-narrow;
|
|
||||||
font-size: $type-size-6;
|
|
||||||
font-weight: bold;
|
|
||||||
text-transform: uppercase;
|
|
||||||
border-bottom: 1px solid $border-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
Table of contents navigation
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
.toc {
|
|
||||||
font-family: $sans-serif-narrow;
|
|
||||||
color: $gray;
|
|
||||||
text-transform: uppercase;
|
|
||||||
letter-spacing: 1px;
|
|
||||||
background-color: #fff;
|
|
||||||
border: 1px solid $border-color;
|
|
||||||
border-radius: $border-radius;
|
|
||||||
box-shadow: $box-shadow;
|
|
||||||
|
|
||||||
.nav__title {
|
|
||||||
color: #fff;
|
|
||||||
font-size: $type-size-6;
|
|
||||||
background: $primary-color;
|
|
||||||
border-top-left-radius: $border-radius;
|
|
||||||
border-top-right-radius: $border-radius;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.toc__menu {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
width: 100%;
|
|
||||||
list-style: none;
|
|
||||||
font-size: 0.8rem;
|
|
||||||
|
|
||||||
a {
|
|
||||||
display: block;
|
|
||||||
padding: 0.5rem 1rem;
|
|
||||||
color: $gray;
|
|
||||||
font-size: $type-size-7;
|
|
||||||
font-weight: bold;
|
|
||||||
line-height: 1.5;
|
|
||||||
border-bottom: 1px solid $border-color;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: #000;
|
|
||||||
background: $lighter-gray;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
> li:last-child {
|
|
||||||
a {
|
|
||||||
border-bottom: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
li ul > li a {
|
|
||||||
padding-left: 2rem;
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* hide sub sub links on small screens*/
|
|
||||||
li > ul li {
|
|
||||||
display: none;
|
|
||||||
|
|
||||||
@include breakpoint($medium) {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,408 +0,0 @@
|
|||||||
/* ==========================================================================
|
|
||||||
SINGLE PAGE/POST
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
#main {
|
|
||||||
@include container;
|
|
||||||
@include clearfix;
|
|
||||||
margin-top: 2em;
|
|
||||||
padding-left: 1em;
|
|
||||||
padding-right: 1em;
|
|
||||||
-webkit-animation: intro 0.3s both;
|
|
||||||
animation: intro 0.3s both;
|
|
||||||
-webkit-animation-delay: 0.35s;
|
|
||||||
animation-delay: 0.35s;
|
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
|
||||||
max-width: $x-large;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.page {
|
|
||||||
@include breakpoint($large) {
|
|
||||||
@include span(10 of 12 last);
|
|
||||||
@include prefix(0.5 of 12);
|
|
||||||
@include suffix(2 of 12);
|
|
||||||
}
|
|
||||||
|
|
||||||
.page__inner-wrap {
|
|
||||||
@include full();
|
|
||||||
|
|
||||||
.page__content,
|
|
||||||
.page__meta,
|
|
||||||
.page__share {
|
|
||||||
@include full();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.page__title {
|
|
||||||
margin-top: 0;
|
|
||||||
line-height: 1;
|
|
||||||
|
|
||||||
& + .page__meta {
|
|
||||||
margin-top: -0.5em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.page__lead {
|
|
||||||
font-family: $global-font-family;
|
|
||||||
font-size: $type-size-4;
|
|
||||||
}
|
|
||||||
|
|
||||||
.page__content {
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
padding-bottom: 0.5em;
|
|
||||||
border-bottom: 1px solid $border-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
p, li, dl {
|
|
||||||
font-size: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* paragraph indents */
|
|
||||||
p {
|
|
||||||
margin: 0 0 $indent-var;
|
|
||||||
|
|
||||||
/* sibling indentation*/
|
|
||||||
@if $paragraph-indent == true {
|
|
||||||
& + p {
|
|
||||||
text-indent: $indent-var;
|
|
||||||
margin-top: -($indent-var);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
text-decoration: none;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
|
|
||||||
img {
|
|
||||||
box-shadow: 0 0 10px rgba(#000, 0.25);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
dt {
|
|
||||||
margin-top: 1em;
|
|
||||||
font-family: $sans-serif;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
dd {
|
|
||||||
margin-left: 1em;
|
|
||||||
font-family: $sans-serif;
|
|
||||||
font-size: $type-size-6;
|
|
||||||
}
|
|
||||||
|
|
||||||
.small {
|
|
||||||
font-size: $type-size-6;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* blockquote citations */
|
|
||||||
blockquote + .small {
|
|
||||||
margin-top: -1.5em;
|
|
||||||
padding-left: 1.25rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.page__hero {
|
|
||||||
position: relative;
|
|
||||||
margin-bottom: 2em;
|
|
||||||
@include clearfix;
|
|
||||||
-webkit-animation: intro 0.3s both;
|
|
||||||
animation: intro 0.3s both;
|
|
||||||
-webkit-animation-delay: 0.25s;
|
|
||||||
animation-delay: 0.25s;
|
|
||||||
|
|
||||||
&--overlay {
|
|
||||||
position: relative;
|
|
||||||
margin-bottom: 2em;
|
|
||||||
padding: 3em 0;
|
|
||||||
@include clearfix;
|
|
||||||
background-size: cover;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-position: center;
|
|
||||||
-webkit-animation: intro 0.3s both;
|
|
||||||
animation: intro 0.3s both;
|
|
||||||
-webkit-animation-delay: 0.25s;
|
|
||||||
animation-delay: 0.25s;
|
|
||||||
|
|
||||||
a {
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.wrapper {
|
|
||||||
padding-left: 1em;
|
|
||||||
padding-right: 1em;
|
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
|
||||||
max-width: $x-large;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.page__title,
|
|
||||||
.page__meta,
|
|
||||||
.page__lead,
|
|
||||||
.btn {
|
|
||||||
color: #fff;
|
|
||||||
text-shadow: 1px 1px 4px rgba(#000, 0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
.page__lead {
|
|
||||||
max-width: $medium;
|
|
||||||
}
|
|
||||||
|
|
||||||
.page__title {
|
|
||||||
font-size: $type-size-2;
|
|
||||||
|
|
||||||
@include breakpoint($small) {
|
|
||||||
font-size: $type-size-1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.page__hero-image {
|
|
||||||
width: 100%;
|
|
||||||
height: auto;
|
|
||||||
-ms-interpolation-mode: bicubic;
|
|
||||||
}
|
|
||||||
|
|
||||||
.page__hero-caption {
|
|
||||||
position: absolute;
|
|
||||||
bottom: 0;
|
|
||||||
right: 0;
|
|
||||||
margin: 0 auto;
|
|
||||||
padding: 2px 5px;
|
|
||||||
color: #fff;
|
|
||||||
font-family: $caption-font-family;
|
|
||||||
font-size: $type-size-7;
|
|
||||||
background: #000;
|
|
||||||
text-align: right;
|
|
||||||
z-index: 5;
|
|
||||||
opacity: 0.5;
|
|
||||||
border-radius: $border-radius 0 $border-radius 0;
|
|
||||||
|
|
||||||
@include breakpoint($large) {
|
|
||||||
padding: 5px 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
color: #fff;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
Social sharing
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
.page__share {
|
|
||||||
margin-top: 2em;
|
|
||||||
padding-top: 1em;
|
|
||||||
border-top: 1px solid $border-color;
|
|
||||||
|
|
||||||
@include breakpoint(max-width $small) {
|
|
||||||
.btn span {
|
|
||||||
border: 0;
|
|
||||||
clip: rect(0 0 0 0);
|
|
||||||
height: 1px;
|
|
||||||
margin: -1px;
|
|
||||||
overflow: hidden;
|
|
||||||
padding: 0;
|
|
||||||
position: absolute;
|
|
||||||
width: 1px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.page__share-title {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
font-size: $type-size-6;
|
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
Page meta
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
.page__meta {
|
|
||||||
margin-top: 2em;
|
|
||||||
color: mix(#fff, $gray, 25%);
|
|
||||||
font-family: $sans-serif;
|
|
||||||
font-size: $type-size-6;
|
|
||||||
|
|
||||||
p {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
color: inherit;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.page__meta-title {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
font-size: $type-size-6;
|
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
Page taxonomy
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
.page__taxonomy {
|
|
||||||
.sep {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
strong {
|
|
||||||
margin-right: 10px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.page__taxonomy-item {
|
|
||||||
display: inline-block;
|
|
||||||
margin-right: 5px;
|
|
||||||
margin-bottom: 8px;
|
|
||||||
padding: 5px 10px;
|
|
||||||
text-decoration: none;
|
|
||||||
border: 1px solid $light-gray;
|
|
||||||
border-radius: $border-radius;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
text-decoration: none;
|
|
||||||
color: $link-color-hover;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
Comments
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
.page__comments {
|
|
||||||
@include full();
|
|
||||||
}
|
|
||||||
|
|
||||||
.page__comments-title {
|
|
||||||
margin-top: 2rem;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
padding-top: 2rem;
|
|
||||||
font-size: $type-size-6;
|
|
||||||
border-top: 1px solid $border-color;
|
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
|
||||||
|
|
||||||
.page__comments-form {
|
|
||||||
padding: 1em;
|
|
||||||
background: $lighter-gray;
|
|
||||||
-webkit-transition: $global-transition;
|
|
||||||
transition: $global-transition;
|
|
||||||
|
|
||||||
&.disabled {
|
|
||||||
input,
|
|
||||||
button,
|
|
||||||
textarea,
|
|
||||||
label {
|
|
||||||
pointer-events: none;
|
|
||||||
cursor: not-allowed;
|
|
||||||
filter: alpha(opacity=65);
|
|
||||||
box-shadow: none;
|
|
||||||
opacity: 0.65;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment {
|
|
||||||
@include clearfix();
|
|
||||||
margin: 1em 0;
|
|
||||||
|
|
||||||
&:not(:last-child) {
|
|
||||||
border-bottom: 1px solid $border-color;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment__avatar-wrapper {
|
|
||||||
float: left;
|
|
||||||
width: 60px;
|
|
||||||
height: 60px;
|
|
||||||
|
|
||||||
@include breakpoint($large) {
|
|
||||||
width: 100px;
|
|
||||||
height: 100px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment__avatar {
|
|
||||||
width: 40px;
|
|
||||||
height: 40px;
|
|
||||||
border-radius: 50%;
|
|
||||||
|
|
||||||
@include breakpoint($large) {
|
|
||||||
width: 80px;
|
|
||||||
height: 80px;
|
|
||||||
padding: 5px;
|
|
||||||
border: 1px solid $border-color;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment__content-wrapper {
|
|
||||||
float: right;
|
|
||||||
width: calc(100% - 60px);
|
|
||||||
|
|
||||||
@include breakpoint($large) {
|
|
||||||
width: calc(100% - 100px);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment__author {
|
|
||||||
margin: 0;
|
|
||||||
|
|
||||||
a {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment__date {
|
|
||||||
@extend .page__meta;
|
|
||||||
margin: 0;
|
|
||||||
|
|
||||||
a {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
Related
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
.page__related {
|
|
||||||
margin-top: 2em;
|
|
||||||
padding-top: 1em;
|
|
||||||
border-top: 1px solid $border-color;
|
|
||||||
@include clearfix();
|
|
||||||
float: left;
|
|
||||||
|
|
||||||
@include breakpoint($large) {
|
|
||||||
@include pre(2.5 of 12);
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
color: inherit;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.page__related-title {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
font-size: $type-size-6;
|
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
/* ==========================================================================
|
|
||||||
PRINT STYLES
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
/*
|
|
||||||
Hide the following elements on print
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
@media print {
|
|
||||||
.masthead,
|
|
||||||
.toc,
|
|
||||||
.page__share,
|
|
||||||
.page__related,
|
|
||||||
.ads,
|
|
||||||
.page__footer {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,187 +0,0 @@
|
|||||||
/* ==========================================================================
|
|
||||||
STYLE RESETS
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
@include border-box-sizing;
|
|
||||||
|
|
||||||
html {
|
|
||||||
/* apply a natural box layout model to all elements */
|
|
||||||
box-sizing: border-box;
|
|
||||||
background-color: $background-color;
|
|
||||||
font-size: 16px;
|
|
||||||
|
|
||||||
@include breakpoint($medium) {
|
|
||||||
font-size: 18px;
|
|
||||||
}
|
|
||||||
|
|
||||||
@include breakpoint($large) {
|
|
||||||
font-size: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
|
||||||
font-size: 22px;
|
|
||||||
}
|
|
||||||
|
|
||||||
-webkit-text-size-adjust: 100%;
|
|
||||||
-ms-text-size-adjust: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Remove margin */
|
|
||||||
|
|
||||||
body { margin: 0; }
|
|
||||||
|
|
||||||
/* Selected elements */
|
|
||||||
|
|
||||||
::-moz-selection {
|
|
||||||
color: #fff;
|
|
||||||
background: #000;
|
|
||||||
}
|
|
||||||
|
|
||||||
::selection {
|
|
||||||
color: #fff;
|
|
||||||
background: #000;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Display HTML5 elements in IE6-9 and FF3 */
|
|
||||||
|
|
||||||
article,
|
|
||||||
aside,
|
|
||||||
details,
|
|
||||||
figcaption,
|
|
||||||
figure,
|
|
||||||
footer,
|
|
||||||
header,
|
|
||||||
hgroup,
|
|
||||||
main,
|
|
||||||
nav,
|
|
||||||
section {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Display block in IE6-9 and FF3 */
|
|
||||||
|
|
||||||
audio,
|
|
||||||
canvas,
|
|
||||||
video {
|
|
||||||
display: inline-block;
|
|
||||||
*display: inline;
|
|
||||||
*zoom: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Prevents modern browsers from displaying 'audio' without controls */
|
|
||||||
|
|
||||||
audio:not([controls]) {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
color: $link-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Apply focus state */
|
|
||||||
|
|
||||||
a:focus {
|
|
||||||
@extend %tab-focus;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Remove outline from links */
|
|
||||||
|
|
||||||
a:hover,
|
|
||||||
a:active {
|
|
||||||
outline: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Prevent sub and sup affecting line-height in all browsers */
|
|
||||||
|
|
||||||
sub,
|
|
||||||
sup {
|
|
||||||
position: relative;
|
|
||||||
font-size: 75%;
|
|
||||||
line-height: 0;
|
|
||||||
vertical-align: baseline;
|
|
||||||
}
|
|
||||||
|
|
||||||
sup {
|
|
||||||
top: -0.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
sub {
|
|
||||||
bottom: -0.25em;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* img border in anchor's and image quality */
|
|
||||||
|
|
||||||
img {
|
|
||||||
/* Responsive images (ensure images don't scale beyond their parents) */
|
|
||||||
max-width: 100%; /* part 1: Set a maximum relative to the parent*/
|
|
||||||
width: auto\9; /* IE7-8 need help adjusting responsive images*/
|
|
||||||
height: auto; /* part 2: Scale the height according to the width, otherwise you get stretching*/
|
|
||||||
|
|
||||||
vertical-align: middle;
|
|
||||||
border: 0;
|
|
||||||
-ms-interpolation-mode: bicubic;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Prevent max-width from affecting Google Maps */
|
|
||||||
|
|
||||||
#map_canvas img,
|
|
||||||
.google-maps img {
|
|
||||||
max-width: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Consistent form font size in all browsers, margin changes, misc */
|
|
||||||
|
|
||||||
button,
|
|
||||||
input,
|
|
||||||
select,
|
|
||||||
textarea {
|
|
||||||
margin: 0;
|
|
||||||
font-size: 100%;
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
|
|
||||||
button,
|
|
||||||
input {
|
|
||||||
*overflow: visible; /* inner spacing ie IE6/7*/
|
|
||||||
line-height: normal; /* FF3/4 have !important on line-height in UA stylesheet*/
|
|
||||||
}
|
|
||||||
|
|
||||||
button::-moz-focus-inner,
|
|
||||||
input::-moz-focus-inner { /* inner padding and border oddities in FF3/4*/
|
|
||||||
padding: 0;
|
|
||||||
border: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
button,
|
|
||||||
html input[type="button"], // avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls
|
|
||||||
input[type="reset"],
|
|
||||||
input[type="submit"] {
|
|
||||||
-webkit-appearance: button; /* corrects inability to style clickable `input` types in iOS*/
|
|
||||||
cursor: pointer; /* improves usability and consistency of cursor style between image-type `input` and others*/
|
|
||||||
}
|
|
||||||
|
|
||||||
label,
|
|
||||||
select,
|
|
||||||
button,
|
|
||||||
input[type="button"],
|
|
||||||
input[type="reset"],
|
|
||||||
input[type="submit"],
|
|
||||||
input[type="radio"],
|
|
||||||
input[type="checkbox"] {
|
|
||||||
cursor: pointer; /* improves usability and consistency of cursor style between image-type `input` and others*/
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type="search"] { /* Appearance in Safari/Chrome*/
|
|
||||||
box-sizing: content-box;
|
|
||||||
-webkit-appearance: textfield;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type="search"]::-webkit-search-decoration,
|
|
||||||
input[type="search"]::-webkit-search-cancel-button {
|
|
||||||
-webkit-appearance: none; /* inner-padding issues in Chrome OSX, Safari 5*/
|
|
||||||
}
|
|
||||||
|
|
||||||
textarea {
|
|
||||||
overflow: auto; /* remove vertical scrollbar in IE6-9*/
|
|
||||||
vertical-align: top; /* readability and alignment cross-browser*/
|
|
||||||
}
|
|
||||||
@@ -1,231 +0,0 @@
|
|||||||
/* ==========================================================================
|
|
||||||
SIDEBAR
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
/*
|
|
||||||
Default
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
.sidebar {
|
|
||||||
-webkit-transform: translate3d(0, 0 , 0);
|
|
||||||
transform: translate3d(0, 0 , 0);
|
|
||||||
|
|
||||||
@include clearfix();
|
|
||||||
margin-bottom: 1em;
|
|
||||||
|
|
||||||
@include breakpoint($large) {
|
|
||||||
@include span(2 of 12);
|
|
||||||
opacity: 0.75;
|
|
||||||
-webkit-transition: opacity 0.2s ease-in-out;
|
|
||||||
transition: opacity 0.2s ease-in-out;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
|
||||||
padding-right: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2, h3, h4, h5, h6 {
|
|
||||||
margin-bottom: 0;
|
|
||||||
font-family: $sans-serif-narrow;
|
|
||||||
}
|
|
||||||
|
|
||||||
p, li {
|
|
||||||
font-family: $sans-serif;
|
|
||||||
font-size: $type-size-6;
|
|
||||||
line-height: 1.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.sidebar__right {
|
|
||||||
margin-bottom: 1em;
|
|
||||||
|
|
||||||
@include breakpoint($large) {
|
|
||||||
position: relative;
|
|
||||||
float: right;
|
|
||||||
width: $right-sidebar-width-narrow;
|
|
||||||
margin-left: span(0.5 of 12);
|
|
||||||
z-index: 10;
|
|
||||||
}
|
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
|
||||||
width: $right-sidebar-width;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
Author profile and links
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
.author__avatar {
|
|
||||||
display: table-cell;
|
|
||||||
vertical-align: top;
|
|
||||||
width: 36px;
|
|
||||||
height: 36px;
|
|
||||||
|
|
||||||
@include breakpoint($large) {
|
|
||||||
display: block;
|
|
||||||
width: auto;
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
max-width: 110px;
|
|
||||||
border-radius: 50%;
|
|
||||||
|
|
||||||
@include breakpoint($large) {
|
|
||||||
padding: 5px;
|
|
||||||
border: 1px solid $border-color;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.author__content {
|
|
||||||
display: table-cell;
|
|
||||||
vertical-align: top;
|
|
||||||
padding-left: 15px;
|
|
||||||
padding-right: 25px;
|
|
||||||
line-height: 1;
|
|
||||||
|
|
||||||
@include breakpoint($large) {
|
|
||||||
display: block;
|
|
||||||
width: 100%;
|
|
||||||
padding-left: 0;
|
|
||||||
padding-right: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.author__name {
|
|
||||||
margin: 0;
|
|
||||||
|
|
||||||
@include breakpoint($large) {
|
|
||||||
margin-top: 10px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.sidebar .author__name {
|
|
||||||
font-family: $sans-serif;
|
|
||||||
font-size: $type-size-5;
|
|
||||||
}
|
|
||||||
|
|
||||||
.author__bio {
|
|
||||||
margin: 0;
|
|
||||||
|
|
||||||
@include breakpoint($large) {
|
|
||||||
margin-top: 10px;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.author__urls-wrapper {
|
|
||||||
position: relative;
|
|
||||||
display: table-cell;
|
|
||||||
vertical-align: middle;
|
|
||||||
font-family: $sans-serif;
|
|
||||||
z-index: 10;
|
|
||||||
position: relative;
|
|
||||||
cursor: pointer;
|
|
||||||
|
|
||||||
li:last-child {
|
|
||||||
a {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@include breakpoint($large) {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
margin-bottom: 0;
|
|
||||||
|
|
||||||
@include breakpoint($large) {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.author__urls {
|
|
||||||
display: none;
|
|
||||||
position: absolute;
|
|
||||||
right: 0;
|
|
||||||
margin-top: 15px;
|
|
||||||
padding: 10px;
|
|
||||||
list-style-type: none;
|
|
||||||
border: 1px solid $border-color;
|
|
||||||
border-radius: $border-radius;
|
|
||||||
background: #fff;
|
|
||||||
z-index: -1;
|
|
||||||
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
|
|
||||||
cursor: default;
|
|
||||||
|
|
||||||
@include breakpoint($large) {
|
|
||||||
display: block;
|
|
||||||
position: relative;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
border: 0;
|
|
||||||
background: transparent;
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:before {
|
|
||||||
display: block;
|
|
||||||
content: "";
|
|
||||||
position: absolute;
|
|
||||||
top: -11px;
|
|
||||||
left: calc(50% - 10px);
|
|
||||||
width: 0;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 0 10px 10px;
|
|
||||||
border-color: $border-color transparent;
|
|
||||||
z-index: 0;
|
|
||||||
|
|
||||||
@include breakpoint($large) {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&:after {
|
|
||||||
display: block;
|
|
||||||
content: "";
|
|
||||||
position: absolute;
|
|
||||||
top: -10px;
|
|
||||||
left: calc(50% - 10px);
|
|
||||||
width: 0;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 0 10px 10px;
|
|
||||||
border-color: #fff transparent;
|
|
||||||
z-index: 1;
|
|
||||||
|
|
||||||
@include breakpoint($large) {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
li {
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
display: block;
|
|
||||||
margin-bottom: 5px;
|
|
||||||
padding-right: 5px;
|
|
||||||
padding-top: 2px;
|
|
||||||
padding-bottom: 2px;
|
|
||||||
color: inherit;
|
|
||||||
font-size: $type-size-5;
|
|
||||||
text-decoration: none;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,146 +0,0 @@
|
|||||||
/* ==========================================================================
|
|
||||||
Syntax highlighting
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
div.highlighter-rouge,
|
|
||||||
figure.highlight {
|
|
||||||
position: relative;
|
|
||||||
margin-bottom: 1em;
|
|
||||||
font-family: $monospace;
|
|
||||||
font-size: $type-size-7;
|
|
||||||
line-height: 1.8;
|
|
||||||
border: 1px solid $border-color;
|
|
||||||
border-radius: $border-radius;
|
|
||||||
background-color: $code-background-color;
|
|
||||||
box-shadow: $box-shadow;
|
|
||||||
|
|
||||||
&:before {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
padding: 0.5em;
|
|
||||||
background-color: $lighter-gray;
|
|
||||||
content: "\f121";
|
|
||||||
font-family: "fontawesome" !important;
|
|
||||||
line-height: 1;
|
|
||||||
text-transform: none;
|
|
||||||
speak: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.highlight {
|
|
||||||
margin: 0;
|
|
||||||
padding: 1em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
figure.highlight {
|
|
||||||
padding-left: 1em;
|
|
||||||
padding-right: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.highlight table {
|
|
||||||
font-size: 1em;
|
|
||||||
border: 0;
|
|
||||||
|
|
||||||
td {
|
|
||||||
padding: 5px;
|
|
||||||
border: 0;
|
|
||||||
|
|
||||||
/* line numbers*/
|
|
||||||
&.gutter {
|
|
||||||
padding-right: 1em;
|
|
||||||
color: $light-gray;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
pre {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.highlight pre { width: 100%; }
|
|
||||||
|
|
||||||
/*
|
|
||||||
Solarized Light
|
|
||||||
http://ethanschoonover.com/solarized
|
|
||||||
|
|
||||||
SOLARIZED HEX ROLE
|
|
||||||
--------- -------- ------------------------------------------
|
|
||||||
base01 #586e75 body text / default code / primary content
|
|
||||||
base1 #93a1a1 comments / secondary content
|
|
||||||
base3 #fdf6e3 background
|
|
||||||
orange #cb4b16 constants
|
|
||||||
red #dc322f regex, special keywords
|
|
||||||
blue #22b3eb reserved keywords
|
|
||||||
cyan #2aa198 strings, numbers
|
|
||||||
green #859900 operators, other keywords
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
.highlight .c { color: #93a1a1 } /* Comment */
|
|
||||||
.highlight .err { color: #586e75 } /* Error */
|
|
||||||
.highlight .g { color: #586e75 } /* Generic */
|
|
||||||
.highlight .k { color: #859900 } /* Keyword */
|
|
||||||
.highlight .l { color: #586e75 } /* Literal */
|
|
||||||
.highlight .n { color: #586e75 } /* Name */
|
|
||||||
.highlight .o { color: #859900 } /* Operator */
|
|
||||||
.highlight .x { color: #cb4b16 } /* Other */
|
|
||||||
.highlight .p { color: #586e75 } /* Punctuation */
|
|
||||||
.highlight .cm { color: #93a1a1 } /* Comment.Multiline */
|
|
||||||
.highlight .cp { color: #859900 } /* Comment.Preproc */
|
|
||||||
.highlight .c1 { color: #93a1a1 } /* Comment.Single */
|
|
||||||
.highlight .cs { color: #859900 } /* Comment.Special */
|
|
||||||
.highlight .gd { color: #2aa198 } /* Generic.Deleted */
|
|
||||||
.highlight .ge { color: #586e75; font-style: italic } /* Generic.Emph */
|
|
||||||
.highlight .gr { color: #dc322f } /* Generic.Error */
|
|
||||||
.highlight .gh { color: #cb4b16 } /* Generic.Heading */
|
|
||||||
.highlight .gi { color: #859900 } /* Generic.Inserted */
|
|
||||||
.highlight .go { color: #586e75 } /* Generic.Output */
|
|
||||||
.highlight .gp { color: #586e75 } /* Generic.Prompt */
|
|
||||||
.highlight .gs { color: #586e75; font-weight: bold } /* Generic.Strong */
|
|
||||||
.highlight .gu { color: #cb4b16 } /* Generic.Subheading */
|
|
||||||
.highlight .gt { color: #586e75 } /* Generic.Traceback */
|
|
||||||
.highlight .kc { color: #cb4b16 } /* Keyword.Constant */
|
|
||||||
.highlight .kd { color: #22b3eb } /* Keyword.Declaration */
|
|
||||||
.highlight .kn { color: #859900 } /* Keyword.Namespace */
|
|
||||||
.highlight .kp { color: #859900 } /* Keyword.Pseudo */
|
|
||||||
.highlight .kr { color: #22b3eb } /* Keyword.Reserved */
|
|
||||||
.highlight .kt { color: #dc322f } /* Keyword.Type */
|
|
||||||
.highlight .ld { color: #586e75 } /* Literal.Date */
|
|
||||||
.highlight .m { color: #2aa198 } /* Literal.Number */
|
|
||||||
.highlight .s { color: #2aa198 } /* Literal.String */
|
|
||||||
.highlight .na { color: #586e75 } /* Name.Attribute */
|
|
||||||
.highlight .nb { color: #B58900 } /* Name.Builtin */
|
|
||||||
.highlight .nc { color: #22b3eb } /* Name.Class */
|
|
||||||
.highlight .no { color: #cb4b16 } /* Name.Constant */
|
|
||||||
.highlight .nd { color: #22b3eb } /* Name.Decorator */
|
|
||||||
.highlight .ni { color: #cb4b16 } /* Name.Entity */
|
|
||||||
.highlight .ne { color: #cb4b16 } /* Name.Exception */
|
|
||||||
.highlight .nf { color: #22b3eb } /* Name.Function */
|
|
||||||
.highlight .nl { color: #586e75 } /* Name.Label */
|
|
||||||
.highlight .nn { color: #586e75 } /* Name.Namespace */
|
|
||||||
.highlight .nx { color: #586e75 } /* Name.Other */
|
|
||||||
.highlight .py { color: #586e75 } /* Name.Property */
|
|
||||||
.highlight .nt { color: #22b3eb } /* Name.Tag */
|
|
||||||
.highlight .nv { color: #22b3eb } /* Name.Variable */
|
|
||||||
.highlight .ow { color: #859900 } /* Operator.Word */
|
|
||||||
.highlight .w { color: #586e75 } /* Text.Whitespace */
|
|
||||||
.highlight .mf { color: #2aa198 } /* Literal.Number.Float */
|
|
||||||
.highlight .mh { color: #2aa198 } /* Literal.Number.Hex */
|
|
||||||
.highlight .mi { color: #2aa198 } /* Literal.Number.Integer */
|
|
||||||
.highlight .mo { color: #2aa198 } /* Literal.Number.Oct */
|
|
||||||
.highlight .sb { color: #93a1a1 } /* Literal.String.Backtick */
|
|
||||||
.highlight .sc { color: #2aa198 } /* Literal.String.Char */
|
|
||||||
.highlight .sd { color: #586e75 } /* Literal.String.Doc */
|
|
||||||
.highlight .s2 { color: #2aa198 } /* Literal.String.Double */
|
|
||||||
.highlight .se { color: #cb4b16 } /* Literal.String.Escape */
|
|
||||||
.highlight .sh { color: #586e75 } /* Literal.String.Heredoc */
|
|
||||||
.highlight .si { color: #2aa198 } /* Literal.String.Interpol */
|
|
||||||
.highlight .sx { color: #2aa198 } /* Literal.String.Other */
|
|
||||||
.highlight .sr { color: #dc322f } /* Literal.String.Regex */
|
|
||||||
.highlight .s1 { color: #2aa198 } /* Literal.String.Single */
|
|
||||||
.highlight .ss { color: #2aa198 } /* Literal.String.Symbol */
|
|
||||||
.highlight .bp { color: #22b3eb } /* Name.Builtin.Pseudo */
|
|
||||||
.highlight .vc { color: #22b3eb } /* Name.Variable.Class */
|
|
||||||
.highlight .vg { color: #22b3eb } /* Name.Variable.Global */
|
|
||||||
.highlight .vi { color: #22b3eb } /* Name.Variable.Instance */
|
|
||||||
.highlight .il { color: #2aa198 } /* Literal.Number.Integer.Long */
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
/* ==========================================================================
|
|
||||||
TABLES
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
table {
|
|
||||||
margin-bottom: 1em;
|
|
||||||
width: 100%;
|
|
||||||
font-family: $global-font-family;
|
|
||||||
font-size: $type-size-6;
|
|
||||||
border-collapse: collapse;
|
|
||||||
border: 1px solid $light-gray;
|
|
||||||
|
|
||||||
& + table {
|
|
||||||
margin-top: 1em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
thead {
|
|
||||||
background-color: $lighter-gray;
|
|
||||||
border-bottom: 1px solid $light-gray;
|
|
||||||
}
|
|
||||||
|
|
||||||
th {
|
|
||||||
padding: 0.5em;
|
|
||||||
font-weight: bold;
|
|
||||||
text-align: left;
|
|
||||||
border-right: 1px solid $light-gray;
|
|
||||||
}
|
|
||||||
|
|
||||||
td {
|
|
||||||
padding: 0.5em;
|
|
||||||
border-bottom: 1px solid $light-gray;
|
|
||||||
border-right: 1px solid $light-gray;
|
|
||||||
}
|
|
||||||
|
|
||||||
tr, td, th {
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
@@ -1,128 +0,0 @@
|
|||||||
/* ==========================================================================
|
|
||||||
Variables
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
/*
|
|
||||||
Typography
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
$doc-font-size : 16 !default;
|
|
||||||
|
|
||||||
/* paragraph indention */
|
|
||||||
$paragraph-indent : false !default; // true, false (default)
|
|
||||||
$indent-var : 1.3em !default;
|
|
||||||
|
|
||||||
/* system typefaces */
|
|
||||||
$serif : Georgia, Times, serif !default;
|
|
||||||
$sans-serif : -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif !default;
|
|
||||||
$monospace : Monaco, Consolas, "Lucida Console", monospace !default;
|
|
||||||
|
|
||||||
/* sans serif typefaces */
|
|
||||||
$sans-serif-narrow : $sans-serif !default;
|
|
||||||
$helvetica : Helvetica, "Helvetica Neue", Arial, sans-serif !default;
|
|
||||||
|
|
||||||
/* serif typefaces */
|
|
||||||
$georgia : Georgia, serif !default;
|
|
||||||
$times : Times, serif !default;
|
|
||||||
$bodoni : "Bodoni MT", serif !default;
|
|
||||||
$calisto : "Calisto MT", serif !default;
|
|
||||||
$garamond : Garamond, serif !default;
|
|
||||||
|
|
||||||
$global-font-family : $sans-serif !default;
|
|
||||||
$header-font-family : $sans-serif !default;
|
|
||||||
$caption-font-family : $serif !default;
|
|
||||||
|
|
||||||
/* type scale */
|
|
||||||
$type-size-1 : 2.441em !default; // ~39.056px
|
|
||||||
$type-size-2 : 1.953em !default; // ~31.248px
|
|
||||||
$type-size-3 : 1.563em !default; // ~25.008px
|
|
||||||
$type-size-4 : 1.25em !default; // ~20px
|
|
||||||
$type-size-5 : 1em !default; // ~16px
|
|
||||||
$type-size-6 : 0.75em !default; // ~12px
|
|
||||||
$type-size-7 : 0.6875em !default; // ~11px
|
|
||||||
$type-size-8 : 0.625em !default; // ~10px
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
Colors
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
$gray : #7a8288 !default;
|
|
||||||
$dark-gray : mix(#000, $gray, 40%) !default;
|
|
||||||
$darker-gray : mix(#000, $gray, 60%) !default;
|
|
||||||
$light-gray : mix(#fff, $gray, 50%) !default;
|
|
||||||
$lighter-gray : mix(#fff, $gray, 90%) !default;
|
|
||||||
|
|
||||||
$body-color : #fff !default;
|
|
||||||
$background-color : #fff !default;
|
|
||||||
$code-background-color : #fafafa !default;
|
|
||||||
$code-background-color-dark : $light-gray !default;
|
|
||||||
$text-color : $dark-gray !default;
|
|
||||||
$border-color : $lighter-gray !default;
|
|
||||||
|
|
||||||
$primary-color : #7a8288 !default;
|
|
||||||
$success-color : #62c462 !default;
|
|
||||||
$warning-color : #f89406 !default;
|
|
||||||
$danger-color : #ee5f5b !default;
|
|
||||||
$info-color : #52adc8 !default;
|
|
||||||
|
|
||||||
/* brands */
|
|
||||||
$behance-color : #1769FF !default;
|
|
||||||
$dribbble-color : #ea4c89 !default;
|
|
||||||
$facebook-color : #3b5998 !default;
|
|
||||||
$flickr-color : #ff0084 !default;
|
|
||||||
$foursquare-color : #0072b1 !default;
|
|
||||||
$github-color : #171516 !default;
|
|
||||||
$google-plus-color : #dd4b39 !default;
|
|
||||||
$instagram-color : #517fa4 !default;
|
|
||||||
$lastfm-color : #d51007 !default;
|
|
||||||
$linkedin-color : #007bb6 !default;
|
|
||||||
$pinterest-color : #cb2027 !default;
|
|
||||||
$rss-color : #fa9b39 !default;
|
|
||||||
$soundcloud-color : #ff3300 !default;
|
|
||||||
$stackoverflow-color : #fe7a15 !default;
|
|
||||||
$tumblr-color : #32506d !default;
|
|
||||||
$twitter-color : #55acee !default;
|
|
||||||
$vimeo-color : #1ab7ea !default;
|
|
||||||
$vine-color : #00bf8f !default;
|
|
||||||
$youtube-color : #bb0000 !default;
|
|
||||||
$xing-color : #006567 !default;
|
|
||||||
|
|
||||||
|
|
||||||
/* links */
|
|
||||||
$link-color : $info-color !default;
|
|
||||||
$link-color-hover : mix(#000, $link-color, 25%) !default;
|
|
||||||
$link-color-visited : mix(#fff, $link-color, 25%) !default;
|
|
||||||
$masthead-link-color : $primary-color !default;
|
|
||||||
$masthead-link-color-hover : mix(#000, $primary-color, 25%) !default;
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
Breakpoints
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
$small : 600px !default;
|
|
||||||
$medium : 768px !default;
|
|
||||||
$medium-wide : 900px !default;
|
|
||||||
$large : 1024px !default;
|
|
||||||
$x-large : 1280px !default;
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
Grid
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
$right-sidebar-width-narrow : 200px !default;
|
|
||||||
$right-sidebar-width : 300px !default;
|
|
||||||
$right-sidebar-width-wide : 400px !default;
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
Other
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
$border-radius : 4px !default;
|
|
||||||
$box-shadow : 0 1px 1px rgba(0, 0, 0, 0.125) !default;
|
|
||||||
$navicon-width : 1.5rem !default;
|
|
||||||
$navicon-height : 0.25rem !default;
|
|
||||||
$global-transition : all 0.2s ease-in-out !default;
|
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
/*!
|
||||||
|
* Minimal Mistakes Jekyll Theme 4.16.0 by Michael Rose
|
||||||
|
* Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes
|
||||||
|
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Variables */
|
||||||
|
@import "minimal-mistakes/variables";
|
||||||
|
|
||||||
|
/* Mixins and functions */
|
||||||
|
@import "minimal-mistakes/vendor/breakpoint/breakpoint";
|
||||||
|
@include breakpoint-set("to ems", true);
|
||||||
|
@import "minimal-mistakes/vendor/magnific-popup/magnific-popup"; // Magnific Popup
|
||||||
|
@import "minimal-mistakes/vendor/susy/susy";
|
||||||
|
@import "minimal-mistakes/mixins";
|
||||||
|
|
||||||
|
/* Core CSS */
|
||||||
|
@import "minimal-mistakes/reset";
|
||||||
|
@import "minimal-mistakes/base";
|
||||||
|
@import "minimal-mistakes/forms";
|
||||||
|
@import "minimal-mistakes/tables";
|
||||||
|
@import "minimal-mistakes/animations";
|
||||||
|
|
||||||
|
/* Components */
|
||||||
|
@import "minimal-mistakes/buttons";
|
||||||
|
@import "minimal-mistakes/notices";
|
||||||
|
@import "minimal-mistakes/masthead";
|
||||||
|
@import "minimal-mistakes/navigation";
|
||||||
|
@import "minimal-mistakes/footer";
|
||||||
|
@import "minimal-mistakes/search";
|
||||||
|
@import "minimal-mistakes/syntax";
|
||||||
|
|
||||||
|
/* Utility classes */
|
||||||
|
@import "minimal-mistakes/utilities";
|
||||||
|
|
||||||
|
/* Layout specific */
|
||||||
|
@import "minimal-mistakes/page";
|
||||||
|
@import "minimal-mistakes/archive";
|
||||||
|
@import "minimal-mistakes/sidebar";
|
||||||
|
@import "minimal-mistakes/print";
|
||||||
@@ -0,0 +1,438 @@
|
|||||||
|
/* ==========================================================================
|
||||||
|
ARCHIVE
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
.archive {
|
||||||
|
margin-top: 1em;
|
||||||
|
margin-bottom: 2em;
|
||||||
|
|
||||||
|
@include breakpoint($large) {
|
||||||
|
float: right;
|
||||||
|
width: calc(100% - #{$right-sidebar-width-narrow});
|
||||||
|
padding-right: $right-sidebar-width-narrow;
|
||||||
|
}
|
||||||
|
|
||||||
|
@include breakpoint($x-large) {
|
||||||
|
width: calc(100% - #{$right-sidebar-width});
|
||||||
|
padding-right: $right-sidebar-width;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.archive__item {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.archive__subtitle {
|
||||||
|
margin: 1.414em 0 0;
|
||||||
|
padding-bottom: 0.5em;
|
||||||
|
font-size: $type-size-5;
|
||||||
|
color: $muted-text-color;
|
||||||
|
border-bottom: 1px solid $border-color;
|
||||||
|
|
||||||
|
+ .list__item .archive__item-title {
|
||||||
|
margin-top: 0.5em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.archive__item-title {
|
||||||
|
margin-bottom: 0.25em;
|
||||||
|
font-family: $sans-serif-narrow;
|
||||||
|
line-height: initial;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
|
||||||
|
a::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
a + a {
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* remove border*/
|
||||||
|
.page__content {
|
||||||
|
.archive__item-title {
|
||||||
|
margin-top: 1em;
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.archive__item-excerpt {
|
||||||
|
margin-top: 0;
|
||||||
|
font-size: $type-size-6;
|
||||||
|
|
||||||
|
& + p {
|
||||||
|
text-indent: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.archive__item-teaser {
|
||||||
|
position: relative;
|
||||||
|
border-radius: $border-radius;
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
|
img {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.archive__item-caption {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
right: 0;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 2px 5px;
|
||||||
|
color: #fff;
|
||||||
|
font-family: $caption-font-family;
|
||||||
|
font-size: $type-size-8;
|
||||||
|
background: #000;
|
||||||
|
text-align: right;
|
||||||
|
z-index: 5;
|
||||||
|
opacity: 0.5;
|
||||||
|
border-radius: $border-radius 0 0 0;
|
||||||
|
|
||||||
|
@include breakpoint($large) {
|
||||||
|
padding: 5px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #fff;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
List view
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
.list__item {
|
||||||
|
.page__meta {
|
||||||
|
margin: 0 0 4px;
|
||||||
|
font-size: 0.6em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Grid view
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
.archive {
|
||||||
|
.grid__wrapper {
|
||||||
|
/* extend grid elements to the right */
|
||||||
|
|
||||||
|
@include breakpoint($large) {
|
||||||
|
margin-right: -1 * $right-sidebar-width-narrow;
|
||||||
|
}
|
||||||
|
|
||||||
|
@include breakpoint($x-large) {
|
||||||
|
margin-right: -1 * $right-sidebar-width;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.grid__item {
|
||||||
|
margin-bottom: 2em;
|
||||||
|
|
||||||
|
@include breakpoint($small) {
|
||||||
|
float: left;
|
||||||
|
width: span(5 of 10);
|
||||||
|
|
||||||
|
&:nth-child(2n + 1) {
|
||||||
|
clear: both;
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:nth-child(2n + 2) {
|
||||||
|
clear: none;
|
||||||
|
margin-left: gutter(of 10);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@include breakpoint($medium) {
|
||||||
|
margin-left: 0; /* override margin*/
|
||||||
|
margin-right: 0; /* override margin*/
|
||||||
|
width: span(3 of 12);
|
||||||
|
|
||||||
|
&:nth-child(2n + 1) {
|
||||||
|
clear: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:nth-child(4n + 1) {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:nth-child(4n + 2) {
|
||||||
|
clear: none;
|
||||||
|
margin-left: gutter(1 of 12);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:nth-child(4n + 3) {
|
||||||
|
clear: none;
|
||||||
|
margin-left: gutter(1 of 12);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:nth-child(4n + 4) {
|
||||||
|
clear: none;
|
||||||
|
margin-left: gutter(1 of 12);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.page__meta {
|
||||||
|
margin: 0 0 4px;
|
||||||
|
font-size: 0.6em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.archive__item-title {
|
||||||
|
margin-top: 0.5em;
|
||||||
|
font-size: $type-size-5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.archive__item-excerpt {
|
||||||
|
display: none;
|
||||||
|
|
||||||
|
@include breakpoint($medium) {
|
||||||
|
display: block;
|
||||||
|
font-size: $type-size-6;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.archive__item-teaser {
|
||||||
|
@include breakpoint($small) {
|
||||||
|
max-height: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@include breakpoint($medium) {
|
||||||
|
max-height: 120px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Features
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
.feature__wrapper {
|
||||||
|
@include clearfix();
|
||||||
|
margin-bottom: 2em;
|
||||||
|
border-bottom: 1px solid $border-color;
|
||||||
|
|
||||||
|
.archive__item-title {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.feature__item {
|
||||||
|
position: relative;
|
||||||
|
margin-bottom: 2em;
|
||||||
|
font-size: 1.125em;
|
||||||
|
|
||||||
|
@include breakpoint($small) {
|
||||||
|
float: left;
|
||||||
|
margin-bottom: 0;
|
||||||
|
width: span(4 of 12);
|
||||||
|
|
||||||
|
&:nth-child(3n + 1) {
|
||||||
|
clear: both;
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:nth-child(3n + 2) {
|
||||||
|
clear: none;
|
||||||
|
margin-left: gutter(of 12);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:nth-child(3n + 3) {
|
||||||
|
clear: none;
|
||||||
|
margin-left: gutter(of 12);
|
||||||
|
}
|
||||||
|
|
||||||
|
.feature__item-teaser {
|
||||||
|
max-height: 200px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.archive__item-body {
|
||||||
|
padding-left: gutter(1 of 12);
|
||||||
|
padding-right: gutter(1 of 12);
|
||||||
|
}
|
||||||
|
|
||||||
|
a.btn::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&--left {
|
||||||
|
position: relative;
|
||||||
|
float: left;
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: 0;
|
||||||
|
width: 100%;
|
||||||
|
clear: both;
|
||||||
|
font-size: 1.125em;
|
||||||
|
|
||||||
|
.archive__item {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.archive__item-teaser {
|
||||||
|
margin-bottom: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.btn::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@include breakpoint($small) {
|
||||||
|
.archive__item-teaser {
|
||||||
|
float: left;
|
||||||
|
width: span(5 of 12);
|
||||||
|
}
|
||||||
|
|
||||||
|
.archive__item-body {
|
||||||
|
float: right;
|
||||||
|
padding-left: gutter(0.5 of 12);
|
||||||
|
padding-right: gutter(1 of 12);
|
||||||
|
width: span(7 of 12);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&--right {
|
||||||
|
position: relative;
|
||||||
|
float: left;
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: 0;
|
||||||
|
width: 100%;
|
||||||
|
clear: both;
|
||||||
|
font-size: 1.125em;
|
||||||
|
|
||||||
|
.archive__item {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.archive__item-teaser {
|
||||||
|
margin-bottom: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.btn::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@include breakpoint($small) {
|
||||||
|
text-align: right;
|
||||||
|
|
||||||
|
.archive__item-teaser {
|
||||||
|
float: right;
|
||||||
|
width: span(5 of 12);
|
||||||
|
}
|
||||||
|
|
||||||
|
.archive__item-body {
|
||||||
|
float: left;
|
||||||
|
width: span(7 of 12);
|
||||||
|
padding-left: gutter(0.5 of 12);
|
||||||
|
padding-right: gutter(1 of 12);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&--center {
|
||||||
|
position: relative;
|
||||||
|
float: left;
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: 0;
|
||||||
|
width: 100%;
|
||||||
|
clear: both;
|
||||||
|
font-size: 1.125em;
|
||||||
|
|
||||||
|
.archive__item {
|
||||||
|
float: left;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.archive__item-teaser {
|
||||||
|
margin-bottom: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.btn::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@include breakpoint($small) {
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
.archive__item-teaser {
|
||||||
|
margin: 0 auto;
|
||||||
|
width: span(5 of 12);
|
||||||
|
}
|
||||||
|
|
||||||
|
.archive__item-body {
|
||||||
|
margin: 0 auto;
|
||||||
|
width: span(7 of 12);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Place inside an archive layout */
|
||||||
|
|
||||||
|
.archive {
|
||||||
|
.feature__wrapper {
|
||||||
|
.archive__item-title {
|
||||||
|
margin-top: 0.25em;
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.feature__item,
|
||||||
|
.feature__item--left,
|
||||||
|
.feature__item--center,
|
||||||
|
.feature__item--right {
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Wide Pages
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
.wide {
|
||||||
|
.archive {
|
||||||
|
@include breakpoint($large) {
|
||||||
|
padding-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@include breakpoint($x-large) {
|
||||||
|
padding-right: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -21,7 +21,12 @@ body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
h5,
|
||||||
|
h6 {
|
||||||
margin: 2em 0 0.5em;
|
margin: 2em 0 0.5em;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
font-family: $header-font-family;
|
font-family: $header-font-family;
|
||||||
@@ -53,7 +58,8 @@ h6 {
|
|||||||
font-size: $type-size-6;
|
font-size: $type-size-6;
|
||||||
}
|
}
|
||||||
|
|
||||||
small, .small {
|
small,
|
||||||
|
.small {
|
||||||
font-size: $type-size-6;
|
font-size: $type-size-6;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -76,7 +82,15 @@ del a {
|
|||||||
|
|
||||||
/* reduce orphans and widows when printing */
|
/* reduce orphans and widows when printing */
|
||||||
|
|
||||||
p, pre, blockquote, ul, ol, dl, figure, table, fieldset {
|
p,
|
||||||
|
pre,
|
||||||
|
blockquote,
|
||||||
|
ul,
|
||||||
|
ol,
|
||||||
|
dl,
|
||||||
|
figure,
|
||||||
|
table,
|
||||||
|
fieldset {
|
||||||
orphans: 3;
|
orphans: 3;
|
||||||
widows: 3;
|
widows: 3;
|
||||||
}
|
}
|
||||||
@@ -116,15 +130,29 @@ a {
|
|||||||
@extend %tab-focus;
|
@extend %tab-focus;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover,
|
&:visited {
|
||||||
&:active {
|
color: $link-color-visited;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: $link-color-hover;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* buttons */
|
||||||
|
|
||||||
|
button:focus {
|
||||||
|
@extend %tab-focus;
|
||||||
|
}
|
||||||
|
|
||||||
/* code */
|
/* code */
|
||||||
|
|
||||||
tt, code, kbd, samp, pre {
|
tt,
|
||||||
|
code,
|
||||||
|
kbd,
|
||||||
|
samp,
|
||||||
|
pre {
|
||||||
font-family: $monospace;
|
font-family: $monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -139,13 +167,12 @@ figcaption > code,
|
|||||||
td > code {
|
td > code {
|
||||||
padding-top: 0.1rem;
|
padding-top: 0.1rem;
|
||||||
padding-bottom: 0.1rem;
|
padding-bottom: 0.1rem;
|
||||||
font-size: $type-size-6;
|
font-size: 0.8em;
|
||||||
background: $code-background-color;
|
background: $code-background-color;
|
||||||
border: 1px solid $lighter-gray;
|
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
box-shadow: $box-shadow;
|
|
||||||
|
|
||||||
&:before, &:after {
|
&:before,
|
||||||
|
&:after {
|
||||||
letter-spacing: -0.2em;
|
letter-spacing: -0.2em;
|
||||||
content: "\00a0"; /* non-breaking space*/
|
content: "\00a0"; /* non-breaking space*/
|
||||||
}
|
}
|
||||||
@@ -182,9 +209,9 @@ figure {
|
|||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: flex;
|
display: flex;
|
||||||
-webkit-box-pack: justify;
|
-webkit-box-pack: justify;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
-webkit-box-align: start;
|
-webkit-box-align: start;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
margin: 2em 0;
|
margin: 2em 0;
|
||||||
|
|
||||||
@@ -236,32 +263,26 @@ figure {
|
|||||||
|
|
||||||
figcaption {
|
figcaption {
|
||||||
margin-bottom: 0.5em;
|
margin-bottom: 0.5em;
|
||||||
color: mix(#fff, $text-color, 25%);
|
color: $muted-text-color;
|
||||||
font-family: $caption-font-family;
|
font-family: $caption-font-family;
|
||||||
font-size: $type-size-6;
|
font-size: $type-size-6;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: inherit;
|
|
||||||
text-decoration: none;
|
|
||||||
border-bottom: 1px solid $light-gray;
|
|
||||||
-webkit-transition: $global-transition;
|
-webkit-transition: $global-transition;
|
||||||
transition: $global-transition;
|
transition: $global-transition;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: #000;
|
color: $link-color-hover;
|
||||||
border-bottom-color: #000;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Fix IE9 SVG bug */
|
/* Fix IE9 SVG bug */
|
||||||
|
|
||||||
svg:not(:root) {
|
svg:not(:root) {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Navigation lists
|
Navigation lists
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
@@ -309,7 +330,28 @@ nav {
|
|||||||
Global animation transition
|
Global animation transition
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
b, i, strong, em, blockquote, p, q, span, figure, img, h1, h2, header, input, a, tr, td, form button, input[type="submit"], .btn, .highlight, .archive__item-teaser {
|
b,
|
||||||
|
i,
|
||||||
|
strong,
|
||||||
|
em,
|
||||||
|
blockquote,
|
||||||
|
p,
|
||||||
|
q,
|
||||||
|
span,
|
||||||
|
figure,
|
||||||
|
img,
|
||||||
|
h1,
|
||||||
|
h2,
|
||||||
|
header,
|
||||||
|
input,
|
||||||
|
a,
|
||||||
|
tr,
|
||||||
|
td,
|
||||||
|
form button,
|
||||||
|
input[type="submit"],
|
||||||
|
.btn,
|
||||||
|
.highlight,
|
||||||
|
.archive__item-teaser {
|
||||||
-webkit-transition: $global-transition;
|
-webkit-transition: $global-transition;
|
||||||
transition: $global-transition;
|
transition: $global-transition;
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,97 @@
|
|||||||
|
/* ==========================================================================
|
||||||
|
BUTTONS
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/*
|
||||||
|
Default button
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
.btn {
|
||||||
|
/* default */
|
||||||
|
display: inline-block;
|
||||||
|
margin-bottom: 0.25em;
|
||||||
|
padding: 0.5em 1em;
|
||||||
|
font-family: $sans-serif;
|
||||||
|
font-size: $type-size-6;
|
||||||
|
font-weight: bold;
|
||||||
|
text-align: center;
|
||||||
|
text-decoration: none;
|
||||||
|
border-width: 0;
|
||||||
|
border-radius: $border-radius;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
.icon {
|
||||||
|
margin-right: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon + .hidden {
|
||||||
|
margin-left: -0.5em; /* override for hidden text*/
|
||||||
|
}
|
||||||
|
|
||||||
|
/* button colors */
|
||||||
|
$buttoncolors:
|
||||||
|
(primary, $primary-color),
|
||||||
|
(inverse, #fff),
|
||||||
|
(light-outline, transparent),
|
||||||
|
(success, $success-color),
|
||||||
|
(warning, $warning-color),
|
||||||
|
(danger, $danger-color),
|
||||||
|
(info, $info-color),
|
||||||
|
(facebook, $facebook-color),
|
||||||
|
(twitter, $twitter-color),
|
||||||
|
(linkedin, $linkedin-color);
|
||||||
|
|
||||||
|
@each $buttoncolor, $color in $buttoncolors {
|
||||||
|
&--#{$buttoncolor} {
|
||||||
|
@include yiq-contrasted($color);
|
||||||
|
@if ($buttoncolor == inverse) {
|
||||||
|
border: 1px solid $border-color;
|
||||||
|
}
|
||||||
|
@if ($buttoncolor == light-outline) {
|
||||||
|
border: 1px solid #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:visited {
|
||||||
|
@include yiq-contrasted($color);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
@include yiq-contrasted(mix(#000, $color, 20%));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* fills width of parent container */
|
||||||
|
&--block {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
+ .btn--block {
|
||||||
|
margin-top: 0.25em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* disabled */
|
||||||
|
&--disabled {
|
||||||
|
pointer-events: none;
|
||||||
|
cursor: not-allowed;
|
||||||
|
filter: alpha(opacity=65);
|
||||||
|
box-shadow: none;
|
||||||
|
opacity: 0.65;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* extra large button */
|
||||||
|
&--x-large {
|
||||||
|
font-size: $type-size-4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* large button */
|
||||||
|
&--large {
|
||||||
|
font-size: $type-size-5;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* small button */
|
||||||
|
&--small {
|
||||||
|
font-size: $type-size-7;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -3,28 +3,31 @@
|
|||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.page__footer {
|
.page__footer {
|
||||||
@include full();
|
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
|
float: left;
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: 0;
|
||||||
|
width: 100%;
|
||||||
|
clear: both;
|
||||||
/* sticky footer fix start */
|
/* sticky footer fix start */
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
width: 100%;
|
|
||||||
clear: both;
|
|
||||||
height: auto;
|
height: auto;
|
||||||
/* sticky footer fix end */
|
/* sticky footer fix end */
|
||||||
margin-top: 3em;
|
margin-top: 3em;
|
||||||
color: mix(#fff, $gray, 25%);
|
color: $muted-text-color;
|
||||||
-webkit-animation: intro 0.3s both;
|
-webkit-animation: $intro-transition;
|
||||||
animation: intro 0.3s both;
|
animation: $intro-transition;
|
||||||
-webkit-animation-delay: 0.45s;
|
-webkit-animation-delay: 0.45s;
|
||||||
animation-delay: 0.45s;
|
animation-delay: 0.45s;
|
||||||
background-color: $lighter-gray;
|
background-color: $footer-background-color;
|
||||||
border-top: 1px solid $light-gray;
|
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
@include container;
|
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
|
max-width: 100%;
|
||||||
padding: 0 1em 2em;
|
padding: 0 1em 2em;
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
@@ -41,8 +44,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.fa {
|
.fas,
|
||||||
color: mix(#fff, $gray, 25%);
|
.fab,
|
||||||
|
.far,
|
||||||
|
.fal {
|
||||||
|
color: $muted-text-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -52,7 +58,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.page__footer-follow {
|
.page__footer-follow {
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@@ -77,4 +82,10 @@
|
|||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
.social-icons {
|
||||||
|
a {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
form {
|
form {
|
||||||
margin: 0 0 5px 0;
|
margin: 0 0 5px 0;
|
||||||
|
padding: 1em;
|
||||||
|
background-color: $form-background-color;
|
||||||
|
|
||||||
fieldset {
|
fieldset {
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
@@ -19,7 +21,6 @@ form {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
color: $text-color;
|
color: $text-color;
|
||||||
border: 0;
|
border: 0;
|
||||||
border-bottom: 1px solid mix(#fff, #000, 80%);
|
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -80,14 +81,10 @@ select {
|
|||||||
padding: 0.25em;
|
padding: 0.25em;
|
||||||
margin-bottom: 0.5em;
|
margin-bottom: 0.5em;
|
||||||
color: $text-color;
|
color: $text-color;
|
||||||
background-color: #fff;
|
background-color: $background-color;
|
||||||
border: 1px solid mix(#fff, #000, 80%);
|
border: $border-color;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
box-shadow: $box-shadow;
|
box-shadow: $box-shadow;
|
||||||
|
|
||||||
&:hover {
|
|
||||||
border-color: mix(#fff, $primary-color, 50%);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-mini {
|
.input-mini {
|
||||||
@@ -199,10 +196,9 @@ input[type="hidden"] {
|
|||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Disabled state
|
Disabled state
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
input[disabled],
|
input[disabled],
|
||||||
select[disabled],
|
select[disabled],
|
||||||
@@ -214,16 +210,17 @@ textarea[readonly] {
|
|||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Focus & active state
|
Focus & active state
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
input:focus,
|
input:focus,
|
||||||
textarea:focus {
|
textarea:focus {
|
||||||
border-color: $primary-color;
|
border-color: $primary-color;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
outline: thin dotted \9;
|
outline: thin dotted \9;
|
||||||
|
box-shadow: inset 0 1px 3px rgba($text-color, 0.06),
|
||||||
|
0 0 5px rgba($primary-color, 0.7);
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="file"]:focus,
|
input[type="file"]:focus,
|
||||||
@@ -233,14 +230,13 @@ select:focus {
|
|||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Help text
|
Help text
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.help-block,
|
.help-block,
|
||||||
.help-inline {
|
.help-inline {
|
||||||
color: $info-color;
|
color: $muted-text-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-block {
|
.help-block {
|
||||||
@@ -255,10 +251,19 @@ select:focus {
|
|||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
.form-group
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
.form-group {
|
||||||
|
margin-bottom: 5px;
|
||||||
|
padding: 0;
|
||||||
|
border-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
.form-inline
|
.form-inline
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.form-inline input,
|
.form-inline input,
|
||||||
.form-inline textarea,
|
.form-inline textarea,
|
||||||
@@ -283,12 +288,12 @@ select:focus {
|
|||||||
.form-inline .checkbox input[type="checkbox"] {
|
.form-inline .checkbox input[type="checkbox"] {
|
||||||
float: left;
|
float: left;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
margin-right: 3px; }
|
margin-right: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
.form-search
|
.form-search
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.form-search input,
|
.form-search input,
|
||||||
.form-search textarea,
|
.form-search textarea,
|
||||||
@@ -323,13 +328,12 @@ select:focus {
|
|||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
.form--loading
|
.form--loading
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.form--loading:before {
|
.form--loading:before {
|
||||||
content: '';
|
content: "";
|
||||||
}
|
}
|
||||||
|
|
||||||
.form--loading .form__spinner {
|
.form--loading .form__spinner {
|
||||||
@@ -354,11 +358,9 @@ select:focus {
|
|||||||
z-index: 11;
|
z-index: 11;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Google search form
|
Google search form
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
#goog-fixurl {
|
#goog-fixurl {
|
||||||
ul {
|
ul {
|
||||||
@@ -382,10 +384,10 @@ select:focus {
|
|||||||
color: #000;
|
color: #000;
|
||||||
border-width: 2px !important;
|
border-width: 2px !important;
|
||||||
border-style: solid !important;
|
border-style: solid !important;
|
||||||
border-color: lighten(#000,50);
|
border-color: $border-color;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
}
|
}
|
||||||
|
|
||||||
#goog-wm-sb {
|
#goog-wm-sb {
|
||||||
@extend .btn;
|
@extend .btn;
|
||||||
}
|
}
|
||||||
@@ -5,24 +5,28 @@
|
|||||||
.masthead {
|
.masthead {
|
||||||
position: relative;
|
position: relative;
|
||||||
border-bottom: 1px solid $border-color;
|
border-bottom: 1px solid $border-color;
|
||||||
-webkit-animation: intro 0.3s both;
|
-webkit-animation: $intro-transition;
|
||||||
animation: intro 0.3s both;
|
animation: $intro-transition;
|
||||||
-webkit-animation-delay: 0.15s;
|
-webkit-animation-delay: 0.15s;
|
||||||
animation-delay: 0.15s;
|
animation-delay: 0.15s;
|
||||||
z-index: 20;
|
z-index: 20;
|
||||||
|
|
||||||
&__inner-wrap {
|
&__inner-wrap {
|
||||||
@include container;
|
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
padding: 1em;
|
||||||
|
max-width: 100%;
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
-webkit-box-pack: justify;
|
-webkit-box-pack: justify;
|
||||||
justify-content: space-between;
|
-ms-flex-pack: justify;
|
||||||
padding: 1em 1em 1em;
|
justify-content: space-between;
|
||||||
font-family: $sans-serif-narrow;
|
font-family: $sans-serif-narrow;
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
max-width: $x-large;
|
max-width: $max-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
@@ -35,19 +39,26 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.site-logo img {
|
||||||
|
max-height: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
.site-title {
|
.site-title {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: 0.5rem 0;
|
-ms-flex-item-align: center;
|
||||||
align-self: stretch;
|
align-self: center;
|
||||||
-webkit-box-align: center;
|
|
||||||
align-items: center;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
z-index: 20;
|
z-index: 20;
|
||||||
}
|
}
|
||||||
|
|
||||||
.masthead__menu {
|
.masthead__menu {
|
||||||
|
float: left;
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
clear: both;
|
||||||
|
|
||||||
.site-nav {
|
.site-nav {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
@@ -74,4 +85,4 @@
|
|||||||
padding-right: 2em;
|
padding-right: 2em;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,92 @@
|
|||||||
|
/* ==========================================================================
|
||||||
|
MIXINS
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
%tab-focus {
|
||||||
|
/* Default*/
|
||||||
|
outline: thin dotted $focus-color;
|
||||||
|
/* Webkit*/
|
||||||
|
outline: 5px auto $focus-color;
|
||||||
|
outline-offset: -2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
em function
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
@function em($target, $context: $doc-font-size) {
|
||||||
|
@return ($target / $context) * 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
Bourbon clearfix
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Provides an easy way to include a clearfix for containing floats.
|
||||||
|
* link http://cssmojo.com/latest_new_clearfix_so_far/
|
||||||
|
*
|
||||||
|
* example scss - Usage
|
||||||
|
*
|
||||||
|
* .element {
|
||||||
|
* @include clearfix;
|
||||||
|
* }
|
||||||
|
*
|
||||||
|
* example css - CSS Output
|
||||||
|
*
|
||||||
|
* .element::after {
|
||||||
|
* clear: both;
|
||||||
|
* content: "";
|
||||||
|
* display: table;
|
||||||
|
* }
|
||||||
|
*/
|
||||||
|
|
||||||
|
@mixin clearfix {
|
||||||
|
clear: both;
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
clear: both;
|
||||||
|
content: "";
|
||||||
|
display: table;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Compass YIQ Color Contrast
|
||||||
|
https://github.com/easy-designs/yiq-color-contrast
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
@function yiq-is-light(
|
||||||
|
$color,
|
||||||
|
$threshold: $yiq-contrasted-threshold
|
||||||
|
) {
|
||||||
|
$red: red($color);
|
||||||
|
$green: green($color);
|
||||||
|
$blue: blue($color);
|
||||||
|
|
||||||
|
$yiq: (($red*299)+($green*587)+($blue*114))/1000;
|
||||||
|
|
||||||
|
@if $yiq-debug { @debug $yiq, $threshold; }
|
||||||
|
|
||||||
|
@return if($yiq >= $threshold, true, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
@function yiq-contrast-color(
|
||||||
|
$color,
|
||||||
|
$dark: $yiq-contrasted-dark-default,
|
||||||
|
$light: $yiq-contrasted-light-default,
|
||||||
|
$threshold: $yiq-contrasted-threshold
|
||||||
|
) {
|
||||||
|
@return if(yiq-is-light($color, $threshold), $yiq-contrasted-dark-default, $yiq-contrasted-light-default);
|
||||||
|
}
|
||||||
|
|
||||||
|
@mixin yiq-contrasted(
|
||||||
|
$background-color,
|
||||||
|
$dark: $yiq-contrasted-dark-default,
|
||||||
|
$light: $yiq-contrasted-light-default,
|
||||||
|
$threshold: $yiq-contrasted-threshold
|
||||||
|
) {
|
||||||
|
background-color: $background-color;
|
||||||
|
color: yiq-contrast-color($background-color, $dark, $light, $threshold);
|
||||||
|
}
|
||||||
@@ -7,22 +7,16 @@
|
|||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.breadcrumbs {
|
.breadcrumbs {
|
||||||
@include container;
|
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
margin-top: 0;
|
margin: 0 auto;
|
||||||
margin-bottom: 0;
|
max-width: 100%;
|
||||||
padding-left: 2em;
|
padding-left: 1em;
|
||||||
padding-right: 2em;
|
padding-right: 1em;
|
||||||
font-family: $sans-serif;
|
font-family: $sans-serif;
|
||||||
-webkit-animation: intro 0.3s both;
|
-webkit-animation: $intro-transition;
|
||||||
animation: intro 0.3s both;
|
animation: $intro-transition;
|
||||||
-webkit-animation-delay: 0.30s;
|
-webkit-animation-delay: 0.3s;
|
||||||
animation-delay: 0.30s;
|
animation-delay: 0.3s;
|
||||||
|
|
||||||
@include breakpoint($large) {
|
|
||||||
padding-left: 1em;
|
|
||||||
padding-right: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
max-width: $x-large;
|
max-width: $x-large;
|
||||||
@@ -34,11 +28,12 @@
|
|||||||
font-size: $type-size-6;
|
font-size: $type-size-6;
|
||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
@include span(10 of 12 last);
|
float: right;
|
||||||
|
width: calc(100% - #{$right-sidebar-width-narrow});
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
@include prefix(0.5 of 12);
|
width: calc(100% - #{$right-sidebar-width});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -51,16 +46,16 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Post pagination navigation links
|
Post pagination navigation links
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.pagination {
|
.pagination {
|
||||||
@include full();
|
|
||||||
@include clearfix();
|
@include clearfix();
|
||||||
|
float: left;
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
padding-top: 1em;
|
padding-top: 1em;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -84,21 +79,22 @@
|
|||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: mix(#fff, $gray, 25%);
|
color: $muted-text-color;
|
||||||
border: 1px solid $light-gray;
|
border: 1px solid mix(#000, $border-color, 25%);
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: $link-color-hover;
|
color: $link-color-hover;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.current {
|
&.current,
|
||||||
|
&.current.disabled {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background: $primary-color;
|
background: $primary-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.disabled {
|
&.disabled {
|
||||||
color: mix(#fff, $gray, 75%);
|
color: rgba($muted-text-color, 0.5);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
}
|
}
|
||||||
@@ -132,12 +128,12 @@
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: $link-color;
|
color: $muted-text-color;
|
||||||
border: 1px solid $light-gray;
|
border: 1px solid mix(#000, $border-color, 25%);
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: $link-color-hover;
|
@include yiq-contrasted($muted-text-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
@@ -152,7 +148,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.disabled {
|
&.disabled {
|
||||||
color: mix(#fff, $gray, 75%);
|
color: rgba($muted-text-color, 0.5);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
}
|
}
|
||||||
@@ -168,23 +164,24 @@
|
|||||||
border-top: 1px solid $border-color;
|
border-top: 1px solid $border-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Priority plus navigation
|
Priority plus navigation
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.greedy-nav {
|
.greedy-nav {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
-webkit-box-align: center;
|
-webkit-box-align: center;
|
||||||
align-items: center;
|
-ms-flex-align: center;
|
||||||
|
align-items: center;
|
||||||
|
min-height: $nav-height;
|
||||||
background: $background-color;
|
background: $background-color;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0 1rem;
|
margin: 0 1rem;
|
||||||
padding: 0.5rem 0;
|
|
||||||
color: $masthead-link-color;
|
color: $masthead-link-color;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
||||||
@@ -192,40 +189,42 @@
|
|||||||
color: $masthead-link-color-hover;
|
color: $masthead-link-color-hover;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.site-logo {
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
&.site-title {
|
&.site-title {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
&__toggle {
|
||||||
padding: 0 0.5rem;
|
-ms-flex-item-align: center;
|
||||||
align-self: stretch;
|
align-self: center;
|
||||||
|
height: $nav-toggle-height;
|
||||||
border: 0;
|
border: 0;
|
||||||
outline: none;
|
outline: none;
|
||||||
color: #fff;
|
background-color: transparent;
|
||||||
background-color: $primary-color;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.visible-links {
|
.visible-links {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
-webkit-box-pack: end;
|
-webkit-box-pack: end;
|
||||||
justify-content: flex-end;
|
-ms-flex-pack: end;
|
||||||
|
justify-content: flex-end;
|
||||||
-webkit-box-flex: 1;
|
-webkit-box-flex: 1;
|
||||||
flex: 1;
|
-ms-flex: 1;
|
||||||
padding-right: 2rem;
|
flex: 1;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
-webkit-box-flex: 0;
|
-webkit-box-flex: 0;
|
||||||
flex: none;
|
-ms-flex: none;
|
||||||
|
flex: none;
|
||||||
&:last-child {
|
|
||||||
a {
|
|
||||||
margin-right: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
@@ -237,18 +236,18 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
height: 4px;
|
height: 4px;
|
||||||
background: mix(#fff, $primary-color, 50%);
|
background: $primary-color;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
-webkit-transition: $global-transition;
|
-webkit-transition: $global-transition;
|
||||||
transition: $global-transition;
|
transition: $global-transition;
|
||||||
-webkit-transform: scaleX(0) translate3d(0, 0 , 0);
|
-webkit-transform: scaleX(0) translate3d(0, 0, 0);
|
||||||
transform: scaleX(0) translate3d(0, 0 , 0); /* hide*/
|
transform: scaleX(0) translate3d(0, 0, 0); // hide
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover:before {
|
&:hover:before {
|
||||||
-webkit-transform: scaleX(1);
|
-webkit-transform: scaleX(1);
|
||||||
-ms-transform: scaleX(1);
|
-ms-transform: scaleX(1);
|
||||||
transform: scaleX(1); /* reveal*/
|
transform: scaleX(1); // reveal
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -261,7 +260,9 @@
|
|||||||
padding: 5px;
|
padding: 5px;
|
||||||
border: 1px solid $border-color;
|
border: 1px solid $border-color;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
background: #fff;
|
background: $background-color;
|
||||||
|
-webkit-box-shadow: 0 2px 4px 0 rgba(#000, 0.16),
|
||||||
|
0 2px 10px 0 rgba(#000, 0.12);
|
||||||
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
|
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
|
||||||
|
|
||||||
&.hidden {
|
&.hidden {
|
||||||
@@ -275,7 +276,7 @@
|
|||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: $masthead-link-color-hover;
|
color: $masthead-link-color-hover;
|
||||||
background: mix(#fff, $primary-color, 75%);
|
background: $navicon-link-color-hover;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -300,7 +301,7 @@
|
|||||||
width: 0;
|
width: 0;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 0 10px 10px;
|
border-width: 0 10px 10px;
|
||||||
border-color: #fff transparent;
|
border-color: $background-color transparent;
|
||||||
display: block;
|
display: block;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
@@ -316,10 +317,19 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.no-js {
|
||||||
|
.greedy-nav {
|
||||||
|
.visible-links {
|
||||||
|
-ms-flex-wrap: wrap;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Navigation list
|
Navigation list
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.nav__list {
|
.nav__list {
|
||||||
margin-bottom: 1.5em;
|
margin-bottom: 1.5em;
|
||||||
@@ -329,8 +339,7 @@
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint(max-width ($large - 1px)) {
|
@include breakpoint(max-width $large - 1px) {
|
||||||
|
|
||||||
label {
|
label {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@@ -347,7 +356,7 @@
|
|||||||
|
|
||||||
&:before,
|
&:before,
|
||||||
&:after {
|
&:after {
|
||||||
content: '';
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 1em;
|
right: 1em;
|
||||||
top: 1.25em;
|
top: 1.25em;
|
||||||
@@ -361,8 +370,8 @@
|
|||||||
|
|
||||||
&:after {
|
&:after {
|
||||||
-webkit-transform: rotate(90deg);
|
-webkit-transform: rotate(90deg);
|
||||||
-ms-transform: rotate(90deg);
|
-ms-transform: rotate(90deg);
|
||||||
transform: rotate(90deg);
|
transform: rotate(90deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
@@ -391,14 +400,14 @@
|
|||||||
/* on hover show expand*/
|
/* on hover show expand*/
|
||||||
label:hover:after {
|
label:hover:after {
|
||||||
-webkit-transform: rotate(90deg);
|
-webkit-transform: rotate(90deg);
|
||||||
-ms-transform: rotate(90deg);
|
-ms-transform: rotate(90deg);
|
||||||
transform: rotate(90deg);
|
transform: rotate(90deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
input:checked + label:hover:after {
|
input:checked + label:hover:after {
|
||||||
-webkit-transform: rotate(0);
|
-webkit-transform: rotate(0);
|
||||||
-ms-transform: rotate(0);
|
-ms-transform: rotate(0);
|
||||||
transform: rotate(0);
|
transform: rotate(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
@@ -433,17 +442,10 @@
|
|||||||
margin-left: -0.5em;
|
margin-left: -0.5em;
|
||||||
padding-left: 0.5em;
|
padding-left: 0.5em;
|
||||||
padding-right: 0.5em;
|
padding-right: 0.5em;
|
||||||
color: #fff;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
background: $primary-color;
|
|
||||||
border-radius: $border-radius;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint(max-width ($large - 1px)) {
|
@include breakpoint(max-width $large - 1px) {
|
||||||
position: relative;
|
position: relative;
|
||||||
max-height: 0;
|
max-height: 0;
|
||||||
opacity: 0%;
|
opacity: 0%;
|
||||||
@@ -452,12 +454,12 @@
|
|||||||
-webkit-transition: 0.3s ease-in-out;
|
-webkit-transition: 0.3s ease-in-out;
|
||||||
transition: 0.3s ease-in-out;
|
transition: 0.3s ease-in-out;
|
||||||
-webkit-transform: translate(0, 10%);
|
-webkit-transform: translate(0, 10%);
|
||||||
-ms-transform: translate(0, 10%);
|
-ms-transform: translate(0, 10%);
|
||||||
transform: translate(0, 10%);
|
transform: translate(0, 10%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint(max-width ($large - 1px)) {
|
@include breakpoint(max-width $large - 1px) {
|
||||||
.nav__list input:checked ~ .nav__items {
|
.nav__list input:checked ~ .nav__items {
|
||||||
-webkit-transition: 0.5s ease-in-out;
|
-webkit-transition: 0.5s ease-in-out;
|
||||||
transition: 0.5s ease-in-out;
|
transition: 0.5s ease-in-out;
|
||||||
@@ -466,14 +468,14 @@
|
|||||||
opacity: 1;
|
opacity: 1;
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
-webkit-transform: translate(0, 0);
|
-webkit-transform: translate(0, 0);
|
||||||
-ms-transform: translate(0, 0);
|
-ms-transform: translate(0, 0);
|
||||||
transform: translate(0, 0);
|
transform: translate(0, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav__title {
|
.nav__title {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0.5rem 1rem;
|
padding: 0.5rem 0.75rem;
|
||||||
font-family: $sans-serif-narrow;
|
font-family: $sans-serif-narrow;
|
||||||
font-size: $type-size-5;
|
font-size: $type-size-5;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@@ -482,7 +484,7 @@
|
|||||||
.nav__sub-title {
|
.nav__sub-title {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0.5rem 0;
|
margin: 0.5rem 0;
|
||||||
padding: 0.5rem 0;
|
padding: 0.25rem 0;
|
||||||
font-family: $sans-serif-narrow;
|
font-family: $sans-serif-narrow;
|
||||||
font-size: $type-size-6;
|
font-size: $type-size-6;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@@ -490,19 +492,17 @@
|
|||||||
border-bottom: 1px solid $border-color;
|
border-bottom: 1px solid $border-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Table of contents navigation
|
Table of contents navigation
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.toc {
|
.toc {
|
||||||
font-family: $sans-serif-narrow;
|
font-family: $sans-serif-narrow;
|
||||||
color: $gray;
|
color: $gray;
|
||||||
text-transform: uppercase;
|
background-color: $background-color;
|
||||||
letter-spacing: 1px;
|
|
||||||
background-color: #fff;
|
|
||||||
border: 1px solid $border-color;
|
border: 1px solid $border-color;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
|
-webkit-box-shadow: $box-shadow;
|
||||||
box-shadow: $box-shadow;
|
box-shadow: $box-shadow;
|
||||||
|
|
||||||
.nav__title {
|
.nav__title {
|
||||||
@@ -512,6 +512,11 @@
|
|||||||
border-top-left-radius: $border-radius;
|
border-top-left-radius: $border-radius;
|
||||||
border-top-right-radius: $border-radius;
|
border-top-right-radius: $border-radius;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Scrollspy marks toc items as .active when they are in focus
|
||||||
|
.active a {
|
||||||
|
@include yiq-contrasted($active-color);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.toc__menu {
|
.toc__menu {
|
||||||
@@ -519,40 +524,43 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
font-size: 0.8rem;
|
font-size: $type-size-6;
|
||||||
|
|
||||||
|
@include breakpoint($large) {
|
||||||
|
font-size: $type-size-7;
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 0.5rem 1rem;
|
padding: 0.25rem 0.75rem;
|
||||||
color: $gray;
|
color: $muted-text-color;
|
||||||
font-size: $type-size-7;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
border-bottom: 1px solid $border-color;
|
border-bottom: 1px solid $border-color;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: #000;
|
color: $text-color;
|
||||||
background: $lighter-gray;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
> li:last-child {
|
|
||||||
a {
|
|
||||||
border-bottom: none;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
li ul > li a {
|
li ul > li a {
|
||||||
padding-left: 2rem;
|
padding-left: 1.25rem;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* hide sub sub links on small screens*/
|
li ul li ul > li a {
|
||||||
li > ul li {
|
padding-left: 1.75rem;
|
||||||
display: none;
|
|
||||||
|
|
||||||
@include breakpoint($medium) {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
li ul li ul li ul > li a {
|
||||||
|
padding-left: 2.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
li ul li ul li ul li ul > li a {
|
||||||
|
padding-left: 2.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
li ul li ul li ul li ul li ul > li a {
|
||||||
|
padding-left: 3.25rem
|
||||||
|
}
|
||||||
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user