personal-website 0.2.12 → 0.2.13
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 +4 -4
- data/_layouts/external.html +2 -1
- data/_layouts/home.html +1 -1
- data/_sass/experience.scss +1 -0
- data/_sass/external-home.scss +3 -2
- data/_sass/external.scss +10 -4
- data/_sass/home.scss +5 -3
- data/_sass/post.scss +2 -2
- 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: 757a8a9bd3b5d2b8746326c72d29d17d55e2d16713e210d97f35a1a50bb21da7
|
4
|
+
data.tar.gz: f3f6fd6b23af88c9ed73ce2ca82710af173d5342bea70afe937f47f10086266b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4ffe3dd23ddf05a1dd9ac129d6d3d10fed3dcba83b0a7e8a3c980f65bd10bb247e46169c1efa6d907f60cee4aaff8a6594f36d2d8f73571e1fbe7fea8f8d24b
|
7
|
+
data.tar.gz: d4b5575144fc781506ce5a3ba8046a11ee4eae8952bd1e88f738730b30c0f28d585edb5890451a80220f8cba129e661c5a1c4c2c6dd1e0112bb87be32b633484
|
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
|
}
|
@@ -60,6 +60,7 @@
|
|
60
60
|
|
61
61
|
.external .more{
|
62
62
|
margin-top: 50px;
|
63
|
+
margin-right: 25px;
|
63
64
|
margin-left: auto;
|
64
65
|
padding: 10px;
|
65
66
|
display: inline-flex;
|
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(calc(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
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.13
|
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-
|
11
|
+
date: 2021-08-13 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.
|