personal-website 0.2.1 → 0.2.14

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: ba98c35723019e71b5465e9e32e69bb3b21b3bca8f058778add0c67eef8c8ab5
4
- data.tar.gz: 9dfc8c43cbdafd17dd6f81c625069c15aefb05bfdfa0a6565e1b98f1caffe3a4
3
+ metadata.gz: 0bfa5c35f2685a3a44446df17340f112e5b707760b58a72f4c95a93415806405
4
+ data.tar.gz: e3c7debb2b3760125799c398726335071a93de4b1d93798043c0fa8ee1b11513
5
5
  SHA512:
6
- metadata.gz: af27416884113ddd3eb416c1cb1c7e20fe3f7c27213da0d9152146782944454d5d8678bd2dc85e01a17424f8fff4b189cc621578030cca0127024b9b0e055722
7
- data.tar.gz: 01be9e2ef4d8b13cd23e312c613312180c00175e1bffe86166e355cf8ce5bb025392560b87b2cc391af7894310b346808f24cd7fe2f248400fae7627309b5901
6
+ metadata.gz: 53f46f7f2f3c9ad3d4a050fb335b7f8961c2e57b0384d1ffe5054639432a7bea6cc14fb7ba32d6211915da05fcf33c9eaf4807ca63ef450cc5b41748ed8f8296
7
+ data.tar.gz: dd7596f6d8b868b8a83a017017eac2d205167507a9ddca3caf69691558ecf7f52ec7087936ef38cec081433cb3a29d0552c3422983e43dbb58f97a7767585eb2
@@ -3,7 +3,7 @@
3
3
  {% if ext.url == nil %}
4
4
  <span class="image"><img src="{{ ext.image }}"></span>
5
5
  {% else %}
6
- <a href="{{ ext.url }}" target="_blank" class="image"><img src="{{ ext.image }}"></a>
6
+ <a href="{{ ext.url }}" target="_blank" class="image" referrerpolicy="no-referrer"><img src="{{ ext.image }}"></a>
7
7
  {% endif %}
8
8
  {% endif %}
9
9
  <div {% if ext.image == nil %}class="no-img"{% endif %}>
@@ -11,7 +11,7 @@
11
11
  {% if ext.url == nil %}
12
12
  {{ ext.title }}
13
13
  {% else %}
14
- <a href="{{ ext.url }}" target="_blank">{{ ext.title }}</a>
14
+ <a href="{{ ext.url }}" target="_blank" referrerpolicy="no-referrer">{{ ext.title }}</a>
15
15
  {% endif %}
16
16
  <br>
17
17
  {% if ext.subtitle %}
@@ -9,7 +9,7 @@
9
9
  <h1 class="text-light">{{ site.name }}</h1>
10
10
  <h3 id="role">{{ site.position }}</h3>
11
11
  </div>
12
- <div class="col-md">
12
+ <div class="col-md-8">
13
13
  {% for social in site.data.social %}
14
14
  <a href="{{ social.external_url }}" target="_blank"><img src="{{ social.image_path }}" class="social" alt=""></a>
15
15
  {% endfor %}
@@ -16,9 +16,10 @@ layout: default
16
16
  {% include header.html %}
17
17
  <div class="external mx-auto">
18
18
  <div class="sidebar">
19
+ <a href="/{{ page.external }}" year="all"><p>All</p></a>
19
20
  {% assign grouped = site.data.external[page.external].list | group_by: "year" %}
20
21
  {% for year in grouped %}
21
- <a href="/{{ page.external }}?year={{ year.name }}" class="active"><p>{{ year.name }}</p></a>
22
+ <a href="/{{ page.external }}?year={{ year.name }}" year="{{year.name}}"><p>{{ year.name }}</p></a>
22
23
  {% endfor %}
23
24
  </div>
24
25
  <div class="content">
data/_layouts/home.html CHANGED
@@ -56,7 +56,7 @@ layout: default
56
56
  {% endif %}
57
57
  {% if site.data.projects %}
58
58
  <div>
59
- <h1 class="text-center">Projects</h1>
59
+ <h1 class="text-center mb-4">Projects</h1>
60
60
  <div class="projects">
61
61
  {% for project in site.data.projects %}
62
62
  {% include project.html %}
@@ -5,6 +5,7 @@
5
5
  .exp img{
6
6
  height: 75px;
7
7
  width: 100px;
8
+ max-width: 100%;
8
9
  margin: 5px;
9
10
  object-fit: contain;
10
11
  }
@@ -1,4 +1,3 @@
1
-
2
1
  .external{
3
2
  display: inline-flex;
4
3
  width: 100%;
@@ -18,6 +17,7 @@
18
17
  }
19
18
 
20
19
  .external .item{
20
+ max-width: 400px;
21
21
  display: inline-flex;
22
22
  flex-wrap: wrap;
23
23
  margin: 25px;
@@ -30,7 +30,7 @@
30
30
 
31
31
  .external .item img{
32
32
  height: 250px;
33
- max-width: min(calc(100vw - 40px), 400px);
33
+ max-width: min(100%, 400px);
34
34
  object-fit: contain;
35
35
  transition: transform .5s ease;
36
36
  }
@@ -59,8 +59,9 @@
59
59
  }
60
60
 
61
61
  .external .more{
62
+ margin-top: 50px;
63
+ margin-right: 25px;
62
64
  margin-left: auto;
63
- margin-right: 2vw;
64
65
  padding: 10px;
65
66
  display: inline-flex;
66
67
  border: 1px black solid;
data/_sass/external.scss CHANGED
@@ -3,14 +3,17 @@
3
3
  width: min(900px, calc(100% - 100px));
4
4
  display: flex;
5
5
  flex-wrap: wrap;
6
+ justify-content: space-around;
6
7
  }
