resume-stylist 0.2.1 → 0.2.2

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
  SHA1:
3
- metadata.gz: 229132b898aaa85e40699471f0231abe1e6c7fee
4
- data.tar.gz: 005de4f094d84dc4467141b5ecb3b44d8d4eb375
3
+ metadata.gz: deda00a2265ca9efd2576fb7675caf32e31236e0
4
+ data.tar.gz: ae67fe51338f5de16b5b6f020c43a03cea4bf079
5
5
  SHA512:
6
- metadata.gz: 97ca14cdad60d618167bff809c2703ec5b6b79efb1433569e12b173b18966c45c96873c3b9539ea56354bd1311f1c6606a2b769458a01ab844e5e4ed3846063b
7
- data.tar.gz: 4b6fec4592d76da5d603c58038a8b1e1e052617e0091e90aeb07cc8ca206bbf7ce1e1c4a8c636eacf669da96c92f91f9fc9853e069dbeb045ec05fcc22b37dfc
6
+ metadata.gz: 3ead977e347912cc775855fb08a59756f332436df6e7e8b7d1c341cc68662b090f84ee2cb5a8625fd0f4cc15a333e6fe4514fc1eb743ad156c4447db59826cf0
7
+ data.tar.gz: 22fc670e4b8ae511b94fdee9bdfd0acf38eb84f1471f63f03b65f62974989c372bb52eefe2e4435b2d2d54f87524626aa50d9536cee8a6ad1c88508ef792d8be
@@ -1,5 +1,7 @@
1
1
  ---
2
2
  theme:
3
+ display_flair_on_html: true
4
+ display_flair_on_print: false
3
5
  author:
4
6
  name: Nino Miletich
5
7
  url: https://github.com/omninonsense
@@ -33,19 +35,22 @@ theme:
33
35
  }
34
36
 
35
37
  #basics {
36
- .picture {
38
+
39
+ .picture-border {
37
40
  $size: 128px;
38
- display: block;
41
+ border-radius: 50%;
39
42
  width: $size;
40
43
  height: $size;
41
- border-radius: 50%;
44
+ border: 4px solid #aaa;
42
45
  margin: auto;
43
- box-shadow: 0 0 0 5px #aaa;
44
- border: 4px solid #fff;
46
+ display: block;
47
+ }
45
48
 
46
- /* Fix drop shadow in Webkit/Blink browsers when printing */
47
- -webkit-print-color-adjust: exact;
48
- -webkit-filter: opacity(1);
49
+ .picture {
50
+ border: 4px solid #fff;
51
+ border-radius: 50%;
52
+ width: 100%;
53
+ box-sizing: border-box;
49
54
  }
50
55
 
51
56
  h1 {
@@ -220,6 +225,17 @@ theme:
220
225
  .flair {
221
226
  color: #ccc;
222
227
  text-align: right;
228
+ {% if frontmatter.theme.display_flair_on_html == false %}
229
+ display: none;
230
+ {% endif %}
231
+
232
+ @media print {
233
+ {% if frontmatter.theme.display_flair_on_print == false %}
234
+ display: none;
235
+ {% else %}
236
+ display: block;
237
+ {% endif %}
238
+ }
223
239
 
224
240
  a {
225
241
  color: #99b9d4;
@@ -232,7 +248,9 @@ theme:
232
248
  <section id="basics">
233
249
  {% unless basics.picture == "" %}
234
250
  <div class="group">
235
- <img class="picture" src="{{ basics.picture }}" alt="Picture of {{ basics.name }}" />
251
+ <div class="picture-border">
252
+ <img class="picture" src="{{ basics.picture }}" alt="Picture of {{ basics.name }}" />
253
+ </div>
236
254
  </div>
237
255
  {% endunless %}
238
256
  <div class="group">
@@ -1,3 +1,3 @@
1
1
  module ResumeStylist
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resume-stylist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nino Miletich