modern-resume-theme 1.2.1 → 1.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9a04370ec01311a3af157238ed52c2a4f07f89a6
4
- data.tar.gz: 2851e221f56f389e7ea508cf4b5e219410758790
3
+ metadata.gz: 92b7879149314409be0607f7a5f1b95393725aec
4
+ data.tar.gz: 60ce355b1bb89650f164fbc489a6bbe25a3313fe
5
5
  SHA512:
6
- metadata.gz: 9f1a6ddcf823c03092c73a331eaae9264819115f6345ccc7bfe03caecc2862d3c2513701df67237b72d6edd8f9e80ade7a104e6bd78cb61ccdc99c1b54959474
7
- data.tar.gz: 64e5082684a9cd8b728cf0c99bfe8b850acaffca350bd46b8be719c5ace2395cd9d3174cc2973d173009dd37b2adf67bd129b82cb6a71f760c13edcd7854aee4
6
+ metadata.gz: a7bdb4d129475b0f1a890d276abb171479245254d450e1e3afe4c9531c02e215c8f74a74144ce08e60b8ea7ae80b3c5df1f0e610329da62aef412f25bedb0e70
7
+ data.tar.gz: cc8a4112c7655ce0ff5dfdce0467722df25033f1db7e3da073b842e2b892a8a042a78395a2ab570956a9cc18f2ea0982bec67197bb19e7e0d4f74f92b07c9b55
data/_includes/about.html CHANGED
@@ -2,11 +2,11 @@
2
2
  <h3>{{ site.about_title | default: "About Me" }}</h3>
3
3
  <div class="row clearfix">
4
4
  {%- if site.about_profile_image -%}
5
- <div class="col-xs-12 col-sm-4 col-md-3">
5
+ <div class="col-xs-12 col-sm-4 col-md-3 no-print">
6
6
  <span class="profile-img" style="background-image: url({{ site.about_profile_image | relative_url }})" />
7
7
  </div>
8
8
  {%- endif -%}
9
- <div class="{{ 'col-xs-12 ' }}{%- if site.about_profile_image -%}col-sm-8 col-md-9{%- endif -%}">
9
+ <div class="{{ 'col-xs-12 ' }}{%- if site.about_profile_image -%}col-sm-8 col-md-9 col-print-12{%- endif -%}">
10
10
  {{ site.about_content | strip | markdownify }}
11
11
  </div>
12
12
  </div>
@@ -2,12 +2,12 @@
2
2
  <h3>{{ site.education_title | default: "Education" }}</h3>
3
3
  {% for education in site.data.education %}
4
4
  <div class="row clearfix education">
5
- <div class="col-xs-12 col-sm-4 col-md-3 left-column">
5
+ <div class="col-xs-12 col-sm-4 col-md-3 col-print-12 left-column">
6
6
  <h4>{{ education.name }}</h4>
7
7
  <p><b>{{ education.qualification }}</b></p>
8
8
  <p>{{ education.dates }}</p>
9
9
  </div>
10
- <div class="col-xs-12 col-sm-8 col-md-9">
10
+ <div class="col-xs-12 col-sm-8 col-md-9 col-print-12">
11
11
  {%- if education.quote -%}
12
12
  <p class="quote">{{ education.quote }}</p>
13
13
  {%- endif -%}
@@ -2,7 +2,7 @@
2
2
  <h3>{{ site.experience_title | default: "Experience" }}</h3>
3
3
  {% for experience in site.data.experience %}
4
4
  <div class="row clearfix experience">
5
- <div class="col-xs-12 col-sm-4 col-md-3 left-column">
5
+ <div class="col-xs-12 col-sm-4 col-md-3 col-print-12 left-column">
6
6
  <h4 class="name">
7
7
  {%- if experience.link -%}
8
8
  <a href="http://{{ experience.link }}" target="_blank">
@@ -15,7 +15,7 @@
15
15
  <p><b>{{ experience.job_title }}</b></p>
16
16
  <p>{{ experience.dates }}</p>
17
17
  </div>
18
- <div class="col-xs-12 col-sm-8 col-md-9">
18
+ <div class="col-xs-12 col-sm-8 col-md-9 col-print-12">
19
19
  {%- if experience.quote -%}
20
20
  <p class="quote">{{ experience.quote }}</p>
21
21
  {%- endif -%}
@@ -5,74 +5,74 @@
5
5
  <h2>{{ site.title | escape }}</h2>
6
6
  </div>
7
7
  <div class="col-xs-12 col-sm-6 col-md-6 col-lg-4 header-right">
8
- <ul class="icons">
8
+ <ul class="icons no-print">
9
9
  {%- if site.dribbble_username -%}
10
10
  <li>
11
11
  <a target="_blank" href="https://dribbble.com/{{ site.dribbble_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
12
- <i class="fa fa-dribbble"></i>
12
+ <i class="fa fa-dribbble" title="Dribble link"></i>
13
13
  </a>
14
14
  </li>
15
15
  {%- endif -%}
