academic 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,451 @@
1
+ /**
2
+ * Site header
3
+ */
4
+ .site-header {
5
+ border-top: 5px solid $grey-color;
6
+ border-bottom: 1px solid $grey-color-light;
7
+ min-height: 60px;
8
+
9
+ // Positioning context for the mobile navigation icon
10
+ position: relative;
11
+ }
12
+
13
+ .site-title {
14
+ display: inline-block;
15
+ font-size: 26px;
16
+ font-weight: 300;
17
+ line-height: 55px;
18
+ letter-spacing: -1px;
19
+ margin-bottom: -5px;
20
+ float: left;
21
+
22
+ &,
23
+ &:visited {
24
+ color: $grey-color-dark;
25
+ }
26
+ &:hover {
27
+ text-decoration: none;
28
+ border-bottom: 5px $brand-color solid;
29
+ }
30
+
31
+ b {
32
+ font-weight: 600;
33
+ }
34
+ }
35
+
36
+ .with-pitch {
37
+ &:hover {
38
+ border-bottom: none;
39
+ color: $brand-color;
40
+ }
41
+ }
42
+
43
+ .site-pitch {
44
+ display: inline-block;
45
+ clear: both;
46
+ line-height: 60px;
47
+ padding-left: 10px;
48
+ color: $grey-color;
49
+
50
+ &:before {
51
+ content: " | "
52
+ }
53
+
54
+ @include media-query($on-palm) {
55
+ display: block;
56
+ padding-left: 0;
57
+ padding-bottom: 15px;
58
+ line-height: initial;
59
+ color: $grey-color-light;
60
+
61
+ &:before {
62
+ content: ""
63
+ }
64
+ }
65
+ }
66
+
67
+
68
+ .site-nav {
69
+ float: right;
70
+ line-height: 60px;
71
+
72
+ .menu-icon {
73
+ display: none;
74
+ }
75
+
76
+ .page-link {
77
+ display: inline-block;
78
+ color: $text-color;
79
+ height: 55px;
80
+
81
+ // Gaps between nav items, but not on the last one
82
+ &:not(:last-child) {
83
+ margin-right: 20px;
84
+ }
85
+
86
+ &:hover {
87
+ text-decoration: none;
88
+ border-bottom: 5px $grey-color solid;
89
+ }
90
+ }
91
+
92
+ @include media-query($on-palm) {
93
+ position: absolute;
94
+ top: 9px;
95
+ right: $spacing-unit / 2;
96
+ background-color: $background-color;
97
+ border: 1px solid $grey-color-light;
98
+ border-radius: 5px;
99
+ text-align: right;
100
+
101
+ .menu-icon {
102
+ display: block;
103
+ float: right;
104
+ width: 36px;
105
+ height: 26px;
106
+ line-height: 0;
107
+ padding-top: 10px;
108
+ text-align: center;
109
+
110
+ > svg path {
111
+ fill: $grey-color-dark;
112
+ }
113
+ }
114
+
115
+ .trigger {
116
+ clear: both;
117
+ display: none;
118
+ }
119
+
120
+ &:hover .trigger {
121
+ display: block;
122
+ padding-bottom: 5px;
123
+ }
124
+
125
+ .page-link {
126
+ display: block;
127
+ padding: 5px 10px;
128
+
129
+ &:not(:last-child) {
130
+ margin-right: 0;
131
+ }
132
+ margin-left: 20px;
133
+ }
134
+ }
135
+ }
136
+
137
+
138
+
139
+ /**
140
+ * Site footer
141
+ */
142
+ .site-footer {
143
+ border-top: 1px solid $grey-color-light;
144
+ color: $grey-color;
145
+
146
+ .footer-col {
147
+ @include size(vsmall);
148
+ max-width: 50%;
149
+ list-style: none;
150
+ margin-left: 0;
151
+ margin-top: $spacing-unit/2;
152
+ margin-bottom: $spacing-unit;
153
+
154
+ a {
155
+ color: $grey-color;
156
+ }
157
+ }
158
+
159
+ .info-list {
160
+ float: left;
161
+
162
+ .author, .author a {
163
+ color: $grey-color-light;
164
+ }
165
+ }
166
+
167
+ .follow-list {
168
+ float: right;
169
+ }
170
+
171
+ .bottom {
172
+ @include size(vsmall);
173
+ color: $grey-color-light;
174
+ width: 100%;
175
+ clear: both;
176
+ float: none;
177
+ text-align: center;
178
+ margin-top: $spacing-unit;
179
+ margin-bottom: $spacing-unit;
180
+
181
+ a {
182
+ color: $grey-color-light;
183
+ }
184
+
185
+ .cc-licence {
186
+ text-transform: uppercase;
187
+ }
188
+
189
+ }
190
+
191
+ }
192
+
193
+ /**
194
+ * Page content
195
+ */
196
+ .page-content {
197
+ padding: $spacing-unit 0;
198
+ }
199
+
200
+ .post-content {
201
+ padding-bottom: $spacing-unit;
202
+ }
203
+
204
+ .page-heading {
205
+ margin-top: 0;
206
+ }
207
+
208
+ .pitch {
209
+ h2:first-of-type {
210
+ margin-top: 0;
211
+ }
212
+ }
213
+
214
+ .archive {
215
+ margin-top: $spacing-unit;
216
+ }
217
+
218
+ .post-list {
219
+ margin-left: 0;
220
+ list-style: none;
221
+
222
+ > li {
223
+ margin-bottom: $spacing-unit;
224
+ }
225
+
226
+ .post-link {
227
+ &:hover {
228
+ text-decoration: none;
229
+ }
230
+ }
231
+
232
+ .post-meta {
233
+ font-size: $small-font-size;
234
+ font-family: $alt-font-family;
235
+ font-weight: 200;
236
+ color: $grey-color;
237
+ }
238
+
239
+ .post-thumbnail-wrapper {
240
+ width: 100%;
241
+ max-height: 200px;
242
+ overflow-y: hidden;
243
+ margin-top: $spacing-unit / 4;
244
+ margin-bottom: $spacing-unit / 4;
245
+ }
246
+
247
+ .post-thumbnail {
248
+ margin-top: -20%;
249
+ }
250
+ }
251
+
252
+ /**
253
+ * Posts
254
+ */
255
+
256
+ .post-header {
257
+ position: relative;
258
+ width: 100vw;
259
+ left: calc(-50vw + 50%);
260
+ margin-bottom: $spacing-unit;
261
+ overflow-y: hidden;
262
+
263
+ @include media-query($on-laptop) {
264
+ margin-bottom: $spacing-unit / 1.5;
265
+
266
+ .post-meta {
267
+ margin-bottom: $spacing-unit / 6;
268
+ }
269
+ }
270
+
271
+ .post-thumbnail {
272
+ position: absolute;
273
+ z-index: -1;
274
+ min-height: 100%;
275
+
276
+ @include media-query($on-palm) {
277
+ position: relative;
278
+ width: 100%;
279
+ }
280
+ }
281
+
282
+ .wrapper {
283
+ background: rgba(255, 255, 255, 0.9);
284
+ margin-top: $spacing-unit;
285
+ padding-bottom: 0;
286
+ padding-top: 0;
287
+
288
+ @include media-query($on-laptop) {
289
+ margin-top: $spacing-unit / 1.5;
290
+ }
291
+
292
+ }
293
+ }
294
+
295
+ .with-thumbnail {
296
+ @include media-query($on-laptop) {
297
+ margin-bottom: 0px;
298
+ }
299
+
300
+ .wrapper {
301
+ padding-bottom: $spacing-unit / 2;
302
+ padding-top: $spacing-unit / 2;
303
+ margin-bottom: $spacing-unit;
304
+
305
+ @include media-query($on-palm) {
306
+ margin: 0px;
307
+ }
308
+ }
309
+ }
310
+
311
+ .post-title {
312
+ margin-top: 0;
313
+ color: $brand-color;
314
+ }
315
+
316
+ .post-summary {
317
+ margin-top: 0;
318
+ }
319
+
320
+ .post-content {
321
+ padding-bottom: $spacing-unit / 2;
322
+
323
+ .footnotes {
324
+ @include size(small);
325
+ margin-top: $spacing-unit / 6;
326
+ padding-top: $spacing-unit / 2;
327
+
328
+ @include media-query($on-laptop) {
329
+ p {
330
+ margin-bottom: $spacing-unit / 4;
331
+ }
332
+ }
333
+
334
+ @include media-query($on-palm) {
335
+ margin-top: 0;
336
+ }
337
+
338
+ hr {
339
+ margin-top: 0;
340
+ }
341
+ }
342
+ }
343
+
344
+ .post-author {
345
+ @include size(vsmall);
346
+ padding: 5%;
347
+ margin-top: $spacing-unit / 2;
348
+
349
+ .user-picture {
350
+ float: left;
351
+ width: 20%;
352
+ margin-right: 5%;
353
+ }
354
+
355
+ .user-info {
356
+ width: 75%;
357
+ list-style: none;
358
+ }
359
+
360
+ .user-shortbio {
361
+ color: grey;
362
+ }
363
+ }
364
+
365
+ .colored-block {
366
+ @include size(small);
367
+ background: $grey-color-lighter;
368
+ padding: 5%;
369
+ }
370
+
371
+ /**
372
+ * About
373
+ */
374
+
375
+ .about-col-wrapper {
376
+ @extend %clearfix;
377
+ }
378
+
379
+ .about-col {
380
+ float: left;
381
+
382
+ @include media-query($on-palm) {
383
+ float: none;
384
+ }
385
+ }
386
+
387
+ .contact-list {
388
+ @include size(vsmall);
389
+ list-style: none;
390
+ margin-left: 0;
391
+ margin-top: $spacing-unit / 2;
392
+ text-transform: lowercase;
393
+
394
+ a:hover {
395
+ text-decoration: none;
396
+ }
397
+ }
398
+
399
+ .user-picture {
400
+ border-radius: 50%;
401
+ }
402
+
403
+ .about-col-1 {
404
+ padding-right: $spacing-unit / 2;
405
+ width: -webkit-calc(40% - (#{$spacing-unit} / 2));
406
+ width: calc(40% - (#{$spacing-unit} / 2));
407
+
408
+
409
+ .user-picture {
410
+ margin-bottom: $spacing-unit / 2;
411
+ }
412
+
413
+ }
414
+
415
+ .about-col-2 {
416
+ padding-left: $spacing-unit / 2;
417
+ width: -webkit-calc(60% - (#{$spacing-unit} / 2));
418
+ width: calc(60% - (#{$spacing-unit} / 2));
419
+ }
420
+
421
+ @include media-query($on-laptop) {
422
+ .about-col-1,
423
+ .about-col-2 {
424
+ width: -webkit-calc(50% - (#{$spacing-unit} / 2));
425
+ width: calc(50% - (#{$spacing-unit} / 2));
426
+ }
427
+ }
428
+
429
+ @include media-query($on-palm) {
430
+ .about-col {
431
+ padding: 0;
432
+ float: none;
433
+ width: -webkit-calc(100% - (#{$spacing-unit} / 2));
434
+ width: calc(100% - (#{$spacing-unit} / 2));
435
+ }
436
+ }
437
+
438
+ .msg-404 {
439
+ margin-bottom: $spacing-unit;
440
+
441
+ .title {
442
+ @include size(h1);
443
+ font-family: $alt-font-family;
444
+ color: $brand-color;
445
+ }
446
+
447
+ .description {
448
+ @include size(h2);
449
+ font-family: $base-font-family;
450
+ }
451
+ }
@@ -0,0 +1,61 @@
1
+ .highlight .hll { background-color: #ffffcc }
2
+ .highlight .c { color: #999988; font-style: italic } /* Comment */
3
+ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
4
+ .highlight .k { color: #000000; font-weight: bold } /* Keyword */
5
+ .highlight .o { color: #000000; font-weight: bold } /* Operator */
6
+ .highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
7
+ .highlight .cp { color: #999999; font-weight: bold; font-style: italic } /* Comment.Preproc */
8
+ .highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
9
+ .highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
10
+ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
11
+ .highlight .ge { color: #000000; font-style: italic } /* Generic.Emph */
12
+ .highlight .gr { color: #aa0000 } /* Generic.Error */
13
+ .highlight .gh { color: #999999 } /* Generic.Heading */
14
+ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
15
+ .highlight .go { color: #888888 } /* Generic.Output */
16
+ .highlight .gp { color: #555555 } /* Generic.Prompt */
17
+ .highlight .gs { font-weight: bold } /* Generic.Strong */
18
+ .highlight .gu { color: #aaaaaa } /* Generic.Subheading */
19
+ .highlight .gt { color: #aa0000 } /* Generic.Traceback */
20
+ .highlight .kc { color: #000000; font-weight: bold } /* Keyword.Constant */
21
+ .highlight .kd { color: #000000; font-weight: bold } /* Keyword.Declaration */
22
+ .highlight .kn { color: #000000; font-weight: bold } /* Keyword.Namespace */
23
+ .highlight .kp { color: #000000; font-weight: bold } /* Keyword.Pseudo */
24
+ .highlight .kr { color: #000000; font-weight: bold } /* Keyword.Reserved */
25
+ .highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
26
+ .highlight .m { color: #009999 } /* Literal.Number */
27
+ .highlight .s { color: #d01040 } /* Literal.String */
28
+ .highlight .na { color: #008080 } /* Name.Attribute */
29
+ .highlight .nb { color: #0086B3 } /* Name.Builtin */
30
+ .highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
31
+ .highlight .no { color: #008080 } /* Name.Constant */
32
+ .highlight .nd { color: #3c5d5d; font-weight: bold } /* Name.Decorator */
33
+ .highlight .ni { color: #800080 } /* Name.Entity */
34
+ .highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
35
+ .highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
36
+ .highlight .nl { color: #990000; font-weight: bold } /* Name.Label */
37
+ .highlight .nn { color: #555555 } /* Name.Namespace */
38
+ .highlight .nt { color: #000080 } /* Name.Tag */
39
+ .highlight .nv { color: #008080 } /* Name.Variable */
40
+ .highlight .ow { color: #000000; font-weight: bold } /* Operator.Word */
41
+ .highlight .w { color: #bbbbbb } /* Text.Whitespace */
42
+ .highlight .mf { color: #009999 } /* Literal.Number.Float */
43
+ .highlight .mh { color: #009999 } /* Literal.Number.Hex */
44
+ .highlight .mi { color: #009999 } /* Literal.Number.Integer */
45
+ .highlight .mo { color: #009999 } /* Literal.Number.Oct */
46
+ .highlight .sb { color: #d01040 } /* Literal.String.Backtick */
47
+ .highlight .sc { color: #d01040 } /* Literal.String.Char */
48
+ .highlight .sd { color: #d01040 } /* Literal.String.Doc */
49
+ .highlight .s2 { color: #d01040 } /* Literal.String.Double */
50
+ .highlight .se { color: #d01040 } /* Literal.String.Escape */
51
+ .highlight .sh { color: #d01040 } /* Literal.String.Heredoc */
52
+ .highlight .si { color: #d01040 } /* Literal.String.Interpol */
53
+ .highlight .sx { color: #d01040 } /* Literal.String.Other */
54
+ .highlight .sr { color: #009926 } /* Literal.String.Regex */
55
+ .highlight .s1 { color: #d01040 } /* Literal.String.Single */
56
+ .highlight .ss { color: #990073 } /* Literal.String.Symbol */
57
+ .highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
58
+ .highlight .vc { color: #008080 } /* Name.Variable.Class */
59
+ .highlight .vg { color: #008080 } /* Name.Variable.Global */
60
+ .highlight .vi { color: #008080 } /* Name.Variable.Instance */
61
+ .highlight .il { color: #009999 } /* Literal.Number.Integer.Long */