junior-jekyll-theme 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +152 -0
  4. data/_includes/ajaxify_content_form.html +30 -0
  5. data/_includes/css/portfolio.css +931 -0
  6. data/_includes/footer.html +109 -0
  7. data/_includes/head.html +113 -0
  8. data/_includes/header.html +116 -0
  9. data/_includes/js/flicker.js +56 -0
  10. data/_includes/js/gh_projects.js +1422 -0
  11. data/_includes/js/plugins.js +10 -0
  12. data/_includes/js/script.js +53 -0
  13. data/_includes/js/util_buttons.js +23 -0
  14. data/_includes/navigation.html +116 -0
  15. data/_includes/pagination.html +92 -0
  16. data/_includes/post_footer.html +9 -0
  17. data/_includes/share_buttons.html +111 -0
  18. data/_includes/social_links.html +53 -0
  19. data/_layouts/about.html +14 -0
  20. data/_layouts/center.html +26 -0
  21. data/_layouts/cv.html +86 -0
  22. data/_layouts/default.html +43 -0
  23. data/_layouts/default_design.html +57 -0
  24. data/_layouts/page.html +17 -0
  25. data/_layouts/paper.html +3 -0
  26. data/_layouts/post-narrow.html +14 -0
  27. data/_layouts/post-wide.html +21 -0
  28. data/_layouts/post.html +93 -0
  29. data/_sass/_animations.scss +60 -0
  30. data/_sass/_base.scss +34 -0
  31. data/_sass/_basscss.scss +25 -0
  32. data/_sass/_blockquotes.scss +20 -0
  33. data/_sass/_clearfix.scss +8 -0
  34. data/_sass/_code.scss +70 -0
  35. data/_sass/_footer.scss +66 -0
  36. data/_sass/_forms.scss +106 -0
  37. data/_sass/_gists.scss +8 -0
  38. data/_sass/_header.scss +40 -0
  39. data/_sass/_links.scss +39 -0
  40. data/_sass/_measure.scss +4 -0
  41. data/_sass/_media-queries.scss +64 -0
  42. data/_sass/_pagination.scss +32 -0
  43. data/_sass/_positions.scss +7 -0
  44. data/_sass/_posts.scss +49 -0
  45. data/_sass/_social-icons.scss +25 -0
  46. data/_sass/_tables.scss +45 -0
  47. data/_sass/_typography.scss +24 -0
  48. data/_sass/_variables.scss +120 -0
  49. data/_sass/basscss/_base-buttons.scss +28 -0
  50. data/_sass/basscss/_base-forms.scss +57 -0
  51. data/_sass/basscss/_base-reset.scss +25 -0
  52. data/_sass/basscss/_base-typography.scss +101 -0
  53. data/_sass/basscss/_buttons-blue.scss +27 -0
  54. data/_sass/basscss/_color-base.scss +28 -0
  55. data/_sass/basscss/_colors.scss +97 -0
  56. data/_sass/basscss/_syntax-highlighting.scss +119 -0
  57. data/_sass/basscss/_utility-headings.scss +37 -0
  58. data/_sass/basscss/_utility-typography.scss +38 -0
  59. data/_sass/basscss/_utility-white-space.scss +182 -0
  60. metadata +145 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 71676f92073b6b62600a849e1eb23c271edd0dc7