16
16
  {%- if site.facebook_username -%}
17
17
  <li>
18
18
  <a target="_blank" href="https://www.facebook.com/{{ site.facebook_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
19
- <i class="fa fa-facebook"></i>
19
+ <i class="fa fa-facebook" title="Facebook link"></i>
20
20
  </a>
21
21
  </li>
22
22
  {%- endif -%}
23
23
  {%- if site.flickr_username -%}
24
24
  <li>
25
25
  <a target="_blank" href="https://www.flickr.com/photos/{{ site.flickr_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
26
- <i class="fa fa-flickr"></i>
26
+ <i class="fa fa-flickr" title="Flickr link"></i>
27
27
  </a>
28
28
  </li>
29
29
  {%- endif -%}
30
30
  {%- if site.github_username -%}
31
31
  <li>
32
32
  <a target="_blank" href="https://github.com/{{ site.github_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
33
- <i class="fa fa-github"></i>
33
+ <i class="fa fa-github" title="Github link"></i>
34
34
  </a>
35
35
  </li>
36
36
  {%- endif -%}
37
37
  {%- if site.instagram_username -%}
38
38
  <li>
39
39
  <a target="_blank" href="https://www.instagram.com/{{ site.instagram_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
40
- <i class="fa fa-instagram"></i>
40
+ <i class="fa fa-instagram" title="Instagram link"></i>
41
41
  </a>
42
42
  </li>
43
43
  {%- endif -%}
44
44
  {%- if site.linkedin_username -%}
45
45
  <li>
46
46
  <a target="_blank" href="https://www.linkedin.com/in/{{ site.linkedin_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
47
- <i class="fa fa-linkedin"></i>
47
+ <i class="fa fa-linkedin" title="Linkedin link"></i>
48
48
  </a>
49
49
  </li>
50
50
  {%- endif -%}
51
51
  {%- if site.pinterest_username -%}
52
52
  <li>
53
53
  <a target="_blank" href="https://www.pinterest.com/{{ site.pinterest_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
54
- <i class="fa fa-pinterest"></i>
54
+ <i class="fa fa-pinterest" title="Pintrest link"></i>
55
55
  </a>
56
56
  </li>
57
57
  {%- endif -%}
58
58
  {%- if site.twitter_username -%}
59
59
  <li>
60
60
  <a target="_blank" href="https://twitter.com/{{ site.twitter_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
61
- <i class="fa fa-twitter"></i>
61
+ <i class="fa fa-twitter" title="Twitter link"></i>
62
62
  </a>
63
63
  </li>
64
64
  {%- endif -%}
65
65
  {%- if site.youtube_username -%}
66
66
  <li>
67
67
  <a target="_blank" href="https://www.youtube.com/{{ site.youtube_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
68
- <i class="fa fa-youtube-play"></i>
68
+ <i class="fa fa-youtube-play" title="Youtube link"></i>
69
69
  </a>
70
70
  </li>
71
71
  {%- endif -%}
72
72
  {%- if site.googleplus_username -%}
73
73
  <li>
74
74
  <a target="_blank" href="https://plus.google.com/{{ site.googleplus_username| escape }}" class="button button--sacnite button--round-l">
75
- <i class="fa fa-google-plus"></i>
75
+ <i class="fa fa-google-plus" title="Google plus link"></i>
76
76
  </a>
77
77
  </li>
78
78
  {%- endif -%}
@@ -2,18 +2,18 @@
2
2
  <h3>{{ site.projects_title | default: "Projects" }}</h3>
3
3
  {% for project in site.data.projects %}
4
4
  <div class="row clearfix project">
5
- <div class="col-xs-12 col-sm-4 col-md-3 left-column">
5
+ <div class="col-xs-12 col-sm-4 col-md-3 col-print-12 left-column">
6
6
  <h4>{{ project.name }}</h4>
7
7
  {%- if project.link -%}
8
8
  <a href="http://{{ project.link }}" target="_blank" class="project-link">{{ project.link }}</a>
9
9
  {%- endif -%}
10
- <p>
10
+ <p class="no-print">
11
11
  <a href="https://github.com/{{ project.github }}" target="_blank">
12
- <i class="fa fa-github"></i>
12
+ <i class="fa fa-github" title="{{ project.name }} Github link"></i>
13
13
  </a>
14
14
  </p>
15
15
  </div>
16
- <div class="col-xs-12 col-sm-8 col-md-9">
16
+ <div class="col-xs-12 col-sm-8 col-md-9 col-print-12">
17
17
  {%- if project.quote -%}
18
18
  <p class="quote">{{ project.quote }}</p>
19
19
  {%- endif -%}
@@ -24,7 +24,9 @@
24
24
  {%- include education.html -%}
25
25
  {%- endif -%}
26
26
 
27
- {%- include more.html -%}
27
+ {%- if site.more_content -%}
28
+ {%- include more.html -%}
29
+ {%- endif -%}
28
30
 
29
31
  </div>
30
32
  </main>
