modern-resume-theme 1.8.4 → 1.8.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c89ab127e63428970157068adedaf122f9299eecd4c1a5cf617bc901e222baf2
4
- data.tar.gz: 77641fd07107217ea0ae6f3a2974980fe6a6d3b83c80bcf83e6d9d2ee7fa720a
3
+ metadata.gz: b45618221bd09ad7277ecee47ef893f77e3ab1bf95ec84887722738c0d521c52
4
+ data.tar.gz: 9d60df26bd884f030aedb7dea4482c6051243fdf6f54d0745b6c8a5f5130fa18
5
5
  SHA512:
6
- metadata.gz: 454f835c4b96a72afb6775044dfdb6c2c55d78e4e28113781cbdc927569090ba6ae8f8aaf43c2cdb3c427a8852faf804548cbdabb42426448b8358b34de750a0
7
- data.tar.gz: ede5fed6bfb3735f7de38c78d5a45eac082b1669dac3b34be25634c9866b04be9f45ee28269896ec8e107a5e16a887dcbd9cc50afcdd334aca3dd9a12daf0b77
6
+ metadata.gz: 272c85a99fa0d5cef0a0795a12e4d04bcb5e8df4d74e8ba1331a06de660829ad39f5ca39512d903244b78bdd16d394d511fa45053802ad0dccff1edb4a96bf0f
7
+ data.tar.gz: e178805394574681b8cef7311b7caae63117651589596989be92bef8e29570a3807fb7b6dcd415c11b824b7287422120c94707ef725608947cd764a8a746047d
data/README.md CHANGED
@@ -52,8 +52,11 @@ A full example of the _config.yml can be found [here](https://github.com/sprooge
52
52
  ##### Dark Mode
53
53
  Dark mode is configured via _config.yml
54
54
  ```
55
- darkmode: true/false
55
+ darkmode: true (options: true, false, never)
56
56
  ```
57
+ When dark mode is `true` the site will show the dark theme for everyone
58
+ When dark mode is `false` the site will not show the dark theme, but it will still respect the users device preferences
59
+ When dark mode is `never` the site will never be shown in the dark theme
57
60
 
58
61
  ##### _data/education.yml
59
62
  A list of all your education, each education will follow this format
@@ -3,7 +3,7 @@
3
3
  {{ site.name | escape }} -
4
4
  <a href="mailto:{{ site.email }}" target="_blank">{{ site.email | escape }}</a>
5
5
  {%- if site.footer_show_references -%}
6
- &nbsp;- References on request
6
+ &nbsp;- {{ site.references_title | default: "References on request" }}
7
7
  {%- endif -%}
8
8
  </p>
9
9
  </div>
@@ -108,17 +108,17 @@
108
108
 
109
109
  {%- if site.email -%}
110
110
  <p>
111
- Email: <a href="mailto:{{ site.email }}" target="_blank">{{ site.email | escape }}</a>
111
+ {{ site.email_title | default: "Email" }}: <a href="mailto:{{ site.email }}" target="_blank">{{ site.email | escape }}</a>
112
112
  </p>
113
113
  {%- endif -%}
114
114
  {%- if site.phone -%}
115
115
  <p>
116
- Phone: {{ site.phone | escape }}
116
+ {{ site.phone_title | default: "Phone" }}: {{ site.phone | escape }}
117
117
  </p>
118
118
  {%- endif -%}
119
119
  {%- if site.website -%}
120
120
  <p>
121
- Web: {% include a.html href=site.website %}{{ site.website | escape }}</a>
121
+ {{ site.website_title | default: "Web" }}: {% include a.html href=site.website %}{{ site.website | escape }}</a>
122
122
  </p>
123
123
  {%- endif -%}
124
124
  </div>
@@ -3,7 +3,7 @@
3
3
 
4
4
  {%- include head.html -%}
5
5
 
6
- <body class="{% if site.darkmode %}dark{% endif %}">
6
+ <body class="{% if site.darkmode == true and site.darkmode != 'never' %}dark{% endif %}">
7
7
 
8
8
  {%- include header.html -%}
9
9
 
@@ -36,7 +36,9 @@
36
36
  </main>
37
37
 
38
38
  {%- include footer.html -%}
39
- <script src="{{ '/assets/js/index.js' | relative_url }}"></script>
39
+ {% if site.darkmode == false %}
40
+ <script src="{{ '/assets/js/index.js' | relative_url }}"></script>
41
+ {% endif %}
40
42
  </body>
41
43
 
42
44
  </html>
@@ -12,11 +12,11 @@ button, input[type="button"], input[type="reset"], input[type="submit"] {
12
12
  cursor: pointer;
13
13
  display: inline-block;
14
14
  font-family: "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif;
15
- font-size: 1em;
15
+ font-size: 1rem;
16
16
  -webkit-font-smoothing: antialiased;
17
17
  font-weight: 600;
18
18
  line-height: 1;
19
- padding: 0.75em 1.5em;
19
+ padding: 0.75rem 1.5rem;
20
20
  text-decoration: none;
21
21
  transition: background-color 150ms ease;
22
22
  user-select: none;
@@ -38,53 +38,53 @@ button, input[type="button"], input[type="reset"], input[type="submit"] {
38
38
  fieldset {
39
39
  background-color: #f7f7f7;
40
40
  border: 1px solid #ddd;
41
- margin: 0 0 0.75em;
42
- padding: 1.5em; }
41
+ margin: 0 0 0.75rem;
42
+ padding: 1.5rem; }
43
43
 
44
44
  input,
45
45
  label,
46
46
  select {
47
47
  display: block;
48
48
  font-family: "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif;
49
- font-size: 1em; }
49
+ font-size: 1rem; }
50
50
 
51
51
  label {
52
52
  font-weight: 600;
53
- margin-bottom: 0.375em; }
53
+ margin-bottom: 0.375rem; }
54
54
  label.required::after {
55
55
  content: "*"; }