7
8
 
8
9
  .external .sidebar{
9
10
  padding: 15px 50px;
11
+ flex-basis: 140px;
10
12
  }
11
13
 
12
14
  .external .content{
13
- width: calc(100% - 140px);
15
+ flex-basis: 250px;
16
+ flex-grow: 1;
14
17
  }
15
18
 
16
19
  .external .list{
@@ -31,15 +34,18 @@
31
34
 
32
35
  .external .item .image{
33
36
  align-self: center;
37
+ flex-basis: 200px;
38
+ flex-grow: 1;
34
39
  }
35
40
 
36
41
  .external .item img{
37
- width: 200px;
38
- margin-right: 25px;
42
+ width: 100%;
39
43
  }
40
44
 
41
45
  .external .item div{
42
- width: calc(100% - 225px);
46
+ margin: 15px;
47
+ flex-basis: 200px;
48
+ flex-grow: 99;
43
49
  }
44
50
 
45
51
  .external .item p:last-child{
data/_sass/home.scss CHANGED
@@ -25,7 +25,9 @@
25
25
  }
26
26
 
27
27
  .projects{
28
- grid-template-columns: repeat(auto-fit, min(100vw, 600px));
28
+ grid-template-columns: repeat(auto-fit, min(calc(100vw - 50px), 500px));
29
+ grid-row-gap: 25px;
30
+ grid-column-gap: 25px;
29
31
  }
30
32
 
31
33
  .row{
@@ -39,7 +41,7 @@
39
41
  }
40
42
 
41
43
  #home-content > div{
42
- padding-right: 0px;
43
- padding-left: 0px;
44
+ padding-right: 15px;
45
+ padding-left: 15px;
44
46
  }
45
47
  }
data/_sass/post.scss CHANGED
@@ -6,7 +6,7 @@
6
6
  .post img{
7
7
  margin: 5px 10px;
8
8
  width: 400px;
9
- height: 15em;
9
+ height: 250px;
10
10
  object-fit: cover;
11
11
  }
12
12
 
@@ -50,11 +50,14 @@ th{
50
50
 
51
51
  @media screen and (max-width: 768px){
52
52
  .post{
53
- margin: 0 25px;
54
53
  display: initial;
55
54
  }
56
55
 
57
56
  .post img, .post .desc{
58
- width: calc(100% - 20px);
57
+ width: calc(100vw - 60px);
58
+ }
59
+
60
+ .post img{
61
+ height: calc(62.5vw - 60px);
59
62
  }
60
63
  }
data/_sass/project.scss CHANGED
@@ -1,7 +1,6 @@
1
1
  .project{
2
2
  background: rgba(0,0,0,.025);
3
3
  padding: 40px;
4
- margin: 25px;
5
4
  display: inline-block;
6
5
  transition: transform .5s ease;
7
6
  }
@@ -22,6 +21,6 @@
22
21
 
23
22
  .project:hover{
24
23
  text-decoration: none;
25
- -webkit-transform: scale(1.1);
26
- transform: scale(1.1);
24
+ -webkit-transform: scale(1.05);
25
+ transform: scale(1.05);
27
26
  }
@@ -1,4 +1,6 @@
1
1
  let searchParams = new URLSearchParams(window.location.search)
2
- let year = searchParams.get("year")
2
+ let year = searchParams.get("year");
3
3
 
4
- if(year != null) $(".external .item[year!="+year+"]").remove();
4
+ if(year != null) $(".external .item[year!="+year+"]").remove();
5
+ year = year || "all";
6
+ $("a[year="+year+"]").css("color", "grey");
data/assets/js/header.js CHANGED
@@ -1,18 +1,25 @@
1
1
  // Get viewport dimensions
2
2
  vw = $(window).width();
3
- vh = $(window).height()
3
+ vh = $(window).height();
4
4
 
5
5
  me_height = .24 * vh + .12 * vw // 24vh + 12vw
6
6
  social_height = .05 * vw;
7
7
  me_margin = .02 * vw;
8
8
 
9
9
  $(window).resize(function(e){
10
+ // Get viewport dimensions
11
+ vw = $(window).width();
12
+ vh = $(window).height();
13
+
14
+ // Reset
10
15
  $("#photo").outerHeight('');
11
16
  $(".social").outerHeight('');
12
17
  $("#photo").css("margin", '');
13
18
  me_height = .24 * vh + .12 * vw // 24vh + 12vw
14
19
  social_height = .05 * vw;
15
20
  me_margin = .02 * vw;
21
+
22
+ // Scroll
16
23
  scroll_header(e);
17
24
  });
18
25
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: personal-website
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lucas Bulgarelli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-08 00:00:00.000000000 Z
11
+ date: 2022-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -72,14 +72,20 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 2.1.4
75
+ version: '2.2'
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: 2.2.10
76
79
  type: :development
77
80
  prerelease: false
78
81
  version_requirements: !ruby/object:Gem::Requirement
79
82
  requirements:
80
83
  - - "~>"
81
84
  - !ruby/object:Gem::Version
82
- version: 2.1.4
85
+ version: '2.2'
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: 2.2.10
83
89
  - !ruby/object:Gem::Dependency
84
90
  name: rake
85
91
  requirement: !ruby/object:Gem::Requirement
@@ -163,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
169
  - !ruby/object:Gem::Version
164
170
  version: '0'
165
171
  requirements: []
166
- rubygems_version: 3.1.4
172
+ rubygems_version: 3.2.25
167
173
  signing_key:
168
174
  specification_version: 4
169
175
  summary: Jekyll theme for personal websites.