data/_sass/base.scss CHANGED
@@ -155,7 +155,12 @@ body {
155
155
 
156
156
  .container {
157
157
  margin-top:30px;
158
+
159
+ @media print {
160
+ margin-top: 20px;
161
+ }
158
162
  }
163
+
159
164
  .header-contianer {
160
165
  margin-top:50px;
161
166
  }
@@ -166,9 +171,70 @@ body {
166
171
 
167
172
  .header-left {
168
173
  margin-top: 30px;
174
+
175
+ @media print {
176
+ margin-top: 0px;
177
+ }
169
178
  }
170
179
 
171
180
  .header-right p {
172
181
  font-size: 1.6em;
173
182
  text-align: right;
174
183
  }
184
+
185
+ @media print {
186
+ a[href]:after {
187
+ content: none !important;
188
+ }
189
+
190
+ img[src]:after {
191
+ content: none !important;
192
+ }
193
+
194
+ .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
195
+ float: left;
196
+ }
197
+ .col-sm-12 {
198
+ width: 100%;
199
+ }
200
+ .col-sm-11 {
201
+ width: 91.66666667%;
202
+ }
203
+ .col-sm-10 {
204
+ width: 83.33333333%;
205
+ }
206
+ .col-sm-9 {
207
+ width: 75%;
208
+ }
209
+ .col-sm-8 {
210
+ width: 66.66666667%;
211
+ }
212
+ .col-sm-7 {
213
+ width: 58.33333333%;
214
+ }
215
+ .col-sm-6 {
216
+ width: 50%;
217
+ }
218
+ .col-sm-5 {
219
+ width: 41.66666667%;
220
+ }
221
+ .col-sm-4 {
222
+ width: 33.33333333%;
223
+ }
224
+ .col-sm-3 {
225
+ width: 25%;
226
+ }
227
+ .col-sm-2 {
228
+ width: 16.66666667%;
229
+ }
230
+ .col-sm-1 {
231
+ width:8.33333333%;
232
+ }
233
+ .col-print-12 {
234
+ width: 100%;
235
+ }
236
+
237
+ .no-print, .no-print * {
238
+ display: none !important;
239
+ }
240
+ }
data/_sass/type.scss CHANGED
@@ -4,6 +4,10 @@ body {
4
4
  font-feature-settings: "kern", "liga", "pnum";
5
5
  font-size: 1em;
6
6
  line-height: 1.5;
7
+
8
+ @media print {
9
+ font-size: 0.9em;
10
+ }
7
11
  }
8
12
 
9
13
  h1,
@@ -49,6 +53,10 @@ h3 {
49
53
  border-bottom: dashed 2px #CCCCCC;
50
54
  padding-bottom: 10px;
51
55
  margin-bottom:40px;
56
+
57
+ @media print {
58
+ margin-bottom: 20px;
59
+ }
52
60
  }
53
61
 
54
62
  h4 {
data/assets/main.scss CHANGED
@@ -44,7 +44,7 @@ ul.icons a {
44
44
  text-align: right;
45
45
  }
46
46
 
47
- @media (max-width: 768px) {
47
+ @media screen and (max-width: 768px) {
48
48
  .icons {
49
49
  text-align: center;
50
50
  }
@@ -59,7 +59,7 @@ ul.icons a {
59
59
  font-weight:500;
60
60
  }
61
61
 
62
- @media (max-width: 768px) {
62
+ @media screen and (max-width: 768px) {
63
63
  .header-contianer div{
64
64
  text-align: center;
65
65
  }
@@ -89,12 +89,12 @@ ul.icons a {
89
89
  }
90
90
 
91
91
  .into-text-1 {
92
- margin-top:30px;
92
+ margin-top: 30px;
93
93
  }
94
94
 
95
95
  @media only screen and (max-width : 992px) {
96
96
  .into-text-1 {
97
- margin-top:20px;
97
+ margin-top: 20px;
98
98
  }
99
99
  }
100
100
 
@@ -121,7 +121,7 @@ ul.icons a {
121
121
  }
122
122
  }
123
123
 
124
- @media (max-width: 768px) {
124
+ @media screen and (max-width: 768px) {
125
125
  text-align: center;
126
126
 
127
127
  p {
@@ -147,6 +147,10 @@ ul.icons a {
147
147
  margin-bottom: 0.4em;
148
148
  font-weight: 500;
149
149
 
150
+ @media print {
151
+ margin-bottom: 0.2em;
152
+ }
153
+
150
154
  a {
151
155
  font-weight: 500;
152
156
  }
@@ -192,4 +196,10 @@ p.quote {
192
196
  font-style: italic;
193
197
  padding: 1em 2.5em;
194
198
  text-align: center;
199
+
200
+ @media print {
201
+ text-align: left;
202
+ padding: 0em 1em;
203
+ margin-top: 1em;
204
+ }
195
205
  }
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.2.1
4
+ version: 1.3.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: 2018-11-21 00:00:00.000000000 Z
11
+ date: 2018-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: github-pages