56
56
  label abbr {
57
57
  display: none; }
58
58
 
59
59
  select {
60
- margin-bottom: 1.5em;
60
+ margin-bottom: 1.5rem;
61
61
  max-width: 100%;
62
62
  width: auto; }
63
63
 
64
64
  dl {
65
- margin-bottom: 0.75em; }
65
+ margin-bottom: 0.75rem; }
66
66
  dl dt {
67
67
  font-weight: bold;
68
- margin-top: 0.75em; }
68
+ margin-top: 0.75rem; }
69
69
  dl dd {
70
70
  margin: 0; }
71
71
 
72
72
  table {
73
73
  border-collapse: collapse;
74
74
  font-feature-settings: "kern", "liga", "tnum";
75
- margin: 0.75em 0;
75
+ margin: 0.75rem 0;
76
76
  table-layout: fixed;
77
77
  width: 100%; }
78
78
 
79
79
  th {
80
80
  border-bottom: 1px solid #a6a6a6;
81
81
  font-weight: 600;
82
- padding: 0.75em 0;
82
+ padding: 0.75rem 0;
83
83
  text-align: left; }
84
84
 
85
85
  td {
86
86
  border-bottom: 1px solid #ddd;
87
- padding: 0.75em 0; }
87
+ padding: 0.75rem 0; }
88
88
 
89
89
  tr,
90
90
  td,
@@ -96,7 +96,7 @@ hr {
96
96
  border-left: 0;
97
97
  border-right: 0;
98
98
  border-top: 0;
99
- margin: 1.5em 0; }
99
+ margin: 1.5rem 0; }
100
100
 
101
101
  img,
