modern-resume-theme 1.7.1 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/about.html +1 -1
- data/_includes/google-analytics.html +3 -0
- data/_includes/gtag.html +10 -0
- data/_includes/gtm_body.html +4 -0
- data/_includes/gtm_head.html +7 -0
- data/_includes/head.html +7 -1
- data/_includes/header.html +21 -0
- data/_layouts/default.html +8 -4
- data/_sass/button.scss +23 -13
- data/_sass/dark.scss +16 -0
- data/_sass/icons.scss +54 -0
- data/_sass/modern-resume-theme.scss +20 -48
- data/assets/favicon.ico +0 -0
- data/assets/js/index.js +3 -0
- metadata +9 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4df9d872339f34448ba5e91c587a122a203d02e9357a32db680a8817d5d8551b
|
4
|
+
data.tar.gz: d28b8e5a006d77ad05fbacfd638c6880f18b90a363caeaaa5c52e3cd863d1ba9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e0e06b595feaa1e06c99153937541ea89d514e06424b9ab162523aeec4b12b68624550acb122f40bdd7b285f4cd3458514594158125768cacbf9b59cd7d7eed
|
7
|
+
data.tar.gz: 1e3caac0029b7997f5ef9893b43315fa3e8778bdbb7d74a97d21e6923f7b3e4e27a63163a35988fc1140b2c3e70ec257c9e695211b4d9bc94cc00140e648adfa
|
data/_includes/about.html
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
<div class="row clearfix">
|
4
4
|
{%- if site.about_profile_image -%}
|
5
5
|
<div class="col-xs-12 col-sm-4 col-md-3 no-print">
|
6
|
-
<span class="profile-img" style="background-image: url({{ site.about_profile_image | relative_url }})"
|
6
|
+
<span class="profile-img" style="background-image: url({{ site.about_profile_image | relative_url }})"></span>
|
7
7
|
</div>
|
8
8
|
{%- endif -%}
|
9
9
|
<div class="{{ 'col-xs-12 ' }}{%- if site.about_profile_image -%}col-sm-8 col-md-9 col-print-12{%- endif -%}">
|
@@ -1,3 +1,5 @@
|
|
1
|
+
|
2
|
+
<!-- Google Analytics -->
|
1
3
|
<script>
|
2
4
|
if(!(window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1")) {
|
3
5
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
@@ -8,3 +10,4 @@ if(!(window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNo
|
|
8
10
|
ga('send', 'pageview');
|
9
11
|
}
|
10
12
|
</script>
|
13
|
+
<!-- End Google Analytics -->
|
data/_includes/gtag.html
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
<!-- Global site tag (gtag.js) - Google Analytics -->
|
2
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.gtag }}"></script>
|
3
|
+
<script>
|
4
|
+
window.dataLayer = window.dataLayer || [];
|
5
|
+
function gtag(){dataLayer.push(arguments);}
|
6
|
+
gtag('js', new Date());
|
7
|
+
|
8
|
+
gtag('config', '{{ site.gtag }}');
|
9
|
+
</script>
|
10
|
+
<!-- End global site tag (gtag.js) - Google Analytics -->
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<!-- Google Tag Manager -->
|
2
|
+
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
3
|
+
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
4
|
+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
5
|
+
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
6
|
+
})(window,document,'script','dataLayer','{{ site.gtm }}');</script>
|
7
|
+
<!-- End Google Tag Manager -->
|
data/_includes/head.html
CHANGED
@@ -7,9 +7,15 @@
|
|
7
7
|
{%- seo title=false -%}
|
8
8
|
|
9
9
|
<link rel="stylesheet" href="{{ '/assets/main.css' | relative_url }}">
|
10
|
-
<link rel="shortcut icon" type="image/x-icon" href="{{ site.favicon | relative_url }}">
|
10
|
+
<link rel="shortcut icon" type="image/x-icon" href="{{ site.favicon | default: '/assets/favicon.ico' | relative_url }}">
|
11
11
|
|
12
12
|
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
13
13
|
{%- include google-analytics.html -%}
|
14
14
|
{%- endif -%}
|
15
|
+
{%- if jekyll.environment == 'production' and site.gtm -%}
|
16
|
+
{%- include gtm_head.html -%}
|
17
|
+
{%- endif -%}
|
18
|
+
{%- if jekyll.environment == 'production' and site.gtag -%}
|
19
|
+
{%- include gtag.html -%}
|
20
|
+
{%- endif -%}
|
15
21
|
</head>
|
data/_includes/header.html
CHANGED
@@ -34,6 +34,13 @@
|
|
34
34
|
</a>
|
35
35
|
</li>
|
36
36
|
{%- endif -%}
|
37
|
+
{%- if site.stackoverflow_username -%}
|
38
|
+
<li>
|
39
|
+
<a target="_blank" href="https://stackoverflow.com/users/{{ site.stackoverflow_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
|
40
|
+
<i class="fab fa-stack-overflow" title="Stackoverflow link"></i>
|
41
|
+
</a>
|
42
|
+
</li>
|
43
|
+
{%- endif -%}
|
37
44
|
{%- if site.instagram_username -%}
|
38
45
|
<li>
|
39
46
|
<a target="_blank" href="https://www.instagram.com/{{ site.instagram_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
|
@@ -83,6 +90,20 @@
|
|
83
90
|
</a>
|
84
91
|
</li>
|
85
92
|
{%- endif -%}
|
93
|
+
{%- if site.orcid_username -%}
|
94
|
+
<li>
|
95
|
+
<a target="_blank" href="https://orcid.org/{{ site.orcid_username | escape }}" class="button button--sacnite button--round-l">
|
96
|
+
<i class="fab fa-orcid" title="ORCiD link"></i>
|
97
|
+
</a>
|
98
|
+
</li>
|
99
|
+
{%- endif -%}
|
100
|
+
{% for link in site.additional_links %}
|
101
|
+
<li>
|
102
|
+
{% include a.html href=link.url class="button button--sacnite button--round-l" %}
|
103
|
+
<i class="fab {{ link.icon }}" title="{{ link.title | escape }}"></i>
|
104
|
+
</a>
|
105
|
+
</li>
|
106
|
+
{% endfor %}
|
86
107
|
</ul>
|
87
108
|
|
88
109
|
{%- if site.email -%}
|
data/_layouts/default.html
CHANGED
@@ -1,15 +1,19 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
|
-
<html lang="{{ page.lang | default: site.lang | default:
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: 'en' }}">
|
3
3
|
|
4
4
|
{%- include head.html -%}
|
5
5
|
|
6
|
-
<body>
|
6
|
+
<body class="{% if site.darkmode %}dark{% endif %}">
|
7
7
|
|
8
8
|
{%- include header.html -%}
|
9
9
|
|
10
10
|
<main class="page-content" aria-label="Content">
|
11
11
|
<div class="wrapper">
|
12
12
|
|
13
|
+
{%- if jekyll.environment == 'production' and site.gtm -%}
|
14
|
+
{%- include gtm_body.html -%}
|
15
|
+
{%- endif -%}
|
16
|
+
|
13
17
|
{%- include about.html -%}
|
14
18
|
|
15
19
|
{%- if site.data.projects.size > 0 -%}
|
@@ -32,7 +36,7 @@
|
|
32
36
|
</main>
|
33
37
|
|
34
38
|
{%- include footer.html -%}
|
35
|
-
|
39
|
+
<script src="{{ '/assets/js/index.js' | relative_url }}"></script>
|
36
40
|
</body>
|
37
41
|
|
38
|
-
</html>
|
42
|
+
</html>
|
data/_sass/button.scss
CHANGED
@@ -15,12 +15,7 @@
|
|
15
15
|
}
|
16
16
|
|
17
17
|
.button {
|
18
|
-
float: left;
|
19
18
|
min-width: 150px;
|
20
|
-
max-width: 250px;
|
21
|
-
display: block;
|
22
|
-
margin: 1em;
|
23
|
-
padding: 1em 2em;
|
24
19
|
border: none;
|
25
20
|
background: none;
|
26
21
|
color: inherit;
|
@@ -29,13 +24,6 @@
|
|
29
24
|
z-index: 1;
|
30
25
|
-webkit-backface-visibility: hidden;
|
31
26
|
-moz-osx-font-smoothing: grayscale;
|
32
|
-
}
|
33
|
-
|
34
|
-
.button--round-l {
|
35
|
-
border-radius: 40px;
|
36
|
-
}
|
37
|
-
|
38
|
-
.button {
|
39
27
|
border-radius: 0;
|
40
28
|
float: none;
|
41
29
|
margin: 0 auto;
|
@@ -46,6 +34,10 @@
|
|
46
34
|
max-width: 400px;
|
47
35
|
}
|
48
36
|
|
37
|
+
.button--round-l {
|
38
|
+
border-radius: 40px;
|
39
|
+
}
|
40
|
+
|
49
41
|
.button.button--sacnite {
|
50
42
|
width: 60px;
|
51
43
|
height: 60px;
|
@@ -64,4 +56,22 @@
|
|
64
56
|
box-shadow: inset 0 0 0 2px #333;
|
65
57
|
-webkit-transform: scale3d(1, 1, 1);
|
66
58
|
transform: scale3d(1, 1, 1);
|
67
|
-
}
|
59
|
+
}
|
60
|
+
|
61
|
+
.dark {
|
62
|
+
.button--sacnite::before {
|
63
|
+
box-shadow: inset 0 0 0 35px #e6e6e6;
|
64
|
+
}
|
65
|
+
|
66
|
+
.button.button--sacnite {
|
67
|
+
color: #222;
|
68
|
+
}
|
69
|
+
|
70
|
+
.button--sacnite:hover {
|
71
|
+
color: #e6e6e6;
|
72
|
+
}
|
73
|
+
|
74
|
+
.button--sacnite:hover::before {
|
75
|
+
box-shadow: inset 0 0 0 2px #e6e6e6;
|
76
|
+
}
|
77
|
+
}
|
data/_sass/dark.scss
ADDED
data/_sass/icons.scss
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
ul.icons a:hover {
|
2
|
+
background: rgba(0, 0, 0, 0.025);
|
3
|
+
}
|
4
|
+
|
5
|
+
ul.icons li {
|
6
|
+
display: inline-block;
|
7
|
+
padding-left: 0.75em;
|
8
|
+
}
|
9
|
+
|
10
|
+
ul.icons a {
|
11
|
+
-moz-transition: background-color 0.25s ease-in-out;
|
12
|
+
-webkit-transition: background-color 0.25s ease-in-out;
|
13
|
+
-ms-transition: background-color 0.25s ease-in-out;
|
14
|
+
transition: background-color 0.25s ease-in-out;
|
15
|
+
display: inline-block;
|
16
|
+
width: 2.75em;
|
17
|
+
height: 2.75em;
|
18
|
+
line-height: 2.8em;
|
19
|
+
text-align: center;
|
20
|
+
border: 0;
|
21
|
+
box-shadow: none;
|
22
|
+
padding:0;
|
23
|
+
border-radius: 100%;
|
24
|
+
color: #aaa;
|
25
|
+
}
|
26
|
+
|
27
|
+
.icons i {
|
28
|
+
font-size: 30px;
|
29
|
+
line-height:60px;
|
30
|
+
}
|
31
|
+
|
32
|
+
.icons {
|
33
|
+
padding: 0;
|
34
|
+
font-size: 1em;
|
35
|
+
margin-bottom:20px;
|
36
|
+
text-align: right;
|
37
|
+
}
|
38
|
+
|
39
|
+
@media screen and (max-width: 768px) {
|
40
|
+
.icons {
|
41
|
+
text-align: center;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
.dark {
|
46
|
+
.icons i {
|
47
|
+
background: none;
|
48
|
+
color: #222;
|
49
|
+
}
|
50
|
+
|
51
|
+
.icons a:hover i {
|
52
|
+
color: #e6e6e6;
|
53
|
+
}
|
54
|
+
}
|
@@ -1,50 +1,8 @@
|
|
1
1
|
@import "base";
|
2
2
|
@import "button";
|
3
3
|
@import "type";
|
4
|
-
|
5
|
-
|
6
|
-
background: rgba(0, 0, 0, 0.025);
|
7
|
-
}
|
8
|
-
|
9
|
-
ul.icons li {
|
10
|
-
display: inline-block;
|
11
|
-
padding-left: 0.75em;
|
12
|
-
}
|
13
|
-
|
14
|
-
ul.icons a {
|
15
|
-
-moz-transition: background-color 0.25s ease-in-out;
|
16
|
-
-webkit-transition: background-color 0.25s ease-in-out;
|
17
|
-
-ms-transition: background-color 0.25s ease-in-out;
|
18
|
-
transition: background-color 0.25s ease-in-out;
|
19
|
-
display: inline-block;
|
20
|
-
width: 2.75em;
|
21
|
-
height: 2.75em;
|
22
|
-
line-height: 2.8em;
|
23
|
-
text-align: center;
|
24
|
-
border: 0;
|
25
|
-
box-shadow: none;
|
26
|
-
padding:0;
|
27
|
-
border-radius: 100%;
|
28
|
-
color: #aaa;
|
29
|
-
}
|
30
|
-
|
31
|
-
.icons i {
|
32
|
-
font-size: 30px;
|
33
|
-
line-height:60px;
|
34
|
-
}
|
35
|
-
|
36
|
-
.icons {
|
37
|
-
padding: 0;
|
38
|
-
font-size: 1em;
|
39
|
-
margin-bottom:20px;
|
40
|
-
text-align: right;
|
41
|
-
}
|
42
|
-
|
43
|
-
@media screen and (max-width: 768px) {
|
44
|
-
.icons {
|
45
|
-
text-align: center;
|
46
|
-
}
|
47
|
-
}
|
4
|
+
@import "dark";
|
5
|
+
@import "icons";
|
48
6
|
|
49
7
|
.header-right p {
|
50
8
|
margin-bottom: 3px;
|
@@ -118,10 +76,10 @@ ul.icons a {
|
|
118
76
|
}
|
119
77
|
|
120
78
|
@media screen and (max-width: 768px) {
|
121
|
-
text-align: center;
|
79
|
+
text-align: center!important;
|
122
80
|
|
123
81
|
p {
|
124
|
-
text-align: center;
|
82
|
+
text-align: center!important;
|
125
83
|
}
|
126
84
|
}
|
127
85
|
|
@@ -160,6 +118,20 @@ ul.icons a {
|
|
160
118
|
}
|
161
119
|
}
|
162
120
|
|
121
|
+
.layout-right {
|
122
|
+
@media screen and (max-width: 768px) {
|
123
|
+
display: flex;
|
124
|
+
flex-direction: column-reverse;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
.layout-top-right {
|
129
|
+
@media screen and (max-width: 768px) {
|
130
|
+
display: flex;
|
131
|
+
flex-direction: column;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
|
163
135
|
.layout-top-middle {
|
164
136
|
.details {
|
165
137
|
text-align: center;
|
@@ -170,13 +142,13 @@ ul.icons a {
|
|
170
142
|
margin-top:100px;
|
171
143
|
}
|
172
144
|
|
173
|
-
.footer-container p{
|
145
|
+
.footer-container p {
|
174
146
|
text-align: center;
|
175
147
|
font-style: italic;
|
176
148
|
font-weight: 300;
|
177
149
|
}
|
178
150
|
|
179
|
-
.footer-container a{
|
151
|
+
.footer-container a {
|
180
152
|
color: inherit;
|
181
153
|
font-style: italic;
|
182
154
|
font-weight: 300;
|
data/assets/favicon.ico
ADDED
Binary file
|
data/assets/js/index.js
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: modern-resume-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Grant
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: github-pages
|
@@ -67,6 +67,9 @@ files:
|
|
67
67
|
- _includes/experience.html
|
68
68
|
- _includes/footer.html
|
69
69
|
- _includes/google-analytics.html
|
70
|
+
- _includes/gtag.html
|
71
|
+
- _includes/gtm_body.html
|
72
|
+
- _includes/gtm_head.html
|
70
73
|
- _includes/head.html
|
71
74
|
- _includes/header.html
|
72
75
|
- _includes/left.html
|
@@ -79,8 +82,12 @@ files:
|
|
79
82
|
- _layouts/default.html
|
80
83
|
- _sass/base.scss
|
81
84
|
- _sass/button.scss
|
85
|
+
- _sass/dark.scss
|
86
|
+
- _sass/icons.scss
|
82
87
|
- _sass/modern-resume-theme.scss
|
83
88
|
- _sass/type.scss
|
89
|
+
- assets/favicon.ico
|
90
|
+
- assets/js/index.js
|
84
91
|
- assets/main.scss
|
85
92
|
homepage: https://github.com/sproogen/modern-resume-theme
|
86
93
|
licenses:
|