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.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +152 -0
- data/_includes/ajaxify_content_form.html +30 -0
- data/_includes/css/portfolio.css +931 -0
- data/_includes/footer.html +109 -0
- data/_includes/head.html +113 -0
- data/_includes/header.html +116 -0
- data/_includes/js/flicker.js +56 -0
- data/_includes/js/gh_projects.js +1422 -0
- data/_includes/js/plugins.js +10 -0
- data/_includes/js/script.js +53 -0
- data/_includes/js/util_buttons.js +23 -0
- data/_includes/navigation.html +116 -0
- data/_includes/pagination.html +92 -0
- data/_includes/post_footer.html +9 -0
- data/_includes/share_buttons.html +111 -0
- data/_includes/social_links.html +53 -0
- data/_layouts/about.html +14 -0
- data/_layouts/center.html +26 -0
- data/_layouts/cv.html +86 -0
- data/_layouts/default.html +43 -0
- data/_layouts/default_design.html +57 -0
- data/_layouts/page.html +17 -0
- data/_layouts/paper.html +3 -0
- data/_layouts/post-narrow.html +14 -0
- data/_layouts/post-wide.html +21 -0
- data/_layouts/post.html +93 -0
- data/_sass/_animations.scss +60 -0
- data/_sass/_base.scss +34 -0
- data/_sass/_basscss.scss +25 -0
- data/_sass/_blockquotes.scss +20 -0
- data/_sass/_clearfix.scss +8 -0
- data/_sass/_code.scss +70 -0
- data/_sass/_footer.scss +66 -0
- data/_sass/_forms.scss +106 -0
- data/_sass/_gists.scss +8 -0
- data/_sass/_header.scss +40 -0
- data/_sass/_links.scss +39 -0
- data/_sass/_measure.scss +4 -0
- data/_sass/_media-queries.scss +64 -0
- data/_sass/_pagination.scss +32 -0
- data/_sass/_positions.scss +7 -0
- data/_sass/_posts.scss +49 -0
- data/_sass/_social-icons.scss +25 -0
- data/_sass/_tables.scss +45 -0
- data/_sass/_typography.scss +24 -0
- data/_sass/_variables.scss +120 -0
- data/_sass/basscss/_base-buttons.scss +28 -0
- data/_sass/basscss/_base-forms.scss +57 -0
- data/_sass/basscss/_base-reset.scss +25 -0
- data/_sass/basscss/_base-typography.scss +101 -0
- data/_sass/basscss/_buttons-blue.scss +27 -0
- data/_sass/basscss/_color-base.scss +28 -0
- data/_sass/basscss/_colors.scss +97 -0
- data/_sass/basscss/_syntax-highlighting.scss +119 -0
- data/_sass/basscss/_utility-headings.scss +37 -0
- data/_sass/basscss/_utility-typography.scss +38 -0
- data/_sass/basscss/_utility-white-space.scss +182 -0
- metadata +145 -0
data/_sass/_base.scss
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
/*!
|
3
|
+
|
4
|
+
Junior Theme
|
5
|
+
|
6
|
+
A striking black-white Jekyll theme to be used as a blog, portfolio.
|
7
|
+
|
8
|
+
Built upon BASSCSS (http://jxnblk.github.io/basscss).
|
9
|
+
|
10
|
+
Crafted with <3 by Jonathon Belotti (@jonobelotti_IO) - ©2017 Jonathon Belotti
|
11
|
+
MIT License http://opensource.org/licenses/MIT
|
12
|
+
|
13
|
+
*/
|
14
|
+
|
15
|
+
html, body {
|
16
|
+
z-index: -10;
|
17
|
+
height: auto;
|
18
|
+
min-height: 100%;
|
19
|
+
}
|
20
|
+
|
21
|
+
img {
|
22
|
+
max-width: 100%;
|
23
|
+
}
|
24
|
+
|
25
|
+
em img {
|
26
|
+
max-width: 100%;
|
27
|
+
margin-left: 0;
|
28
|
+
}
|
29
|
+
|
30
|
+
body {
|
31
|
+
box-sizing: border-box;
|
32
|
+
-moz-box-sizing: border-box;
|
33
|
+
-webkit-box-sizing: border-box;
|
34
|
+
}
|
data/_sass/_basscss.scss
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
/*!
|
2
|
+
|
3
|
+
BASSCSS
|
4
|
+
|
5
|
+
Next-level CSS toolkit - basscss.com
|
6
|
+
|
7
|
+
Made with love by Jxnblk - ©2014 Brent Jackson
|
8
|
+
MIT License http://opensource.org/licenses/MIT
|
9
|
+
|
10
|
+
*/
|
11
|
+
|
12
|
+
@import 'basscss/base-buttons';
|
13
|
+
@import 'basscss/base-forms';
|
14
|
+
@import 'basscss/base-reset';
|
15
|
+
@import 'basscss/base-typography';
|
16
|
+
|
17
|
+
@import 'basscss/buttons-blue';
|
18
|
+
|
19
|
+
@import 'basscss/syntax-highlighting';
|
20
|
+
@import 'basscss/color-base';
|
21
|
+
@import 'basscss/colors';
|
22
|
+
|
23
|
+
@import 'basscss/utility-headings';
|
24
|
+
@import 'basscss/utility-typography';
|
25
|
+
@import 'basscss/utility-white-space';
|
@@ -0,0 +1,20 @@
|
|
1
|
+
blockquote {
|
2
|
+
border-left: 5px solid #7a7a7a;
|
3
|
+
font-style: italic;
|
4
|
+
margin-left: $space-1;
|
5
|
+
padding: $space-1;
|
6
|
+
}
|
7
|
+
|
8
|
+
blockquote footer {
|
9
|
+
background-color: #fff;
|
10
|
+
border-color: transparent;
|
11
|
+
color: #7a7a7a;
|
12
|
+
font-size: .85rem;
|
13
|
+
font-style: normal;
|
14
|
+
text-align: left;
|
15
|
+
padding: 0;
|
16
|
+
}
|
17
|
+
|
18
|
+
blockquote p {
|
19
|
+
font-size: 1rem;
|
20
|
+
}
|
data/_sass/_code.scss
ADDED
@@ -0,0 +1,70 @@
|
|
1
|
+
pre,
|
2
|
+
pre code {
|
3
|
+
background-color: transparent;
|
4
|
+
border-radius: $pre-border-radius;
|
5
|
+
}
|
6
|
+
|
7
|
+
pre,
|
8
|
+
code {
|
9
|
+
font-family: $monospace-font-family;
|
10
|
+
}
|
11
|
+
|
12
|
+
code {
|
13
|
+
color: #7a7a7a;
|
14
|
+
}
|
15
|
+
|
16
|
+
pre {
|
17
|
+
padding: 1.125em;
|
18
|
+
line-height: 1.11;
|
19
|
+
overflow-x: scroll;
|
20
|
+
margin-bottom: 0.88em;
|
21
|
+
background-color: $pre-background-color;
|
22
|
+
}
|
23
|
+
|
24
|
+
.highlight .p {
|
25
|
+
font-size: 1.125rem;
|
26
|
+
line-height: 1;
|
27
|
+
}
|
28
|
+
|
29
|
+
pre {
|
30
|
+
counter-reset: line-numbering;
|
31
|
+
white-space: pre;
|
32
|
+
overflow-x: auto;
|
33
|
+
word-break: inherit;
|
34
|
+
word-wrap: inherit;
|
35
|
+
}
|
36
|
+
|
37
|
+
pre a {
|
38
|
+
background-image: none;
|
39
|
+
}
|
40
|
+
|
41
|
+
pre a::before {
|
42
|
+
content: counter(line-numbering);
|
43
|
+
counter-increment: line-numbering;
|
44
|
+
padding-right: 1em; /* space after numbers */
|
45
|
+
width: 25px;
|
46
|
+
text-align: right;
|
47
|
+
opacity: 0.7;
|
48
|
+
display: inline-block;
|
49
|
+
color: $light-gray;
|
50
|
+
margin-right: 16px;
|
51
|
+
font-size: 13px;
|
52
|
+
-webkit-touch-callout: none;
|
53
|
+
-webkit-user-select: none;
|
54
|
+
-khtml-user-select: none;
|
55
|
+
-moz-user-select: none;
|
56
|
+
-ms-user-select: none;
|
57
|
+
user-select: none;
|
58
|
+
}
|
59
|
+
|
60
|
+
pre a:first-of-type::before {
|
61
|
+
padding-top: 10px;
|
62
|
+
}
|
63
|
+
|
64
|
+
pre a:last-of-type::before {
|
65
|
+
padding-bottom: 10px;
|
66
|
+
}
|
67
|
+
|
68
|
+
pre a:only-of-type::before {
|
69
|
+
padding: 10px;
|
70
|
+
}
|
data/_sass/_footer.scss
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
.site {
|
2
|
+
display: -webkit-box;
|
3
|
+
display: -webkit-flex;
|
4
|
+
display: -ms-flexbox;
|
5
|
+
display: flex;
|
6
|
+
-webkit-box-orient: vertical;
|
7
|
+
-webkit-box-direction: normal;
|
8
|
+
-webkit-flex-direction: column;
|
9
|
+
-ms-flex-direction: column;
|
10
|
+
flex-direction: column;
|
11
|
+
min-height: 100vh;
|
12
|
+
}
|
13
|
+
|
14
|
+
.site-wrap {
|
15
|
+
// z-index: -1; /* critical to ensure the nav menu sits on top when active */
|
16
|
+
-webkit-box-flex: 1;
|
17
|
+
-webkit-flex: 1;
|
18
|
+
-ms-flex: 1 0 auto;
|
19
|
+
flex: 1 0 auto;
|
20
|
+
}
|
21
|
+
|
22
|
+
footer {
|
23
|
+
background-color: $footer-bg-color;
|
24
|
+
color: $footer-color;
|
25
|
+
font-size: $footer-font-size;
|
26
|
+
font-weight: $footer-font-weight;
|
27
|
+
padding: $footer-padding;
|
28
|
+
text-align: center;
|
29
|
+
}
|
30
|
+
|
31
|
+
@media screen and (min-width: 770px) {
|
32
|
+
.clients .top-circle {
|
33
|
+
margin-bottom: 100px;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
.circle-button .top-circle {
|
38
|
+
width: 100px;
|
39
|
+
height: 100px;
|
40
|
+
background: #000;
|
41
|
+
border-radius: 50px;
|
42
|
+
margin: 0 auto;
|
43
|
+
display: block;
|
44
|
+
}
|
45
|
+
|
46
|
+
.circle-button .top-circle, .down-circle, .down-circle-click, .home .contact-btn, nav .nav-jr {
|
47
|
+
cursor: pointer;
|
48
|
+
}
|
49
|
+
|
50
|
+
.circle-button:last-child {
|
51
|
+
margin-right: 0;
|
52
|
+
}
|
53
|
+
|
54
|
+
.circle-button {
|
55
|
+
float: left;
|
56
|
+
display: block;
|
57
|
+
margin-right: 2.35765%;
|
58
|
+
width: 100%;
|
59
|
+
}
|
60
|
+
|
61
|
+
.circle-button .top-circle img {
|
62
|
+
width: 80%;
|
63
|
+
display: block;
|
64
|
+
margin: 0 auto;
|
65
|
+
padding-top: 28px;
|
66
|
+
}
|
data/_sass/_forms.scss
ADDED
@@ -0,0 +1,106 @@
|
|
1
|
+
input,
|
2
|
+
select,
|
3
|
+
textarea,
|
4
|
+
fieldset {
|
5
|
+
font-size: $form-field-font-size;
|
6
|
+
margin-top: 0;
|
7
|
+
margin-bottom: $space-1;
|
8
|
+
}
|
9
|
+
|
10
|
+
input[type=text],
|
11
|
+
input[type=datetime],
|
12
|
+
input[type=datetime-local],
|
13
|
+
input[type=email],
|
14
|
+
input[type=month],
|
15
|
+
input[type=number],
|
16
|
+
input[type=password],
|
17
|
+
input[type=search],
|
18
|
+
input[type=tel],
|
19
|
+
input[type=time],
|
20
|
+
input[type=url],
|
21
|
+
input[type=week] {
|
22
|
+
box-sizing: border-box;
|
23
|
+
height: $form-field-height;
|
24
|
+
padding: $form-field-padding-y $form-field-padding-x;
|
25
|
+
vertical-align: middle;
|
26
|
+
-webkit-appearance: none;
|
27
|
+
}
|
28
|
+
|
29
|
+
select {
|
30
|
+
box-sizing: border-box;
|
31
|
+
line-height: 1;
|
32
|
+
padding: $form-field-padding-y $form-field-padding-x;
|
33
|
+
}
|
34
|
+
|
35
|
+
select:not([multiple]) {
|
36
|
+
height: $form-field-height;
|
37
|
+
vertical-align: middle;
|
38
|
+
}
|
39
|
+
|
40
|
+
textarea {
|
41
|
+
box-sizing: border-box;
|
42
|
+
line-height: 1;
|
43
|
+
padding: $form-field-padding-y $form-field-padding-x;
|
44
|
+
}
|
45
|
+
|
46
|
+
.form-stacked input,
|
47
|
+
.form-stacked textarea,
|
48
|
+
.form-stacked select {
|
49
|
+
width: 100%;
|
50
|
+
}
|
51
|
+
|
52
|
+
.field-light {
|
53
|
+
background-color: white;
|
54
|
+
transition: box-shadow .2s ease;
|
55
|
+
border-style: solid;
|
56
|
+
border-width: $border-width;
|
57
|
+
border-color: $border-color;
|
58
|
+
border-radius: 0;
|
59
|
+
}
|
60
|
+
|
61
|
+
.field-light:focus {
|
62
|
+
outline: none;
|
63
|
+
border-color: $blue;
|
64
|
+
box-shadow: 0 0 2px rgba($blue,.5);
|
65
|
+
}
|
66
|
+
|
67
|
+
.field-light:disabled {
|
68
|
+
color: $mid-gray;
|
69
|
+
background-color: $darken-2;
|
70
|
+
}
|
71
|
+
|
72
|
+
.field-light:read-only:not(select) {
|
73
|
+
background-color: $darken-2;
|
74
|
+
}
|
75
|
+
|
76
|
+
.field-light:invalid {
|
77
|
+
border-color: $red;
|
78
|
+
}
|
79
|
+
|
80
|
+
.field-light.is-success {
|
81
|
+
border-color: $green;
|
82
|
+
}
|
83
|
+
|
84
|
+
.field-light.is-warning {
|
85
|
+
border-color: $yellow;
|
86
|
+
}
|
87
|
+
|
88
|
+
.field-light.is-error {
|
89
|
+
border-color: $red;
|
90
|
+
}
|
91
|
+
|
92
|
+
|
93
|
+
.radio-light,
|
94
|
+
.checkbox-light {
|
95
|
+
transition: box-shadow .2s ease;
|
96
|
+
}
|
97
|
+
|
98
|
+
.radio-light {
|
99
|
+
border-radius: 50%;
|
100
|
+
}
|
101
|
+
|
102
|
+
.radio-light:focus,
|
103
|
+
.checkbox-light:focus {
|
104
|
+
outline: none;
|
105
|
+
box-shadow: 0 0 2px rgba($blue, .5);
|
106
|
+
}
|
data/_sass/_gists.scss
ADDED
data/_sass/_header.scss
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
.site-header {
|
2
|
+
z-index: 9999;
|
3
|
+
height: 100px;
|
4
|
+
padding-top: $space-1;
|
5
|
+
padding-bottom: $space-2;
|
6
|
+
}
|
7
|
+
|
8
|
+
.site-header a {
|
9
|
+
color: #000;
|
10
|
+
font-size: $h3;
|
11
|
+
font-weight: 300;
|
12
|
+
background-image: none;
|
13
|
+
}
|
14
|
+
|
15
|
+
.site-header .site-title {
|
16
|
+
font-size: $h2;
|
17
|
+
}
|
18
|
+
|
19
|
+
.site-nav {
|
20
|
+
margin-top: $space-2;
|
21
|
+
}
|
22
|
+
|
23
|
+
.site-nav a + a {
|
24
|
+
margin-left: 1em;
|
25
|
+
}
|
26
|
+
|
27
|
+
.site-header a:hover,
|
28
|
+
.posts .post a:hover .post-meta,
|
29
|
+
.posts .post a:hover .post-title,
|
30
|
+
.posts .post a:hover .post-summary {
|
31
|
+
opacity: 0.88;
|
32
|
+
}
|
33
|
+
|
34
|
+
.site-header {
|
35
|
+
text-align: center;
|
36
|
+
}
|
37
|
+
|
38
|
+
.site-header .site-nav {
|
39
|
+
text-align: center;
|
40
|
+
}
|
data/_sass/_links.scss
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
a {
|
2
|
+
color: $link-color;
|
3
|
+
}
|
4
|
+
|
5
|
+
a:hover,
|
6
|
+
a:focus,
|
7
|
+
a:active {
|
8
|
+
border: 0;
|
9
|
+
color: $link-hover-color;
|
10
|
+
text-decoration: none;
|
11
|
+
}
|
12
|
+
|
13
|
+
// Correct issues with buttons
|
14
|
+
button,
|
15
|
+
.button {
|
16
|
+
text-shadow: none;
|
17
|
+
background-image: none;
|
18
|
+
}
|
19
|
+
|
20
|
+
.button:hover,
|
21
|
+
.button:focus,
|
22
|
+
.button:active {
|
23
|
+
color: white;
|
24
|
+
text-shadow: none;
|
25
|
+
background-image: none;
|
26
|
+
}
|
27
|
+
|
28
|
+
.anchorjs-link {
|
29
|
+
text-shadow: none;
|
30
|
+
background-image: none;
|
31
|
+
}
|
32
|
+
.anchorjs-link:hover,
|
33
|
+
.anchorjs-link:focus,
|
34
|
+
.anchorjs-link:active{
|
35
|
+
border: 0;
|
36
|
+
color: $link-hover-color;
|
37
|
+
text-shadow: none;
|
38
|
+
background-image: none;
|
39
|
+
}
|
data/_sass/_measure.scss
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
@media screen and (min-width: $viewport-small) {
|
2
|
+
html {
|
3
|
+
font-size: 16px;
|
4
|
+
}
|
5
|
+
|
6
|
+
h1,
|
7
|
+
.h1 {
|
8
|
+
font-size: $h1;
|
9
|
+
}
|
10
|
+
|
11
|
+
.site-header {
|
12
|
+
text-align: left;
|
13
|
+
}
|
14
|
+
|
15
|
+
.site-nav {
|
16
|
+
margin-top: 0;
|
17
|
+
}
|
18
|
+
|
19
|
+
.site-header a {
|
20
|
+
font-size: $h4;
|
21
|
+
}
|
22
|
+
|
23
|
+
.site-header .site-title {
|
24
|
+
font-size: $h3;
|
25
|
+
float: left;
|
26
|
+
}
|
27
|
+
|
28
|
+
.site-header .site-nav {
|
29
|
+
float: right;
|
30
|
+
margin-top: .25rem;
|
31
|
+
}
|
32
|
+
|
33
|
+
blockquote {
|
34
|
+
margin-left: $space-3;
|
35
|
+
padding: $space-3;
|
36
|
+
}
|
37
|
+
|
38
|
+
.social-icons-left {
|
39
|
+
text-align: left;
|
40
|
+
}
|
41
|
+
|
42
|
+
.social-icons-right {
|
43
|
+
text-align: right;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
@media screen and (min-width: $viewport-medium) {
|
48
|
+
html {
|
49
|
+
font-size: 18px;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
@media screen and (min-width: $viewport-large) {
|
54
|
+
html {
|
55
|
+
font-size: 20px;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
@media screen and (min-width: $viewport-large + 14) {
|
60
|
+
em img {
|
61
|
+
max-width: $measure-width + 14;
|
62
|
+
margin-left: -7em;
|
63
|
+
}
|
64
|
+
}
|