kacademic 0.5.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +338 -0
  4. data/_data/academic_i18n.yml +61 -0
  5. data/_includes/_i18n/date.html +11 -0
  6. data/_includes/_i18n/i18n.html +17 -0
  7. data/_includes/_i18n/lang_selector.html +42 -0
  8. data/_includes/_i18n/last_modified_at.html +29 -0
  9. data/_includes/_i18n/link.html +10 -0
  10. data/_includes/_i18n/sitetitle.html +19 -0
  11. data/_includes/_icons/Spotify-Icon-Black-Logo.wine.svg +1 -0
  12. data/_includes/_icons/email.html +1 -0
  13. data/_includes/_icons/email.svg +1 -0
  14. data/_includes/_icons/file.html +11 -0
  15. data/_includes/_icons/file.svg +1 -0
  16. data/_includes/_icons/github.html +1 -0
  17. data/_includes/_icons/github.svg +1 -0
  18. data/_includes/_icons/keybase.html +1 -0
  19. data/_includes/_icons/keybase.svg +1 -0
  20. data/_includes/_icons/linkedin.html +1 -0
  21. data/_includes/_icons/linkedin.svg +1 -0
  22. data/_includes/_icons/rss.html +7 -0
  23. data/_includes/_icons/rss.svg +5 -0
  24. data/_includes/_icons/spotify.html +1 -0
  25. data/_includes/_icons/spotify.svg +2 -0
  26. data/_includes/_icons/website.html +2 -0
  27. data/_includes/_icons/website.svg +6 -0
  28. data/_includes/calltoaction.html +19 -0
  29. data/_includes/contactlist.html +34 -0
  30. data/_includes/footer.html +80 -0
  31. data/_includes/head.html +77 -0
  32. data/_includes/header.html +35 -0
  33. data/_includes/image.html +9 -0
  34. data/_includes/nav_menu.html +26 -0
  35. data/_includes/piwik.html +15 -0
  36. data/_includes/post-li.html +19 -0
  37. data/_includes/post-ul.html +19 -0
  38. data/_includes/sitemap-url.html +30 -0
  39. data/_layouts/about.html +46 -0
  40. data/_layouts/archive.html +17 -0
  41. data/_layouts/default.html +24 -0
  42. data/_layouts/home.html +31 -0
  43. data/_layouts/page.html +7 -0
  44. data/_layouts/pagenotfound.html +11 -0
  45. data/_layouts/post.html +51 -0
  46. data/_layouts/sitemap.html +5 -0
  47. data/_sass/.DS_Store +0 -0
  48. data/_sass/academic/_base.scss +347 -0
  49. data/_sass/academic/_layout.scss +797 -0
  50. data/_sass/academic/_syntax-highlighting.scss +61 -0
  51. data/_sass/academic.scss +124 -0
  52. data/assets/main.scss +46 -0
  53. data/assets/opensans/OpenSans-Bold.ttf +0 -0
  54. data/assets/opensans/OpenSans-Italic.ttf +0 -0
  55. data/assets/opensans/OpenSans-Regular.ttf +0 -0
  56. metadata +153 -0