4
+ data.tar.gz: 97b504e8f4ce18a1003d44d461b2b749c328648a
5
+ SHA512:
6
+ metadata.gz: a01a663432945236beb31854b72477034c8064c8219534679390a5203da5e1b62df8e66d59a497a14eaca5c888a4b8477b145a637474ea3f996873eb5acef3b2
7
+ data.tar.gz: d84b09747b154b3b867f515606aac59e9f0c3ded2b2ca79a109067d872c6e2f20decd74068415d63f589d3f304204079f881a781022c3bb50a402cb52c7f566c
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017 Jonathon Belotti
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,152 @@
1
+ <p align="center">
2
+ <img src="mockups/rsz_junior.png"/>
3
+ </p>
4
+
5
+ # Junior
6
+ -----
7
+
8
+ *Junior* is a blog/portfolio theme for [Jekyll](http://jekyllrb.com), the static site generator. It's designed and developed by [@jonobelotti_IO](https://twitter.com/jonobelotti_IO).
9
+
10
+
11
+ See Junior in action with [the demo site](https://thundergolfer.github.io/junior-theme).
12
+
13
+ ## Contents
14
+
15
+ - [Preview](#preview)
16
+ - [Usage](#usage)
17
+ - [Options](#options)
18
+ - [Rems, `font-size`, and scaling](#rems-font-size-and-scaling)
19
+ - [Development](#development)
20
+ - [Author](#author)
21
+ - [License](#license)
22
+
23
+ ## Preview
24
+
25
+ ##### Landing Page
26
+
27
+ ![Junior main page](mockups/junior-front-page.png)
28
+
29
+ ##### Dropdown Menu
30
+
31
+ ![Junior menu dropdown](mockups/junior-menu.png)
32
+
33
+ ##### Example Blog Post
34
+
35
+ ![Junior blog post](mockups/junior-post.png)
36
+
37
+ ##### Resumé
38
+
39
+ Attractive, no-fuss resumé page that includes a PDF-print link (right) with CSS configured to ensure fidelity between screen and paper page.
40
+
41
+ ![Junior resumé](mockups/junior-resume.png)
42
+
43
+ ##### Open Source Showcase
44
+
45
+ Connects, using Github's API, with your public profile and pulls your projects (ordered by Stars). Coming soon, you will also be able to showcase significant PRs. *Tag colours are also matched to the project's Github language colour-coding.*
46
+
47
+ ![Junior open source showcase](mockups/junior-open-source.png)
48
+
49
+ ##### Project Portfolio Visual Showcase
50
+
51
+ ![Junior visual portfolio](mockups/junior-main-portfolio.png)
52
+
53
+ ##### Project Page
54
+
55
+ ![Junior project page](mockups/junior-portfolio-single.png)
56
+
57
+ ##### About
58
+
59
+ ![Junior about](mockups/junior-about.png)
60
+
61
+ ##### Contact
62
+
63
+ ![Junior contact](mockups/junior-contact.png)
64
+
65
+ ## Usage
66
+
67
+ ### 1. Install dependencies
68
+
69
+ Poole is built on Jekyll and uses its built-in SCSS compiler to generate our CSS. Before getting started, you'll need to install the Jekyll gem:
70
+
71
+ ```bash
72
+ $ gem install jekyll
73
+ ```
74
+
75
+ **Windows users:** Windows users have a bit more work to do, but luckily [@juthilo](https://github.com/juthilo) has your back with his [Run Jekyll on Windows](https://github.com/juthilo/run-jekyll-on-windows) guide.
76
+
77
+ **Need syntax highlighting?** *Junior* includes support for Pygments or Rouge, so install your gem of choice to make use of the built-in styling. Read more about this [in the Jekyll docs](http://jekyllrb.com/docs/templates/#code_snippet_highlighting).
78
+
79
+ ### 2a. Quick start
80
+
81
+ To help anyone with any level of familiarity with Jekyll quickly get started, *Junior* includes everything you need for a basic Jekyll site. To that end, just download *Junior* and start up Jekyll.
82
+
83
+ ### 2b. Roll your own Jekyll site
84
+
85
+ Folks wishing to use Jekyll's templates and styles can do so with a little bit of manual labor. Download *Junior* and then copy what you need (likely `_layouts/`, `*.html` files, `atom.xml` for RSS, and `public/` for CSS, JS, etc.).
86
+
87
+ ### 3. Running locally
88
+
89
+ To see your Jekyll site with *Junior* applied, start a Jekyll server. In Terminal, from `/junior-theme` (or whatever your Jekyll site's root directory is named):
90
+
91
+ ```bash
92
+ > jekyll serve # You might need "bundle exec jekyll serve"
93
+ ```
94
+ Open <http://localhost:4000> in your browser, and voilà.
95
+
96
+ ### 4. Serving it up
97
+
98
+ If you host your code on GitHub, you can use [GitHub Pages](https://pages.github.com) to host your project.
99
+
100
+ 1. Fork this repo and switch to the `gh-pages` branch.
101
+ 1. If you're [using a custom domain name](https://help.github.com/articles/setting-up-a-custom-domain-with-github-pages), modify the `CNAME` file to point to your new domain.
102
+ 2. If you're not using a custom domain name, **modify the `baseurl` in `_config.yml`** to point to your GitHub Pages URL. Example: for a repo at `github.com/username/junior`, use `http://username.github.io/junior/`. **Be sure to include the trailing slash.**
103
+ 3. Done! Head to your GitHub Pages URL or custom domain.
104
+
105
+ No matter your production or hosting setup, be sure to verify the `baseurl` option file and `CNAME` settings. Not applying this correctly can mean broken styles on your site.
106
+
107
+ ## Options
108
+
109
+ Junior includes some customizable options, typically applied via classes on the `<body>` element.
110
+
111
+
112
+ ### Rems, `font-size`, and scaling
113
+
114
+ *Junior* is built almost entirely with `rem`s (instead of pixels). `rem`s are like `em`s, but instead of building on the immediate parent's `font-size`, they build on the root element, `<html>`.
115
+
116
+ By default, we use the following:
117
+
118
+ ```css
119
+ html {
120
+ font-size: 16px;
121
+ line-height: 1.5;
122
+ }
123
+ @media (min-width: 38em) {
124
+ html {
125
+ font-size: 20px;
126
+ }
127
+ }
128
+
129
+ ```
130
+
131
+ To easily scale your site's typography and components, simply customize the base `font-size`s here.
132
+
133
+
134
+ ## Development
135
+
136
+ *Junior* has two branches, but only one is used for active development.
137
+
138
+ - `master` for development. **All pull requests should be to submitted against `master`. Cheers**
139
+ - `gh-pages` for our hosted site, which includes our analytics tracking code. **Please avoid using this branch.**
140
+
141
+ CSS is handled via Jeykll's built-in Sass compiler. Source Sass files are located in `_sass/`, included into `styles.scss`, and compile to `styles.css`.
142
+
143
+ ## Credit
144
+
145
+ * [Pixyll theme](https://github.com/johnotander/pixyll) was used as a base for development of this theme.
146
+ * [Junior.IO's](http://www.junior.io/) website design served as inspiration for this theme's look.
147
+
148
+ ## License
149
+
150
+ Open sourced under the [MIT license](LICENSE).
151
+
152
+ <3
@@ -0,0 +1,30 @@
1
+ <script>
2
+ var contactForm = document.querySelector('form'),
3
+ inputEmail = contactForm.querySelector('[name="email"]'),
4
+ textAreaMessage = contactForm.querySelector('[name="content"]'),
5
+ sendButton = contactForm.querySelector('button');
6
+
7
+ sendButton.addEventListener('click', function(event){
8
+ event.preventDefault();
9
+
10
+ sendButton.innerHTML = '{{ site.text.contact.ajax.sending }}';
11
+
12
+ var xhr = new XMLHttpRequest();
13
+ xhr.open('POST', '//formspree.io/{{ site.email }}', true);
14
+ xhr.setRequestHeader("Accept", "application/json")
15
+ xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded")
16
+
17
+ xhr.send(
18
+ "email=" + inputEmail.value +
19
+ "&message=" + textAreaMessage.value);
20
+
21
+ xhr.onloadend = function (res) {
22
+ if (res.target.status === 200){
23
+ sendButton.innerHTML = '{{ site.text.contact.ajax.sent }}';
24
+ }
25
+ else {
26
+ sendButton.innerHTML = '{{ site.text.contact.ajax.error }}';
27
+ }
28
+ }
29
+ });
30
+ </script>
@@ -0,0 +1,931 @@
1
+ /* HTML5 ✰ Boilerplate
2
+ * ==|== normalize ==========================================================
3
+ */
4
+
5
+
6
+ article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
7
+ display: block;
8
+ }
9
+
10
+ audio, canvas, video {
11
+ display: inline-block;
12
+ *display: inline;
13
+ *zoom: 1;
14
+ }
15
+
16
+ audio:not([controls]) {
17
+ display: none;
18
+ }
19
+
20
+ [hidden] {
21
+ display: none;
22
+ }
23
+
24
+ html {
25
+ z-index: -10;
26
+ font-size: 100%;
27
+ overflow-y: scroll;
28
+ -webkit-text-size-adjust: 100%;
29
+ -ms-text-size-adjust: 100%;
30
+ }
31
+
32
+ body {
33
+ margin: 0;
34
+ font-size: 13px;
35
+ line-height: 1.231;
36
+ }
37
+
38
+ body, button, input, select, textarea {
39
+ font-family: sans-serif;
40
+ color: #222;
41
+ }
42
+
43
+ ::-moz-selection {
44
+ background: #fe57a1;
45
+ color: #fff;
46
+ text-shadow: none;
47
+ }
48
+
49
+ ::selection {
50
+ background: #fe57a1;
51
+ color: #fff;
52
+ text-shadow: none;
53
+ }
54
+
55
+ a {
56
+ color: #00e;
57
+ -webkit-transition: color 200ms linear;
58
+ -moz-transition: color 200ms linear;
59
+ transition: color 200ms linear;
60
+ }
61
+
62
+ a:visited {
63
+ color: #551a8b;
64
+ }
65
+
66
+ a:hover {
67
+ color: #06e;
68
+ }
69
+
70
+ a:focus {
71
+ outline: thin dotted;
72
+ }
73
+
74
+ a:hover, a:active {
75
+ outline: 0;
76
+ }
77
+
78
+ abbr[title] {
79
+ border-bottom: 1px dotted;
80
+ }
81
+
82
+ b, strong {
83
+ font-weight: bold;
84
+ }
85
+
86
+ blockquote {
87
+ margin: 1em 40px;
88
+ }
89
+
90
+ dfn {
91
+ font-style: italic;
92
+ }
93
+
94
+ hr {
95
+ display: block;
96
+ height: 1px;
97
+ border: 0;
98
+ border-top: 1px solid #ccc;
99
+ margin: 1em 0;
100
+ padding: 0;
101
+ }
102
+
103
+ ins {
104
+ background: #ff9;
105
+ color: #000;
106
+ text-decoration: none;
107
+ }
108
+
109
+ mark {
110
+ background: #ff0;
111
+ color: #000;
112
+ font-style: italic;
113
+ font-weight: bold;
114
+ }
115
+
116
+ pre, code, kbd, samp {
117
+ font-family: monospace, monospace;
118
+ _font-family: 'courier new', monospace;
119
+ font-size: 1em;
120
+ }
121
+
122
+ pre {
123
+ white-space: pre;
124
+ white-space: pre-wrap;
125
+ word-wrap: break-word;
126
+ }
127
+
128
+ q {
129
+ quotes: none;
130
+ }
131
+
132
+ q:before, q:after {
133
+ content: "";
134
+ content: none;
135
+ }
136
+
137
+ small {
138
+ font-size: 85%;
139
+ }
140
+
141
+ sub, sup {
142
+ font-size: 75%;
143
+ line-height: 0;
144
+ position: relative;
145
+ vertical-align: baseline;
146
+ }
147
+
148
+ sup {
149
+ top: -0.5em;
150
+ }
151
+
152
+ sub {
153
+ bottom: -0.25em;
154
+ }
155
+
156
+ ul, ol {
157
+ margin: 1em 0;
158
+ padding: 0 0 0 40px;
159
+ }
160
+
161
+ dd {
162
+ margin: 0 0 0 40px;
163
+ }
164
+
165
+ nav ul, nav ol {
166
+ list-style: none;
167
+ list-style-image: none;
168
+ margin: 0;
169
+ padding: 0;
170
+ }
171
+
172
+ img {
173
+ border: 0;
174
+ -ms-interpolation-mode: bicubic;
175
+ vertical-align: middle;
176
+ }
177
+
178
+ svg:not(:root) {
179
+ overflow: hidden;
180
+ }
181
+
182
+ figure {
183
+ margin: 0;
184
+ }
185
+
186
+ form {
187
+ margin: 0;
188
+ }
189
+
190
+ fieldset {
191
+ border: 0;
192
+ margin: 0;
193
+ padding: 0;
194
+ }
195
+
196
+ label {
197
+ cursor: pointer;
198
+ }
199
+
200
+ legend {
201
+ border: 0;
202
+ *margin-left: -7px;
203
+ padding: 0;
204
+ }
205
+
206
+ button, input, select, textarea {
207
+ font-size: 100%;
208
+ margin: 0;
209
+ vertical-align: baseline;
210
+ *vertical-align: middle;
211
+ }
212
+
213
+ button, input {
214
+ line-height: normal;
215
+ *overflow: visible;
216
+ }
217
+
218
+ table button, table input {
219
+ *overflow: auto;
220
+ }
221
+
222
+ button, input[type="button"], input[type="reset"], input[type="submit"] {
223
+ cursor: pointer;
224
+ -webkit-appearance: button;
225
+ -moz-appearance: button;
226
+ appearance: button;
227
+ }
228
+
229
+ input[type="checkbox"], input[type="radio"] {
230
+ box-sizing: border-box;
231
+ }
232
+
233
+ input[type="search"] {
234
+ -webkit-appearance: textfield;
235
+ -moz-appearance: textfield;
236
+ appearance: textfield;
237
+ -moz-box-sizing: content-box;
238
+ box-sizing: content-box;
239
+ -webkit-box-sizing: content-box;
240
+ box-sizing: content-box;
241
+ }
242
+
243
+ input[type="search"]::-webkit-search-decoration {
244
+ -webkit-appearance: none;
245
+ -moz-appearance: none;
246
+ appearance: none;
247
+ }
248
+
249
+ button::-moz-focus-inner, input::-moz-focus-inner {
250
+ border: 0;
251
+ padding: 0;
252
+ }
253
+
254
+ textarea {
255
+ overflow: auto;
256
+ vertical-align: top;
257
+ resize: vertical;
258
+ }
259
+
260
+ input:valid, textarea:valid {
261
+ }
262
+
263
+ input:invalid, textarea:invalid {
264
+ background-color: #f0dddd;
265
+ }
266
+
267
+ p a{
268
+ text-decoration: underline;
269
+ }
270
+
271
+ table {
272
+ border-collapse: collapse;
273
+ border-spacing: 0;
274
+ }
275
+
276
+ td {
277
+ vertical-align: top;
278
+ }
279
+
280
+
281
+ /* ==|== primary styles =====================================================
282
+ Author:
283
+ ========================================================================== */
284
+
285
+ body {
286
+ font-family: 'Open Sans', sans-serif;
287
+ min-width: 100%;
288
+ display: none;
289
+ }
290
+
291
+ ul {
292
+ margin: 0;
293
+ padding: 0;
294
+ }
295
+
296
+ a {
297
+ font-family: 'Open Sans', sans-serif;
298
+ text-decoration: none;
299
+ color: #000;
300
+ font-size: 14px;
301
+ }
302
+
303
+ a:active, a:visited {
304
+ color: #000;
305
+ }
306
+
307
+ /*
308
+ header {
309
+ padding-top:30px;
310
+ padding-bottom:30px;
311
+ font-family: 'Libre Baskerville', serif;
312
+ font-family: 'Open Sans', sans-serif;
313
+ text-align: center;
314
+ position: fixed;
315
+ width: 100%;
316
+ left: 0px;
317
+ top: 0px;
318
+ height: 50px;
319
+ z-index: 50;
320
+ background-color:white;
321
+ }
322
+
323
+ header .inner{
324
+ border-top: 10px solid black;
325
+ border-bottom: 1px solid #000;
326
+ position: relative;
327
+ margin: 0 30px;
328
+ }
329
+
330
+ header h1, header .initials {
331
+ position: absolute;
332
+ display: inline-block;
333
+ float: left;
334
+ left: 0px;
335
+ font-weight: normal;
336
+ font-size: 16px;
337
+ margin: 10px 0;
338
+ }
339
+
340
+ header .initials {
341
+ display: none;
342
+ }
343
+
344
+ header nav {
345
+ display: inline-block;
346
+ }
347
+
348
+ header .main-nav {
349
+ width: 100%;
350
+ margin: 0px auto;
351
+ }
352
+
353
+ header .sub-nav {
354
+ right: 0;
355
+ top: 0;
356
+ position: absolute;
357
+ }
358
+
359
+ header .mobile-nav {
360
+ display: none;
361
+ text-align: right;
362
+ }
363
+
364
+ header nav ul li {
365
+ display: inline-block;
366
+ margin: 0 0px;
367
+ padding: 10px;
368
+ }
369
+
370
+ header nav.sub-nav ul li {
371
+ margin: 0 0 0 10px;
372
+ }
373
+
374
+ header nav ul li a {
375
+
376
+ }
377
+ */
378
+
379
+ .github-icon{
380
+ background-image:url("/images/github-icon.png");
381
+ background-size:30px 30px;
382
+ height:30px;
383
+ width:30px;
384
+ }
385
+ .github-icon.light{
386
+ background-image:url("/images/github-icon-white.png");
387
+ }
388
+
389
+ .project .progress{
390
+ position: absolute;
391
+ bottom:0px;
392
+ left:0px;
393
+ z-index: 11;
394
+ width:100%;
395
+ height:50px;
396
+ background-color:rgba(255,255,255,0.3);
397
+ opacity: 0.5;
398
+ }
399
+
400
+ .project .progress .under-construction{
401
+ background-image:url(images/under-construction.png);
402
+ width:26px;
403
+ height:26px;
404
+ background-size:26px 26px;
405
+ position: absolute;
406
+ z-index: 11;
407
+ top:12px;
408
+ left:12px;
409
+ }
410
+
411
+ .project .progress-bar{
412
+ position: absolute;
413
+ top:0px;
414
+ left:0px;
415
+ z-index: 10;
416
+ height:100%;
417
+ background-color:rgba(255,255,255,0.8);
418
+ }
419
+
420
+ .project .github-icon{
421
+ position: absolute;
422
+ bottom:10px;
423
+ right:10px;
424
+ opacity: 0.3;
425
+ z-index: 12;
426
+ }
427
+
428
+ #container {
429
+ /*margin-top: 80px; */
430
+ margin-bottom: 30px;
431
+ }
432
+
433
+ .projects {
434
+ position: relative;
435
+ margin: 0 15px ;
436
+ padding-bottom: 5%;
437
+ }
438
+
439
+ .projects li {
440
+ display: inline-block;
441
+ list-style: none;
442
+ /*width: 33.3333%;*/
443
+ float: left;
444
+ }
445
+
446
+ .projects li .project {
447
+ background-size: contain;
448
+ height: 100%;
449
+ width: 100%;
450
+ border-radius: 50%;
451
+ margin: 30px 15px 0 15px;
452
+ background-color: #ccc;
453
+ -webkit-transition: all 200ms linear;
454
+ -moz-transition: all 200ms linear;
455
+ transition: all 200ms linear;
456
+ position: relative;
457
+ }
458
+
459
+ .projects li .aspect-two-one {
460
+ padding-bottom: 66.67%;
461
+ }
462
+
463
+ .projects .cover {
464
+ width: 100%;
465
+ height: 100%;
466
+ position: absolute;
467
+ z-index: 15;
468
+ opacity: 0;
469
+ top: 0;
470
+ left: 0;
471
+ -webkit-transition: opacity 200ms linear;
472
+ -moz-transition: opacity 200ms linear;
473
+ transition: opacity 200ms linear;
474
+ background-color: rgba(255,255,255,0.9);
475
+ text-align: center;
476
+ }
477
+
478
+ a .cover {
479
+ background-image: none;
480
+ }
481
+
482
+ .projects .cover:hover {
483
+ opacity: 1;
484
+ color:#111;
485
+ }
486
+
487
+ .projects .cover .project-details{
488
+ top:50%;
489
+ margin-top:-25px;
490
+ position: absolute;
491
+ height:50px;
492
+ width:100%;
493
+ }
494
+
495
+ .projects .cover .project-details span{
496
+ clear:both;
497
+ display: block;
498
+ line-height: 20px;
499
+ font-size:15px;
500
+ font-weight:bold;
501
+ }
502
+
503
+ .projects .thumb {
504
+ width: 100%;
505
+ height: 100%;
506
+ position: absolute;
507
+ z-index:5;
508
+ top: 0;
509
+ left: 0;
510
+ }
511
+
512
+ /* ==|== Project Post links ======================================== */
513
+
514
+ .next-project, .prev-project{
515
+ position: fixed;
516
+ top:50%;
517
+ margin-top:-11px;
518
+ height:22px;
519
+ width:22px;
520
+ font-size:30px;
521
+ font-weight:bold;
522
+ font-family:arial;
523
+ opacity: 0.3;
524
+ -webkit-transition: 200ms linear all;
525
+ -moz-transition: 200ms linear all;
526
+ transition: 200ms linear all;
527
+ }
528
+
529
+ .next-project:hover, .prev-project:hover{
530
+ opacity: 1;
531
+ }
532
+
533
+ .next-project{
534
+ background-image: url("//images/chevron-left-black.png");
535
+ left: 30px;
536
+ }
537
+
538
+ .prev-project{
539
+ background-image: url("//images/chevron-right-black.png");
540
+ right: 30px;
541
+ }
542
+
543
+ .next-project.background--dark{
544
+ background-image: url("//images/chevron-left-white.png");
545
+ }
546
+
547
+ .prev-project.background--dark{
548
+ background-image: url("//images/chevron-right-white.png");
549
+ }
550
+
551
+ .underlined-link{
552
+ text-decoration: underline;
553
+ display: inline-block;
554
+ }
555
+
556
+ /* ==|== STATIC page styles ======================================== */
557
+
558
+ .static-page{
559
+ text-align: center;
560
+ padding-top: 100px;
561
+ }
562
+
563
+ /* ==|== POST page styles ======================================== */
564
+
565
+ #post-container{
566
+ margin: 0px;
567
+ }
568
+
569
+ #post-container .post-wide p{
570
+ /*margin: 30px;*/
571
+ }
572
+
573
+ .post-narrow{
574
+ width: 940px;
575
+ text-align: center;
576
+ margin: 0 auto;
577
+ max-width: 100%;
578
+ }
579
+
580
+ .post-narrow h2{
581
+ margin-top: 100px;
582
+ }
583
+
584
+ .post p{
585
+ font-size: 16px;
586
+ line-height: 24px;
587
+ max-width: 620px;
588
+ color: #494949;
589
+ margin-bottom: 20px;
590
+ margin-right: auto;
591
+ margin-left: auto;
592
+ display: block;
593
+ clear: both;
594
+ }
595
+
596
+ .post .meta{
597
+ color: #aaa;
598
+ font-size: 12px;
599
+ margin-bottom: 100px;
600
+ }
601
+
602
+ #showcase__password{
603
+ width:240px;
604
+ font-size: 13px;
605
+ -webkit-box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.075);
606
+ -moz-box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.075);
607
+ box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.075);
608
+ display: block;
609
+ height: 34px;
610
+ padding: 6px 12px;
611
+ font-size: 14px;
612
+ line-height: 1.428571429;
613
+ color: #555555;
614
+ vertical-align: middle;
615
+ background-color: #ffffff;
616
+ border: 1px solid #cccccc;
617
+ border-radius: 4px;
618
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
619
+ -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
620
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
621
+ -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
622
+ -moz-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
623
+ transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
624
+ margin-bottom:100px;
625
+ margin-left:auto;
626
+ margin-right:auto;
627
+ }
628
+
629
+ .post .showcase.passworded{
630
+ // display: none;
631
+ }
632
+
633
+ .showcase__password__screen{
634
+ display: none;
635
+ }
636
+
637
+ .post .showcase iframe,
638
+ .post .showcase img {
639
+ margin-bottom: 100px;
640
+ max-width: 100%;
641
+ }
642
+
643
+ .post .showcase h2{
644
+ margin-bottom: 40px;
645
+ }
646
+
647
+ .post .meta a,
648
+ .post .meta strong{
649
+ color: #494949;
650
+ font-size: 12px;
651
+ font-weight: bold;
652
+ }
653
+ .post .meta a:hover{
654
+ color: blue;
655
+ }
656
+ .separator {
657
+ width: 460px;
658
+ height: 2px;
659
+ margin: 30px auto 30px auto;
660
+ background: #444;
661
+ }
662
+
663
+ .post-wide{
664
+ position: relative;
665
+ text-align: center;
666
+ }
667
+
668
+ .post-wide-hero{
669
+ margin-top:30px;
670
+ width:100%;
671
+ height:350px;
672
+ background-position: center center;
673
+ background-repeat: no-repeat;
674
+ z-index: -1;
675
+ position: relative;
676
+ }
677
+
678
+ .post-wide h2{
679
+ margin-top:100px;
680
+ }
681
+
682
+ .post-wide .showcase img{
683
+ max-width: 100%;
684
+ }
685
+
686
+
687
+ /* ==|== non-semantic helper classes ======================================== */
688
+ .ir {
689
+ display: block;
690
+ border: 0;
691
+ text-indent: -999em;
692
+ overflow: hidden;
693
+ background-color: transparent;
694
+ background-repeat: no-repeat;
695
+ text-align: left;
696
+ direction: ltr;
697
+ }
698
+
699
+ .ir br {
700
+ display: none;
701
+ }
702
+
703
+ .hidden {
704
+ display: none !important;
705
+ visibility: hidden;
706
+ }
707
+
708
+ .visuallyhidden {
709
+ border: 0;
710
+ clip: rect(0 0 0 0);
711
+ height: 1px;
712
+ margin: -1px;
713
+ overflow: hidden;
714
+ padding: 0;
715
+ position: absolute;
716
+ width: 1px;
717
+ }
718
+
719
+ .visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
720
+ clip: auto;
721
+ height: auto;
722
+ margin: 0;
723
+ overflow: visible;
724
+ position: static;
725
+ width: auto;
726
+ }
727
+
728
+ .invisible {
729
+ visibility: hidden;
730
+ }
731
+
732
+ .clearfix:before, .clearfix:after {
733
+ content: "";
734
+ display: table;
735
+ }
736
+
737
+ .clearfix:after {
738
+ clear: both;
739
+ }
740
+
741
+ .clearfix {
742
+ zoom: 1;
743
+ }
744
+
745
+
746
+
747
+ /* ==|== media queries ====================================================== */
748
+
749
+
750
+
751
+ @media only screen and (max-width: 1024px) {
752
+ header {
753
+ top: 0px;
754
+ width: 100%;
755
+ left: 0px;
756
+ padding: 15px 0 15px;
757
+ }
758
+
759
+ .projects {
760
+ margin: 0 7.5px;
761
+ }
762
+
763
+ .projects li {
764
+ width: 60vw;
765
+ height: 60vw;
766
+ }
767
+
768
+ /*#container {
769
+ margin-top: 65px;
770
+ }*/
771
+
772
+ .projects li .project {
773
+ margin: 15px 7.5px 0 7.5px;
774
+ }
775
+
776
+ header .inner{
777
+ margin: 0 15px;
778
+ }
779
+ }
780
+
781
+ @media only screen and (max-width: 600px) {
782
+ header h1 {
783
+ display: none;
784
+ }
785
+
786
+ header .initials {
787
+ display: inline-block;
788
+ }
789
+
790
+ .post p{
791
+ font-size:14px;
792
+ line-height: 20px;
793
+ padding: 0 10px;
794
+ margin-left: 30px;
795
+ margin-right: 30px;
796
+ }
797
+
798
+ .post h2{
799
+ margin-left: 30px;
800
+ margin-right: 30px;
801
+ }
802
+
803
+ .projects{
804
+ margin-bottom:15px;
805
+ }
806
+
807
+ #container{
808
+ margin-bottom:0px;
809
+ }
810
+
811
+ .next-project{
812
+ left:15px;
813
+ }
814
+
815
+ .prev-project{
816
+ right:15px;
817
+ }
818
+
819
+ .post .meta{
820
+ margin-bottom:55px;
821
+ }
822
+
823
+ .post-wide-hero{
824
+ background-size: 320px auto ;
825
+ height:200px;
826
+ }
827
+
828
+ .post-narrow h2{
829
+ margin-top:55px;
830
+ }
831
+
832
+ .post-wide h2{
833
+ margin-top:55px;
834
+ }
835
+
836
+ h2{
837
+ }
838
+
839
+ .next-project, .prev-project{
840
+ height:14px;
841
+ width:14px;
842
+ background-size:14px 14px;
843
+ font-size:30px;
844
+ font-weight:bold;
845
+ font-family:arial;
846
+ opacity: 0.3;
847
+ -webkit-transition: 200ms linear all;
848
+ -moz-transition: 200ms linear all;
849
+ transition: 200ms linear all;
850
+ }
851
+ }
852
+
853
+ @media only screen and (max-width: 480px) {
854
+
855
+ header nav {
856
+ display: none;
857
+ }
858
+
859
+ header nav.mobile-nav {
860
+ display: block;
861
+ }
862
+
863
+ .projects li {
864
+ width: 60vw;
865
+ height: 60vw;
866
+ }
867
+ }
868
+
869
+ @media only screen and (min-width: 1900px) {
870
+ .projects li {
871
+ width: 25%;
872
+ };
873
+ }
874
+
875
+
876
+ /* ==|== print styles ======================================================= */
877
+
878
+ @media print {
879
+ * {
880
+ background: transparent !important;
881
+ color: black !important;
882
+ text-shadow: none !important;
883
+ filter: none !important;
884
+ -ms-filter: none !important;
885
+ }
886
+
887
+ a, a:visited {
888
+ text-decoration: underline;
889
+ }
890
+
891
+ a[href]:after {
892
+ content: " (" attr(href) ")";
893
+ }
894
+
895
+ abbr[title]:after {
896
+ content: " (" attr(title) ")";
897
+ }
898
+
899
+ .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
900
+ content: "";
901
+ }
902
+
903
+ pre, blockquote {
904
+ border: 1px solid #999;
905
+ page-break-inside: avoid;
906
+ }
907
+
908
+ thead {
909
+ display: table-header-group;
910
+ }
911
+
912
+ tr, img {
913
+ page-break-inside: avoid;
914
+ }
915
+
916
+ img {
917
+ max-width: 100% !important;
918
+ }
919
+ @ page {
920
+ margin: 0.5cm;
921
+ }
922
+
923
+ p, h2, h3 {
924
+ orphans: 3;
925
+ widows: 3;
926
+ }
927
+
928
+ h2, h3 {
929
+ page-break-after: avoid;
930
+ };
931
+ }