102
102
  picture {
@@ -179,7 +179,7 @@ body {
179
179
  }
180
180
 
181
181
  .header-right p {
182
- font-size: 1.6em;
182
+ font-size: 1.6rem;
183
183
  text-align: right;
184
184
  }
185
185
 
@@ -1,5 +1,4 @@
1
- .dark,
2
- .dark * {
1
+ .dark {
3
2
  background-color: #222;
4
3
  color: #e6e6e6;
5
4
  }
@@ -4,7 +4,7 @@ ul.icons a:hover {
4
4
 
5
5
  ul.icons li {
6
6
  display: inline-block;
7
- padding-left: 0.75em;
7
+ padding-left: 0.75rem;
8
8
  }
9
9
 
10
10
  ul.icons a {
@@ -13,9 +13,9 @@ ul.icons a {
13
13
  -ms-transition: background-color 0.25s ease-in-out;
14
14
  transition: background-color 0.25s ease-in-out;
15
15
  display: inline-block;
16
- width: 2.75em;
17
- height: 2.75em;
18
- line-height: 2.8em;
16
+ width: 2.75rem;
17
+ height: 2.75rem;
18
+ line-height: 2.8rem;
19
19
  text-align: center;
20
20
  border: 0;
21
21
  box-shadow: none;
@@ -31,7 +31,7 @@ ul.icons a {
31
31
 
32
32
  .icons {
33
33
  padding: 0;
34
- font-size: 1em;
34
+ font-size: 1rem;
35
35
  margin-bottom:20px;
36
36
  text-align: right;
37
37
  }
@@ -59,14 +59,14 @@
59
59
  }
60
60
 
61
61
  .layout {
62
- margin-top: 3em;
62
+ margin-top: 3rem;
63
63
 
64
64
  .details {
65
65
  text-align: left;
66
66
 
67
67
  p {
68
68
  margin-bottom: 3px;
69
- font-size: 1.6em;
69
+ font-size: 1.6rem;
70
70
  text-align: inherit;
71
71
  font-weight: 300;
72
72
 
@@ -90,19 +90,19 @@
90
90
  }
91
91
 
92
92
  .fa {
93
- font-size: 2em;
93
+ font-size: 2rem;
94
94
  }
95
95
 
96
96
  .link {
97
- font-size: 1.5em;
97
+ font-size: 1.5rem;
98
98
  }
99
99
 
100
100
  h4 {
101
- margin-bottom: 0.1em;
101
+ margin-bottom: 0.1rem;
102
102
  font-weight: 500;
103
103
 
104
104
  @media print {
105
- margin-bottom: 0.2em;
105
+ margin-bottom: 0.2rem;
106
106
  }
107
107
 
108
108
  a {
@@ -172,14 +172,14 @@
172
172
  }
173
173
 
174
174
  p.quote {
175
- font-size: 1.4em;
175
+ font-size: 1.4rem;
176
176
  font-style: italic;
177
- padding: 1em 2.5em;
177
+ padding: 1rem 2.5rem;
178
178
  text-align: center;
179
179
 
180
180
  @media print {
181
181
  text-align: left;
182
- padding: 0em 1em;
183
- margin-top: 1em;
182
+ padding: 0rem 1rem;
183
+ margin-top: 1rem;
184
184
  }
185
185
  }
@@ -2,11 +2,11 @@ body {
2
2
  color: #333;
3
3
  font-family: Roboto, sans-serif;
4
4
  font-feature-settings: "kern", "liga", "pnum";
5
- font-size: 1em;
5
+ font-size: 1rem;
6
6
  line-height: 1.5;
7
7
 
8
8
  @media print {
9
- font-size: 0.9em;
9
+ font-size: 0.9rem;
10
10
  }
11
11
  }
12
12
 
@@ -17,13 +17,13 @@ h4,
17
17
  h5,
18
18
  h6 {
19
19
  font-family: Roboto, sans-serif;
20
- font-size: 1em;
20
+ font-size: 1rem;
21
21
  line-height: 1.2;
22
- margin: 0 0 0.75em;
22
+ margin: 0 0 0.75rem;
23
23
  }
24
24
 
25
25
  p {
26
- margin: 0 0 0.75em; }
26
+ margin: 0 0 0.75rem; }
27
27
 
28
28
  a {
29
29
  color: #477dca;
@@ -36,19 +36,19 @@ color: #355e98;
36
36
  }
37
37
 
38
38
  h1 {
39
- font-size: 4em;
40
- margin-bottom: 0.1em;
39
+ font-size: 4rem;
40
+ margin-bottom: 0.1rem;
41
41
  font-weight: 500;
42
42
  }
43
43
 
44
44
  h2 {
45
45
  font-weight: 300;
46
- font-size: 2em;
46
+ font-size: 2rem;
47
47
  }
48
48
 
49
49
  h3 {
50
50
  font-weight: 300;
51
- font-size: 3em;
51
+ font-size: 3rem;
52
52
  text-align: center;
53
53
  border-bottom: dashed 2px #CCCCCC;
54
54
  padding-bottom: 10px;
@@ -61,17 +61,17 @@ h3 {
61
61
 
62
62
  h4 {
63
63
  font-weight: 300;
64
- font-size:2.5em;
64
+ font-size:2.5rem;
65
65
  margin-bottom:3px;
66
66
  }
67
67
 
68
68
  p, ul {
69
- font-size: 1.6em;
69
+ font-size: 1.6rem;
70
70
  text-align: justify;
71
71
  }
72
72
 
73
73
  a i {
74
- font-size:1.6em;
74
+ font-size:1.6rem;
75
75
  }
76
76
 
77
77
  mark {
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.8.4
4
+ version: 1.8.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Grant
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-02 00:00:00.000000000 Z
11
+ date: 2020-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: github-pages