@@ -0,0 +1,347 @@
1
+ /**
2
+ * Reset some basic elements
3
+ */
4
+ body, h1, h2, h3, h4, h5, h6,
5
+ p, blockquote, pre, hr,
6
+ dl, dd, ol, ul, figure {
7
+ margin: 0;
8
+ padding: 0;
9
+ }
10
+
11
+
12
+
13
+ /**
14
+ * Basic styling
15
+ */
16
+ body {
17
+ font-family: $base-font-family;
18
+ @include size(p);
19
+ font-weight: $base-font-weight;
20
+ color: $text-color;
21
+ background-color: $background-color;
22
+ -webkit-text-size-adjust: 100%;
23
+ -webkit-font-feature-settings: "kern" 1;
24
+ -moz-font-feature-settings: "kern" 1;
25
+ -o-font-feature-settings: "kern" 1;
26
+ font-feature-settings: "kern" 1;
27
+ font-kerning: normal;
28
+ font-variant-ligatures: common-ligatures contextual;
29
+ -moz-font-feature-settings: "kern", "liga", "clig", "calt";
30
+ -ms-font-feature-settings: "kern", "liga", "clig", "alt";
31
+ -webkit-font-feature-settings: "kern", "liga", "clig", "calt";
32
+ font-feature-settings: "kern", "liga", "clig", "calt";
33
+ overflow-x: hidden;
34
+ }
35
+
36
+
37
+
38
+ /**
39
+ * Set `margin-bottom` to maintain vertical rhythm
40
+ */
41
+ p, blockquote, pre,
42
+ ul, ol, dl, figure,
43
+ %vertical-rhythm {
44
+ margin-bottom: $spacing-unit / 2;
45
+ }
46
+
47
+ h1, h2, h3, h4, h5, h6,
48
+ %vertical-rhythm {
49
+ margin-top: $spacing-unit;
50
+ }
51
+
52
+ h1,
53
+ %vertical-rhythm {
54
+ margin-bottom: $spacing-unit / 7;
55
+ }
56
+
57
+ h4, h5, h6,
58
+ %vertical-rhythm {
59
+ margin-bottom: $spacing-unit / 7;
60
+ }
61
+
62
+ h1 + h2, h2 + h3, h3 + h4,
63
+ h1 + h3, h1 + h4, h2 + h4 {
64
+ margin-top: $spacing-unit /2;
65
+ }
66
+
67
+
68
+
69
+ /**
70
+ * Images
71
+ */
72
+ // img {
73
+ // position: relative;
74
+ // max-width: 60vw;
75
+ // left: calc(-20vw + 20%);
76
+ // vertical-align: middle;
77
+ // }
78
+
79
+ figure {
80
+ text-align: center;
81
+
82
+ figcaption {
83
+ margin-top: 5px;
84
+ font-style: italic;
85
+ @include size(vsmall);
86
+ }
87
+ }
88
+
89
+ img {
90
+ vertical-align: middle;
91
+ max-width: 100%;
92
+ }
93
+
94
+ /**
95
+ * Figures
96
+ */
97
+ figure > img {
98
+ display: block;
99
+ }
100
+
101
+ figcaption {
102
+ font-size: $small-font-size;
103
+ }
104
+
105
+
106
+
107
+ /**
108
+ * Lists
109
+ */
110
+ ul, ol {
111
+ margin-left: $spacing-unit;
112
+ }
113
+
114
+ li {
115
+ > ul,
116
+ > ol {
117
+ margin-bottom: 0;
118
+ }
119
+ }
120
+
121
+
122
+
123
+ /**
124
+ * Headings
125
+ */
126
+
127
+ h1,h2,h3,h4,h5,h6 {
128
+ font-kerning: normal;
129
+ font-variant-ligatures: common-ligatures contextual;
130
+ -moz-font-feature-settings: "kern", "liga", "clig", "calt";
131
+ -ms-font-feature-settings: "kern", "liga", "clig", "alt";
132
+ -webkit-font-feature-settings: "kern", "liga", "clig", "calt";
133
+ font-feature-settings: "kern", "liga", "clig", "calt";
134
+ }
135
+
136
+ h1,h2 {
137
+ letter-spacing: -1px;
138
+ font-family: $alt-font-family;
139
+ @include size(h1);
140
+ font-weight: $alt-font-weight;
141
+ }
142
+
143
+ h2 {
144
+ @include size(h2);
145
+ }
146
+
147
+ h3 {
148
+ font-family: $base-font-family;
149
+ }
150
+
151
+ h3, h4{
152
+ font-weight: normal;
153
+ }
154
+
155
+ h3 {
156
+ font-weight:bold;
157
+ @include size(h3);
158
+ }
159
+
160
+ h4 {
161
+ @include size(h4);
162
+ }
163
+
164
+
165
+
166
+ /**
167
+ * Links
168
+ */
169
+ a {
170
+ color: $brand-color;
171
+ text-decoration: none;
172
+
173
+ &:visited {
174
+ color: darken($brand-color, 5%);
175
+ }
176
+
177
+ &:hover {
178
+ color: $text-color;
179
+ text-decoration: underline;
180
+ }
181
+ }
182
+
183
+
184
+
185
+ /**
186
+ * Blockquotes
187
+ */
188
+
189
+ blockquote {
190
+ color: $grey-color;
191
+ padding-left: $spacing-unit / 2;
192
+ padding-right: $spacing-unit;
193
+ @include size(small);
194
+
195
+ > :last-child {
196
+ margin-bottom: 0;
197
+ }
198
+ }
199
+
200
+
201
+
202
+ /**
203
+ * Code formatting
204
+ */
205
+
206
+ p code,
207
+ li code {
208
+ @include size(vsmall);
209
+ }
210
+
211
+ pre {
212
+ display: block;
213
+ padding-top: $spacing-unit / 3;
214
+ padding-bottom: $spacing-unit / 3;
215
+ padding-left: 10px;
216
+ overflow-x: auto;
217
+ @include size(vsmall);
218
+ }
219
+
220
+ /**
221
+ * Table
222
+ */
223
+
224
+ table {
225
+ margin: auto;
226
+ border-collapse: collapse;
227
+ @include size(small);
228
+
229
+
230
+ th {
231
+ border-bottom: 1px solid $text-color;
232
+ padding: 5px;
233
+ }
234
+
235
+ td {
236
+ padding: 5px;
237
+ }
238
+ }
239
+
240
+ h1 + table, h2 + table,
241
+ h3 + table, h4 + table,
242
+ h5 + table, h6 + table {
243
+ margin-top: $spacing-unit / 2;
244
+ }
245
+
246
+ /**
247
+ * Hr
248
+ */
249
+
250
+ hr {
251
+ color: $grey-color;
252
+ margin: $spacing-unit auto $spacing-unit / 2 auto;
253
+ width: 100%;
254
+ padding-left: 10%;
255
+ border: none;
256
+ border-top: 1px dashed $grey-color;
257
+ @include size(small);
258
+ }
259
+
260
+
261
+ /**
262
+ * Wrapper
263
+ */
264
+ .wrapper {
265
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
266
+ max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
267
+ margin-right: auto;
268
+ margin-left: auto;
269
+ padding-right: $spacing-unit;
270
+ padding-left: $spacing-unit;
271
+ @extend %clearfix;
272
+
273
+ @include media-query($on-laptop) {
274
+ max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
275
+ max-width: calc(#{$content-width} - (#{$spacing-unit}));
276
+ padding-right: $spacing-unit / 2;
277
+ padding-left: $spacing-unit / 2;
278
+ }
279
+ }
280
+
281
+
282
+
283
+ /**
284
+ * Clearfix
285
+ */
286
+ %clearfix:after {
287
+ content: "";
288
+ display: table;
289
+ clear: both;
290
+ }
291
+
292
+
293
+
294
+ /**
295
+ * Icons
296
+ */
297
+ .icon > svg {
298
+ display: inline-block;
299
+ vertical-align: middle;
300
+
301
+ circle,
302
+ path:last-of-type {
303
+ fill: $grey-color;
304
+ }
305
+ }
306
+
307
+ /**
308
+ * Footnotes
309
+ */
310
+
311
+ .footnotes {
312
+ @include size(small);
313
+ color: $grey-color;
314
+ }
315
+
316
+ /**
317
+ * Forms
318
+ */
319
+
320
+ form {
321
+
322
+ input {
323
+ @include size(small);
324
+ color: $grey-color;
325
+ font-family: $alt-font-family;
326
+ background: $background-color;
327
+ border: 1px solid $grey-color;
328
+ padding: $spacing-unit / 6;
329
+
330
+ &[type=email] {
331
+ &:focus {
332
+ border-color: $brand-color;
333
+ }
334
+ }
335
+
336
+ &[type=submit] {
337
+ &:hover {
338
+ color: $background-color;
339
+ background: $grey-color;
340
+ }
341
+
342
+ &:active {
343
+ background: $brand-color;
344
+ }
345
+ }
346
+ }
347
+ }