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 +4 -4
- data/_includes/external-item.html +2 -2
- data/_includes/header.html +1 -1
- data/_layouts/external.html +2 -1
- data/_layouts/home.html +1 -1
- data/_sass/experience.scss +1 -0
- data/_sass/external-home.scss +4 -3
- data/_sass/external.scss +10 -4
- data/_sass/home.scss +5 -3
- data/_sass/post.scss +6 -3
- data/_sass/project.scss +2 -3
- data/assets/js/external.js +4 -2
- data/assets/js/header.js +8 -1
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bfa5c35f2685a3a44446df17340f112e5b707760b58a72f4c95a93415806405
|
4
|
+
data.tar.gz: e3c7debb2b3760125799c398726335071a93de4b1d93798043c0fa8ee1b11513
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 %}
|
data/_includes/header.html
CHANGED
@@ -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 %}
|
data/_layouts/external.html
CHANGED
@@ -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 }}"
|
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
data/_sass/experience.scss
CHANGED
data/_sass/external-home.scss
CHANGED
@@ -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(
|
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
|
-
|
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:
|
38
|
-
margin-right: 25px;
|
42
|
+
width: 100%;
|
39
43
|
}
|
40
44
|
|
41
45
|
.external .item div{
|
42
|
-
|
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,
|
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:
|
43
|
-
padding-left:
|
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:
|
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(
|
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.
|
26
|
-
transform: scale(1.
|
24
|
+
-webkit-transform: scale(1.05);
|
25
|
+
transform: scale(1.05);
|
27
26
|
}
|
data/assets/js/external.js
CHANGED
@@ -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.
|
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:
|
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.
|
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.
|
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.
|
172
|
+
rubygems_version: 3.2.25
|
167
173
|
signing_key:
|
168
174
|
specification_version: 4
|
169
175
|
summary: Jekyll theme for personal websites.
|